/* =====================================================================
   AVIARA AESTHETIC
   Palette  : #ffffff · #c0b5a7 · #9a866d · #604235 · bronze
   Type     : LoveLace Text (display serif) headers · Poppins body
   ===================================================================== */

/* ---------- LoveLace Text (LICENSED display serif, self-hosted, provided 2026-08-06) ----------
   Real licensed font (Zetafonts) — no DEMO watermark, so all glyphs/numbers are safe, no unicode-range.
   Shipped weights: Regular (400 normal) + Bold Italic. Regular covers 300-500; italic maps to Bold Italic. */
@font-face { font-family: 'LoveLace Text'; src: url('assets/fonts/lovelace-text-regular.woff2') format('woff2'), url('assets/fonts/lovelace-text-regular.otf') format('opentype'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'LoveLace Text'; src: url('assets/fonts/lovelace-text-bolditalic.woff2') format('woff2'), url('assets/fonts/lovelace-text-bolditalic.otf') format('opentype'); font-weight: 400 800; font-style: italic; font-display: swap; }

/* ---------- Tokens (2026-08-06 rebrand — Aviara Website Blueprint) ---------- */
:root {
  --white:      #ffffff;
  --cream:      #f7f2ec;   /* page base */
  --cream-deep: #efe7dd;
  --sand:       #d4c9c1;   /* light warm taupe */
  --taupe:      #b79f85;   /* warm taupe */
  --taupe-deep: #9a8468;
  --brown:      #604235;
  --brown-soft: #6f5142;
  --bronze:     #b08d57;
  --bronze-lt:  #d4c9c1;
  --ink:        #442e25;   /* primary text (deep espresso) */
  --ink-soft:   #6f584b;   /* secondary text */
  --metallic:   linear-gradient(135deg, #604235 0%, #fbd7b4 40%, #c48e5a 66%, #46341d 100%);

  --serif: 'LoveLace Text', 'Times New Roman', Georgia, serif;
  --sans:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1200px;
  --gap:  clamp(2rem, 6vw, 7rem);   /* vertical section rhythm */
  --pad:  clamp(1.25rem, 5vw, 3rem);

  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 10px 30px -18px rgba(96, 66, 53, 0.45);
  --shadow-lg: 0 40px 90px -50px rgba(96, 66, 53, 0.55);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.nowrap { white-space: nowrap; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--brown);
  font-size: 58px;
}
.display em { font-style: italic; color: var(--taupe); }

.eyebrow {
  font-size: 20px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: #6f5230;
  background: linear-gradient(100deg, #8a6a3a 0%, #6b4f2e 30%, #9c7a45 52%, #6b4f2e 76%, #7d5c34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.1rem;
}

.section-sub { color: var(--ink-soft); max-width: 46ch; margin-top: 1.2rem; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

.eyebrow + .display { margin-bottom: 0; }

p + p { margin-top: 1.1rem; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.05em 2.1em;
  border-radius: 2px;
  transition: all 0.45s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--brown); color: var(--cream); }
.btn-solid:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-ghost { color: var(--brown); border: 1px solid rgba(96,66,53,0.3); }
.btn-ghost:hover { border-color: var(--brown); background: rgba(96,66,53,0.04); }

.btn-pill { border-radius: 100px; background: var(--bronze); color: var(--white); padding: 0.95em 1.9em; }
.btn-pill:hover { background: var(--brown); transform: translateY(-2px); }
/* Narrow phones: tighten the hero CTA's tracking so the long label clears the margins */
@media (max-width: 480px) { .hero-text .btn { letter-spacing: 0.04em; padding-inline: 1.45em; } }

.link-underline {
  display: inline-block;
  margin-top: 1.8rem;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--brown);
  padding-bottom: 0.4rem;
  position: relative;
}
.link-underline::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform-origin: left; transform: scaleX(0.35);
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::before { transform: scaleX(1); }
.link-underline::after {
  content: "→"; display: inline-block; margin-left: 0.55em;
  transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: translateX(5px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 0.5rem 0;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 242, 236, 0.92);
  box-shadow: 0 1px 0 rgba(96,66,53,0.08);
}
/* Frosted blur only on desktop. On drawer widths a backdrop-filter here would
   make the header the containing block for the position:fixed nav drawer and
   collapse it to header height (cut-off-below-Home bug). */
@media (min-width: 1081px) {
  .site-header.scrolled {
    background: rgba(247, 242, 236, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--brown); }
.brand-mark { width: 42px; height: 42px; color: var(--brown); flex: none; transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: 0.22em; font-weight: 500; }
.brand-sub { font-size: 8px; letter-spacing: 0.5em; margin-top: 3px; color: var(--taupe); font-weight: 500; }
.brand-logo { height: 34px; width: auto; display: block; transition: opacity 0.35s var(--ease); }
.brand:hover .brand-logo { opacity: 0.7; }

.nav { display: flex; align-items: center; gap: clamp(0.7rem, 1.15vw, 1.45rem); flex-wrap: nowrap; }
.nav > a:not(.btn) {
  font-size: 12px; letter-spacing: 0.04em; color: var(--ink); font-weight: 400;
  position: relative; padding: 0.3rem 0; white-space: nowrap; flex: 0 0 auto;
}
.nav-cta { font-size: 11px; letter-spacing: 0.12em; padding: 0.8em 1.4em; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav > a:not(.btn):hover::after,
.nav > a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav > a:not(.btn)[aria-current="page"] { color: var(--brown); }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 1.5px; width: 24px; background: var(--brown); transition: transform 0.4s var(--ease), opacity 0.3s; margin-inline: auto; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* header sits over a dark hero image/video banner — go light until scrolled */
.site-header.over-hero:not(.scrolled) .brand-logo { filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(0,0,0,0.45)); }
.site-header.over-hero:not(.scrolled) .nav-toggle:not(.open) span { background: #fff; }
@media (min-width: 1081px) {
  .site-header.over-hero:not(.scrolled) .nav > a:not(.btn),
  .site-header.over-hero:not(.scrolled) .nav-link { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
  .site-header.over-hero:not(.scrolled) .nav > a:not(.btn)::after { background: #fff; }
  .site-header.over-hero:not(.scrolled) .nav-link .chev { color: rgba(255,255,255,0.9); }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 6rem 0 clamp(4rem, 9vh, 6.5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 80% 6%, rgba(192,181,167,0.55), transparent 55%),
    radial-gradient(90% 80% at 6% 94%, rgba(176,141,87,0.18), transparent 55%),
    linear-gradient(180deg, #faf6f0 0%, var(--cream) 58%, var(--cream-deep) 100%); }
.hero-orb {
  position: absolute; top: -10%; right: -6%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ddd0c0, #bba78a 45%, #8a6d49 100%);
  filter: blur(2px); opacity: 0.42; animation: float 14s ease-in-out infinite; }
.hero-grain { position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"); }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%; }
.hero-text { animation: heroIn 1.1s var(--ease) both; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: 72px;
  line-height: 1.04; letter-spacing: 0.005em; color: var(--brown);
}
.hero-sub {
  margin-top: 1.3rem; font-family: var(--sans); font-weight: 400;
  font-size: 21px; letter-spacing: 0.16em; color: var(--taupe);
}

.hero-figure { position: relative; height: clamp(360px, 50vw, 540px); animation: heroIn 1.25s var(--ease) both; }
.hero-card { position: absolute; border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-card-tall {
  inset: 0 12% 14% 18%;
  background: linear-gradient(155deg, #cdbfae 0%, #a98e6f 55%, #6f5236 100%);
}
.hero-card-tall .hc-disc {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #efe7da, #cdbda6 60%, #a98b66);
  box-shadow: inset 0 -20px 50px rgba(96,66,53,0.35), 0 20px 40px rgba(96,66,53,0.25);
}
.hero-card-tall .hc-stone {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%);
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fbf8f3, #d9cebd 70%, #b6a488);
  box-shadow: 14px 22px 30px -10px rgba(96,66,53,0.5);
}
.hero-card-grain {
  width: 42%; aspect-ratio: 3/4; right: 0; bottom: 0;
  background:
    repeating-radial-gradient(circle at 30% 120%, rgba(96,66,53,0.10) 0 6px, transparent 6px 16px),
    linear-gradient(135deg, #b79a72, #6f4f37);
  border: 6px solid var(--cream);
}

.hero-statement { background: var(--white); padding-block: clamp(2.6rem, 6vw, 4.2rem); text-align: center; }
.hero-statement p {
  font-family: var(--sans); font-size: 16px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  max-width: 64ch; margin-inline: auto; line-height: 1.7;
}

.scroll-cue { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 3; width: 24px; height: 40px; border: 1px solid rgba(96,66,53,0.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--bronze); animation: cue 1.8s var(--ease) infinite; }

@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.03); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =====================================================================
   SECTIONS / LAYOUT
   ===================================================================== */
.section { padding-block: var(--gap); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { max-width: 720px; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split .split-text p { color: var(--ink-soft); }
.split .display { margin-bottom: 1.5rem; }
.split-text em { font-style: italic; color: var(--brown); }

/* ---------- Image frames (placeholder compositions) ---------- */
.frame { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
/* Drop a real photo in by replacing a .frame-wash span with <img src="..." alt="..."> */
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-portrait, .frame-founder { aspect-ratio: 4/5; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-smile, .frame-medspa { aspect-ratio: 5/6; }
.frame-wash { position: absolute; inset: 0; }
.wash-sand   { background: linear-gradient(150deg, #d8ccbb 0%, #b59c7d 60%, #7c5e44 100%); }
.wash-bronze { background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 9px),
    linear-gradient(150deg, #d8b886 0%, #a87b4c 55%, #5e4029 100%); }
.wash-silk   { background:
    radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,0.35), transparent 50%),
    linear-gradient(160deg, #7a4f3c 0%, #5b3a2c 55%, #3f2a20 100%); }
.wash-portrait { background:
    radial-gradient(80% 60% at 50% 28%, rgba(247,242,236,0.5), transparent 60%),
    linear-gradient(160deg, #cdbca6 0%, #a98d6c 60%, #6f5238 100%); }

.frame-line { position: absolute; inset: 14px; border: 1px solid rgba(247,242,236,0.5); border-radius: 3px; }
.frame-arc { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%); width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(247,242,236,0.55); box-shadow: inset 0 0 60px rgba(255,255,255,0.18); }
.frame-ripple { position: absolute; left: 50%; bottom: -30%; transform: translateX(-50%); width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 18px, rgba(247,242,236,0.10) 18px 19px); }

.split-media { position: relative; }

/* floating quote on philosophy media */
.floating-quote {
  position: absolute; right: -8%; bottom: 8%; max-width: 230px;
  background: var(--cream); color: var(--brown);
  font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4;
  padding: 1.4rem 1.6rem; border-radius: 4px; box-shadow: var(--shadow-sm);
}

/* stat chip */
.stat-chip {
  position: absolute; left: -7%; bottom: 7%;
  background: var(--cream); border-radius: 4px; padding: 1.3rem 1.5rem; max-width: 230px;
  box-shadow: var(--shadow-sm);
}
.stat-chip strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--brown); display: block; line-height: 1.1; }
.stat-chip span { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; display: block; margin-top: 0.5rem; }
.stat-chip-alt { left: auto; right: -7%; }

/* =====================================================================
   PILLARS
   ===================================================================== */
.pillars { background: linear-gradient(180deg, var(--cream) 0%, #f1e9df 100%); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.pillar { position: relative; padding: 2.6rem 2rem 2.4rem; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; color: var(--bronze); }
.pillar-icon { display: block; width: 46px; height: 46px; color: var(--taupe); margin: 1.4rem 0 1.2rem; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--brown); margin-bottom: 0.7rem; }
.pillar p { color: var(--ink-soft); font-size: 15px; }

/* =====================================================================
   DIVISIONS
   ===================================================================== */
.division-alt { background: linear-gradient(180deg, #f1e9df 0%, var(--cream) 100%); }
.feature-list { margin-top: 1.8rem; }
.feature-list li { position: relative; padding: 0.7rem 0 0.7rem 1.7rem; border-bottom: 1px solid rgba(154,134,109,0.18); color: var(--ink); font-size: 15px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.feature-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; }

@media (max-width: 560px) { .feature-list.two-col { grid-template-columns: 1fr; } }

/* =====================================================================
   ECOSYSTEM
   ===================================================================== */
.ecosystem { background: var(--brown); color: var(--cream); }
.ecosystem .eyebrow { color: var(--bronze-lt); }
.ecosystem .display { color: var(--cream); }
.ecosystem .display em { color: var(--sand); }
.ecosystem .section-sub { color: rgba(247,242,236,0.7); }
.ecosystem .feature-list li { color: rgba(247,242,236,0.9); border-bottom-color: rgba(247,242,236,0.16); }
.ecosystem .feature-list li::before { background: var(--sand); }

.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(247,242,236,0.14); border: 1px solid rgba(247,242,236,0.14); border-radius: 6px; overflow: hidden; }
.eco-item { background: var(--brown); padding: 1.8rem 1.6rem; transition: background 0.5s var(--ease); }
.eco-item:hover { background: var(--brown-soft); }
.eco-item h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--cream); margin-bottom: 0.5rem; }
.eco-item p { font-size: 13px; color: rgba(247,242,236,0.66); line-height: 1.6; }
.eco-feature { background: #56392d; }
.eco-feature h4 { color: var(--bronze-lt); }

/* =====================================================================
   STATEMENT BAND
   ===================================================================== */
.band { padding-block: clamp(4rem, 10vw, 8rem); background: linear-gradient(160deg, #c9bca9, #a98e6f); text-align: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: 0.5; }
.band-quote { position: relative; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 46px; line-height: 1.3; color: #3f2c20; max-width: 22ch; margin-inline: auto; }
.band-quote em { font-style: italic; color: var(--white); }
.band-cite { position: relative; margin-top: 1.6rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #5b4131; }
/* photo-backed statement band (homepage lifestyle moment) */
.band-photo { background: linear-gradient(180deg, rgba(36,25,18,0.52) 0%, rgba(36,25,18,0.66) 100%), url("assets/home-lifestyle.jpg") center 38% / cover no-repeat; }
.band-photo .band-quote { color: var(--cream); }
.band-photo .band-quote em { color: var(--bronze-lt); }
.band-photo .band-cite { color: rgba(247,242,236,0.82); }

/* =====================================================================
   FOUNDER
   ===================================================================== */
.founder-sign { position: absolute; left: 6%; bottom: 5%; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--cream); text-shadow: 0 2px 18px rgba(63,42,32,0.5); }
.founder-role { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--taupe); margin-bottom: 1.4rem; line-height: 1.4; }
.cred-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.2rem; }
.cred-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; font-weight: 500; }
.cred-cols ul li { padding: 0.35rem 0; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid rgba(154,134,109,0.16); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid rgba(154,134,109,0.4); border-radius: 100px; padding: 0.35rem 0.85rem; font-size: 12px; letter-spacing: 0.05em; color: var(--brown); border-bottom: 1px solid rgba(154,134,109,0.4); }

/* =====================================================================
   INNOVATIONS
   ===================================================================== */
.innovations { background: linear-gradient(180deg, var(--cream) 0%, #f1e9df 100%); }
.inno-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.inno-card { text-align: center; padding: 2.8rem 2rem; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease); }
.inno-card:hover { transform: translateY(-6px); }
.inno-icon { width: 54px; height: 54px; color: var(--bronze); margin: 0 auto 1.4rem; }
.inno-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--brown); margin-bottom: 0.8rem; }
.inno-card p { color: var(--ink-soft); font-size: 15px; }

/* =====================================================================
   STORIES
   ===================================================================== */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.4rem); }
.story { padding: 2.6rem 2.2rem; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-sm); position: relative; }
.story::before { content: "“"; position: absolute; top: 0.4rem; left: 1.4rem; font-family: var(--serif); font-size: 64px; color: var(--sand); line-height: 1; }
.story blockquote { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--brown); margin-top: 1.6rem; }
.story figcaption { margin-top: 1.4rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: linear-gradient(180deg, #f1e9df 0%, var(--cream-deep) 100%); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-intro p { color: var(--ink-soft); max-width: 44ch; }
.contact-intro .btn-solid { margin-top: 2rem; }

.signup { margin-top: 3rem; }
.signup label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; font-weight: 500; }
.signup-row { display: flex; gap: 0.6rem; max-width: 440px; }
.signup input { flex: 1; padding: 0.95rem 1.1rem; border: 1px solid rgba(154,134,109,0.4); border-radius: 2px; background: var(--white); font-family: var(--sans); font-size: 14px; color: var(--ink); }
.signup input:focus { outline: none; border-color: var(--bronze); }

.locations { display: grid; gap: 1.4rem; }
.loc { background: var(--white); border-radius: 6px; padding: 2rem 2.1rem; box-shadow: var(--shadow-sm); border-left: 2px solid var(--bronze); }
.loc h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--brown); margin-bottom: 0.7rem; }
.loc p { font-size: 15px; color: var(--ink-soft); }
.loc-phone { display: inline-block; margin-top: 0.9rem; font-size: 13px; letter-spacing: 0.14em; color: var(--brown); border-bottom: 1px solid var(--bronze); padding-bottom: 2px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: rgba(247,242,236,0.8); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(2.2rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { width: 138px; height: auto; display: block; opacity: 0.95; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--sand); margin-top: 1rem; font-size: 17px; }

.footer-nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.foot-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-lt); margin-bottom: 1.1rem; font-weight: 500; }
.footer-nav a { display: block; font-size: 14px; color: rgba(247,242,236,0.72); padding: 0.32rem 0; transition: color 0.3s; white-space: nowrap; }
.footer-nav a:hover { color: var(--cream); }

.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.8rem; border-top: 1px solid rgba(247,242,236,0.12); font-size: 12px; color: rgba(247,242,236,0.5); letter-spacing: 0.04em; }
.footer-base-right { text-align: right; }
.footer-legal { margin-top: 0.45rem; font-size: 10.5px; color: rgba(247,242,236,0.4); line-height: 1.55; letter-spacing: 0.03em; }
@media (max-width: 600px) { .footer-base-right { text-align: left; } }

@media (max-width: 880px) { .footer-nav { grid-template-columns: repeat(2, auto); gap: 2.2rem clamp(2.5rem, 9vw, 4rem); } }
@media (max-width: 470px) { .footer-nav { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.7rem; } }

/* =====================================================================
   NAV DROPDOWN  (About ▾)
   ===================================================================== */
.nav-item { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink); font-weight: 400; cursor: pointer; padding: 0.3rem 0; position: relative;
  white-space: nowrap; flex: 0 0 auto;
}
.nav-link .chev { width: 9px; color: var(--bronze); transition: transform 0.35s var(--ease); margin-top: 1px; }
.nav-item.has-dropdown:hover .chev, .nav-item.has-dropdown:focus-within .chev { transform: rotate(180deg); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-item:hover .nav-link::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--brown); }

.dropdown {
  position: absolute; top: 100%; left: 50%; margin-top: 0.5rem;
  transform: translateX(-50%) translateY(8px);
  min-width: 232px; background: var(--cream); border: 1px solid rgba(154,134,109,0.18);
  border-radius: 8px; box-shadow: var(--shadow-lg); padding: 0.5rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 130;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.nav-item.has-dropdown:hover .dropdown, .nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  padding: 0.75rem 1rem; font-size: 13px; letter-spacing: 0.04em; color: var(--ink);
  border-radius: 5px; white-space: nowrap; transition: background 0.25s, color 0.25s;
}
.dropdown a:hover { background: rgba(176,141,87,0.12); color: var(--bronze); }

/* =====================================================================
   PAGE HERO  (subpage banner)
   ===================================================================== */
.page-hero { position: relative; overflow: hidden; min-height: 62vh; display: flex; align-items: flex-end; padding: 9rem 0 3.4rem; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 80% at 82% 0%, rgba(192,181,167,0.6), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(176,141,87,0.16), transparent 55%),
    linear-gradient(180deg, #faf6f0 0%, var(--cream) 55%, var(--cream-deep) 100%); }
.page-hero-orb { position: absolute; top: -22%; right: -4%; width: 38vw; max-width: 470px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ddd2c2, #b59a78 50%, #8a6d49 100%); opacity: 0.4; filter: blur(2px); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { margin-bottom: 0.9rem; }
.page-hero h1 { font-family: var(--serif); font-weight: 300; color: var(--brown);
  font-size: 58px; line-height: 1.05; letter-spacing: -0.01em; }
.page-hero-sub { margin-top: 0.9rem; font-family: var(--serif); font-style: italic; color: var(--taupe); font-size: 21px; }
/* optional real photo: add <img class="page-hero-img" ...> + class "has-img" on .page-hero */
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(40,28,20,0.22) 0%, rgba(40,28,20,0.4) 50%, rgba(40,28,20,0.66) 100%); }
.page-hero.has-img h1, .page-hero.has-img .page-hero-sub { color: var(--cream); }
.page-hero.has-img .page-hero-sub { color: rgba(247,242,236,0.85); }
.page-hero.has-img .eyebrow { color: var(--bronze-lt); }
/* self-hosted looping background-video hero (mirrors .has-img) — no player chrome */
.page-hero.has-video .page-hero-bg { display: none; }
.page-hero-video { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; background: var(--cream-deep); }
.page-hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-video::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(40,28,20,0.32) 0%, rgba(40,28,20,0.5) 55%, rgba(40,28,20,0.72) 100%); }
.page-hero.has-video .container { z-index: 3; }
.page-hero.has-video h1 { color: var(--cream); }
.page-hero.has-video .page-hero-sub { color: rgba(247,242,236,0.9); }
.page-hero.has-video .eyebrow { color: var(--bronze-lt); }
/* dark-background eyebrows keep the solid light bronze (no metallic text-clip) */
.ecosystem .eyebrow, .page-hero.has-img .eyebrow, .page-hero.has-video .eyebrow {
  background: none; -webkit-text-fill-color: var(--bronze-lt);
}
.page-hero.has-img .eyebrow, .page-hero.has-video .eyebrow {
  color: #d4c9c1; -webkit-text-fill-color: #d4c9c1;
  text-shadow: 0 1px 10px rgba(24,16,10,0.85), 0 0 3px rgba(24,16,10,0.6);
}
/* Two-font system: decorative accent lines now render in LoveLace italic */
.page-hero-sub, .founder-role, .role-line, .quote-bar, .footer-tag,
.member-sign, .founder-sign, .video-label, .form-thanks, .band-quote {
  font-family: var(--serif); font-style: italic; letter-spacing: 0;
}
.quote-bar { font-size: 22px; line-height: 1.5; }
.video-label { font-size: 18px; }
.form-thanks { font-size: 26px; }

/* =====================================================================
   PROFILE  (founder / about lead)
   ===================================================================== */
.split.align-top { align-items: start; }
.role-line { font-family: var(--serif); font-style: italic; color: var(--taupe); font-size: 20px; line-height: 1.4; margin-top: 0.2rem; }
.role-sub { color: var(--ink-soft); font-size: 15px; margin-top: 0.5rem; }
.quote-bar { border-left: 2px solid var(--bronze); padding: 0.2rem 0 0.2rem 1.3rem; margin: 1.8rem 0;
  font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--brown); line-height: 1.4; }
.profile-bio p { color: var(--ink-soft); }
.member-sign { position: absolute; left: 6%; bottom: 5%; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--cream); text-shadow: 0 2px 18px rgba(63,42,32,0.5); }

/* =====================================================================
   ACCORDION
   ===================================================================== */
.accordion { margin-top: 2.2rem; border-top: 1px solid rgba(154,134,109,0.22); }
.acc-item { border-bottom: 1px solid rgba(154,134,109,0.22); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; text-align: left; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze); transition: color 0.3s; }
.acc-head:hover { color: var(--brown); }
.acc-icon { position: relative; width: 15px; height: 15px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--brown); transition: transform 0.4s var(--ease); }
.acc-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.acc-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.acc-item.open .acc-icon::after { transform: translateX(-50%) scaleY(0); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height 0.55s var(--ease); }
.acc-body-inner { padding-bottom: 1.5rem; }
.acc-body ul { display: grid; gap: 0.05rem; }
.acc-body li { padding: 0.4rem 0; color: var(--ink-soft); font-size: 15px; border-bottom: 1px solid rgba(154,134,109,0.12); }
.acc-body li:last-child { border-bottom: none; }
.acc-sub-label { margin-top: 1.1rem; margin-bottom: 0.2rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }

/* =====================================================================
   TEAM
   ===================================================================== */
.team-member { padding-block: clamp(2.5rem, 5vw, 4rem); }
.team-member:nth-child(even) { background: linear-gradient(180deg, #f6efe6, var(--cream)); }
.monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.monogram span { font-family: var(--serif); font-size: 80px; color: rgba(247,242,236,0.9); letter-spacing: 0.08em; }
.member-name { font-family: var(--serif); font-weight: 500; font-size: 45px; color: var(--brown); }
.member-role { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); margin: 0.6rem 0 1.6rem; font-weight: 500; }
.member-bio p { color: var(--ink-soft); }

/* =====================================================================
   VISION / MISSION
   ===================================================================== */
.vm { background: linear-gradient(180deg, var(--cream) 0%, #f1e9df 100%); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.vision-statement { font-family: var(--serif); font-size: 34px; line-height: 1.35; color: var(--brown); }
.mission-intro { color: var(--ink-soft); }
.mission-intro strong { color: var(--brown); }
.mission-step { margin-top: 1.6rem; }
.mission-step h4 { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--brown); margin-bottom: 0.6rem; }
.mission-step ul li { position: relative; padding: 0.35rem 0 0.35rem 1.4rem; color: var(--ink-soft); font-size: 15px; }
.mission-step ul li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

/* =====================================================================
   SOFT STATEMENT + CTA BAND + VIDEO
   ===================================================================== */
.statement-soft { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.statement-soft .eyebrow { margin-bottom: 1.2rem; }
.statement-soft p:not(.eyebrow) { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.55; color: var(--brown); max-width: 52ch; margin-inline: auto; }

.cta-band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.cta-statement { font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1.2; color: var(--brown); max-width: 20ch; }
.cta-band .btn { margin-top: 2.6rem; }

.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 2.4rem; background: linear-gradient(150deg, #7a5840, #4a3225); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.video-item { margin: 0; }
.video-duo .video-frame { margin-top: 0; }
.video-caption { margin-top: 1rem; text-align: center; font-family: var(--serif); font-size: 19px; color: var(--brown); }
@media (max-width: 860px) { .video-duo { grid-template-columns: 1fr; gap: 2rem; } }

/* Office gallery (homepage) — masonry of interior shots */
.office-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.7rem, 1.4vw, 1.1rem); margin-top: clamp(2rem, 4vw, 3rem); }
.office-gallery .g-item { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); }
.office-gallery .g-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.office-gallery .g-item:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .office-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .office-gallery { grid-template-columns: 1fr; } }
.video-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--cream); text-align: center; cursor: pointer; }
.video-cover::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 11px); }
.video-play { position: relative; width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid rgba(247,242,236,0.8); display: flex; align-items: center; justify-content: center; transition: background 0.3s, transform 0.3s; }
.video-play svg { width: 22px; margin-left: 4px; color: var(--cream); }
.video-cover:hover .video-play { background: rgba(247,242,236,0.15); transform: scale(1.06); }
.video-label { position: relative; font-family: var(--serif); font-style: italic; font-size: 19px; }
.video-note { position: relative; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,242,236,0.6); }

/* =====================================================================
   SERVICE CARDS  (Aviara Smile)
   ===================================================================== */
.intro-tagline { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 1.4rem 0; font-weight: 500; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.5rem); }
.service-card { position: relative; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .frame-wash, .service-card img { transition: transform 0.8s var(--ease); }
.service-card:hover .frame-wash, .service-card:hover img { transform: scale(1.06); }
/* drop in a real photo: <img src="assets/smile-veneers.jpg" alt="..."> as the card's first child */
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(45,31,22,0.82) 0%, rgba(45,31,22,0.30) 42%, rgba(45,31,22,0.04) 68%); }
.sc-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.2rem, 2vw, 1.7rem); z-index: 2; }
.sc-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-lt); font-weight: 600; margin-bottom: 0.35rem; }
.sc-title { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--cream); line-height: 1.12; }

/* =====================================================================
   ECOSYSTEM PAGE  (intro prose + 12 image cards)
   ===================================================================== */
.eco-intro { max-width: 760px; }
.eco-intro p { color: var(--ink-soft); }
.eco-intro strong { color: var(--brown); font-weight: 600; }
.eco-intro em { font-style: italic; color: var(--brown); }
.eco-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-top: 2.2rem !important; margin-bottom: 0.3rem; }

.eco-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 1.5vw, 1.4rem); }
.eco-card { position: relative; display: block; min-height: clamp(300px, 30vw, 372px); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.eco-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.eco-card .frame-wash, .eco-card img { transition: transform 0.8s var(--ease); }
.eco-card:hover .frame-wash, .eco-card:hover img { transform: scale(1.06); }
/* drop in a real photo: <img src="assets/eco-breathing.jpg" alt=""> as the card's first child */
.eco-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eco-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(40,28,20,0.92) 6%, rgba(40,28,20,0.62) 52%, rgba(40,28,20,0.32) 100%); }
.eco-card-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.1rem, 1.5vw, 1.5rem); background: linear-gradient(to top, rgba(40,28,20,0.92) 0%, rgba(40,28,20,0.55) 33%, rgba(40,28,20,0.1) 60%, transparent 82%); }
.eco-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--cream); margin-bottom: 0.5rem; line-height: 1.12; }
.eco-card p { font-size: 12px; line-height: 1.55; color: rgba(247,242,236,0.82); }
a.eco-card { color: inherit; }
a.eco-card::before { content: ""; position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 26px; height: 26px; border-radius: 50%;
  background-color: rgba(247,242,236,0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f2ec' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px; opacity: 0; transition: opacity 0.4s var(--ease); }
a.eco-card:hover::before { opacity: 1; }

/* =====================================================================
   PATIENT STORIES  (before / after gallery)
   ===================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 3vw, 2.8rem); }
.case-ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.case:hover .case-ba { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ba-half { position: relative; overflow: hidden; }
/* drop in real photos: replace each .ba-wash span with <img src="assets/case1-before.jpg" alt=""> */
.ba-half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-wash { position: absolute; inset: 0; }
.ba-before { background: linear-gradient(155deg, #c7bfb4 0%, #a39a8e 60%, #8c8478 100%); filter: saturate(0.72); }
.ba-after { background:
  radial-gradient(70% 80% at 60% 28%, rgba(247,242,236,0.5), transparent 60%),
  linear-gradient(155deg, #e7d5bc 0%, #c9a778 55%, #ad8757 100%); }
.ba-tag { position: absolute; top: 0.7rem; z-index: 3; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); background: rgba(40,28,20,0.5); padding: 0.3rem 0.62rem; border-radius: 2px; }
.ba-tag.before { left: 0.7rem; }
.ba-tag.after { right: 0.7rem; }
.ba-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--cream); transform: translateX(-50%); z-index: 4; }
.ba-handle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; width: 34px; height: 34px; border-radius: 50%; background-color: var(--cream); box-shadow: var(--shadow-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 8l-4 4 4 4M14 8l4 4-4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 18px; }
.case-eyebrow { margin-top: 1.1rem; font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.case-label { font-family: var(--serif); font-size: 19px; color: var(--brown); line-height: 1.25; margin-top: 0.25rem; }

/* =====================================================================
   CONTACT PAGE  (pathways + form)
   ===================================================================== */
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.pathway { position: relative; text-align: left; padding: 1.8rem 1.6rem; background: var(--white); border: 1px solid rgba(154,134,109,0.25); border-radius: 6px; cursor: pointer; font-family: var(--sans); transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.pathway:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(176,141,87,0.55); }
.pathway.selected { border-color: var(--bronze); box-shadow: var(--shadow-sm); }
.pathway-check { position: absolute; top: 1.3rem; right: 1.3rem; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(154,134,109,0.5); transition: border-color 0.3s, background-color 0.3s; }
.pathway.selected .pathway-check { border-color: var(--bronze); background-color: var(--bronze);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px; }
.pathway h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--brown); margin-bottom: 0.5rem; padding-right: 1.6rem; line-height: 1.15; }
.pathway p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.form-starting { font-size: 14px; color: var(--ink-soft); margin-bottom: 1.6rem; }
.form-starting strong { color: var(--brown); font-weight: 600; }
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.9rem 1.1rem; border: 1px solid rgba(154,134,109,0.4); border-radius: 3px; background: var(--white); font-family: var(--sans); font-size: 15px; color: var(--ink); transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--bronze); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--taupe); margin-top: 1.1rem; line-height: 1.5; }
.form-thanks { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brown); padding: 2rem 0; }
.contact-aside .loc { margin-bottom: 1.2rem; }
.contact-aside .aside-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin: 2rem 0 1rem; }
.contact-aside .aside-link { display: block; color: var(--brown); font-size: 15px; padding: 0.3rem 0; }
.contact-aside .aside-link:hover { color: var(--bronze); }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js-reveal .reveal { opacity: 0; transform: translateY(32px); }
html.js-reveal .reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue span, .hero-text, .hero-figure, .hero-orb { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* --- Nav collapses to a drawer before the content layout does (≤1080px) --- */
@media (max-width: 1080px) {
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(82vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 1.35rem; padding: 5.75rem 2.4rem 2.5rem; overflow-y: auto;
    background: var(--cream); box-shadow: -30px 0 80px -40px rgba(63,42,32,0.6);
    transform: translateX(100%); transition: transform 0.55s var(--ease); z-index: 90;
  }
  .nav.open { transform: none; }
  .nav > a:not(.btn) { font-size: 18px; }
  .nav-cta { margin-top: 0.6rem; font-size: 12px; letter-spacing: 0.16em; padding: 0.95em 1.9em; }
  .nav-toggle { display: flex; z-index: 95; }

  /* dropdown becomes a static, always-open sub-list */
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-link { font-size: 18px; }
  .nav-link .chev { display: none; }
  .dropdown { position: static !important; transform: none !important; left: auto !important; top: auto !important;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; background: transparent; padding: 0.3rem 0 0.4rem 1rem; min-width: 0; margin: 0; }
  .dropdown::before { display: none; }
  .dropdown a { font-size: 16px; padding: 0.5rem 0 !important; color: var(--ink); }
  .dropdown a:hover, .dropdown a:focus { background: transparent; color: var(--bronze); }
}

@media (max-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .vm-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 46vh; padding-top: 7.5rem; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .hero { min-height: 82vh; }

  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 460px; margin-inline: auto; width: 100%; }

  .pillar-grid, .inno-grid, .story-grid { grid-template-columns: 1fr; }
  .pillar-grid { max-width: 440px; margin-inline: auto; }
  .case-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .eco-grid, .service-grid, .eco-card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  /* floating overlays become clean in-flow blocks once the split stacks */
  .floating-quote, .stat-chip, .stat-chip-alt {
    position: static; display: block; max-width: 420px; margin: 1.3rem auto 0; text-align: center;
  }
}
@media (max-width: 520px) {
  .eco-grid, .service-grid { grid-template-columns: 1fr; }
  .service-grid, .eco-card-grid { max-width: 360px; margin-inline: auto; }
  .eco-card-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cred-cols { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}


/* =====================================================================
   RESPONSIVE TYPE  — fixed whole-px per device (Elementor: Tablet <=1024 / Mobile <=767)
   ===================================================================== */
.media-line { font-size: 44px; }

@media (max-width: 1024px) {
  .hero-title { font-size: 50px; }
  .hero-sub { font-size: 18px; }
  .display { font-size: 46px; }
  .page-hero h1 { font-size: 48px; }
  .band-quote { font-size: 36px; }
  .cta-statement { font-size: 38px; }
  .statement-soft p:not(.eyebrow) { font-size: 21px; }
  .vision-statement { font-size: 28px; }
  .member-name { font-size: 38px; }
  .monogram span { font-size: 64px; }
  .sc-title { font-size: 23px; }
  .eco-card h3 { font-size: 20px; }
  .media-line { font-size: 34px; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .hero-statement p { font-size: 12px; }
  .display { font-size: 34px; }
  .page-hero h1 { font-size: 38px; }
  .band-quote { font-size: 26px; }
  .cta-statement { font-size: 29px; }
  .statement-soft p:not(.eyebrow) { font-size: 19px; }
  .vision-statement { font-size: 24px; }
  .member-name { font-size: 32px; }
  .monogram span { font-size: 48px; }
  .sc-title { font-size: 21px; }
  .eco-card h3 { font-size: 18px; }
  .media-line { font-size: 26px; }
  .eyebrow { font-size: 16px; letter-spacing: 0.2em; }
  .eyebrow-line { font-size: 12px; letter-spacing: 0.02em; white-space: nowrap; }
}


/* =====================================================================
   HOME REBUILD (2026-08-06 Aviara Website Blueprint) — new components
   ===================================================================== */
/* Elegant labelled placeholders for assets still to be provided */
.asset-ph { position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #efe7dd, #d4c9c1 55%, #c6b8a6);
  display: flex; align-items: center; justify-content: center; min-height: 220px; }
.asset-ph::after { content: attr(data-label); font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-deep);
  text-align: center; padding: 1.4rem; max-width: 32ch; line-height: 1.8; }
.asset-ph-dark { background: linear-gradient(135deg, #46341d, #604235 48%, #7a5a44); }
.asset-ph-dark::after { position: absolute; right: 1.1rem; bottom: 0.9rem; padding: 0;
  color: rgba(247,242,236,0.5); font-size: 10px; }

/* Hero */
.home-hero { position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 8rem 0 4rem; }
.home-hero-ph { position: absolute; inset: 0; z-index: 0; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(18,12,7,0.9) 0%, rgba(18,12,7,0.74) 42%, rgba(18,12,7,0.52) 70%, rgba(18,12,7,0.28) 100%); }
.home-hero-inner { position: relative; z-index: 2; max-width: 760px;
  text-shadow: 0 2px 22px rgba(15,10,6,0.5); }
.home-hero .eyebrow { font-size: 16px; letter-spacing: 0.18em; white-space: nowrap;
  text-shadow: 0 1px 10px rgba(15,10,6,0.85); }
.home-hero .hero-display { margin-top: 1.1rem; }
.home-hero .script-line { margin-bottom: 0.4rem; }
.home-hero .hero-cta { margin-top: 2.4rem; }

@media (max-width: 820px) {
  .home-hero { min-height: 86vh; padding: 7rem 0 3.5rem; }
  .home-hero .eyebrow { white-space: normal; font-size: 12px; letter-spacing: 0.16em; }
}
.hero-display { font-family: var(--serif); font-weight: 300; font-size: 60px; line-height: 1.05;
  color: var(--cream); letter-spacing: -0.005em; margin-bottom: 1rem; }
.hero-copy { color: rgba(247,242,236,0.9); font-size: 17px; max-width: 52ch; margin: 1.4rem 0 2rem; }
.eyebrow-onlight { color: var(--bronze-lt); background: none; -webkit-text-fill-color: currentColor; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Accent line (LoveLace italic) */
.script-line { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.3; color: var(--bronze-lt); }

/* Light ghost button (dark hero) */
.btn-ghost-light { border: 1px solid rgba(247,242,236,0.6); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { background: rgba(247,242,236,0.12); }

/* Two Collections */
.collection-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.collection-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.collection-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.collection-ph { min-height: 300px; border-radius: 0; }
.collection-body { padding: clamp(1.6rem, 2.6vw, 2.4rem); }
.collection-title { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--brown); line-height: 1.12; margin: 0.2rem 0 1rem; }

/* Method flow */
.method-flow { display: flex; align-items: stretch; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.6rem; }
.method-step { flex: 1 1 0; min-width: 130px; text-align: center; padding: 1.8rem 1rem; background: var(--white); border-radius: 8px; box-shadow: var(--shadow-sm); }
.method-num { font-family: var(--serif); font-size: 15px; letter-spacing: 0.2em; color: var(--bronze); }
.method-step h4 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--brown); margin-top: 0.5rem; }
.method-arrow { display: flex; align-items: center; color: var(--taupe); font-size: 22px; }
.method-note { max-width: 62ch; margin: 2.4rem auto 0; text-align: center; color: var(--ink-soft); }

/* The Aviara Difference */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 2.6rem; }
.diff-card { background: var(--white); border-radius: 8px; padding: clamp(1.6rem, 2.4vw, 2.2rem); box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--taupe); transition: transform 0.5s var(--ease); }
.diff-card:hover { transform: translateY(-5px); }
.diff-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--brown); margin-bottom: 0.7rem; line-height: 1.15; }
.diff-card p { font-size: 15px; color: var(--ink-soft); }

.stories-ph { min-height: 360px; margin-top: 2.4rem; }

@media (max-width: 900px) {
  .collection-duo { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .method-arrow { display: none; }
  .method-step { flex-basis: calc(50% - 0.5rem); }
}
@media (max-width: 767px) {
  .hero-display { font-size: 40px; }
  .diff-grid { grid-template-columns: 1fr; }
  .script-line { font-size: 22px; }
  .collection-title { font-size: 26px; }
}

/* =====================================================================
   CORNERSTONE PAGES (About, Method, Collections) — components
   ===================================================================== */
/* About — expertise grid */
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.4rem;
  background: var(--sand); border: 1px solid var(--sand); border-radius: 8px; overflow: hidden; }
.expertise-cell { background: var(--cream); padding: 1.6rem 1.2rem; text-align: center; font-family: var(--serif);
  font-size: 19px; color: var(--brown); display: flex; align-items: center; justify-content: center; min-height: 92px; line-height: 1.2; }

/* About — compare infographic */
.compare-flow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); margin-top: 2.4rem; max-width: 760px; margin-inline: auto; }
.compare-col { background: var(--white); border-radius: 8px; padding: 1.8rem; box-shadow: var(--shadow-sm); }
.compare-col-aviara { border: 2px solid var(--taupe); }
.compare-label { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; margin-bottom: 1rem; }
.compare-col-aviara .compare-label { color: var(--brown); }
.compare-steps li { font-family: var(--serif); font-size: 19px; color: var(--brown); padding: 0.55rem 0; border-bottom: 1px solid var(--cream-deep); }
.compare-steps li:last-child { border-bottom: none; }

/* Method — foundations groups */
.foundations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 2.4rem; }
.foundations-group { background: var(--white); border-radius: 8px; padding: 1.8rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.foundations-label { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; margin-bottom: 1rem; }
.foundations-group .feature-list li { font-family: var(--serif); font-size: 18px; color: var(--brown); padding: 0.4rem 0; border-bottom: 1px solid rgba(154,134,109,0.14); }
.foundations-group .feature-list li:last-child { border-bottom: none; }
.foundations-group .feature-list li::before { display: none; }

/* Collections — division cards */
.division-group-label { font-family: var(--serif); font-size: 26px; color: var(--taupe); margin: 1.6rem 0 0.5rem; }
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 1.1rem; }
.division-card { display: block; background: var(--white); border-radius: 8px; padding: clamp(1.5rem, 2.2vw, 2rem);
  box-shadow: var(--shadow-sm); border-top: 3px solid transparent; position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.division-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--taupe); }
.division-num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; color: var(--bronze); }
.division-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--brown); line-height: 1.15; margin: 0.3rem 0 0.7rem; }
.division-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 1rem; }
.division-link { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; }
.division-link::after { content: " \2192"; }

@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .division-grid { grid-template-columns: repeat(2, 1fr); }
  .foundations-grid { grid-template-columns: 1fr; }
  .compare-flow { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .division-grid, .expertise-grid { grid-template-columns: 1fr; }
}

/* Content-to-be-provided note (division pages) */
.content-ph { border: 1px dashed var(--sand); border-radius: 8px; padding: 1.5rem 1.7rem; background: rgba(183,159,133,0.10);
  color: var(--taupe-deep); font-size: 14px; margin-top: 1rem; line-height: 1.7; }
.content-ph strong { color: var(--brown); font-weight: 500; }

/* v1 assets wired into placeholders */
img.home-hero-ph { width: 100%; height: 100%; object-fit: cover; z-index: 0; }
img.collection-ph { width: 100%; height: 300px; object-fit: cover; display: block; }


/* ---- Home patient-stories showcase: film + before/after carousel ---- */
.stories-showcase { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(1.6rem, 3vw, 2.8rem); align-items: center; margin-top: 2.8rem; }
.stories-video .video-frame { margin-top: 0; }
.stories-vcap { font-family: var(--serif); font-style: italic; color: var(--taupe); font-size: 18px; text-align: center; margin-top: 1rem; }
.ba-carousel { position: relative; }
.ba-stage { position: relative; }
.ba-viewport { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-md); }
.ba-track { display: flex; transition: transform 0.6s var(--ease); }
.ba-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; background: var(--cream-deep); }
.ba-img { position: relative; }
.ba-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.ba-tag { position: absolute; left: 9px; top: 9px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(40,28,20,0.62); padding: 3px 9px; border-radius: 100px; }
.ba-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.92); box-shadow: var(--shadow-md); color: var(--brown); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 3; transition: background 0.3s, transform 0.3s; }
.ba-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.ba-prev { left: 10px; } .ba-next { right: 10px; }
.ba-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 1.1rem; }
.ba-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); cursor: pointer; padding: 0; border: none; transition: background 0.3s, transform 0.3s; }
.ba-dot.active { background: var(--bronze); transform: scale(1.25); }
.ba-caption { text-align: center; font-family: var(--serif); font-style: italic; color: var(--taupe); font-size: 15px; margin-top: 0.8rem; }
@media (max-width: 860px) { .stories-showcase { grid-template-columns: 1fr; } }

/* About hero: keep "Restoring the Foundation of Health." on one line */
.page-hero h1.hero-fit { font-size: 58px; white-space: nowrap; letter-spacing: -0.01em; }
@media (max-width: 1180px) { .page-hero h1.hero-fit { font-size: 48px; } }
@media (max-width: 940px)  { .page-hero h1.hero-fit { font-size: 40px; } }
@media (max-width: 620px)  { .page-hero h1.hero-fit { font-size: 31px; white-space: normal; } }

/* Contact form honeypot (spam trap) — visually hidden, off-screen */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Home hero kicker: larger "Integrative Centers" over a smaller descriptor line */
.home-hero .eyebrow.hero-kicker { font-size: 22px; letter-spacing: 0.14em; white-space: nowrap; margin-bottom: 0.4rem; }
.home-hero .eyebrow.hero-kicker-sub { font-size: 13px; letter-spacing: 0.24em; white-space: nowrap; }
@media (max-width: 520px) {
  .home-hero .eyebrow.hero-kicker { font-size: 18px; }
  .home-hero .eyebrow.hero-kicker-sub { font-size: 11px; letter-spacing: 0.18em; }
}


/* About feedback (2026-08-07): smaller team names, inline flourish */
.member-name { font-size: 32px; }
.script-inline { font-family: var(--serif); font-style: italic; color: var(--taupe); white-space: nowrap; }


/* Home hero-bridge clarification band (Dr. Ahn feedback): lighter, part of hero */
.statement-soft.hero-bridge { background: linear-gradient(180deg, #fbf8f3 0%, #f6efe6 100%); }


/* ===== Dr. Ahn doc (2026-08-10): division rich modules + longevity pillars ===== */
.lead-intro { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: var(--brown); font-weight: 400; }

.svc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 2.2vw, 1.8rem); margin-top: 2.6rem; }
.svc-card { background: var(--white); border-radius: 8px; padding: clamp(1.6rem, 2.4vw, 2.2rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.svc-card .eyebrow { margin-bottom: 1rem; }
.svc-note { font-size: 13px; color: var(--ink-soft); margin-top: 0.9rem; font-style: italic; }
@media (max-width: 760px) { .svc-duo { grid-template-columns: 1fr; } }

.faq-list { max-width: 760px; margin: 2.2rem auto 0; }
.faq-item { padding: 1.4rem 0; border-bottom: 1px solid rgba(96,66,53,0.14); }
.faq-item:first-child { border-top: 1px solid rgba(96,66,53,0.14); }
.faq-item h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--brown); margin: 0 0 0.5rem; line-height: 1.25; }
.faq-item p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* Longevity 2-up service cards under each pillar */
.division-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pillar-block + .pillar-block { margin-top: 3.2rem; }
.pillar-lead { max-width: 60ch; color: var(--ink-soft); margin: 0.5rem 0 0.4rem; }
@media (max-width: 760px) { .division-grid-2 { grid-template-columns: 1fr; } }

.division-link.muted { color: var(--taupe); opacity: 0.75; font-style: italic; }
.division-card .division-link.muted::after { display: none; }

.team-divider { border: 0; border-top: 1px solid rgba(96,66,53,0.16); width: 100%; max-width: 1000px; margin: 0 auto; }


/* Video facade (YouTube embedding disabled on source video -> click to watch) */
.video-facade { position: absolute; inset: 0; display: block; overflow: hidden; border: 0; padding: 0; background: none; cursor: pointer; width: 100%; height: 100%; font: inherit; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: rgba(40,28,20,0.26); transition: background 0.3s; }
.video-facade:hover img { transform: scale(1.04); }
.video-facade:hover::after { background: rgba(40,28,20,0.14); }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.94); box-shadow: var(--shadow-lg); z-index: 2; transition: transform 0.3s var(--ease), background 0.3s; }
.video-play-btn::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 12px 0 12px 21px; border-color: transparent transparent transparent var(--brown); }
.video-facade:hover .video-play-btn { transform: translate(-50%,-50%) scale(1.08); background: #fff; }


/* Education: speaking engagements */
.speaking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); margin-top: 2.6rem; }
.speaking-label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.6rem; }
.speaking-list { list-style: none; padding: 0; margin: 0; }
.speaking-list li { padding: 1rem 0; border-top: 1px solid rgba(96,66,53,0.14); }
.talk-title { display: block; font-family: var(--serif); font-size: 19px; color: var(--brown); line-height: 1.3; }
.talk-meta { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 0.35rem; letter-spacing: 0.02em; }
@media (max-width: 760px) { .speaking-grid { grid-template-columns: 1fr; gap: 1.8rem; } }


/* Method page media break (full-bleed band) */
.method-media { width: 100%; aspect-ratio: 2.4 / 1; max-height: 560px; overflow: hidden; }
.method-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; display: block; }
@media (max-width: 640px) { .method-media { aspect-ratio: 16 / 10; } }


/* Blog page: DearDoc mount + graceful empty state (shows only until posts render) */
#deardoc-blog { min-height: 32vh; }
#deardoc-blog:empty { display: flex; align-items: center; justify-content: center; }
#deardoc-blog:empty::after { content: "New articles are on the way."; color: var(--taupe); font-family: var(--serif); font-style: italic; font-size: 20px; }


/* ===== Blog pagination — clean, right-aligned (restyles DearDoc's .ddb-pagination) ===== */
#deardoc-blog .ddb-pagination { display: flex !important; justify-content: flex-end !important; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2.8rem; }
#deardoc-blog .ddb-page-btn {
  min-width: 40px !important; height: 40px !important; padding: 0 12px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  border: 1px solid rgba(96,66,53,0.18) !important; border-radius: 8px !important;
  background: transparent !important; color: var(--brown) !important; box-shadow: none !important;
  font-family: var(--sans) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
#deardoc-blog .ddb-page-btn:hover { border-color: var(--bronze) !important; color: var(--bronze) !important; background: transparent !important; }
#deardoc-blog .ddb-page-btn--active, #deardoc-blog .ddb-page-btn--active:hover { background: var(--brown) !important; border-color: var(--brown) !important; color: #fff !important; }
#deardoc-blog .ddb-page-btn:disabled { opacity: .35 !important; cursor: default; }
#deardoc-blog .ddb-ellipsis { color: var(--taupe); padding: 0 2px; align-self: center; letter-spacing: 1px; user-select: none; }
@media (max-width: 560px) {
  #deardoc-blog .ddb-pagination { justify-content: center !important; }
  #deardoc-blog .ddb-page-btn { min-width: 36px !important; height: 36px !important; padding: 0 9px !important; }
}


/* ===== Home page: alternating section tints =====
   Each section reads as separate from its neighbor. Sections tagged .s-warm
   carry a slightly deeper warm tone; the rest sit on the cream base. The band
   directly under the hero (.hero-bridge.s-warm) is warm for clear contrast. */
body.home main > section:not(.home-hero) { background: var(--cream); }
body.home main > section.s-warm { background: #eae0d1; }


/* ===== About — expertise cards (disciplines within each expertise area) ===== */
.expertise-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.2vw, 1.6rem); margin-top: 2.4rem; }
.expertise-card { background: var(--white); border-radius: 10px; padding: clamp(1.5rem, 2.4vw, 2rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.expertise-title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 24px); color: var(--brown); margin: 0 0 1rem; line-height: 1.2; }
.expertise-list { list-style: none; margin: 0; padding: 0; }
.expertise-list li { position: relative; padding: 0.65rem 0 0.65rem 1.4rem; border-bottom: 1px solid rgba(154,134,109,0.16); font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.expertise-list li:last-child { border-bottom: none; }
.expertise-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
.expertise-list li strong { color: var(--brown); font-weight: 600; }

/* ===== About — Aviara Foundation of Health infographic ===== */
.foundation-pillars { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(0.8rem, 2vw, 1.6rem); margin-top: 2.6rem; max-width: 840px; margin-inline: auto; }
.foundation-pillar { background: var(--white); border-radius: 12px; padding: clamp(1.6rem, 2.6vw, 2.2rem); box-shadow: var(--shadow-sm); text-align: center; border-top: 3px solid var(--taupe); }
.foundation-label { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 27px); color: var(--brown); margin: 0 0 0.2rem; }
.foundation-sub { font-size: 13px; letter-spacing: 0.02em; color: var(--taupe-deep); font-style: italic; margin: 0 0 1.1rem; }
.foundation-items { list-style: none; margin: 0; padding: 0; }
.foundation-items li { font-family: var(--serif); font-size: 17px; color: var(--brown); padding: 0.45rem 0; border-bottom: 1px solid rgba(154,134,109,0.14); }
.foundation-items li:last-child { border-bottom: none; }
.foundation-plus { align-self: center; text-align: center; font-family: var(--serif); font-size: 34px; color: var(--taupe); font-weight: 300; }
.foundation-cascade { max-width: 640px; margin: 0.4rem auto 0; text-align: center; }
.foundation-arrow { display: block; color: var(--taupe); font-size: 22px; line-height: 1; margin: 0.55rem 0; }
.foundation-band { background: var(--cream-deep); border-radius: 10px; padding: 1.1rem 1.4rem; }
.foundation-band-title { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2.2vw, 22px); color: var(--brown); margin: 0; letter-spacing: 0.01em; }
.foundation-band-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0.3rem 0 0; }
.foundation-band-beauty { background: linear-gradient(135deg, #efe4d3, #e7d7c1); }

/* ===== About — Education & Leadership groups ===== */
.edu-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: 2.4rem; align-items: start; }
.edu-talk-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-deep); margin: 1.1rem 0 0.5rem; }
.edu-talks { list-style: none; margin: 0 0 0.4rem; padding: 0; }
.edu-talks li { font-size: 13px; color: var(--ink-soft); line-height: 1.5; padding: 0.45rem 0; border-bottom: 1px solid rgba(154,134,109,0.12); }
.edu-talks li:last-child { border-bottom: none; }
.edu-talks li em { font-style: italic; color: var(--brown); }
/* Method — evaluation card subtitle (Beyond the Teeth / Beyond the Surface) */
.eval-sub { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe-deep); margin: 0.1rem 0 0.7rem; }
.edu-group-label { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); color: var(--taupe); margin: 0 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--sand); }
.edu-item { margin-bottom: 1.4rem; }
.edu-item:last-child { margin-bottom: 0; }
.edu-item h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--brown); margin: 0 0 0.4rem; line-height: 1.25; }
.edu-item p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

@media (max-width: 820px) {
  .expertise-cards { grid-template-columns: 1fr; }
  .edu-groups { grid-template-columns: 1fr; gap: 2rem; }
  .foundation-pillars { grid-template-columns: 1fr; }
}


/* ===== Method — Evaluate boxes ===== */
.eval-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.8rem); margin-top: 0.5rem; }
.eval-box { background: var(--white); border-radius: 10px; padding: clamp(1.6rem, 2.6vw, 2.2rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.eval-title { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.4vw, 26px); color: var(--brown); margin: 0 0 0.9rem; line-height: 1.2; }
.eval-box p { color: var(--ink-soft); margin: 0 0 0.8rem; }
.eval-box p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .eval-boxes { grid-template-columns: 1fr; } }

/* ===== Method — Design blueprint steps ===== */
.blueprint-step { margin-top: 1.3rem; }
.blueprint-step-label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-deep); margin: 0 0 0.5rem; }
.blueprint-list { list-style: none; margin: 0; padding: 0; }
.blueprint-list li { position: relative; padding: 0.35rem 0 0.35rem 1.1rem; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid rgba(154,134,109,0.12); line-height: 1.45; }
.blueprint-list li:last-child { border-bottom: none; }
.blueprint-list li::before { content: ""; position: absolute; left: 0; top: 0.82rem; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }


/* ===== Section directly below the hero: warm tone on every page =====
   Matches the Home page's band beneath the hero (#eae0d1) so the first
   section always separates clearly from the hero. Home already uses .s-warm. */
main > .page-hero + section { background: #eae0d1 !important; }


/* ===== About — expertise roster (name + title, awaiting full bios/photos) ===== */
.roster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 1.1rem; max-width: 760px; }
.roster-card { background: var(--white); border-radius: 10px; padding: clamp(1.3rem, 2vw, 1.7rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.roster-name { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2vw, 23px); color: var(--brown); margin: 0 0 0.3rem; line-height: 1.2; }
.roster-role { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
@media (max-width: 620px) { .roster-grid { grid-template-columns: 1fr; } }

/* ===== Longevity — Pillar imbalance cards ===== */
.imbalance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.2vw, 1.6rem); margin-top: 2.4rem; align-items: start; }
.imbalance-card { background: var(--white); border-radius: 10px; padding: clamp(1.5rem, 2.4vw, 2rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.imbalance-name { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2.1vw, 23px); color: var(--brown); margin: 0 0 1rem; line-height: 1.2; }
.imbalance-list { list-style: none; margin: 0; padding: 0; }
.imbalance-list li { padding: 0.75rem 0; border-bottom: 1px solid rgba(154,134,109,0.14); }
.imbalance-list li:first-child { padding-top: 0; }
.imbalance-list li:last-child { border-bottom: none; padding-bottom: 0; }
.imb-cond { display: block; font-weight: 600; color: var(--brown); font-size: 14px; line-height: 1.4; }
.imb-ther { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 0.3rem; padding-left: 1rem; position: relative; line-height: 1.45; }
.imb-ther::before { content: "\2192"; position: absolute; left: 0; top: 0; color: var(--bronze); }
.imb-detail { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 0.2rem; line-height: 1.45; }
.imbalance-lead { font-size: 13.5px; color: var(--ink-soft); margin: -0.4rem 0 1rem; line-height: 1.5; }
.pillar-tagline { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--brown); margin: 0 0 0.7rem; line-height: 1.3; }


/* ===== About — Aviara Foundation of Health infographic (rich) ===== */
.fg { max-width: 1000px; margin-inline: auto; }
.fg-heads { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.2rem); margin-top: 2.6rem; }
.fg-head { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.3rem; border-radius: 14px; background: linear-gradient(135deg, #4b3524, #6b4a35); color: var(--cream); box-shadow: var(--shadow-sm); }
.fg-head-functional { background: linear-gradient(135deg, #6b4a35, #866147); }
.fg-head-badge { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(247,242,236,0.14); }
.fg-head-badge svg { width: 24px; height: 24px; color: var(--cream); }
.fg-head-text { display: flex; flex-direction: column; line-height: 1.2; }
.fg-head-title { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); letter-spacing: 0.02em; }
.fg-head-sub { font-size: 12px; font-style: italic; color: rgba(247,242,236,0.75); margin-top: 2px; }
.fg-plus { font-family: var(--serif); font-size: 30px; color: var(--taupe); text-align: center; }

.fg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); margin-top: 1.6rem; }
.fg-item { display: flex; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(154,134,109,0.16); }
.fg-item:last-child { border-bottom: none; }
.fg-badge { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-deep); border: 1px solid rgba(154,134,109,0.28); }
.fg-badge svg { width: 22px; height: 22px; color: var(--bronze); }
.fg-item-t { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brown); margin: 0.15rem 0 0.25rem; line-height: 1.25; }
.fg-item-d { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.45; }

.fg-airway { display: flex; justify-content: center; margin: 2rem 0 1.4rem; }
.fg-circle { width: clamp(230px, 34vw, 300px); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; background: radial-gradient(circle at 50% 40%, #fbf7f1, #efe4d4); border: 1px solid rgba(154,134,109,0.3); box-shadow: var(--shadow-lg); }
.fg-circle-icon svg { width: 46px; height: 46px; color: var(--brown); margin-bottom: 0.5rem; }
.fg-circle-t { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 24px); color: var(--brown); margin: 0; letter-spacing: 0.03em; }
.fg-circle-d { font-size: 13px; color: var(--ink-soft); margin: 0.4rem 0 0; line-height: 1.4; }

.fg-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); margin-bottom: 1.6rem; }
.fg-box { background: var(--white); border-radius: 12px; padding: clamp(1.3rem, 2vw, 1.7rem); box-shadow: var(--shadow-sm); border-top: 3px solid var(--taupe); }
.fg-box-t { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-deep); margin: 0 0 0.8rem; }
.fg-box ul { list-style: none; margin: 0; padding: 0; }
.fg-box li { position: relative; padding: 0.4rem 0 0.4rem 1rem; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.fg-box li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }

.fg-cascade { max-width: 620px; margin: 0 auto; text-align: center; }
.fg-arrow { display: block; color: var(--taupe); font-size: 22px; line-height: 1; margin: 0.55rem 0; }
.fg-band { background: var(--cream-deep); border-radius: 12px; padding: 1.2rem 1.5rem; }
.fg-band-t { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2.3vw, 23px); color: var(--brown); margin: 0; letter-spacing: 0.02em; }
.fg-band-d { font-size: 13.5px; color: var(--ink-soft); margin: 0.35rem 0 0; line-height: 1.45; }
.fg-band-beauty { background: linear-gradient(135deg, #4b3524, #6b4a35); }
.fg-band-beauty .fg-band-t { color: var(--cream); }
.fg-band-beauty .fg-band-d { color: rgba(247,242,236,0.8); }
.fg-band-beauty .script-inline { color: var(--sand); }
.fg-tagline { text-align: center; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-deep); margin: 2.2rem auto 0; max-width: 620px; }

@media (max-width: 760px) {
  .fg-heads { grid-template-columns: 1fr; }
  .fg-plus { padding: 0.2rem 0; }
  .fg-cols, .fg-boxes { grid-template-columns: 1fr; }
}

/* Longevity Medicine — grouped treatment options */
.opt-label { font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe-deep); margin: 1.15rem 0 0.35rem; }
.opt-label:first-of-type { margin-top: 0.4rem; }
@media (max-width: 900px) { .imbalance-grid { grid-template-columns: 1fr; } }
