/* ============================================================
   Palm Wound Care — Coastal Premium Design System
   ============================================================ */

:root {
  /* Coastal sand neutrals */
  --sand-50:  #FDFBF6;
  --sand-100: #FAF6EF;
  --sand-200: #F5EEE2;
  --sand-300: #EAE0CE;
  --sand-400: #D6C7AB;
  --ink-900:  #132023;
  --ink-700:  #1F3338;
  --ink-500:  #4A5D61;
  --ink-400:  #6F8084;
  --ink-300:  #9BA9AD;

  /* Coastal teal (primary) */
  --teal-900: #06363E;
  --teal-700: #0B4F5A;
  --teal-500: #1A7380;
  --teal-300: #7FB4BB;
  --teal-100: #D9ECEF;

  /* Warm coral (CTA) */
  --coral-700: #C35541;
  --coral-500: #E87558;
  --coral-300: #F3A98F;
  --coral-100: #FBE2D7;

  /* Sunset gold (accent) */
  --gold-700: #B8802F;
  --gold-500: #D99A4E;
  --gold-200: #F5DDB6;

  /* Semantic */
  --ok:      #2E7F5B;
  --warn:    #B8802F;
  --err:     #A4392E;

  /* Shadow & radius */
  --shadow-sm: 0 1px 2px rgba(19,32,35,.06), 0 1px 3px rgba(19,32,35,.05);
  --shadow-md: 0 4px 12px -2px rgba(19,32,35,.08), 0 2px 6px -2px rgba(19,32,35,.06);
  --shadow-lg: 0 24px 48px -16px rgba(19,32,35,.18), 0 8px 20px -8px rgba(19,32,35,.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Type scale */
  --f-display: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.0625rem;
  --text-lg:   1.1875rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  2.875rem;
  --text-5xl:  3.75rem;
  --text-hero: clamp(2.75rem, 5.5vw + 1rem, 5.25rem);

  /* Container */
  --wrap: 1180px;
  --wrap-narrow: 780px;
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--sand-100);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--coral-500); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 {
  font-family: var(--f-display);
  color: var(--ink-900);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 120;
}
h1 { font-size: var(--text-hero); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 2.6vw + 0.5rem, 2.75rem); }
h3 { font-size: var(--text-xl); font-weight: 600; line-height: 1.25; }
p  { margin: 0 0 1em; }
em { font-style: italic; color: var(--teal-700); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }

/* Layout */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
.sec { padding: clamp(60px, 9vw, 110px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 72px) 0; }
.bg-sand { background: var(--sand-200); }
.bg-cream { background: var(--sand-100); }
.bg-teal { background: var(--teal-900); color: var(--sand-100); }
.bg-teal h1,.bg-teal h2,.bg-teal h3 { color: var(--sand-50); }

/* Eyebrow label */
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
  display: inline-block;
}
.bg-teal .eyebrow { color: var(--gold-500); }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,251,246,.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(19,32,35,.06);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--wrap); margin: 0 auto; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-900); font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { color: var(--teal-700); }
.brand span em { color: var(--coral-500); font-style: italic; font-variation-settings: "WONK" 1; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-700); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--teal-700); }
.nav .btn { margin-left: 4px; }

.menu-btn { display: none; background: transparent; border: 0; padding: 8px; color: var(--ink-900); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--coral-500); color: #fff; box-shadow: 0 6px 16px -6px rgba(232,117,88,.55); }
.btn--primary:hover { background: var(--coral-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(232,117,88,.6); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--sand-400); }
.btn--ghost:hover { color: var(--teal-700); border-color: var(--teal-700); }
.btn--light { background: var(--sand-50); color: var(--teal-900); }
.btn--light:hover { background: #fff; color: var(--teal-900); }
.btn--teal { background: var(--teal-700); color: #fff; }
.btn--teal:hover { background: var(--teal-900); color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(217,154,78,.18), transparent 60%),
    radial-gradient(900px 480px at 10% 110%, rgba(127,180,187,.22), transparent 55%),
    linear-gradient(180deg, var(--sand-100) 0%, var(--sand-200) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-weight: 400; }
.hero h1 em { display: inline; }
.hero .lede { font-size: var(--text-lg); color: var(--ink-500); max-width: 560px; margin: 18px 0 32px; }
.hero .trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; color: var(--ink-500); font-size: 0.9rem; align-items: center; }
.hero .trust strong { color: var(--ink-900); font-weight: 600; }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust svg { color: var(--teal-500); flex-shrink: 0; }

/* ============================================================
   Editorial hero composition — inline SVG palm / coastal vignette
   Three layers: atmospheric sky, soft gold sun disc, palm frond
   Designed as a premium editorial piece, not a gradient box.
   ============================================================ */
.hero-art {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background:
    /* soft sand-to-dawn atmospheric wash */
    linear-gradient(175deg, #F7EFDF 0%, #EBD9C1 35%, #D6C0A2 70%, #A08268 100%);
  isolation: isolate;
}
.hero-art::before {
  /* Gold sun disc — low on the horizon, subtle halo */
  content:""; position: absolute; left: 8%; top: 50%;
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 45% 45%,
    #FBDFA4 0%, #F0BE6F 38%, rgba(217,154,78,.28) 62%, transparent 78%);
  filter: blur(0.2px);
  z-index: 0;
}
.hero-art::after {
  /* Horizon band + grain — a quiet coastal seam */
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 54%, rgba(11,79,90,.12) 56%, rgba(11,79,90,.28) 62%, rgba(6,54,62,.55) 88%, rgba(6,54,62,.72) 100%),
    radial-gradient(ellipse 80% 28% at 50% 58%, rgba(253,251,246,.28), transparent 70%);
  z-index: 1;
}

/* Palm fronds SVG sits above */
.hero-frond {
  position: absolute; z-index: 2;
  pointer-events: none;
  color: #132023;
}
.hero-frond--left {
  right: -6%; bottom: -4%;
  width: 75%;
  transform: rotate(-6deg);
  opacity: 0.88;
}
.hero-frond--right {
  left: -12%; top: -10%;
  width: 58%;
  transform: rotate(22deg) scaleX(-1);
  opacity: 0.35;
  color: #06363E;
}

/* Small seal — bottom-left editorial mark */
.hero-seal {
  position: absolute; left: 22px; bottom: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: rgba(253,251,246,.88);
  color: var(--ink-900);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(19,32,35,.15);
}
.hero-seal svg { color: var(--coral-500); }

/* Small caption — top-right editorial mark */
.hero-caption {
  position: absolute; right: 22px; top: 22px; z-index: 3;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(19,32,35,.68);
  letter-spacing: 0.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 14;
  text-align: right;
  max-width: 45%;
  line-height: 1.3;
}


.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(253,251,246,.7); color: var(--teal-900);
  padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--sand-300); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-500); box-shadow: 0 0 0 4px rgba(232,117,88,.22); }

/* Cards */
.card {
  background: var(--sand-50);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand-400); }
.card h3 { margin: 12px 0 8px; color: var(--ink-900); }
.card p { color: var(--ink-500); font-size: var(--text-sm); margin: 0 0 14px; }
.card a.more { font-size: 0.9rem; font-weight: 600; color: var(--teal-700); display: inline-flex; align-items: center; gap: 6px; }
.card a.more::after { content: "→"; transition: transform .2s; }
.card a.more:hover::after { transform: translateX(3px); }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-100); color: var(--teal-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.card--accent .card-icon { background: var(--coral-100); color: var(--coral-700); }
.card--gold   .card-icon { background: var(--gold-200); color: var(--gold-700); }

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

/* Section head */
.sec-head { max-width: 760px; margin: 0 0 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--ink-500); font-size: var(--text-lg); margin: 12px 0 0; }

/* Timeline / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--f-display); font-size: 2rem; font-weight: 500; color: var(--coral-500);
  font-variation-settings: "WONK" 1;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-500); font-size: var(--text-sm); }

/* Conditions quick list */
.cond-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.cond-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: var(--radius-md);
  color: var(--ink-900); font-weight: 500;
  transition: all .2s ease;
}
.cond-chip:hover { border-color: var(--teal-500); background: #fff; color: var(--teal-700); }
.cond-chip svg { flex-shrink: 0; color: var(--teal-500); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 60%, #0E6875 100%);
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 88px);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(400px 220px at 90% 0%, rgba(217,154,78,.25), transparent 60%),
              radial-gradient(500px 300px at 10% 110%, rgba(232,117,88,.25), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; max-width: 640px; position: relative; }
.cta-banner p { color: rgba(253,251,246,.85); max-width: 560px; position: relative; font-size: var(--text-lg); }
.cta-banner .eyebrow { color: var(--gold-500); position: relative; }
.cta-banner .btn-group { position: relative; margin-top: 28px; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
details.faq {
  background: var(--sand-50); border: 1px solid var(--sand-300);
  border-radius: var(--radius-md); padding: 22px 26px;
  transition: border-color .2s;
}
details.faq[open] { border-color: var(--teal-500); background: #fff; }
details.faq summary {
  list-style: none; cursor: pointer;
  font-weight: 600; font-size: var(--text-lg); color: var(--ink-900);
  font-family: var(--f-display); line-height: 1.3;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--teal-700); transition: transform .2s; font-weight: 300; line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 14px 0 0; color: var(--ink-500); }

/* Footer */
footer {
  background: var(--ink-900); color: rgba(253,251,246,.75);
  padding: 72px 0 36px;
  font-size: 0.92rem;
}
footer a { color: rgba(253,251,246,.85); }
footer a:hover { color: var(--coral-300); }
footer h4 { color: #fff; font-family: var(--f-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-brand p { color: rgba(253,251,246,.6); max-width: 320px; line-height: 1.55; font-size: 0.9rem; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand .brand svg { color: var(--gold-500); }
.foot-bottom { border-top: 1px solid rgba(253,251,246,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: rgba(253,251,246,.5); font-size: 0.82rem; }

/* Form */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 16px;
  background: var(--sand-50); border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink-900);
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal-500); background: #fff; }
textarea { min-height: 140px; resize: vertical; }

/* Breadcrumb */
.crumbs { font-size: 0.85rem; color: var(--ink-400); padding: 22px 0 0; }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--teal-700); }
.crumbs .sep { margin: 0 8px; color: var(--ink-300); }

/* Prose (article body) */
.prose { max-width: 720px; font-size: var(--text-lg); line-height: 1.75; color: var(--ink-700); }
.prose h2 { margin-top: 2em; font-size: 1.85rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.3rem; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote { border-left: 3px solid var(--coral-500); margin: 1.6em 0; padding: 4px 0 4px 22px; font-family: var(--f-display); font-style: italic; color: var(--ink-900); font-size: 1.25rem; line-height: 1.45; }

/* Pill tag */
.pill { display: inline-block; padding: 5px 12px; background: var(--teal-100); color: var(--teal-900); border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.pill--gold { background: var(--gold-200); color: var(--gold-700); }
.pill--coral { background: var(--coral-100); color: var(--coral-700); }

/* Soft panel */
.panel {
  background: var(--sand-50); border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg); padding: 36px;
}
.panel--teal { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
.panel--teal h3 { color: #fff; }

/* Location highlight */
.loc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.loc-card {
  padding: 28px; border: 1px solid var(--sand-300); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--sand-50) 0%, var(--sand-100) 100%);
  transition: all .2s; color: var(--ink-900);
}
.loc-card:hover { border-color: var(--teal-500); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.loc-card h3 { margin: 0 0 6px; font-size: 1.4rem; }
.loc-card .meta { color: var(--ink-400); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.loc-card p { font-size: 0.95rem; color: var(--ink-500); margin: 14px 0 0; }
.loc-card.coming { opacity: 0.75; }
.loc-card.coming::after { content: "Coming soon"; display: inline-block; margin-top: 12px; padding: 4px 10px; background: var(--gold-200); color: var(--gold-700); border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   Editorial numbered cards — big Fraunces-italic numerals, thin rule,
   generous padding. Used for "How it works" / "Why us".
   ============================================================ */
.edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--sand-300);
}
.edit-card {
  padding: 44px 36px 40px;
  border-right: 1px solid var(--sand-300);
  border-bottom: 1px solid var(--sand-300);
  position: relative;
  transition: background .25s ease;
}
.edit-card:nth-child(3n) { border-right: 0; }
.edit-card:hover { background: var(--sand-50); }
.edit-card .num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--coral-500);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  margin-bottom: 24px;
  display: block;
}
.edit-card h3 {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 12px;
  line-height: 1.25;
}
.edit-card p {
  color: var(--ink-500);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin: 0;
}

/* Four-column editorial grid for the "How it works" row */
.edit-grid--4 { grid-template-columns: repeat(4, 1fr); }
.edit-grid--4 .edit-card:nth-child(3n) { border-right: 1px solid var(--sand-300); }
.edit-grid--4 .edit-card:nth-child(4n) { border-right: 0; }

/* ============================================================
   Pull-quote — editorial, large Fraunces italic, thin rule above
   ============================================================ */
.pull-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  text-align: left;
}
.pull-quote::before {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--coral-500);
  margin-bottom: 36px;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.pull-quote blockquote p { margin: 0; }
.pull-quote blockquote p + p { margin-top: 0.5em; }
.pull-quote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
}

/* ============================================================
   Typographic city list — replaces pill chips on service area
   ============================================================ */
.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  border-top: 1px solid var(--sand-300);
}
.city-list li {
  border-bottom: 1px solid var(--sand-300);
  padding: 18px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.city-list li .meta {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-400);
}

/* ============================================================
   Lineage strip — the NYC + Gateway + Palm lineage presentation
   ============================================================ */
.lineage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(253,251,246,.14);
  border-bottom: 1px solid rgba(253,251,246,.14);
}
.lineage-card {
  padding: 36px 32px;
  border-right: 1px solid rgba(253,251,246,.14);
  color: rgba(253,251,246,.85);
}
.lineage-card:last-child { border-right: 0; }
.lineage-card .city {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.lineage-card h3 {
  font-family: var(--f-display);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.lineage-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
  color: rgba(253,251,246,.7);
}

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--sand-300); border-bottom: 1px solid var(--sand-300); }
.stat { padding: 36px 24px; border-right: 1px solid var(--sand-300); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--f-display); font-size: 2.75rem; line-height: 1; color: var(--teal-900); font-variation-settings: "WONK" 1, "opsz" 144; margin-bottom: 8px; }
.stat .l { font-size: 0.88rem; color: var(--ink-500); letter-spacing: 0.02em; }

/* Media card */
.media {
  position: relative; aspect-ratio: 5/4; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--teal-900);
}
.media.palm {
  background:
    radial-gradient(circle at 30% 80%, rgba(217,154,78,.25), transparent 55%),
    linear-gradient(170deg, #A6D3D9 0%, #5B9AA3 45%, #0B4F5A 100%);
}
.media.interior {
  background:
    radial-gradient(circle at 20% 30%, rgba(253,251,246,.6), transparent 50%),
    linear-gradient(170deg, #F5EEE2 0%, #EAE0CE 60%, #D6C7AB 100%);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { aspect-ratio: 16/10; max-height: 340px; }
  .grid-3, .grid-4, .loc-grid, .steps { grid-template-columns: 1fr 1fr; }
  .edit-grid, .edit-grid--4 { grid-template-columns: 1fr 1fr; }
  .edit-card:nth-child(n) { border-right: 1px solid var(--sand-300); }
  .edit-card:nth-child(2n) { border-right: 0; }
  .city-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .lineage { grid-template-columns: 1fr; }
  .lineage-card { border-right: 0; border-bottom: 1px solid rgba(253,251,246,.14); }
  .lineage-card:last-child { border-bottom: 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--sand-300); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--sand-50); padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--sand-300); box-shadow: var(--shadow-md); }
  .nav.open a { padding: 8px 0; }
  .menu-btn { display: inline-flex; }
  .grid-3, .grid-4, .grid-2, .cond-list, .loc-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .edit-grid, .edit-grid--4 { grid-template-columns: 1fr; }
  .edit-card { border-right: 0 !important; }
  .city-list { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 28px; border-radius: var(--radius-lg); }
  .panel { padding: 26px; }
  .card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
