/* ==========================================================================
   Wisteria Mobile Bar — Brand Stylesheet
   Palette + marks per Amuri project record (wisteria_mobile_bar_amuri_project_record_v2.md):
   black / wisteria purple / white, white standard background, "classy not tacky".
   Purple values below are sampled directly from the approved logo artwork —
   pending the operator's final exact-color sign-off (Task 2.3.3 in the record).
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-soft: #2b2530;
  --paper: #ffffff;
  --paper-soft: #faf7fc;
  --wisteria: #8e72ae;
  --wisteria-deep: #5b4380;
  --wisteria-light: #c9b8dc;
  --wisteria-pale: #f1ecf7;
  --line: rgba(17, 17, 17, 0.1);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wisteria-deep);
  margin-bottom: 0.9em;
}

.section {
  padding: 96px 0;
}

.section--soft { background: var(--paper-soft); }
.section--ink { background: var(--ink); color: var(--paper); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.section--ink .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--wisteria-deep);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--paper);
}

.btn--dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--dark:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.site-header.is-scrolled .brand-mark img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.25s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled .nav-links a { color: var(--ink); }

.nav-links a:hover { border-color: currentColor; }

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--paper);
  transition: background 0.3s ease;
}

.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 140px 24px 80px;
}

.hero__vine {
  position: absolute;
  top: -40px;
  opacity: 0.55;
  pointer-events: none;
}
.hero__vine--left { left: -60px; width: 260px; transform: scaleX(-1); }
.hero__vine--right { right: -60px; width: 260px; }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hero__logo {
  position: relative;
  width: min(560px, 86vw);
  margin: 0 auto 34px;
}

.hero__logo::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.07) 45%, rgba(255,255,255,0) 72%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

.hero__logo img {
  width: 100%;
  filter:
    drop-shadow(0 0 3px rgba(255,255,255,0.75))
    drop-shadow(0 0 14px rgba(255,255,255,0.45))
    drop-shadow(0 0 36px rgba(255,255,255,0.22));
}

.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 38px;
}

.hero__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--wisteria-light), transparent);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about__badge {
  justify-self: center;
  width: min(360px, 100%);
}

.about__text .eyebrow { display: block; }

.about__text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.about__text p { color: var(--ink-soft); }

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wisteria-deep);
}

.about__fact span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -24px rgba(91, 67, 128, 0.45);
  border-color: var(--wisteria-light);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--wisteria-deep);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.services-note {
  text-align: center;
  margin-top: 44px;
  color: var(--ink-soft);
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--wisteria-light) 0 8px, transparent 8px 16px);
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--wisteria-light);
  color: var(--wisteria-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.process-step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Gallery / follow ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}

.gallery-grid div {
  border-radius: 14px;
  border: 1px dashed var(--wisteria-light);
  background: var(--wisteria-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wisteria-deep);
  opacity: 0.85;
}

.gallery-grid svg { width: 26px; height: 26px; }

.gallery-grid > :nth-child(3n+1) { grid-row: span 2; }

.gallery-note {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--wisteria-deep);
  transition: transform 0.25s ease;
  flex: none;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 4px 22px;
  color: var(--ink-soft);
  max-width: 640px;
}

.faq-item .placeholder {
  color: var(--wisteria-deep);
  font-style: italic;
}

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.contact-info p { color: rgba(255,255,255,0.72); }

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  color: var(--wisteria-light);
}

.contact-detail strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wisteria-light);
  margin-bottom: 3px;
}

.contact-detail span, .contact-detail em {
  color: rgba(255,255,255,0.85);
  font-style: normal;
}

.contact-detail .placeholder { color: var(--wisteria-light); font-style: italic; }

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-row a:hover {
  background: var(--wisteria-deep);
  border-color: var(--wisteria-deep);
}

.social-row svg { width: 16px; height: 16px; }

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wisteria);
  background: var(--paper);
}

.field textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success h3 { margin-bottom: 0.4em; }
.form-success p { color: var(--ink-soft); margin-bottom: 0; }

.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
  text-align: center;
}

.site-footer img {
  height: 64px;
  margin: 0 auto 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--wisteria-light); }

.footer-fine {
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  margin-top: 10px;
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about__badge { width: 220px; order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78vw;
    max-width: 320px;
    background: var(--ink);
    padding: 100px 36px;
    gap: 26px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.is-open a { color: var(--paper); font-size: 0.95rem; }

  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
