/* =====================================================================
   Sōlace — Premium Wellness Template
   Design system: editorial / light-minimal
   Type:  Fraunces (display serif) + Hanken Grotesk (sans)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Hanken+Grotesk:wght@300..700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* paper / ink */
  --paper:    #FBF9F4;
  --paper-2:  #F3EFE5;
  --paper-3:  #E9E3D5;
  --ink:      #1C1E1A;
  --ink-2:    #43473E;
  --ink-3:    #767A6D;
  --line:     #E0DACB;
  --line-2:   #D2CBB8;

  /* brand accents */
  --forest:   #3B4A33;
  --forest-2: #2C3826;
  --sage:     #7E8F6E;
  --sage-tint:#EBEDE3;
  --clay:     #B86B4B;
  --gold:     #C2A04A;

  /* type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;

  /* rhythm */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--forest); color: var(--paper); }

/* Paper grain — tactile, hand-finished feel (kills the flat "rendered" look) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 380; line-height: 1.04; letter-spacing: -0.018em; color: var(--ink); }
.display {
  font-size: clamp(2.9rem, 7.2vw, 6.1rem);
  font-weight: 360;
  line-height: 0.98;
  letter-spacing: -0.028em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); letter-spacing: -0.01em; }
h4 { font-size: 1.2rem; letter-spacing: -0.005em; font-weight: 420; }
.serif-italic { font-style: italic; font-weight: 340; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--ink-2); font-weight: 360; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--sage);
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--sage);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1480px; }
.container-narrow { max-width: 800px; }
section { position: relative; }
.section { padding-block: var(--section-y); }
.bg-2 { background: var(--paper-2); }
.bg-ink { background: var(--forest-2); color: var(--paper); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--paper); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--forest-2); box-shadow: 0 12px 30px -12px rgba(59,74,51,0.55); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 30px -14px rgba(0,0,0,0.3); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem; color: var(--forest);
  padding-bottom: 2px;
  box-shadow: inset 0 -1px 0 var(--sage);
  transition: box-shadow 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link:hover { box-shadow: inset 0 -1.5px 0 var(--forest); gap: 0.8em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav.scrolled {
  background: rgba(251,249,244,0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 420; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.5rem; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); display: inline-block; margin-bottom: 0.7rem; }
.nav-links { display: flex; align-items: center; gap: 2.3rem; }
.nav-links a { font-size: 0.94rem; font-weight: 500; color: var(--ink-2); position: relative; transition: color 0.25s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--forest); transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1.2rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--paper); padding: 2rem var(--gutter) 2.5rem;
    box-shadow: 0 12px 30px -18px rgba(0,0,0,0.3); border-top: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: var(--section-y); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy .eyebrow { margin-bottom: 1.8rem; }
.hero-copy .display { margin-bottom: 1.7rem; }
.hero-copy .lead { max-width: 30ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); background: var(--paper-3); }
.hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--paper); border-radius: 16px; padding: 1rem 1.3rem;
  box-shadow: 0 22px 50px -24px rgba(28,30,26,0.4);
  display: flex; align-items: center; gap: 0.9rem; max-width: 240px;
}
@media (max-width: 520px){ .hero-badge{ left: 12px; } }
.hero-badge .num { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--forest); }
.hero-badge .lbl { font-size: 0.82rem; color: var(--ink-3); line-height: 1.3; }

.hero-meta { display: flex; gap: clamp(2rem,5vw,3.5rem); margin-top: 3.5rem; padding-top: 2.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta .stat .n { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--ink); }
.hero-meta .stat .l { font-size: 0.84rem; color: var(--ink-3); margin-top: 0.5rem; letter-spacing: 0.02em; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.6rem; }
.marquee-track { display: flex; gap: 4rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4rem; }
.marquee span::after { content: "—"; font-style: normal; font-size: 1rem; color: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Editorial personality (hand-built signals) ===== */

/* Index/label system — print-magazine kicker */
.kicker { display: flex; align-items: baseline; gap: 0.8rem; font-family: var(--sans); margin-bottom: 1.6rem; }
.kicker .no { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--clay); }
.kicker .lbl { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.kicker .rule { flex: 1; height: 1px; background: var(--line); align-self: center; }

/* Wax-seal style stamp */
.stamp {
  position: absolute; width: 116px; height: 116px; border-radius: 50%;
  border: 1px solid var(--forest); color: var(--forest);
  display: grid; place-items: center; text-align: center;
  background: var(--paper);
  font-family: var(--serif); font-style: italic; font-size: 0.82rem; line-height: 1.25;
  transform: rotate(-9deg);
  box-shadow: 0 14px 30px -18px rgba(28,30,26,0.4);
}
.stamp b { display:block; font-style: normal; font-size: 1.55rem; font-weight: 360; }
.hero-media .stamp { right: -26px; top: -26px; }
/* The stamp hangs outside the image on wide screens. Below ~900px the page
   gutter is narrower than that overhang, so it used to push past the viewport
   and give the whole page a horizontal scroll. Pull it back inside the gutter. */
@media (max-width: 900px) {
  .hero-media .stamp { right: -4px; top: -18px; }
}
@media (max-width: 420px) {
  .hero-media .stamp { width: 96px; height: 96px; font-size: 0.74rem; }
  .hero-media .stamp b { font-size: 1.3rem; }
}

/* Monogram avatar — replaces stock photo avatars (a real designer's move) */
.mono {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; color: var(--forest);
  background: var(--sage-tint); border: 1px solid var(--line-2);
}
.mono.sm { width: 44px; height: 44px; font-size: 0.95rem; }

/* Asymmetric editorial program list */
.editorial-list { display: flex; flex-direction: column; }
.ed-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,4rem);
  align-items: center; padding-block: clamp(2.5rem,5vw,4.5rem);
  border-top: 1px solid var(--line);
}
.ed-item:first-child { border-top: none; }
.ed-item .ed-text .num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--clay); margin-bottom: 0.9rem; }
.ed-item .ed-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }
.ed-item:nth-child(even) .ed-media { order: -1; }
.ed-item.offset-up { margin-top: -2rem; }
@media (max-width: 800px){
  .ed-item { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 2.5rem; }
  .ed-item:nth-child(even) .ed-media { order: 0; }
  .ed-item.offset-up { margin-top: 0; }
}

/* Field-notes stat row (replaces the generic 4-up "proof band") */
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(251,249,244,0.16); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 640px){ .notes { grid-template-columns: 1fr; } }
.note { padding: clamp(1.8rem,3.5vw,2.6rem); border-right: 1px solid rgba(251,249,244,0.16); border-top: 1px solid rgba(251,249,244,0.16); }
.note:nth-child(-n+2){ border-top: none; }
.note:nth-child(even){ border-right: none; }
@media (max-width: 640px){ .note { border-right: none; } .note:nth-child(2){ border-top:1px solid rgba(251,249,244,0.16);} }
.note .n { font-family: var(--serif); font-size: clamp(2.4rem,5vw,3.4rem); line-height: 1; font-weight: 340; color: var(--paper); }
.note .n em { font-style: italic; color: var(--gold); }
.note .t { color: rgba(251,249,244,0.66); margin-top: 0.9rem; font-size: 0.98rem; max-width: 28ch; }

/* Handwritten-style margin annotation */
.annotation { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.05rem; transform: rotate(-2deg); display: inline-block; }

/* Asymmetric hero refinements */
.hero-side { display: flex; flex-direction: column; gap: 1.4rem; }
.tag-line { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); writing-mode: vertical-rl; position: absolute; right: -2.2rem; top: 0; }

/* ---------- Cards / services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(28,30,26,0.32); border-color: var(--line-2); }
.card-media { aspect-ratio: 5/4; overflow: hidden; background: var(--paper-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.6rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.card-body .num { font-family: var(--serif); font-size: 0.95rem; color: var(--sage); margin-bottom: 1rem; }
.card-body h3 { margin-bottom: 0.7rem; }
.card-body p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.card-body .text-link { margin-top: 1.4rem; }

/* feature list (editorial numbered) */
.feature-rows { border-top: 1px solid var(--line); }
.feature-row {
  display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: clamp(1rem,3vw,3rem);
  padding-block: clamp(1.8rem, 3.5vw, 3rem); border-bottom: 1px solid var(--line);
  align-items: start; transition: background-color 0.4s var(--ease);
}
.feature-row:hover { background: var(--paper-2); }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; gap: 0.8rem; } }
.feature-row .idx { font-family: var(--serif); font-size: 1.4rem; color: var(--sage); }
.feature-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-row p { color: var(--ink-2); }
.feature-row .meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.1rem; }

.pill { font-size: 0.8rem; font-weight: 500; color: var(--ink-2); background: var(--sage-tint); padding: 0.35rem 0.85rem; border-radius: 100px; }

/* split image block */
.image-block img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-lg); background: var(--paper-3); }
.image-block.tall img { aspect-ratio: 4/5; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width: 760px){ .stats-band{ grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; } }
.stat-big { text-align: left; }
.stat-big .n { font-family: var(--serif); font-size: clamp(2.6rem,5vw,3.8rem); line-height: 1; font-weight: 340; }
.stat-big .l { color: var(--ink-3); margin-top: 0.8rem; font-size: 0.92rem; max-width: 22ch; }
.bg-ink .stat-big .l { color: rgba(251,249,244,0.62); }

/* ---------- Testimonials ---------- */
.quote-lg { max-width: 900px; }
.quote-lg p { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.28; font-weight: 340; letter-spacing: -0.015em; }
.quote-lg .serif-italic { color: var(--forest); }
.quote-foot { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.quote-foot img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.quote-foot .who { font-weight: 600; }
.quote-foot .role { color: var(--ink-3); font-size: 0.9rem; }

.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.25rem,2.5vw,1.75rem); }
@media (max-width: 860px){ .t-grid{ grid-template-columns: 1fr; } }
.t-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; display: flex; flex-direction: column; gap: 1.4rem; }
.t-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.t-card p { font-size: 1.06rem; color: var(--ink-2); flex: 1; }
.t-card .who-row { display: flex; align-items: center; gap: 0.8rem; }
.t-card .who-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.t-card .who-row .n { font-weight: 600; font-size: 0.95rem; }
.t-card .who-row .r { color: var(--ink-3); font-size: 0.82rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.25rem,2.5vw,1.75rem); align-items: start; }
@media (max-width: 900px){ .price-grid{ grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 2.4rem; display: flex; flex-direction: column; gap: 1.5rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-card.featured { background: var(--forest-2); color: var(--paper); border-color: var(--forest-2); transform: scale(1.02); box-shadow: 0 40px 80px -40px rgba(44,56,38,0.6); }
.price-card.featured h3, .price-card.featured .price .amt { color: var(--paper); }
.price-card .tier { display: flex; align-items: center; justify-content: space-between; }
.price-card .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--clay); color: var(--paper); padding: 0.3rem 0.7rem; border-radius: 100px; }
.price-card .price { display: flex; align-items: baseline; gap: 0.3rem; }
.price-card .price .amt { font-family: var(--serif); font-size: 3.2rem; line-height: 1; font-weight: 340; }
.price-card .price .per { color: var(--ink-3); font-size: 0.95rem; }
.price-card.featured .price .per { color: rgba(251,249,244,0.6); }
.price-card .desc { color: var(--ink-2); font-size: 0.98rem; }
.price-card.featured .desc { color: rgba(251,249,244,0.72); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.price-card li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; color: var(--ink-2); }
.price-card.featured li { color: rgba(251,249,244,0.85); }
.price-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--sage); }
.price-card.featured li svg { color: var(--gold); }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card.featured .btn-primary { background: var(--paper); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: #fff; }

.toggle { display: inline-flex; align-items: center; gap: 0.9rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem; }
.toggle button { padding: 0.55rem 1.3rem; border-radius: 100px; font-size: 0.9rem; font-weight: 600; color: var(--ink-3); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.toggle button.on { background: var(--forest); color: var(--paper); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--serif); font-size: clamp(1.15rem,2vw,1.4rem); font-weight: 380; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform 0.4s var(--ease); }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--forest); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq summary .ic::before { width: 14px; height: 1.5px; }
.faq summary .ic::after { width: 1.5px; height: 14px; transition: transform 0.4s var(--ease); }
.faq details[open] summary .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details[open] summary .ic { transform: rotate(90deg); }
.faq .faq-body { padding-bottom: 1.6rem; color: var(--ink-2); max-width: 64ch; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2vw,1.6rem); }
@media (max-width: 880px){ .team-grid{ grid-template-columns: 1fr 1fr; } }
.member img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); background: var(--paper-3); margin-bottom: 1rem; transition: filter 0.5s var(--ease); }
.member:hover img { filter: saturate(1.08) brightness(1.02); }
.member .n { font-family: var(--serif); font-size: 1.25rem; }
.member .r { color: var(--ink-3); font-size: 0.9rem; margin-top: 0.2rem; }

/* ---------- CTA band ---------- */
.cta { border-radius: var(--radius-lg); padding: clamp(2.5rem,6vw,5rem); text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(2.1rem,4.6vw,3.6rem); margin-bottom: 1.3rem; max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 48ch; margin: 0 auto 2.3rem; color: rgba(251,249,244,0.7); font-size: 1.12rem; }
.cta .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0.9rem 1.05rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(59,74,51,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }

.info-row { display: flex; gap: 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.info-row .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; flex-shrink: 0; }
.info-row .k { font-size: 0.82rem; color: var(--ink-3); letter-spacing: 0.03em; }
.info-row .v { font-weight: 500; margin-top: 0.15rem; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-2); color: rgba(251,249,244,0.72); padding-top: clamp(3.5rem,7vw,5.5rem); padding-bottom: 2.5rem; }
.footer .brand { color: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(251,249,244,0.14); }
@media (max-width: 820px){ .footer-top{ grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.footer-top p { max-width: 32ch; margin-top: 1.2rem; font-size: 0.98rem; }
.footer h5 { font-family: var(--sans); color: var(--paper); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.3rem; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer ul a { font-size: 0.96rem; transition: color 0.25s var(--ease); }
.footer ul a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; font-size: 0.88rem; flex-wrap: wrap; }
.footer-bottom .socials { display: flex; gap: 1.4rem; }
.footer-bottom .socials a:hover { color: var(--paper); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: clamp(9rem, 18vh, 12rem); padding-bottom: clamp(2.5rem,5vw,4rem); }
.page-hero .eyebrow { margin-bottom: 1.6rem; }
.page-hero h1 { max-width: 16ch; margin-bottom: 1.4rem; }
.page-hero p { max-width: 52ch; color: var(--ink-2); font-size: 1.18rem; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 2rem; display: flex; gap: 0.5rem; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.mb-1{margin-bottom:1rem}
.center{text-align:center}
.max-60{max-width:60ch}
.divider{height:1px;background:var(--line);border:0}


/* ---------- Mobile ergonomics ----------
   WCAG 2.2 SC 2.5.8 asks for 24x24 CSS px interactive targets. */
@media (max-width: 900px) {
  .text-link { padding-block: 8px; }
  .footer a, .footer-links a { display: inline-block; padding-block: 6px; }
  .form input, .form select, .form textarea, .btn { min-height: 44px; }
}
