/* ==========================================================================
   St. James Building LLC — St. James City, Pine Island, FL
   One stylesheet, mobile-first. Native scrolling only; motion is CSS
   transitions/keyframes toggled by a small IntersectionObserver.
   ========================================================================== */

/* ---------- fonts (self-hosted, latin) ---------- */
@font-face {
  font-family: "Aleo";
  src: url("/fonts/aleo.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("/fonts/funnelsans.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ----------
   PALETTE = the logo. brandColors from the brief: #183048 (navy), #181830 (ink),
   #486090 (steel). #335fa8 is the shield's keyline blue measured off the
   1179px original logo; #9db8e8 is that blue lifted for text on dark. */
:root {
  --ink: #181830;
  --navy: #183048;
  --steel: #486090;
  --blue: #335fa8;
  --blue-dk: #284c8a;
  --blue-lt: #9db8e8;
  --sky: #c9d6ee;
  --paper: #f5f5f1;
  --mist: #e8ecf1;
  --shell: #ffffff;
  --text: #1c2233;
  --mute: #545c6e;
  --fog: #c3cad8;
  --line: rgba(24, 24, 48, 0.14);
  --line-dk: rgba(201, 214, 238, 0.18);

  --display: "Aleo", Georgia, "Times New Roman", serif;
  --body: "Funnel Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gut: max(clamp(18px, 5vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1200px;
  --edge: max(var(--gut), calc((var(--vw, 100vw) - var(--max)) / 2));
  --hdr-h: 68px;
  --r: 14px;
  --r-sm: 9px;
  --shadow: 0 1px 2px rgba(24, 24, 48, 0.06), 0 12px 32px -12px rgba(24, 24, 48, 0.28);
  --shadow-lg: 0 2px 4px rgba(24, 24, 48, 0.08), 0 30px 60px -24px rgba(24, 24, 48, 0.45);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}
@media (min-width: 1100px) {
  :root { --hdr-h: 80px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
  -webkit-tap-highlight-color: rgba(51, 95, 168, 0.18);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul, ol)[role="list"] { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; }
:where(a, button, span, p, li, summary) > svg:where(:not([width])) { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
a, button, summary, label, input, textarea { touch-action: manipulation; }
@media (max-width: 1079px) { html { scroll-padding-bottom: 88px; } }
.t-ink :focus-visible, .t-navy :focus-visible, .hero :focus-visible, .phero :focus-visible, .ftr :focus-visible, .hdr :focus-visible, .drawer :focus-visible, .moment :focus-visible { outline-color: var(--blue-lt); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--gut); top: 10px; z-index: 200; padding: 12px 18px; background: var(--shell); color: var(--ink); font-weight: 700; border-radius: var(--r-sm); transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip:focus { transform: none; }
.tel { white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sec { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.sec-tight { padding-block: clamp(44px, 6vw, 72px); }
.t-paper { background: var(--paper); }
.t-mist { background: var(--mist); }
.t-shell { background: var(--shell); }
.t-ink { background: var(--ink); color: #eef1f7; }
.t-navy { background: var(--navy); color: #eef1f7; }
.t-ink p, .t-navy p { color: var(--fog); }

/* ---------- type ---------- */
.kick {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.kick::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.t-ink .kick, .t-navy .kick, .k-light { color: var(--blue-lt); }
.h1, .h2, .h3 { font-family: var(--display); font-weight: 800; color: inherit; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 7.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.018em; }
.h3 { font-size: clamp(1.35rem, 4.6vw, 1.75rem); line-height: 1.12; letter-spacing: -0.01em; }
.ac { color: var(--blue); }
.t-ink .ac, .t-navy .ac, .hero .ac, .phero .ac, .moment .ac, .cta-band .ac { color: var(--blue-lt); }
.lede { font-size: clamp(1.06rem, 2.6vw, 1.2rem); line-height: 1.55; color: var(--mute); max-width: 58ch; }
.t-ink .lede, .t-navy .lede { color: var(--fog); }
.prose p { color: var(--mute); max-width: 62ch; }
.prose p + p { margin-top: 14px; }
.t-ink .prose p, .t-navy .prose p { color: var(--fog); }
.para > p + p { margin-top: 14px; }
.para + .para { margin-top: 14px; }
@media (min-width: 900px) {
  .para > p { display: inline; }
  .para > p + p::before { content: " "; }
  .para > p + p { margin-top: 0; }
  .para + .para { margin-top: 14px; display: block; }
}
.sl { color: var(--steel); font-weight: 700; padding-inline: 4px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(51, 95, 168, 0.75);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { --bg: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(51, 95, 168, 0.9); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.72); box-shadow: none; }
.btn-ghost:hover { --bg: rgba(255, 255, 255, 0.12); border-color: #fff; box-shadow: none; }
.btn-line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-line:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid rgba(51, 95, 168, 0.28);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link:hover { gap: 12px; border-color: var(--blue); }
.t-ink .link, .t-navy .link { color: var(--blue-lt); border-color: rgba(157, 184, 232, 0.35); }
.t-ink .link:hover, .t-navy .link:hover { border-color: var(--blue-lt); }

/* ---------- header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.35s var(--ease);
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0 0 -30px 0;
  background: linear-gradient(180deg, rgba(24, 24, 48, 0.62), rgba(24, 24, 48, 0));
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.hdr.stuck, body:not(.pg-home) .hdr { background: var(--ink); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); }
.hdr.stuck::before, body:not(.pg-home) .hdr::before { opacity: 0; }
.hdr.tuck { transform: translateY(-102%); }
.hdr.tuck:focus-within { transform: none; }
.hdr-in { position: relative; height: var(--hdr-h); display: flex; align-items: center; gap: 12px; width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { height: 50px; width: auto; flex: none; }
.brand-wm { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-wm b { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-wm small { margin-top: 5px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-lt); white-space: nowrap; }
.nav { display: none; }
.hdr-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.hdr-call:hover { background: var(--blue-dk); }
.hdr-call span { display: none; }
.burger { width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 12px; cursor: pointer; }
.burger i, .burger i::before, .burger i::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s var(--ease), background-color 0.2s; }
.burger i { position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 379px) {
  .brand-wm small { display: none; }
  .brand-wm b { font-size: 1rem; }
  .brand img { height: 46px; }
}
@media (min-width: 560px) {
  .hdr-call span { display: inline; }
  .hdr-call { padding: 0 18px; }
}
@media (min-width: 1100px) {
  .brand img { height: 58px; }
  .brand-wm b { font-size: 1.24rem; }
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; margin-right: 10px; }
  .nav > a, .dd > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 13px;
    border-radius: 10px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 0.97rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease);
  }
  .nav > a:hover, .dd > button:hover, .dd.open > button { background: rgba(255, 255, 255, 0.1); }
  .nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue-lt); border-radius: 0; }
  .dd { position: relative; }
  .dd > button svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
  .dd.open > button svg { transform: rotate(180deg); }
  .dd-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    padding: 10px;
    background: var(--shell);
    color: var(--text);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .dd.open .dd-panel { display: grid; }
  .dd-panel a { display: flex; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: 9px; text-decoration: none; font-weight: 650; font-size: 0.97rem; }
  .dd-panel a small { color: var(--mute); font-weight: 600; font-size: 0.82rem; white-space: nowrap; }
  .dd-panel a:hover { background: var(--mist); }
  .dd-panel a[aria-current="page"] { color: var(--blue); }
  .dd-panel a:first-child { border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; color: var(--blue); }
}

/* ---------- phone drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 18px) var(--gut) calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s; }
.drawer-grp { padding: 14px 0; border-bottom: 1px solid var(--line-dk); display: grid; }
.drawer-lab { font-size: 0.74rem; font-weight: 750; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: 6px; }
.drawer a:not(.btn) { display: flex; justify-content: space-between; align-items: center; min-height: 46px; text-decoration: none; font-size: 1.08rem; font-weight: 650; }
.drawer a small { color: var(--fog); font-size: 0.85rem; font-weight: 600; }
.drawer .btn { width: 100%; margin-top: 22px; }
@media (min-width: 1100px) { .drawer { display: none; } }

/* ---------- motion pause control ---------- */
.motion-btn {
  position: absolute;
  z-index: 6;
  right: max(14px, var(--gut));
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(24, 24, 48, 0.55);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.motion-btn > svg { width: 16px; height: 16px; }
.motion-btn .i-play { display: none; }
.motion-off .motion-btn .i-play { display: block; }
.motion-off .motion-btn .i-pause { display: none; }
.motion-btn:hover { background: rgba(24, 24, 48, 0.8); }

/* ---------- Ken Burns ---------- */
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1.2%, 0); } }
@keyframes kb2 { from { transform: scale(1.1) translate3d(1.2%, 0.6%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.kb .kb-img { animation: kb 26s ease-in-out infinite alternate; transform-origin: 50% 60%; will-change: transform; }
.kb2 .kb-img { animation-name: kb2; animation-duration: 30s; }
.motion-off .kb .kb-img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .kb .kb-img { animation: none; }
  .motion-btn { display: none; }
}

/* ---------- HOME HERO ---------- */
.hero {
  position: relative;
  min-height: max(660px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 18px) 0 76px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 62%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 62% at 50% 48%, rgba(24, 24, 48, 0.62), rgba(24, 24, 48, 0.3) 70%, rgba(24, 24, 48, 0) 100%),
    linear-gradient(180deg, rgba(24, 24, 48, 0.72) 0%, rgba(24, 24, 48, 0.46) 30%, rgba(24, 24, 48, 0.52) 62%, rgba(24, 24, 48, 0.9) 100%);
}
.hero-in { text-align: center; max-width: 920px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: auto; height: clamp(112px, 30vw, 176px); margin-bottom: 18px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 214, 238, 0.5);
  border-radius: 999px;
  background: rgba(24, 24, 48, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e7edf8;
}
.pill svg { width: 15px; height: 15px; color: var(--blue-lt); }
.hero h1 {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 9.6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}
.hero h1 .ac { text-shadow: none; }
.hero-sub { margin-top: 18px; max-width: 40ch; font-size: clamp(1.06rem, 2.7vw, 1.24rem); line-height: 1.5; color: #e4e9f3; }
.hero .btn-row { justify-content: center; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 26px; font-size: 0.92rem; font-weight: 650; color: #dfe6f3; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--blue-lt); }
@media (max-width: 479px) {
  .hero .btn-row { flex-direction: column; width: 100%; max-width: 340px; }
  .hero .btn { width: 100%; }
}
@media (min-width: 760px) {
  .hero-media img { object-position: 50% 58%; }
}

/* ---------- facts strip (under hero) ---------- */
.facts { background: var(--navy); color: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 4px; border-bottom: 1px solid var(--line-dk); }
.facts li:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line-dk); }
.facts li:nth-child(even) { padding-left: 16px; }
.facts li:nth-last-child(-n + 2) { border-bottom: 0; }
.facts svg { width: 26px; height: 26px; flex: none; color: var(--blue-lt); margin-top: 2px; }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.04rem; line-height: 1.15; }
.facts small { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--fog); line-height: 1.35; }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { padding: 28px 22px; border-bottom: 0; }
  .facts li:nth-child(odd), .facts li:nth-child(even) { padding-left: 22px; padding-right: 22px; border-right: 1px solid var(--line-dk); }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
}

/* ---------- photo frames ---------- */
.ph { display: block; position: relative; overflow: hidden; background: var(--mist); border-radius: var(--r); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.r-43 { aspect-ratio: 4 / 3; }
.r-32 { aspect-ratio: 3 / 2; }
.r-45 { aspect-ratio: 4 / 5; }
.r-11 { aspect-ratio: 1; }
.r-169 { aspect-ratio: 16 / 9; }
.cap { display: block; margin-top: 10px; font-size: 0.86rem; color: var(--mute); line-height: 1.4; }
.t-ink .cap, .t-navy .cap { color: var(--fog); }
.tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(24, 24, 48, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.on { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 0.08s; }
.js .rv.d2 { transition-delay: 0.16s; }
.js .rv.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- intro / story split ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.story-photos { position: relative; padding-bottom: 54px; padding-right: 18%; }
.story-photos .ph-a { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.story-photos .ph-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg); }
.story-copy .h2 { max-width: 13ch; }
.story-copy .prose { margin-top: 22px; }
.story-copy .link { margin-top: 26px; }
.sig-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 24px; font-size: 0.86rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.sig-line i { font-style: normal; color: var(--steel); }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 110px); }
  .story-photos { order: 2; }
}

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .lede { align-self: end; }
@media (min-width: 960px) {
  .sec-head.duo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; }
}
.center-head { text-align: center; display: grid; justify-items: center; }
.center-head .lede { margin-top: 16px; }

/* ---------- services grid ---------- */
.svc-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.svc-list > li { display: grid; }
.svc-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  align-content: start;
  height: 100%;
  padding: 12px;
  background: var(--shell);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card .ph { aspect-ratio: 1; border-radius: 12px; }
.svc-card .ph img { transition: transform 0.6s var(--ease); }
.svc-card:hover .ph img { transform: scale(1.05); }
.svc-num { font-family: var(--display); font-weight: 800; font-size: 0.9rem; color: var(--steel); letter-spacing: 0.04em; }
.svc-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.24rem; line-height: 1.1; margin-top: 2px; }
.svc-card p { margin-top: 6px; font-size: 0.94rem; line-height: 1.45; color: var(--mute); }
.svc-go { display: none; }
@media (max-width: 379px) {
  .svc-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .svc-card p { font-size: 0.9rem; }
}
.svc-list > li.big .svc-card { grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden; }
.svc-list > li.big .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.svc-list > li.big .svc-txt { padding: 18px 20px 22px; }
.svc-list > li.big h3 { font-size: 1.5rem; }
.svc-list > li.big .svc-go { display: inline-flex; margin-top: 14px; }
@media (min-width: 760px) {
  .svc-list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .svc-list > li { grid-column: span 6; }
  .svc-list > li.big { grid-column: span 6; }
  .svc-card { grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden; }
  .svc-card .ph { aspect-ratio: 3 / 2; border-radius: 0; }
  .svc-txt { padding: 18px 20px 22px; }
  .svc-go { display: inline-flex; margin-top: 12px; }
}
@media (min-width: 1080px) {
  .svc-list > li { grid-column: span 3; }
  .svc-list > li.big { grid-column: span 6; }
  .svc-list > li.big .ph { aspect-ratio: 16 / 9; }
  .svc-list > li.big h3 { font-size: 1.75rem; }
}

/* ---------- SIGNATURE: the stair stringer ---------- */
.stair-sec { overflow: hidden; }
.stair-sec .sec-head .lede { color: var(--fog); }
.stair { counter-reset: st; position: relative; display: grid; gap: 0; margin-top: 8px; }
.stair > li { position: relative; padding: 0 0 30px 74px; min-height: 92px; }
.stair > li::before {
  /* the notch: tread across the top, riser down the left */
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 52px;
  height: calc(100% + 2px);
  border-top: 4px solid var(--blue-lt);
  border-left: 2px solid rgba(157, 184, 232, 0.55);
  transform-origin: left top;
}
.stair > li:last-child::before { height: 56px; }
.st-n { position: absolute; left: 8px; top: 26px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: rgba(157, 184, 232, 0.9); }
.stair h3 { font-family: var(--display); font-weight: 800; font-size: 1.32rem; line-height: 1.15; color: #fff; padding-top: 8px; }
.stair p { margin-top: 6px; color: var(--fog); font-size: 0.98rem; line-height: 1.5; max-width: 34ch; }
.stair-svg { display: none; }
.stair-dims { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-lt); }
.stair-dims span { display: inline-flex; align-items: center; gap: 8px; }
.stair-dims span::before { content: ""; width: 18px; height: 0; border-top: 2px dashed currentColor; }
.js .stair > li::before { transform: scaleX(0); transition: transform 0.6s var(--ease); }
.js .stair.on > li::before { transform: none; }
.js .stair.on > li:nth-child(2)::before { transition-delay: 0.12s; }
.js .stair.on > li:nth-child(3)::before { transition-delay: 0.24s; }
.js .stair.on > li:nth-child(4)::before { transition-delay: 0.36s; }
.js .stair.on > li:nth-child(5)::before { transition-delay: 0.48s; }
@media (min-width: 960px) {
  .stair-wrap { --rise: 56px; }
  .stair {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    padding-bottom: calc(var(--rise) + 22px);
    margin-top: 24px;
  }
  .stair > li { padding: 0 18px 18px 18px; min-height: 0; margin-bottom: calc(var(--i) * var(--rise)); }
  .stair > li::before {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-left: 0;
    border-top: 5px solid var(--blue-lt);
  }
  .stair > li:last-child::before { height: 0; }
  .st-n { position: static; display: block; font-size: 2.6rem; color: rgba(157, 184, 232, 0.42); margin-bottom: 8px; }
  .stair h3 { padding-top: 0; font-size: 1.28rem; }
  .stair p { font-size: 0.95rem; }
  .stair-svg { display: block; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: calc(5 * var(--rise) + 22px); pointer-events: none; z-index: -1; }
  .stair-svg .stringer { fill: rgba(72, 96, 144, 0.32); stroke: rgba(157, 184, 232, 0.4); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
  .stair-svg .grain { stroke: rgba(201, 214, 238, 0.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .stair-svg .dim { stroke: var(--blue-lt); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 5 4; }
  .stair-wrap { position: relative; isolation: isolate; }
  .dim-lab { position: absolute; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-lt); white-space: nowrap; }
  .dim-rise { left: calc(20% + 16px); bottom: 99px; }
  .dim-tread { left: 10%; bottom: calc(var(--rise) + 30px); transform: translateX(-50%); display: none; }
  .js .stair > li::before { transform: scaleX(0); }
  .js .stair > li > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .stair.on > li > * { opacity: 1; transform: none; }
  .js .stair.on > li:nth-child(2) > * { transition-delay: 0.14s; }
  .js .stair.on > li:nth-child(3) > * { transition-delay: 0.28s; }
  .js .stair.on > li:nth-child(4) > * { transition-delay: 0.42s; }
  .js .stair.on > li:nth-child(5) > * { transition-delay: 0.56s; }
}
@media (max-width: 959px) { .dim-lab { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .stair > li::before, .js .stair > li > * { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- full-bleed photo moment ---------- */
.moment { position: relative; min-height: clamp(460px, 70vw, 680px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.moment-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.moment-media picture, .moment-media img { width: 100%; height: 100%; }
.moment-media img { object-fit: cover; object-position: 60% 50%; }
.moment-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 24, 48, 0.12) 0%, rgba(24, 24, 48, 0.62) 28%, rgba(24, 24, 48, 0.9) 55%, rgba(24, 24, 48, 0.94) 100%); }
.moment-in { padding-block: 64px 84px; }
.moment .h2 { max-width: 15ch; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.moment p { margin-top: 14px; max-width: 46ch; color: #e4e9f3; font-size: 1.06rem; }
.moment .cap { color: #cfd7e6; font-size: 0.82rem; margin-top: 18px; }
@media (min-width: 760px) {
  .moment-scrim { background: linear-gradient(90deg, rgba(24, 24, 48, 0.88) 0%, rgba(24, 24, 48, 0.6) 42%, rgba(24, 24, 48, 0.08) 75%), linear-gradient(0deg, rgba(24, 24, 48, 0.5), rgba(24, 24, 48, 0) 50%); }
  .moment { align-items: center; }
  .moment-in { padding-block: 96px; }
}

/* ---------- work mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 42vw, 240px); grid-auto-flow: dense; gap: 10px; }
.mosaic > li { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--mist); }
.mosaic > li.w2 { grid-column: span 2; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.mosaic > li:hover img { transform: scale(1.04); }
.mosaic .tag { font-size: 0.74rem; padding: 6px 10px; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 17vw, 240px); gap: 14px; }
  .mosaic > li.w2 { grid-column: auto; }
  .mosaic > li.big { grid-column: span 2; grid-row: span 2; }
  .mosaic > li.tall { grid-row: span 2; }
}
.work-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.work-foot p { color: var(--mute); font-size: 0.92rem; max-width: 52ch; }

/* ---------- island: before/after diptych + points ---------- */
.island { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.diptych { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-self: start; }
.diptych figure { position: relative; }
.diptych .ph { aspect-ratio: 3 / 4; }
.diptych figcaption { margin-top: 10px; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-lt); }
.diptych-note { grid-column: 1 / -1; font-size: 0.86rem; color: var(--fog); }
.points { display: grid; gap: 0; margin-top: 28px; }
.points > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line-dk); }
.points > li:last-child { border-bottom: 1px solid var(--line-dk); }
.points svg { width: 30px; height: 30px; color: var(--blue-lt); margin-top: 2px; }
.points h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; color: #fff; }
.points p { margin-top: 6px; font-size: 0.98rem; }
@media (min-width: 960px) {
  .island { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
  .diptych { gap: 14px; }
  .diptych figure:nth-child(2) { margin-top: 56px; }
}

/* ---------- service area: island map ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.map-card { position: relative; background: var(--navy); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.map-card::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(201, 214, 238, 0.12) 1px, transparent 1.2px); background-size: 16px 16px; pointer-events: none; }
.map-svg { position: relative; z-index: 1; width: 100%; height: auto; max-height: 560px; margin-inline: auto; }
.map-svg .land { fill: #f1efe8; stroke: var(--blue-lt); stroke-width: 1.2; }
.map-svg .road { fill: none; stroke: var(--blue-lt); stroke-width: 2; stroke-dasharray: 5 5; }
.map-svg .pin { fill: var(--blue); stroke: #fff; stroke-width: 2.4; }
.map-svg .pin.home { fill: var(--ink); stroke: var(--blue-lt); stroke-width: 3; }
.map-svg .pin.on { fill: #fff; stroke: var(--blue); stroke-width: 4; }
.map-svg .lab { font-family: var(--body); font-size: 13px; font-weight: 750; fill: #fff; paint-order: stroke; stroke: var(--navy); stroke-width: 4px; stroke-linejoin: round; }
.map-svg .lab.dk { fill: var(--ink); stroke: #f1efe8; }
.map-svg .lab-sm { font-size: 11px; font-weight: 650; letter-spacing: 0.06em; }
.map-svg a:hover .pin, .map-svg a:focus-visible .pin { fill: #fff; stroke: var(--blue); }
.map-svg a:focus-visible { outline: none; }
.map-svg .water { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; fill: rgba(201, 214, 238, 0.55); text-transform: uppercase; }
.map-note { position: relative; z-index: 1; margin-top: 8px; font-size: 0.78rem; color: var(--fog); text-align: center; }
.town-list { display: grid; gap: 10px; margin-top: 26px; }
.town-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--shell);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.town-list a:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.town-list b { font-family: var(--display); font-weight: 800; font-size: 1.16rem; line-height: 1.2; }
.town-list small { display: block; color: var(--mute); font-size: 0.88rem; margin-top: 2px; }
.town-list .mins { font-size: 0.82rem; font-weight: 750; color: var(--blue); white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--mist); }
.town-list .home .mins { background: var(--ink); color: #fff; }
@media (min-width: 960px) {
  .area { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 96px); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.14rem;
  line-height: 1.25;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--blue); }
.faq .ans { padding: 0 0 22px; }
.faq .ans p { color: var(--mute); max-width: 64ch; }
.faq .ans p + p { margin-top: 10px; }
.t-mist .faq summary i { background: var(--shell); }
.t-ink .faq details, .t-navy .faq details { border-color: var(--line-dk); }
.t-ink .faq summary i, .t-navy .faq summary i { background: rgba(255, 255, 255, 0.08); }
.t-ink .faq summary i::before, .t-ink .faq summary i::after { background: var(--blue-lt); }
.t-ink .faq .ans p { color: var(--fog); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; }
  .faq-side { position: sticky; top: calc(var(--hdr-h) + 30px); align-self: start; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; background: linear-gradient(120deg, var(--blue) 0%, var(--steel) 55%, var(--navy) 100%); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px); pointer-events: none; }
.cta-band .wrap { position: relative; display: grid; gap: 22px; align-items: center; }
.cta-band h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 5.6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.cta-band p { margin-top: 8px; color: #e6ecf7; max-width: 52ch; }
.cta-band .btn { --bg: #fff; --fg: var(--ink); border-color: #fff; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.5); }
.cta-band .btn:hover { --bg: var(--paper); }
.cta-band .btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.75); box-shadow: none; }
.cta-band .btn-ghost:hover { --bg: rgba(255, 255, 255, 0.14); }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

/* ---------- quote / contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.call-big { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.4rem); color: #fff; text-decoration: none; white-space: nowrap; }
.call-big svg { width: 0.9em; height: 0.9em; color: var(--blue-lt); }
.call-big:hover { color: var(--blue-lt); }
.mail-link { display: inline-block; margin-top: 8px; color: var(--sky); font-weight: 650; overflow-wrap: anywhere; }
.nap-mini { margin-top: 18px; color: var(--fog); font-size: 0.98rem; line-height: 1.5; }
.hours { width: 100%; max-width: 380px; margin-top: 26px; font-size: 0.97rem; }
.hours caption { text-align: left; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-lt); padding-bottom: 8px; }
.hours td, .ftr-hours dd, .town-list .mins, .chip-links small, .call-big { font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line-dk); text-align: left; font-weight: 600; }
.hours th { color: #fff; }
.hours td { color: var(--fog); text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--blue-lt); }
.t-paper .hours th, .t-mist .hours th { color: var(--ink); }
.t-paper .hours td, .t-mist .hours td { color: var(--mute); }
.t-paper .hours th, .t-paper .hours td, .t-mist .hours th, .t-mist .hours td { border-color: var(--line); }
.t-paper .hours caption, .t-mist .hours caption { color: var(--blue); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; } }

/* form (white card wherever it sits) */
form.lead-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: clamp(22px, 5vw, 36px);
  background: var(--shell);
  color: var(--text);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
form.lead-form h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
form.lead-form p { color: var(--text); }
form.lead-form .fine { color: var(--mute); font-size: 0.9rem; }
.fld { display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.fld-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { .fld-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fld label, .fld legend { font-size: 0.9rem; font-weight: 750; color: var(--ink); padding: 0; }
.fld legend { margin-bottom: 8px; }
.fld input, .fld textarea, .fld select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1.5px solid #c9cfda;
  border-radius: 12px;
  background-color: #fbfbf9;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(51, 95, 168, 0.18); }
.fld input::placeholder, .fld textarea::placeholder { color: #7b8394; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1.5px solid #c9cfda; border-radius: 999px; font-size: 0.92rem; font-weight: 650; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip span:hover { border-color: var(--blue); }
form.lead-form button[type="submit"] { width: 100%; white-space: normal; }
.hp-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e6eef9; color: var(--ink); }
.form-msg.err { background: #fbeceb; color: #7d1f1a; }
.form-alt { font-size: 0.9rem; color: var(--mute); text-align: center; }
.form-alt a { color: var(--blue); font-weight: 750; }

/* ---------- inner page hero ---------- */
.phero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(520px, 72vh, 700px); color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.phero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phero-media picture, .phero-media img { width: 100%; height: 100%; }
.phero-media img { object-fit: cover; }
.phero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 24, 48, 0.9) 0%, rgba(24, 24, 48, 0.74) 45%, rgba(24, 24, 48, 0.2) 85%), linear-gradient(0deg, rgba(24, 24, 48, 0.78), rgba(24, 24, 48, 0) 50%); }
@media (min-width: 760px) and (max-width: 1199px) {
  .phero-scrim { background: linear-gradient(90deg, rgba(24, 24, 48, 0.92) 0%, rgba(24, 24, 48, 0.86) 70%, rgba(24, 24, 48, 0.5) 100%), linear-gradient(0deg, rgba(24, 24, 48, 0.7), rgba(24, 24, 48, 0) 50%); }
}
.phero-in { padding-top: calc(var(--hdr-h) + 64px); padding-bottom: clamp(56px, 7vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; font-size: 0.86rem; font-weight: 650; color: #dbe3f1; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--blue-lt); }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { text-decoration: underline; }
.phero h1 { margin-top: 16px; max-width: 18ch; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 8.4vw, 4.2rem); line-height: 1.03; letter-spacing: -0.02em; text-wrap: balance; }
.phero-sub { margin-top: 16px; max-width: 46ch; font-size: clamp(1.04rem, 2.6vw, 1.2rem); color: #e2e8f3; }
.phero .btn-row { margin-top: 26px; }
.phero .cap { margin-top: 18px; color: #e8edf6; font-size: 0.8rem; width: fit-content; }
@media (max-width: 759px) {
  .phero { display: block; min-height: 0; padding: 0 0 44px; }
  .phero-media { position: relative; height: clamp(230px, 62vw, 340px); margin-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); }
  .phero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, rgba(24, 24, 48, 0), var(--ink)); }
  .phero-scrim { display: none; }
  .phero-in { padding-top: 6px; padding-bottom: 0; }
  .phero .motion-btn { top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 12px); bottom: auto; }
  .phero .btn-row { flex-direction: column; }
  .phero .btn { width: 100%; }
}

/* ---------- inner page blocks ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.intro .h2 { max-width: 16ch; }
.intro .prose { margin-top: 20px; }
.spec { background: var(--shell); border-radius: 20px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); align-self: start; }
.spec h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.spec ul { display: grid; gap: 0; margin-top: 14px; }
.spec li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; line-height: 1.4; }
.spec li svg { width: 20px; height: 20px; color: var(--blue); margin-top: 1px; }
.spec .ph { margin-top: 18px; aspect-ratio: 3 / 2; }
@media (min-width: 960px) { .intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; } }

.blocks { display: grid; gap: clamp(56px, 8vw, 96px); }
.block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.block .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.block .h3 { font-size: clamp(1.6rem, 5.4vw, 2.3rem); line-height: 1.08; }
.block .prose { margin-top: 16px; }
.block-n { display: block; font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: var(--steel); margin-bottom: 8px; letter-spacing: 0.06em; }
@media (min-width: 900px) {
  .block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
  .block.swap .ph { order: 2; }
}

.steps-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: s; }
.steps-row > li { position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line-dk); }
.steps-row > li:last-child { border-bottom: 1px solid var(--line-dk); }
.steps-row > li::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 16px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--blue-lt); }
.steps-row p { color: #eef1f7; font-weight: 600; }
@media (min-width: 900px) {
  .steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
  .steps-row > li { padding: 70px 0 0; border-top: 5px solid var(--blue-lt); border-bottom: 0 !important; }
  .steps-row > li::before { top: 18px; font-size: 2rem; }
  .steps-row > li:nth-child(2) { margin-top: 28px; }
  .steps-row > li:nth-child(3) { margin-top: 56px; }
  .steps-row > li:nth-child(4) { margin-top: 84px; }
}

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72vw); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 4px var(--gut) 18px; margin-inline: calc(var(--gut) * -1); scrollbar-width: thin; }
.strip > li { scroll-snap-align: start; }
.strip .ph { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; padding: 0; margin-inline: 0; }
}

.chip-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px; border-radius: 999px; background: var(--shell); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.chip-links a small { color: var(--blue); font-weight: 750; font-size: 0.8rem; }
.chip-links a:hover { border-color: var(--blue); transform: translateY(-2px); }

.svc-lines { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.svc-lines a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; border-radius: 16px; background: var(--shell); text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.svc-lines a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-lines .ph { aspect-ratio: 1; border-radius: 10px; }
.svc-lines b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.svc-lines span { display: block; margin-top: 3px; font-size: 0.92rem; color: var(--mute); line-height: 1.4; }
@media (min-width: 900px) { .svc-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

.landmarks { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 22px; font-size: 0.86rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.landmarks li { display: inline-flex; align-items: center; gap: 6px; }
.landmarks li + li::before { content: "//"; color: var(--steel); margin-right: 6px; }
.t-ink .landmarks, .t-navy .landmarks { color: #fff; }
.t-ink .landmarks li + li::before, .t-navy .landmarks li + li::before { color: var(--blue-lt); }

.town-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.town-split .map-card { max-width: 440px; width: 100%; margin-inline: auto; }
@media (min-width: 960px) { .town-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; } }

.rel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rel-grid a { position: relative; display: block; min-height: 220px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.rel-grid .ph { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.rel-grid a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 24, 48, 0.08) 20%, rgba(24, 24, 48, 0.88)); }
.rel-grid .rel-txt { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.rel-grid b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.12; }
.rel-grid span { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--sky); font-size: 0.94rem; }
.rel-grid a .ph img { transition: transform 0.6s var(--ease); }
.rel-grid a:hover .ph img { transform: scale(1.05); }
@media (min-width: 760px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .rel-grid a { min-height: 280px; } }

/* gallery page */
.gal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gal-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border-radius: 999px; background: var(--shell); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.gal-nav a:hover { border-color: var(--blue); color: var(--blue); }
.gal-sec + .gal-sec { margin-top: clamp(56px, 8vw, 88px); }
.gal-sec .h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.gal-sec > p { margin-top: 8px; color: var(--mute); max-width: 60ch; }
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.gal figure { display: grid; align-content: start; }
.gal .ph { aspect-ratio: 4 / 3; border-radius: 12px; }
.gal figcaption { margin-top: 8px; font-size: 0.86rem; line-height: 1.35; color: var(--mute); }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* about */
.values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.values > li { padding: 24px; border-radius: 18px; background: var(--shell); box-shadow: var(--shadow); }
.values svg { width: 30px; height: 30px; color: var(--blue); }
.values h3 { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 1.22rem; line-height: 1.2; }
.values p { margin-top: 6px; color: var(--mute); font-size: 0.98rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.map-embed { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); aspect-ratio: 4 / 3; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 960px) { .map-embed { aspect-ratio: 16 / 10; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #eef1f7; padding: clamp(56px, 8vw, 88px) 0 calc(104px + env(safe-area-inset-bottom, 0px)); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.ftr-brand .logo-img { height: 116px; width: auto; }
.ftr-brand p { margin-top: 16px; color: var(--fog); max-width: 40ch; font-size: 0.97rem; }
.nap { display: grid; gap: 4px; margin-top: 18px; font-size: 0.97rem; color: var(--fog); }
.nap b { color: #fff; font-weight: 750; }
.nap a { color: #fff; text-decoration: none; font-weight: 650; overflow-wrap: anywhere; }
.nap a:hover { color: var(--blue-lt); }
.ftr h2 { font-size: 0.76rem; font-weight: 750; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: 12px; font-family: var(--body); }
.ftr-links { display: grid; gap: 2px; }
.ftr-links a { display: inline-flex; min-height: 34px; align-items: center; color: #e2e7f1; text-decoration: none; font-size: 0.96rem; }
.ftr-links a:hover { color: var(--blue-lt); text-decoration: underline; }
.ftr-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.95rem; }
.ftr-hours dt { color: #fff; font-weight: 650; }
.ftr-hours dd { color: var(--fog); }
.ftr-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dk); display: grid; gap: 8px; font-size: 0.86rem; color: var(--fog); }
.ftr-base a { color: #fff; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .ftr-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 48px; } .ftr-brand { grid-column: auto; } .ftr { padding-bottom: 56px; } }

/* ---------- sticky phone action bar ---------- */
.actbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px));
  background: rgba(24, 24, 48, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, 0.6);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.actbar.on { transform: none; }
.actbar .btn { min-height: 50px; padding: 10px 12px; font-size: 0.98rem; }
@media (min-width: 1080px) { .actbar { display: none; } }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr-h) + 40px) 0 60px; }
.nf .h2 { margin-top: 10px; }
.nf p { margin: 16px auto 0; color: var(--fog); max-width: 44ch; }
.nf .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- print ---------- */
@media print {
  .hdr, .drawer, .actbar, .motion-btn, .hero-media, .moment-media, .phero-media { display: none !important; }
  .hero, .phero, .moment, .t-ink, .t-navy, .ftr { background: #fff !important; color: #000 !important; }
}
