/* Surf City Websites. Tokens follow docs/brand/brand-guidelines.md. Design plan: docs/design-plan.md */
:root {
  --tide: #294a55;
  --shell: #f7f3ec;
  --ink: #203942;
  --pale-dune: #ded3c4;
  --sand: #b3a189;
  --sea-glass: #86a0a2;
  --deep: #17313a;

  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "P052", "TeX Gyre Pagella", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", sans-serif;

  --step-0: 1.125rem;
  --step-1: 1.5rem;
  --step-2: 2rem;
  --step-3: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --step-4: clamp(3rem, 1.2rem + 7vw, 7.5rem);

  --gutter: clamp(1rem, 0.4rem + 3vw, 3.5rem);
  --max: 84rem;
  --measure: 60ch;
  --radius: 1.25rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--shell); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans); text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--sea-glass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--tide); line-height: 1.04; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: var(--measure); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--shell); padding: 0.5rem 1rem; }
.lede { font: 400 var(--step-1)/1.45 var(--serif); color: var(--tide); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark .lede { color: var(--shell); }
.muted { color: rgba(247, 243, 236, 0.72); }

/* Placeholders that must be replaced before launch */
.tbd { background: #fff3c4; color: #5b4a00; padding: 0 0.25em; border-radius: 3px; }
.on-dark .tbd { background: #5b4a00; color: #fff3c4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0.8rem 1.6rem; border-radius: 999px;
  font: 700 0.95rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--tide); color: var(--shell); box-shadow: 0 10px 30px -12px rgba(23, 49, 58, 0.6); }
.btn-solid:hover { background: var(--deep); }
.on-dark .btn-solid { background: var(--shell); color: var(--tide); }
.on-dark .btn-solid:hover { background: #fff; }
.btn-glass { background: rgba(247, 243, 236, 0.14); color: var(--shell); border-color: rgba(247, 243, 236, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost { background: rgba(41, 74, 85, 0.06); color: var(--tide); border-color: rgba(41, 74, 85, 0.25); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Header: floating glass bar */
.site-header { position: fixed; inset: 0.75rem 0 auto 0; z-index: 40; pointer-events: none; }
.site-header .bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(calc(100% - 1.5rem), var(--max)); margin: 0 auto; min-height: 4rem; padding: 0.5rem 0.6rem 0.5rem 1.25rem;
  background: rgba(247, 243, 236, 0.72); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px -20px rgba(23, 49, 58, 0.45);
  transition: background-color 0.3s;
}
.scrolled .site-header .bar { background: rgba(247, 243, 236, 0.9); }
.brand img { height: 2.3rem; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.nav a { display: block; padding: 0.6rem 0.9rem; border-radius: 999px; font: 700 0.92rem/1 var(--sans); color: var(--tide); text-decoration: none; transition: background-color 0.2s; }
.nav a:hover { background: rgba(41, 74, 85, 0.08); }
.nav a[aria-current="page"] { background: rgba(41, 74, 85, 0.1); }
.nav .btn { padding: 0.75rem 1.2rem; min-height: 2.9rem; margin-left: 0.5rem; color: var(--shell); }
.nav .btn:hover { background: var(--deep); }
.nav-toggle { display: none; }
@media (max-width: 72rem) {
  .brand img { height: 2rem; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 2.8rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: var(--tide); color: var(--shell); font: 700 0.9rem/1 var(--sans); }
  .nav { position: absolute; top: calc(100% + 0.5rem); left: 0.75rem; right: 0.75rem; background: rgba(247, 243, 236, 0.97); border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(23, 49, 58, 0.5); display: none; pointer-events: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem; }
  .nav a { padding: 1rem; font-size: 1.05rem; }
  .nav li:last-child { display: none; }
}

/* Sticky call bar, mobile only */
.call-bar { display: none; }
@media (max-width: 72rem) {
  .call-bar {
    display: flex; gap: 0.5rem; position: fixed; z-index: 35; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding: 0.45rem; border-radius: 999px; background: rgba(23, 49, 58, 0.85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .call-bar .btn { flex: 1; min-height: 2.9rem; padding: 0.6rem 0.8rem; }
  .call-bar .btn-solid { background: var(--shell); color: var(--tide); }
  .call-bar .btn-glass { backdrop-filter: none; }
}

/* Full-bleed media scenes. The image zooms with scroll (js sets --p from 0 to 1). */
.scene { position: relative; overflow: hidden; isolation: isolate; }
.scene-media { position: absolute; inset: 0; z-index: -1; }
.scene-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--p, 0) * 0.18)); transform-origin: 70% 50%; will-change: transform; }
.scene-media::after { content: ""; position: absolute; inset: 0; }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 7rem 0 5rem; }
.hero .scene-media img { object-position: 78% 50%; }
.hero .scene-media::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0.95) 0%, rgba(247, 243, 236, 0.75) 38%, rgba(247, 243, 236, 0) 70%); }
@media (max-width: 48rem) {
  .hero { align-items: flex-end; padding-bottom: 7rem; }
  .hero .scene-media img { object-position: 72% 0%; }
  .hero .scene-media::after { background: linear-gradient(180deg, rgba(247, 243, 236, 0) 0%, rgba(247, 243, 236, 0.8) 30%, rgba(247, 243, 236, 0.96) 55%); }
  .scroll-cue { display: none; }
}
.hero-copy { max-width: 46rem; transform: translateY(calc(var(--p, 0) * -80px)); opacity: calc(1 - var(--p, 0) * 1.4); }
.eyebrow { font: 700 0.8rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.5rem; }
.on-dark .eyebrow { color: var(--pale-dune); }
.hero h1 { font-size: clamp(3.4rem, 1.2rem + 7vw, 8rem); line-height: 0.93; letter-spacing: -0.03em; }
.hero h1 .second { display: block; font-size: 0.42em; letter-spacing: -0.01em; margin-top: 0.45em; color: var(--ink); }
.price-line { font-size: var(--step-1); line-height: 1.35; margin: 1.75rem 0 2rem; color: var(--ink); }
.phone-link { font-weight: 700; color: var(--tide); }
.on-dark .phone-link { color: var(--shell); }
.scroll-cue { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); width: 1.6rem; height: 2.6rem; border: 2px solid rgba(41, 74, 85, 0.4); border-radius: 1rem; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 0.5rem; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--tide); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

/* Load-in: one orchestrated sequence for the hero */
.intro > * { animation: rise 1s var(--ease) both; }
.intro > :nth-child(2) { animation-delay: 0.08s; }
.intro > :nth-child(3) { animation-delay: 0.18s; }
.intro > :nth-child(4) { animation-delay: 0.28s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero .scene-media { animation: settle 2.2s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: scale(1.12); } }

/* Scroll-filled statement */
.statement { padding: clamp(6rem, 4rem + 10vw, 14rem) 0; }
.statement p { font: 400 clamp(2rem, 1rem + 4.2vw, 5rem)/1.12 var(--serif); letter-spacing: -0.02em; max-width: 22ch; margin: 0; }
.statement .w { color: rgba(41, 74, 85, 0.16); transition: color 0.35s; }
.statement .w.on { color: var(--tide); }

/* Section rhythm */
.section { padding: clamp(5rem, 3rem + 6vw, 9rem) 0; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 60rem) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section-head p { margin: 0; }

/* Reveal on enter */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.js .reveal-zoom { clip-path: inset(8% 8% 8% 8% round var(--radius)); transition: clip-path 1.2s var(--ease); }
.js .reveal-zoom img { transform: scale(1.2); transition: transform 1.6s var(--ease); }
.reveal-zoom.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal-zoom.in img { transform: scale(1); }

/* Story: pinned scroll through the three steps, with a browser that builds a site */
.story { position: relative; height: 340vh; }
.story-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: 5rem; }
.story-grid { display: grid; gap: 2rem; align-items: center; width: 100%; }
@media (min-width: 60rem) { .story-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.story-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: s; }
.story-steps li { counter-increment: s; position: relative; padding: 1rem 0 1rem 3.5rem; transition: opacity 0.5s var(--ease); }
.js .story-steps li { opacity: 0.32; }
.story-steps li::before { content: attr(data-step); position: absolute; left: 0; top: 0.9rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tide); font: 400 1.1rem/1 var(--serif); color: var(--tide); transition: background-color 0.4s, color 0.4s; }
.js .story-steps li.on { opacity: 1; }
.story-steps li.on::before { background: var(--tide); color: var(--shell); }
.story-steps h3 { margin-bottom: 0.35rem; }
.story-steps p { margin: 0; font-size: 1rem; }
.story-bar { height: 3px; border-radius: 3px; background: rgba(41, 74, 85, 0.12); margin-top: 1.5rem; overflow: hidden; }
.story-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--sea-glass); }
@media (max-width: 59.99rem) {
  .story { height: 300vh; }
  .story-pin { align-items: flex-start; padding-top: 5.5rem; }
  .story-grid { gap: 1rem; }
  .story-steps { margin-top: 0.5rem; }
  .js .story-steps li { display: none; padding-top: 0.5rem; }
  .js .story-steps li.on { display: block; }
  .story-steps li::before { top: 0.4rem; }
  .story h2 { font-size: 2rem; }
}

/* Browser mock */
.browser { border-radius: 1rem; background: #fff; box-shadow: 0 40px 90px -30px rgba(23, 49, 58, 0.55), 0 0 0 1px rgba(41, 74, 85, 0.08); overflow: hidden; }
.browser-top { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; background: #efe9df; border-bottom: 1px solid var(--pale-dune); }
.dots { display: flex; gap: 0.35rem; }
.dots i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--pale-dune); }
.url { flex: 1; display: flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: #fff; font: 400 0.8rem/1.2 var(--sans); color: var(--ink); overflow: hidden; white-space: nowrap; }
.url svg { width: 0.8rem; height: 0.8rem; flex: none; opacity: 0; transition: opacity 0.4s; }
.url .u-live { display: none; }
.live-badge { font: 700 0.7rem/1 var(--sans); padding: 0.35rem 0.6rem; border-radius: 999px; background: #dfeee6; color: #1f5a3c; opacity: 0; transform: scale(0.8); transition: opacity 0.4s, transform 0.4s var(--ease); }
.mock { position: relative; aspect-ratio: 16 / 10.5; background: var(--shell); padding: 5% 6%; display: grid; grid-template-rows: auto 1fr auto; gap: 6%; overflow: hidden; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-logo { width: 22%; height: 0.9rem; border-radius: 4px; background: var(--tide); }
.mock-links { display: flex; gap: 0.6rem; }
.mock-links i { width: 2.4rem; height: 0.5rem; border-radius: 3px; background: var(--pale-dune); }
.mock-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.mock-lines { display: grid; gap: 0.6rem; }
.mock-lines .l { height: 0.55rem; border-radius: 3px; background: var(--pale-dune); transition: background-color 0.6s, width 0.6s var(--ease); }
.mock-lines .l.h { height: 1.6rem; width: 90%; }
.mock-lines .l.h2 { height: 1.6rem; width: 65%; }
.mock-lines .l.s { width: 80%; }
.mock-lines .l.s2 { width: 55%; }
.mock-lines .b { width: 36%; height: 1.7rem; border-radius: 999px; background: var(--pale-dune); margin-top: 0.5rem; transition: background-color 0.6s; }
.mock-img { aspect-ratio: 4 / 3; border-radius: 0.6rem; background: var(--pale-dune); position: relative; overflow: hidden; }
.mock-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 0.8s, transform 1.2s var(--ease); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.mock-cards i { height: 2.4rem; border-radius: 0.5rem; background: var(--pale-dune); transform: translateY(20px); opacity: 0.5; transition: transform 0.7s var(--ease), opacity 0.7s, background-color 0.7s; }
.note { position: absolute; font: 700 0.72rem/1.2 var(--sans); background: var(--tide); color: var(--shell); padding: 0.45rem 0.7rem; border-radius: 0.5rem 0.5rem 0.5rem 0; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease); pointer-events: none; }
.note.n1 { top: 24%; left: 58%; }
.note.n2 { top: 70%; left: 8%; }
/* Step 1: the preview fills in */
.browser[data-step="1"] .mock-lines .l.h, .browser[data-step="1"] .mock-lines .l.h2,
.browser[data-step="2"] .mock-lines .l.h, .browser[data-step="2"] .mock-lines .l.h2,
.browser[data-step="3"] .mock-lines .l.h, .browser[data-step="3"] .mock-lines .l.h2 { background: var(--tide); }
.browser[data-step="1"] .mock-lines .b, .browser[data-step="2"] .mock-lines .b, .browser[data-step="3"] .mock-lines .b { background: var(--sea-glass); }
.browser[data-step="1"] .mock-img img, .browser[data-step="2"] .mock-img img, .browser[data-step="3"] .mock-img img { opacity: 1; transform: scale(1); }
.browser[data-step="1"] .mock-cards i, .browser[data-step="2"] .mock-cards i, .browser[data-step="3"] .mock-cards i { transform: none; opacity: 1; background: #fff; box-shadow: 0 6px 16px -10px rgba(23, 49, 58, 0.4); }
/* Step 2: we go over it together */
.browser[data-step="2"] .note { opacity: 1; transform: none; }
.browser[data-step="2"] .note.n2 { transition-delay: 0.25s; }
/* Step 3: live */
.browser[data-step="3"] .url svg, .browser[data-step="3"] .live-badge { opacity: 1; transform: none; }
.browser[data-step="3"] .url .u-draft { display: none; }
.browser[data-step="3"] .url .u-live { display: inline; }

/* Included: glass panels over a full-bleed deep tide texture */
.included-scene { padding: clamp(5rem, 3rem + 6vw, 9rem) 0; }
.included-scene .scene-media::after { background: rgba(23, 49, 58, 0.25); }
.glass-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .glass-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .glass-grid { grid-template-columns: repeat(3, 1fr); } }
.glass {
  padding: 1.75rem; border-radius: var(--radius);
  background: rgba(247, 243, 236, 0.08); border: 1px solid rgba(247, 243, 236, 0.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.glass:hover { background: rgba(247, 243, 236, 0.13); transform: translateY(-4px); }
.glass h3 { color: var(--shell); margin-bottom: 0.5rem; }
.glass p { margin: 0; font-size: 1rem; color: rgba(247, 243, 236, 0.78); }
.glass .k { display: block; font: 700 0.75rem/1 var(--sans); letter-spacing: 0.06em; color: var(--sea-glass); margin-bottom: 1.25rem; }

/* Growth: pinned phone that plays the missed-call text-back */
.growth { position: relative; height: 300vh; background: var(--shell); }
.growth-pin { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: 6rem 0 3rem; overflow: hidden; }
.growth-pin .scene-media img { object-position: 0% 50%; }
.growth-pin .scene-media::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0.35), rgba(247, 243, 236, 0) 60%); }
.growth-grid { display: grid; gap: 2.5rem; align-items: center; width: 100%; }
@media (min-width: 60rem) { .growth-grid { grid-template-columns: 6fr 5fr; gap: 5rem; } }
.growth-copy .feature-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature-list li { padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(41, 74, 85, 0.14); font-size: 0.92rem; color: var(--tide); }
.phone { width: min(20rem, 78vw); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 2.8rem; padding: 0.7rem; background: #13262d; box-shadow: 0 50px 100px -35px rgba(23, 49, 58, 0.7); }
.phone-screen { position: relative; height: 100%; border-radius: 2.2rem; background: #fbfaf7; overflow: hidden; display: flex; flex-direction: column; }
.phone-head { padding: 2.2rem 1rem 0.9rem; text-align: center; border-bottom: 1px solid #ece6dc; font: 700 0.85rem/1.3 var(--sans); color: var(--ink); }
.phone-head small { display: block; font-weight: 400; color: #7a8a8f; }
.thread { flex: 1; padding: 1rem 0.8rem; display: flex; flex-direction: column; gap: 0.6rem; font: 400 0.84rem/1.4 var(--sans); }
.call { align-self: center; font-size: 0.75rem; color: #b04a3a; background: #fbeae6; padding: 0.4rem 0.8rem; border-radius: 999px; }
.msg { max-width: 82%; padding: 0.6rem 0.8rem; border-radius: 1.1rem; }
.msg.out { align-self: flex-end; background: var(--tide); color: var(--shell); border-bottom-right-radius: 0.3rem; }
.msg.in { align-self: flex-start; background: #ece6dc; color: var(--ink); border-bottom-left-radius: 0.3rem; }
.msg small { display: block; font-size: 0.68rem; opacity: 0.7; margin-top: 0.25rem; }
.js .thread > * { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.thread > .on { opacity: 1; transform: none; }
.example { font-size: 0.8rem; text-align: center; margin-top: 1rem; color: var(--ink); }
@media (max-width: 59.99rem) {
  .growth { height: 280vh; }
  .growth-pin { align-items: flex-start; padding-top: 5.5rem; }
  .growth-grid { gap: 1rem; }
  .growth-copy .lede, .growth-copy .feature-list { display: none; }
  .growth-copy h2 { font-size: 2rem; }
  .phone { width: min(15rem, 62vw); }
}

/* Work */
.work { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .work { grid-template-columns: 7fr 5fr; align-items: end; } }
.work-item .frame { aspect-ratio: 16 / 10; border-radius: var(--radius); background: linear-gradient(140deg, #e9e1d4, var(--pale-dune)); display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--tide); overflow: hidden; }
.work-item:nth-child(2) .frame { aspect-ratio: 4 / 4.2; }
.work-item h3 { margin-top: 1.1rem; }
.work-item p { font-size: 1rem; margin-top: 0.35rem; }

/* Areas over a full-bleed local photo */
.areas-scene { padding: clamp(6rem, 4rem + 8vw, 12rem) 0; }
.areas-scene .scene-media::after { background: linear-gradient(0deg, rgba(23, 49, 58, 0.92) 10%, rgba(23, 49, 58, 0.55) 100%); }
.towns { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.towns li { border-top: 1px solid rgba(247, 243, 236, 0.22); }
.towns li:last-child { border-bottom: 1px solid rgba(247, 243, 236, 0.22); }
.towns a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; text-decoration: none; font: 400 clamp(2rem, 1.1rem + 3.4vw, 4.4rem)/1.05 var(--serif); color: var(--shell); transition: padding-left 0.4s var(--ease), color 0.3s; }
.towns a span { font: 400 0.95rem/1.3 var(--sans); color: rgba(247, 243, 236, 0.7); text-align: right; }
.towns a:hover { padding-left: 1rem; color: #fff; }
.photo-credit { font-size: 0.8rem; margin-top: 1.5rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--pale-dune); }
.faq details:last-child { border-bottom: 1px solid var(--pale-dune); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative; font: 400 var(--step-1)/1.3 var(--serif); color: var(--tide); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.15rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(41, 74, 85, 0.08); font: 400 1.3rem/1 var(--sans); color: var(--tide); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; }
.split { display: grid; gap: 2rem 4rem; }
@media (min-width: 60rem) { .split { grid-template-columns: 5fr 7fr; align-items: start; } .split > :first-child { position: sticky; top: 7rem; } }

/* Final CTA over the coastal planes */
.cta-scene { min-height: 90svh; display: flex; align-items: center; padding: 7rem 0; }
.cta-scene .scene-media img { object-position: 0% 50%; transform-origin: 20% 60%; }
.cta-scene .scene-media::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0) 25%, rgba(247, 243, 236, 0.85) 55%); }
@media (max-width: 48rem) { .cta-scene .scene-media::after { background: rgba(247, 243, 236, 0.82); } }
.cta-scene .wrap { display: flex; justify-content: flex-end; }
.cta-box { max-width: 36rem; }
.cta-box h2 { font-size: var(--step-4); }
.cta-box .lede { margin: 1.5rem 0 2rem; }

/* Inner page hero */
.page-hero { min-height: 72svh; display: flex; align-items: flex-end; padding: 9rem 0 clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero.dark-hero .scene-media::after { background: linear-gradient(90deg, rgba(23, 49, 58, 0.82) 0%, rgba(23, 49, 58, 0.55) 45%, rgba(23, 49, 58, 0.15) 100%); }
.page-hero.light-hero .scene-media::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0.95) 20%, rgba(247, 243, 236, 0.2) 75%); }
.page-hero h1 { max-width: 13ch; }
.page-hero.right .wrap { display: flex; justify-content: flex-end; }
.page-hero.right .scene-media img { object-position: 0% 50%; }
.page-hero.right .scene-media::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0) 20%, rgba(247, 243, 236, 0.9) 55%); }
@media (max-width: 48rem) { .page-hero.right .scene-media::after { background: rgba(247, 243, 236, 0.85); } }
.page-hero-copy { max-width: 40rem; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero.short { min-height: 50svh; }

/* Pricing */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); border-radius: 1.5rem; background: #fff; border: 1px solid var(--pale-dune); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.plan.featured { background: var(--tide); border-color: var(--tide); color: var(--shell); }
.plan.featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/images/brand/bg-deep-tide.webp") center / cover; opacity: 0.9; }
.plan.featured h2, .plan.featured .price { color: var(--shell); }
.plan h2 { font-size: var(--step-2); }
.plan .price { font: 400 clamp(3.5rem, 2rem + 5vw, 6rem)/1 var(--serif); color: var(--tide); margin: 1.25rem 0 0.25rem; letter-spacing: -0.03em; }
.plan .per { font-size: 1rem; margin-bottom: 1.75rem; }
.plan ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.plan li { padding: 0.65rem 0 0.65rem 1.75rem; position: relative; border-top: 1px solid rgba(41, 74, 85, 0.1); }
.plan.featured li { border-top-color: rgba(247, 243, 236, 0.16); }
.plan li::before { content: ""; position: absolute; left: 0.1rem; top: 1.05rem; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--sea-glass); border-bottom: 2px solid var(--sea-glass); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .tag { position: absolute; top: 1.5rem; right: 1.5rem; font: 700 0.72rem/1 var(--sans); padding: 0.45rem 0.7rem; border-radius: 999px; background: rgba(247, 243, 236, 0.16); color: var(--shell); }

/* Feature rows (growth plan page) */
.rows { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .rows { grid-template-columns: 1fr 1fr; } }
.row-card { padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--pale-dune); }
.row-card h3 { margin-bottom: 0.4rem; }
.row-card p { margin: 0; font-size: 1rem; }
.row-card.wide { grid-column: 1 / -1; background: var(--tide); border-color: var(--tide); }
.row-card.wide h3, .row-card.wide p { color: var(--shell); }

/* Forms */
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 1.5rem; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -40px rgba(23, 49, 58, 0.5); }
.form { display: grid; gap: 1.1rem; }
.form label { display: block; font-weight: 700; font-size: 0.92rem; color: var(--tide); margin-bottom: 0.4rem; }
.form .optional { font-weight: 400; color: var(--ink); }
.form input[type="text"], .form input[type="tel"], .form input[type="url"], .form select { width: 100%; min-height: 3.1rem; padding: 0.7rem 1rem; font: 400 1rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--pale-dune); border-radius: 0.75rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form input:focus, .form select:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 4px rgba(134, 160, 162, 0.3); }
.two { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .two { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; accent-color: var(--tide); }
.consent label { font-weight: 400; color: var(--ink); margin: 0; }
.contact-scene { min-height: 100svh; padding: 8rem 0 5rem; }
.contact-scene .scene-media::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0.92) 30%, rgba(247, 243, 236, 0.35)); }
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--shell); padding: 5rem 0 3rem; font-size: 1rem; }
@media (max-width: 62rem) { .site-footer { padding-bottom: 7rem; } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.site-footer img { height: 5.5rem; width: auto; margin-bottom: 1.25rem; }
.site-footer h2 { font: 700 0.95rem/1.3 var(--sans); color: var(--pale-dune); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(247, 243, 236, 0.16); font-size: 0.85rem; color: var(--pale-dune); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* Reduced motion: show every final state, no scroll effects */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene-media img, .hero-copy { transform: none !important; opacity: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .js .reveal-zoom { clip-path: none; }
  .reveal-zoom img { transform: none; }
  .statement .w { color: var(--tide); }
  .story, .growth { height: auto; }
  .story-pin, .growth-pin { position: relative; height: auto; min-height: 0; padding: 5rem 0; }
  .story-steps li { opacity: 1; display: block; }
  .thread > * { opacity: 1; transform: none; }
}

/* Contact details list */
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid rgba(41, 74, 85, 0.14); }
.contact-list li:last-child { border-bottom: 1px solid rgba(41, 74, 85, 0.14); }
.contact-list li > span:first-child { font-weight: 700; font-size: 0.9rem; color: var(--tide); }

/* Town pages */
.town-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .town-facts { grid-template-columns: 1fr 1fr; } }
.town-facts li { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--pale-dune); }
.town-facts h3 { margin-bottom: 0.4rem; }
.town-facts p { margin: 0; font-size: 1rem; }
.nearby { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nearby a { display: inline-block; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(41, 74, 85, 0.25); text-decoration: none; color: var(--tide); font-weight: 700; font-size: 0.92rem; }
.nearby a:hover { background: rgba(41, 74, 85, 0.08); }
.draft-note { margin-top: 2rem; font-size: 0.9rem; }

/* ---------- Blog ---------- */
.narrow { max-width: 50rem; }
.draft-banner { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 50; background: #5b4a00; color: #fff3c4; font: 700 0.85rem/1.3 var(--sans); padding: 0.6rem 1rem; border-radius: 999px; }
@media (max-width: 72rem) { .draft-banner { bottom: 5.5rem; } }
.crumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.85rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { opacity: 0.75; }
.blog-hero h1 { max-width: 18ch; font-size: var(--step-3); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filters a { padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(41, 74, 85, 0.25); text-decoration: none; font: 700 0.9rem/1 var(--sans); color: var(--tide); }
.filters a:hover { background: rgba(41, 74, 85, 0.08); }
.filters a[aria-current] { background: var(--tide); border-color: var(--tide); color: var(--shell); }
.cat-primary { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--pale-dune); margin-bottom: 2.5rem; }
.cat-primary p { margin-bottom: 1rem; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .post-list { grid-template-columns: 1fr 1fr; } }
.post-card a { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--pale-dune); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.post-card a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(23, 49, 58, 0.45); }
.post-card h3 { margin: 0.6rem 0 0.5rem; font-size: var(--step-1); }
.post-card p { font-size: 1rem; margin: 0 0 1rem; }
.post-card-cat { font: 700 0.78rem/1.2 var(--sans); color: var(--sea-glass); }
.post-card-date { margin-top: auto; font-size: 0.85rem; color: var(--ink); opacity: 0.75; }
.empty { opacity: 0.8; }
.post-head { padding: 8.5rem 0 2rem; background: linear-gradient(180deg, #efe9df, var(--shell)); }
.post-head h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); line-height: 1.08; margin-top: 0.75rem; }
.post-cat { display: inline-block; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(41, 74, 85, 0.08); font: 700 0.8rem/1 var(--sans); color: var(--tide); text-decoration: none; }
.post-meta { margin-top: 1.25rem; font-size: 0.92rem; }
.post { padding-top: 2rem; }
.prose { font-size: 1.1rem; line-height: 1.7; }
.prose > p:first-child { font: 400 var(--step-1)/1.5 var(--serif); color: var(--tide); }
.prose h2 { font-size: var(--step-2); margin: 2.75rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 3px solid var(--sea-glass); color: var(--tide); }
.post-cta { margin: 3rem 0; padding: 2rem; border-radius: 1.5rem; background: var(--tide); color: var(--shell); position: relative; overflow: hidden; isolation: isolate; }
.post-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/images/brand/bg-deep-tide.webp") center / cover; opacity: 0.85; }
.prose .post-cta h2.post-cta-title { margin: 0 0 0.5rem; color: var(--shell); font-size: var(--step-2); }
.post-cta p { color: rgba(247, 243, 236, 0.85); font-size: 1rem; }
.post-cta .btn-solid { background: var(--shell); color: var(--tide); }
.post-cta .btn-ghost { color: var(--shell); border-color: rgba(247, 243, 236, 0.4); background: transparent; }
.post-related { margin: 3rem 0 2rem; }
.prose .post-related h2 { font-size: var(--step-1); margin: 0 0 0.75rem; }
.post-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-related a { display: inline-block; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(41, 74, 85, 0.25); text-decoration: none; font: 700 0.9rem/1 var(--sans); color: var(--tide); }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--pale-dune); font-size: 1rem; }
.author-box img { width: 4rem; height: 4rem; border-radius: 50%; background: var(--shell); padding: 0.4rem; }
.author-box p { margin: 0 0 0.35rem; }
.author-name { font: 400 var(--step-1)/1.2 var(--serif); color: var(--tide); }
.author-dates { font-size: 0.85rem; opacity: 0.75; }
.post-faq { margin-top: 3rem; }
.toc { margin: 2rem 0 0.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--pale-dune); font-size: 1rem; }
.toc-title { font-weight: 700; color: var(--tide); margin: 0 0 0.5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin: 0.3rem 0; }
.toc a { text-decoration: none; color: var(--tide); }
.toc a:hover { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--pale-dune); vertical-align: top; }
.prose th { color: var(--tide); }
.more-posts { margin-top: 3.5rem; }
.prose .more-posts h2 { font-size: var(--step-2); margin: 0 0 1.25rem; }
.more-posts .post-list { grid-template-columns: 1fr; }
