/* Hallmark · genre: coastal-luxury home services · macrostructure: parity-conversion (hosted-factory standard) · theme: business-derived (Sunshine Blinds brand: gold #c8923a + espresso #2e1a0e + cream, terracotta action) · display-font: Cormorant Garamond (the client's own) · wordmark: Playfair Display · body: Jost · nav: topbar + sticky header + mega · footer: dark index
 * Design direction derived FROM the business: existing site palette preserved per operator request 2026-07-28 (gold #c8923a highlight, espresso #2e1a0e ink/dark bands, cream #f5f0e8 washes, terracotta #a33b2b action). Component system reused byte-for-byte from the hosted-factory standard; only the token values + literals are re-pinned warm.
 * Client: Sunshine Blinds & Shutters, Carlsbad CA (sunshine-blinds) · rebuild 2026-07-28 */

/* Fonts load via <link preconnect + stylesheet> in each page head (no @import chain). */

:root {
  --navy: #2e1a0e;          /* espresso - headings + ink */
  --navy-deep: #241408;     /* darkest espresso - dark bands, hero scrim, footer, topbar */
  --navy-2: #3a2310;
  --sky: #c8923a;           /* sunshine gold - accent + highlight spans + hovers (on dark/borders) */
  --sky-deep: #8a6113;      /* AA-safe deep gold - links, eyebrows, focus, icons */
  --sky-tint: #f6ecd9;      /* soft gold wash - icon circles, stat bg, cta-inline */
  --berry: #b8442f;         /* terracotta - button hover */
  --berry-deep: #a33b2b;    /* terracotta - AA-safe button fill (white text) */
  --ink: #2e1a0e;
  --muted: #7a6858;         /* warm taupe - secondary text (AA on white) */
  --line: #e7ddce;          /* warm border */
  --bg: #f7f1e7;            /* warm cream - soft bands */
  --surface: #fff;
  --dark-ink: #efe7d8;      /* warm cream text on dark bands */

  --head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", system-ui, -apple-system, sans-serif;
  --wordmark: "Playfair Display", Georgia, serif;

  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.25rem;
  --text-lg: 1.55rem;
  --text-xl: clamp(1.7rem, 3.4vw, 2.55rem);
  --text-display: clamp(2.3rem, 4vw + 0.7rem, 3.7rem);

  --space-2xs: 0.25rem; --space-xs: 0.5rem; --space-sm: 0.75rem; --space-md: 1rem;
  --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 200ms;

  --maxw: 74rem;
  --radius: 14px; --radius-sm: 10px;
  --shadow-card: 0 10px 30px -22px rgba(60, 38, 16, .42);
  --shadow-pop: 0 18px 50px -28px rgba(60, 38, 16, .34);
  --z-dropdown: 100; --z-sticky: 200;
  --measure: 64ch;
  --star: #e0a32e;
}

/* ---- base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  background: var(--surface); color: var(--ink);
  font-family: var(--body); font-size: var(--text-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--head); font-weight: 600; line-height: 1.1;
  letter-spacing: 0; color: var(--navy); margin: 0 0 var(--space-md);
  overflow-wrap: anywhere; min-width: 0;
}
h1 { font-size: var(--text-display); font-weight: 700; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-md); font-weight: 600; }
p, ul, ol, dl { margin: 0 0 var(--space-md); max-width: var(--measure); }
a { color: var(--sky-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: var(--z-sticky); background: var(--navy-deep); color: #fff; padding: var(--space-sm) var(--space-md); }
.skip:focus { left: var(--space-md); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.eyebrow {
  font-family: var(--body); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 0.76rem; color: var(--sky-deep); margin: 0 0 var(--space-xs);
}

/* ---- wordmark (text logo, this brand has no logo image) ------------------- */
.brand { font-family: var(--wordmark); font-weight: 700; font-size: 1.34rem; letter-spacing: 0.005em; color: var(--navy); line-height: 1; white-space: nowrap; }
.brand .hl { color: #9a6a12; } /* deep gold: passes AA 4.5:1 normal-text on the white header regardless of font load (footer wordmark keeps bright gold on dark) */
@media (max-width: 26rem) { .brand { font-size: 1.12rem; } }

/* ---- buttons (8 states) --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem var(--body); padding: 0.85rem 1.6rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  background: var(--berry-deep); color: #fff;
  box-shadow: 0 12px 26px -14px rgba(163, 59, 43, .6);
  transition: background-color var(--dur-short) var(--ease-out), transform 100ms var(--ease-out);
}
.btn:hover, .btn.is-hover { background: var(--berry); color: #fff; transform: translateY(-1.5px); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--navy-deep); outline-offset: 3px; }
.btn:disabled, .btn.is-disabled { background: var(--line); color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.btn[data-state="loading"] { opacity: .7; pointer-events: none; }
.btn[data-state="error"] { background: #8f1030; }
.btn[data-state="success"] { background: #17694b; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--gold { background: var(--sky); color: var(--navy); box-shadow: 0 12px 26px -14px rgba(200,146,58,.7); }
.btn--gold:hover { background: #d9a54a; color: var(--navy); transform: translateY(-1.5px); }
.btn--navy { background: var(--navy); box-shadow: 0 12px 26px -14px rgba(46,26,14,.55); }
.btn--navy:hover { background: var(--navy-2); }

/* ---- topbar ---------------------------------------------------------------- */
.topbar { background: var(--navy-deep); color: #d8cebc; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-block: 0.45rem; flex-wrap: wrap; }
.topbar__meta { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--sky); }
.topbar .star { color: var(--star); }
@media (max-width: 40rem) { .topbar__meta--hours { display: none; } }

/* ---- header + nav ------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--surface); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: 0.6rem; }
.nav__mark { display: flex; align-items: center; text-decoration: none; }
.nav__mark img { height: 44px; width: auto; }
.nav__links { display: none; align-items: stretch; gap: 0.15rem; font-family: var(--body); font-weight: 500; font-size: 0.95rem; }
.nav__links > a, .nav__dd > a {
  display: inline-flex; align-items: center; color: var(--ink); text-decoration: none;
  padding: 0.6rem 0.75rem; border-radius: 8px; white-space: nowrap;
}
.nav__links > a:hover, .nav__dd > a:hover { color: var(--sky-deep); background: var(--bg); }
.nav__links a[aria-current="page"] { color: var(--sky-deep); }
.nav__phone { color: var(--muted) !important; font-weight: 500 !important; }
.nav__cta { margin-left: 0.4rem; padding: 0.6rem 1.25rem !important; border-radius: 999px;
  background: var(--berry-deep); color: #fff !important; }
.nav__cta:hover { background: var(--berry) !important; color: #fff !important; }

/* mega menu (hover + focus-within, no role=menu) */
.nav__dd { position: relative; display: flex; align-items: stretch; }
.nav__dd > a::after { content: ""; width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 0.45rem; opacity: .7; }
.nav__panel { position: absolute; top: 100%; left: -0.5rem; padding-top: 0.6rem; display: none; z-index: var(--z-dropdown); }
.nav__panel > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-pop); padding: 1.1rem; min-width: 34rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.4rem;
}
.nav__panel .col-h { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0.35rem 0 0.2rem; grid-column: 1 / -1; }
.nav__panel .col-h:first-child { margin-top: 0; }
.nav__panel a { display: block; padding: 0.4rem 0.5rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav__panel a:hover { background: var(--bg); color: var(--sky-deep); }
.nav__dd:hover .nav__panel, .nav__dd:focus-within .nav__panel { display: block; }

/* mobile disclosure */
.nav__m { position: relative; }
.nav__m > summary { list-style: none; cursor: pointer; font: 600 0.9rem var(--body); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.5rem 1.05rem; }
.nav__m > summary::-webkit-details-marker { display: none; }
.nav__m[open] > summary { background: var(--bg); }
.nav__m ul { position: absolute; right: 0; z-index: var(--z-dropdown); width: min(20rem, 88vw); margin: 0.5rem 0 0; padding: 0.6rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.nav__m li + li { border-top: 1px solid var(--line); }
.nav__m a { display: block; padding: 0.7rem 0.5rem; text-decoration: none; font: 600 1rem var(--body); color: var(--ink); }
@media (min-width: 64rem) { .nav__links { display: flex; } .nav__m { display: none; } }

/* ---- HOME hero: two-column, text LEFT + image RIGHT (dark espresso) ------------------ */
.hero { background: var(--navy-deep); color: #fff; overflow: clip; }
.hero__grid {
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem);
  display: grid; gap: var(--space-xl); align-items: center;
}
.hero__text { padding-block: clamp(2.25rem, 6vw, 4.5rem); text-align: left; }
.hero__media img {
  width: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-pop);
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1.12fr 0.88fr; gap: var(--space-2xl); }
  .hero__media img { aspect-ratio: 5 / 6; max-height: 34rem; }
}
.hero .eyebrow { color: #e7c78a; }
.hero h1 { color: #fff; max-width: 20ch; font-weight: 700; font-size: clamp(2rem, 2.5vw + 0.75rem, 2.95rem); }
.hero h1 .accent { color: var(--sky); font-style: italic; }
.hero__tagline { font-family: var(--head); font-style: italic; font-weight: 500; font-size: var(--text-lg); color: var(--sky); margin: 0 0 var(--space-sm); line-height: 1.1; }
.hero__lede { font-size: var(--text-md); color: #ece2d2; max-width: 42ch; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); }
/* default: dark gold text link (works on light sections where .hero__acts is reused as a secondary-link row) */
.hero__acts a:not(.btn) { color: var(--sky-deep); font-weight: 600; white-space: nowrap; }
/* white only on the dark home hero */
.hero .hero__acts a:not(.btn) { color: #fff; }
.hero__serving { margin-top: var(--space-lg); font-size: var(--text-sm); color: #c8b9a4; }
.hero__stars { color: var(--star); letter-spacing: 0.12em; }
.hero__stars small { color: #ece2d2; letter-spacing: 0; margin-left: 0.5em; }

/* ---- interior page hero: soft band + floating image ------------------------------ */
.phero { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; gap: var(--space-xl); align-items: center; padding-block: var(--space-xl) var(--space-2xl); }
.phero h1 { max-width: 22ch; }
.phero__sub { font-size: var(--text-md); color: var(--muted); max-width: 52ch; }
.phero__img img { border-radius: var(--radius); box-shadow: var(--shadow-pop); width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.phero .hero__acts a:not(.btn) { color: var(--navy); }
@media (min-width: 60rem) { .phero__grid { grid-template-columns: 1.15fr 0.85fr; } }

/* ---- trust / stat strip ----------------------------------------------------------- */
.trust { background: var(--navy-deep); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-lg); padding-block: var(--space-lg); }
.trust .num { font: 700 1.9rem var(--head); font-variant-numeric: tabular-nums; }
.trust .num .star { color: var(--star); font-size: 1.1rem; margin-left: 2px; }
.trust .lbl { color: #c8b9a4; font-size: var(--text-sm); }
@media (min-width: 48rem) { .trust .wrap { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---- credential chips --------------------------------------------------------------- */
.creds { background: var(--bg); border-bottom: 1px solid var(--line); }
.creds .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-block: var(--space-md); }
.creds .lead-lbl { font: 600 0.8rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 0.4rem; }
.chip, .chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.95rem; font-size: var(--text-sm); color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; max-width: none; }

/* ---- sections ------------------------------------------------------------------------ */
.sec { padding-block: var(--space-3xl); }
.sec--tight { padding-block: var(--space-2xl); }
.bg-soft { background: var(--bg); }
.bg-navy { background: var(--navy-deep); color: var(--dark-ink); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: var(--dark-ink); }
.sec__head { max-width: 52ch; margin-bottom: var(--space-xl); }
.sec__head--split { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md); max-width: none; }
.sec__kicker { color: var(--muted); max-width: 56ch; }

/* ---- service icon cards ----------------------------------------------------------------- */
.svc { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
@media (min-width: 60rem) { .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc a {
  display: flex; flex-direction: column; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: clip; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.svc a:hover { transform: translateY(-3px); border-color: var(--sky); }
.svc a:hover h3 { color: var(--sky-deep); }
/* photographic product card: image header + padded body (replaces the old icon) */
.svc__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.svc__body { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); flex-grow: 1; }
.svc h3 { margin: 0; transition: color var(--dur-short) var(--ease-out); }
.svc p { margin: 0; color: var(--muted); font-size: var(--text-sm); max-width: none; flex-grow: 1; }
.svc .go { color: var(--berry-deep); font-weight: 600; font-size: var(--text-sm); font-family: var(--body); margin-top: auto; }
/* legacy icon (kept for any non-product card use) */
.svc .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-tint); color: var(--sky-deep); display: grid; place-items: center; }
.svc .ico svg { width: 24px; height: 24px; }

/* ---- split media band (image + text, alternating) ------------------------------------------ */
.split { display: grid; gap: var(--space-2xl); align-items: center; padding-block: var(--space-2xl); }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-pop); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split .checks { list-style: none; padding: 0; }
.split .checks li { padding: 0.5rem 0 0.5rem 2rem; position: relative; }
.split .checks li::before {
  content: ""; position: absolute; left: 0; top: 0.72rem; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--sky-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6113' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 0.7rem; background-position: center; background-repeat: no-repeat;
}
.split .checks strong { color: var(--navy); }
@media (min-width: 60rem) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--flip .split__media { order: -1; }
}

/* ---- mini cards (why-us grids on interior pages) ------------------------------------------------ */
.mini { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); list-style: none; padding: 0; max-width: none; }
@media (min-width: 60rem) {
  .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.mini li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-lg); box-shadow: var(--shadow-card); }
.mini strong { display: block; font-family: var(--head); font-weight: 600; color: var(--navy); font-size: var(--text-md); margin-bottom: var(--space-2xs); }
.mini p { margin: 0; color: var(--muted); font-size: var(--text-sm); max-width: none; }

/* ---- process steps ---------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; padding: 0; max-width: var(--measure); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 var(--space-md); padding: var(--space-md) 0; align-items: start; }
.steps li::before {
  content: counter(step); grid-row: 1 / span 2; align-self: start;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--sky-tint); color: var(--navy); font: 700 1.05rem var(--head);
  display: grid; place-items: center;
}
.steps strong { display: block; color: var(--navy); font-family: var(--head); font-weight: 600; font-size: var(--text-md); margin-bottom: var(--space-2xs); }
.steps p { margin: 0; color: var(--muted); }
/* horizontal 3-up variant for interior pages */
@media (min-width: 60rem) {
  .steps--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); max-width: none; }
  .steps--row li { display: block; padding: 0; }
  .steps--row li::before { margin-bottom: var(--space-sm); }
}

/* ---- reviews band (dark espresso) ------------------------------------------------------------------------- */
.revband { background: var(--navy-deep); color: var(--dark-ink); }
.revband .wrap { padding-block: var(--space-3xl); }
.revband h2 { color: #fff; }
.revband__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.revband__score .big { font: 700 3.4rem var(--head); color: #fff; line-height: 1; }
.revband__score .stars { color: var(--star); letter-spacing: 0.15em; }
.revband__score .src { color: #c8b9a4; font-size: var(--text-sm); }
.revband h2 { margin: 0; max-width: 20ch; color: #fff; }
.revs { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); max-width: none; }
@media (min-width: 48rem) and (max-width: 60rem) {
  .revs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .revs .rev:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.rev { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: var(--space-lg); margin: 0; }
.rev__stars { color: var(--star); letter-spacing: 0.12em; font-size: var(--text-sm); margin: 0 0 var(--space-xs); }
.rev blockquote { margin: 0 0 var(--space-sm); font-size: var(--text-base); line-height: 1.55; color: #fff; }
.rev figcaption { color: #c8b9a4; font-size: var(--text-sm); }
/* light variant when .revs used outside the dark band */
.sec .revs .rev, .bg-soft .revs .rev { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-card); }
.sec .revs .rev blockquote, .bg-soft .revs .rev blockquote { color: var(--ink); }
.sec .revs .rev figcaption, .bg-soft .revs .rev figcaption { color: var(--muted); }

/* ---- areas ------------------------------------------------------------------------------------------ */
.areas { display: flex; flex-wrap: wrap; gap: var(--space-sm); padding: 0; list-style: none; max-width: none; }
.areas a {
  display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.55rem 1.15rem; text-decoration: none; color: var(--navy); font: 600 var(--text-sm) var(--body); white-space: nowrap;
  transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.areas a:hover { border-color: var(--sky); transform: translateY(-2px); }

/* ---- FAQ ---------------------------------------------------------------------------------------------- */
.faq { max-width: var(--measure); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: var(--space-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); font: 600 var(--text-base) var(--body); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--berry-deep); font-size: var(--text-lg); line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 var(--space-lg) var(--space-md); color: var(--muted); }

/* ---- gallery strip (image row band) ---------------------------------------------------------------------------- */
.gallery { display: grid; gap: var(--space-md); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; padding: 0; list-style: none; }
.gallery img { border-radius: var(--radius); width: 100%; object-fit: cover; object-position: center 25%; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
@media (min-width: 60rem) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- guide/post teaser cards ------------------------------------------------------------------------------------ */
.posts { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); max-width: none; padding: 0; list-style: none; }
.posts a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.posts a:hover { transform: translateY(-3px); border-color: var(--sky); }
.posts img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.posts h3 { margin: var(--space-md) var(--space-lg) var(--space-2xs); }
.posts p { margin: 0 var(--space-lg) var(--space-lg); color: var(--muted); font-size: var(--text-sm); max-width: none; }

/* ---- hours / visit band ------------------------------------------------------------------------------------------ */
.hours { display: grid; gap: var(--space-xl); max-width: none; }
.hours dl { margin: 0; max-width: none; }
.hours dt { font: 600 var(--text-sm) var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: var(--space-md); }
.hours dd { margin: var(--space-2xs) 0 0; font-family: var(--head); font-weight: 600; color: var(--navy); }
@media (min-width: 60rem) { .hours { grid-template-columns: 1fr 1fr 1.2fr; } }

/* ---- inline CTA moment (mid-page) --------------------------------------------------------------------------- */
.cta-inline {
  background: var(--sky-tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-lg) var(--space-xl); margin-block: var(--space-xl);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md);
  /* belt-and-suspenders: even if authored outside a .wrap, never run full-bleed */
  max-width: calc(var(--maxw) - 2 * clamp(1rem, 3vw, 2rem)); margin-inline: auto;
}
.cta-inline p { margin: 0; font: 600 var(--text-lg) var(--head); color: var(--navy); max-width: none; }
.cta-inline > div { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.cta-inline a:not(.btn) { white-space: nowrap; font-weight: 600; }

/* ---- CTA band -------------------------------------------------------------------------------------------- */
.cta { position: relative; isolation: isolate; background: var(--navy); color: #fff; padding-block: var(--space-2xl); overflow: clip; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%); }
.cta .eyebrow { color: #e7c78a; }
.cta h2 { color: #fff; max-width: 24ch; }
.cta p { color: var(--dark-ink); }
.cta a:not(.btn) { color: #fff; font-weight: 600; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); }

/* ---- footer (dark) ------------------------------------------------------------------------------------------ */
.foot { background: var(--navy-deep); color: #c8b9a4; font-size: var(--text-sm); }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--sky); text-decoration: underline; }
.foot__mast { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-2xl); align-items: center; padding-block: var(--space-xl); border-bottom: 1px solid rgba(255,255,255,.14); }
.foot__brand { font-family: var(--wordmark); font-weight: 700; font-size: 1.5rem; color: #fff; line-height: 1; }
.foot__brand .hl { color: var(--sky); }
.foot__mast p { margin: 0; max-width: none; }
.foot__cols { display: grid; gap: var(--space-xl); grid-template-columns: repeat(2, minmax(0,1fr)); padding-block: var(--space-xl); }
.foot__cols h2 { font: 600 0.78rem var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #b09a80; margin: 0 0 var(--space-sm); }
.foot__cols ul { list-style: none; margin: 0; padding: 0; }
.foot__cols li { padding: 0.22rem 0; }
.foot__fine { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; padding-block: var(--space-lg); border-top: 1px solid rgba(255,255,255,.14); color: #b09a80; }
.foot__fine p { margin: 0; max-width: none; }
@media (min-width: 60rem) { .foot__cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---- forms -------------------------------------------------------------------------------------------------- */
.form { max-width: 34rem; }
.form label { display: block; font: 600 var(--text-sm) var(--body); color: var(--navy); margin: var(--space-md) 0 var(--space-2xs); }
.form label .opt { font-weight: 400; color: var(--muted); }
.form .row2 { display: grid; gap: 0 var(--space-md); }
@media (min-width: 34rem) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--dur-micro) var(--ease-out);
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 1px; border-color: var(--sky-deep); }
.form textarea { min-height: 8rem; resize: vertical; }
.form .consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: var(--space-md); }
.form .consent input { width: auto; margin-top: 0.3rem; flex-shrink: 0; }
.form .consent label { margin: 0; font-weight: 400; color: var(--muted); font-size: var(--text-sm); }
.form button { margin-top: var(--space-lg); }
.form .hp { position: absolute; left: -5000px; top: -5000px; }
#sent { display: none; border: 1.5px solid #17694b; border-radius: var(--radius-sm); padding: var(--space-md); color: #17694b; font-weight: 600; margin-bottom: var(--space-lg); max-width: 34rem; }
#sent:target { display: block; }

/* ---- page furniture -------------------------------------------------------------------------------------------- */
.crumb { padding-top: var(--space-lg); font-size: var(--text-sm); color: var(--muted); }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35em; margin: 0; padding: 0; max-width: none; }
.crumb li + li::before { content: "/"; margin-right: 0.35em; color: var(--muted); opacity: .55; }
.crumb a { color: var(--muted); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-2xl); }
.prose h3 { margin-top: var(--space-xl); }
.prose li { margin-bottom: var(--space-xs); }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-card); margin-block: var(--space-lg); }
/* when .prose IS the .wrap, keep the container full-width so text aligns to the
   page's left grid edge; cap the children instead (fixes centered-column drift) */
.wrap.prose { max-width: var(--maxw); }
.wrap.prose > * { max-width: var(--measure); }

/* contact: form + details side by side on desktop */
.contact-grid { display: grid; gap: var(--space-2xl); align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1.05fr 0.95fr; } }

/* stat inline (interior pages) */
.stand { border-block: 1px solid var(--line); background: var(--bg); }
.stand__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-lg) var(--space-xl); padding-block: var(--space-xl); }
.stand__n { font: 700 2.3rem var(--head); color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1; margin: 0; }
.stand__q { color: var(--muted); font-size: var(--text-sm); margin: var(--space-2xs) 0 0; }
@media (min-width: 40rem) { .stand__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* map embed (contact) */
.mapframe { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* ---- mobile floor + motion ----------------------------------------------------------------------------------------- */
@media (max-width: 40rem) {
  .sec { padding-block: var(--space-2xl); }
  .btn { width: 100%; }
  .hero__acts .btn, .cta__row .btn, .phero .btn { width: auto; flex: 1 1 auto; }
}
/* ---- sticky mobile call bar --------------------------------------------------------- */
.callbar { display: none; }
@media (max-width: 64rem) {
  .callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
    background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.18);
    padding: 0.6rem clamp(1rem, 4vw, 2rem) calc(0.6rem + env(safe-area-inset-bottom));
    gap: var(--space-sm);
  }
  .callbar a { flex: 1 1 50%; display: inline-flex; justify-content: center;
    font: 600 0.95rem var(--body); border-radius: 999px; padding: 0.65rem 1rem;
    text-decoration: none; white-space: nowrap; }
  .callbar__tel { background: var(--berry-deep); color: #fff; }
  .callbar__book { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
  body { padding-bottom: 3.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 150ms !important; transition-duration: 150ms !important; }
  html { scroll-behavior: auto; }
}

.revband a:not(.btn) { color: var(--sky); }
.revband a:not(.btn):hover { color: #fff; }
.posts a:hover h3 { color: var(--sky-deep); }
.faq summary:hover { color: var(--sky-deep); }
@media (max-width: 40rem) { .topbar__meta:last-child { display: none; } }
