/* =====================================================================
   MIAMI WATERFRONT PROPERTIES — "Coastline" site
   Shared structural CSS for the immersive full-bleed direction.
   Loaded after base.css (which imports tokens + atoms).
   Optional display fonts for the Tweaks font-swap are imported here.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&family=Libre+Caslon+Display&display=swap');

:root {
  --scrim-a: 0.58;            /* image-overlay strength, driven by Tweaks */
  --mwp-teal-glow: #8FDCD2;   /* light teal highlight used on dark panels */
}

/* light teal highlight stays readable regardless of accent tweak */
.glow { color: var(--mwp-teal-glow); }

/* ===================== NAV (floating → solid) ===================== */
.cnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(22px, 4vw, 48px);
  background: var(--mwp-ink); border-bottom: 1px solid rgba(254,246,236,.1);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.cnav.solid {
  background: var(--mwp-ink);
  padding: 12px clamp(22px, 4vw, 48px); box-shadow: var(--mwp-shadow-md);
}
.cnav-mark {
  font-family: var(--mwp-display); font-weight: 600; font-size: 21px;
  color: #fff; text-decoration: none; letter-spacing: .005em; transition: color .4s;
}
.cnav-mark em { font-style: italic; color: var(--mwp-teal-glow); }

.cnav-right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.cnav-menu { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.cnav-menu a {
  font-family: var(--mwp-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.92);
  text-decoration: none; position: relative; padding: 4px 0; transition: color .3s;
}
.cnav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: currentColor; transition: right .35s cubic-bezier(.22,.61,.36,1);
}
.cnav-menu a:hover::after, .cnav-menu a[aria-current="page"]::after { right: 0; }
.cnav-menu a[aria-current="page"] { color: #fff; }

.cnav-cta {
  font-family: var(--mwp-sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.55); padding: 10px 18px; border-radius: var(--mwp-r-sm);
  transition: all .3s; backdrop-filter: blur(4px); white-space: nowrap;
}
.cnav-cta { background: var(--mwp-teal); border-color: var(--mwp-teal); }
.cnav-cta:hover { background: var(--mwp-teal-deep); border-color: var(--mwp-teal-deep); color: #fff; }

/* hamburger */
.cnav-burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; padding: 9px; position: relative;
}
.cnav-burger span { display: block; height: 1.5px; background: #fff; margin: 5px 0; transition: .3s; }

/* ===================== GENERIC FULL-BLEED PANEL ===================== */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 40px); }
.wrap-tight { max-width: 760px; }

.panel { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: clip; }
.panel-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; will-change: transform;
}
image-slot.panel-bg { display: block; }
.panel-scrim { position: absolute; inset: 0; pointer-events: none; }
.panel-content { position: relative; }
/* let drops fall through the content layer except on real controls */
.panel .panel-content { pointer-events: none; }
.panel .panel-content a,
.panel .panel-content button,
.panel .panel-content input,
.panel .panel-content select,
.panel .panel-content textarea,
.panel .panel-content label,
.panel .panel-content .vern-card { pointer-events: auto; }

/* ===================== HERO ===================== */
.chero { justify-content: center; text-align: center; }
.chero .panel-scrim {
  background: linear-gradient(180deg,
    rgba(26,42,51,calc(var(--scrim-a) * .72)) 0%,
    rgba(26,42,51,calc(var(--scrim-a) * .42)) 45%,
    rgba(26,42,51,calc(var(--scrim-a) * 1.05)) 100%);
}
.chero-inner { padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 1000px; }
.chero h1 {
  margin: 0; font-family: var(--mwp-display); font-weight: 500;
  font-size: clamp(40px, 5.6vw, 76px); line-height: 1.12; letter-spacing: -.012em; color: var(--mwp-paper);
}
.chero h1 .l { display: block; }
.chero h1 em { font-style: italic; color: var(--mwp-teal-glow); }
.chero .sub {
  margin: 0; max-width: 560px; font-family: var(--mwp-serif);
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: rgba(254,246,236,.93);
}
.chero .ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scrollcue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: rgba(255,255,255,.72); font-family: var(--mwp-sans); font-size: 10px;
  letter-spacing: .24em; text-transform: uppercase; z-index: 2;
}
.scrollcue .line {
  width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop { 0%,100% { opacity:.3; transform: scaleY(.55); transform-origin: top; } 50% { opacity:1; transform: scaleY(1); transform-origin: top; } }

/* HERO variant — full-bleed photo of the principals, tagline anchored bottom-left */
.chero.chero-portrait { align-items: flex-end; text-align: left; }
.chero-portrait .panel-bg { background-position: 50% 32%; }
.chero-portrait .panel-scrim {
  background: linear-gradient(180deg,
    rgba(26,42,51,calc(var(--scrim-a) * .5)) 0%,
    rgba(26,42,51,calc(var(--scrim-a) * .12)) 34%,
    rgba(26,42,51,calc(var(--scrim-a) * .55)) 72%,
    rgba(26,42,51,calc(var(--scrim-a) * 1.2)) 100%);
}
.chero-portrait .chero-inner {
  align-items: flex-start; text-align: left; max-width: 1120px; width: 100%;
  margin: 0 auto; padding: 0 clamp(24px, 4vw, 40px) clamp(56px, 7vw, 100px); gap: 22px;
}
.chero-portrait .sub { margin: 0; max-width: 46ch; }
.chero-portrait h1 { font-size: clamp(38px, 5vw, 64px); max-width: 17ch; }
.chero-portrait .ctas { justify-content: flex-start; }

/* ===================== SUBPAGE HERO (shorter full-bleed) ===================== */
.page-hero { min-height: 76vh; align-items: flex-end; }
.page-hero .panel-scrim {
  background: linear-gradient(180deg,
    rgba(26,42,51,calc(var(--scrim-a) * .5)) 0%,
    rgba(26,42,51,calc(var(--scrim-a) * .35)) 40%,
    rgba(26,42,51,calc(var(--scrim-a) * 1.05)) 100%);
}
.page-hero .wrap { padding-bottom: clamp(54px, 7vw, 96px); }
.page-hero .eyebrow { color: var(--mwp-teal-glow); margin-bottom: 18px; }
.page-hero h1 {
  margin: 0; font-family: var(--mwp-display); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 74px); line-height: 1.06; letter-spacing: -.01em;
  color: var(--mwp-paper); max-width: 18ch;
}
.page-hero h1 em { font-style: italic; color: var(--mwp-teal-glow); }
.page-hero .sub {
  margin: 22px 0 0; max-width: 52ch; font-family: var(--mwp-serif);
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: rgba(254,246,236,.92);
}

/* ===================== CALM CREAM STATEMENT ===================== */
.calm { background: var(--mwp-paper); text-align: center; padding: clamp(86px, 12vw, 160px) 0; }
.calm.dark { background: var(--mwp-ink); }
.calm.dark .eyebrow { color: var(--mwp-teal-glow); }
.calm.dark h2 { color: var(--mwp-paper); }
.calm.dark .lede { color: rgba(254,246,236,.84); }
.calm .eyebrow { margin-bottom: 22px; }
.calm h2 {
  margin: 0 auto; max-width: 18ch; font-family: var(--mwp-display); font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.005em; color: var(--mwp-ink);
}
.calm .lede {
  margin: 30px auto 0; max-width: 54ch; font-family: var(--mwp-serif);
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.7; color: var(--mwp-ink-soft);
}
.calm-media { max-width: 880px; margin: clamp(46px, 5.5vw, 72px) auto 0; }
.calm-media img {
  display: block; width: 100%; aspect-ratio: 6 / 5; height: auto;
  object-fit: cover; object-position: left center;
  border-radius: var(--mwp-r-lg); box-shadow: var(--mwp-shadow-lg);
}

/* ===================== TWO-COLUMN EDITORIAL (firm / heritage / bio) ===================== */
.split { padding: clamp(80px, 11vw, 150px) 0; }
.split.shell { background: var(--mwp-shell); }
.split.linen { background: var(--mwp-linen); }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-grid.flip .split-media { order: -1; }
.split-copy .eyebrow { margin-bottom: 18px; }
.split-copy h2 {
  margin: 0; font-family: var(--mwp-display); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -.005em; color: var(--mwp-ink);
}
.split-copy .roles {
  font-family: var(--mwp-sans); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--mwp-teal); font-weight: 600; margin: 14px 0 0;
}
.split-copy p {
  font-family: var(--mwp-serif); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.72;
  color: var(--mwp-ink-soft); margin: 22px 0 0; max-width: 46ch;
}
.split-media { position: relative; }
.split-media image-slot, .split-media .photo {
  display: block; width: 100%; height: auto; aspect-ratio: 4/5; border-radius: var(--mwp-r-lg);
  box-shadow: var(--mwp-shadow-lg); overflow: hidden;
}
.split-media.tall image-slot, .split-media.tall .photo { aspect-ratio: 3/4; }
.split-media.wide image-slot, .split-media.wide .photo { aspect-ratio: 4/3; }
.media-cap {
  font-family: var(--mwp-sans); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mwp-slate); margin-top: 14px; text-align: right;
}

/* stat row */
.stat-row { display: flex; gap: clamp(30px, 5vw, 72px); margin-top: 44px; flex-wrap: wrap; }
.stat .num { display: block; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(36px, 4vw, 52px); color: var(--mwp-teal); line-height: 1; }
.stat .lbl { display: block; font-family: var(--mwp-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mwp-slate); margin-top: 10px; max-width: 16ch; }
.calm .stat-row { justify-content: center; }

/* ===================== SERVICES (3-col editorial) ===================== */
.services { background: var(--mwp-linen); padding: clamp(80px, 11vw, 140px) 0; }
.services .head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 62px); }
.services .head .eyebrow { margin-bottom: 16px; }
.services .head h2 { margin: 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.05; color: var(--mwp-ink); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px); }
.svc { border-top: 2px solid var(--mwp-teal); padding-top: 22px; }
.svc .n { font-family: var(--mwp-sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mwp-teal); }
.svc h3 { margin: 12px 0 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; color: var(--mwp-ink); }
.svc p { font-family: var(--mwp-serif); font-size: 17px; line-height: 1.65; color: var(--mwp-ink-soft); margin: 14px 0 0; }
.svc a.svc-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; text-decoration: none;
  font-family: var(--mwp-sans); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mwp-teal); transition: gap .3s, color .3s;
}
.svc a.svc-link:hover { gap: 13px; color: var(--mwp-teal-deep); }

/* ===================== DIFFERENTIATORS (dark proof bars) ===================== */
.diff { background: var(--mwp-ink); color: var(--mwp-paper); padding: clamp(84px, 11vw, 150px) 0; }
.diff .head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.diff .head .eyebrow { color: var(--mwp-teal-glow); margin-bottom: 16px; }
.diff .head h2 { margin: 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; color: var(--mwp-paper); }
.proof-list { display: grid; gap: 0; }
.proof {
  display: grid; grid-template-columns: 64px 1fr; gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid rgba(254,246,236,.16); align-items: baseline;
}
.proof:last-child { border-bottom: 1px solid rgba(254,246,236,.16); }
.proof .pn { font-family: var(--mwp-display); font-style: italic; font-size: clamp(28px, 2.6vw, 38px); color: var(--mwp-teal-glow); line-height: 1; }
.proof h3 { margin: 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(23px, 2.1vw, 30px); color: var(--mwp-paper); line-height: 1.12; }
.proof p { margin: 12px 0 0; font-family: var(--mwp-serif); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: rgba(254,246,236,.84); max-width: 62ch; }

/* Emphasis treatment — when Differentiators carries the section weight */
.diff.emphasis { padding: clamp(96px, 13vw, 184px) 0; }
.diff .diff-lede {
  margin: 22px 0 0; max-width: 60ch;
  font-family: var(--mwp-serif); font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.6; color: rgba(254,246,236,.82);
}
.diff.emphasis .head h2 { font-size: clamp(38px, 5vw, 66px); }
.diff.emphasis .proof { padding: clamp(30px, 3.4vw, 46px) 0; }
.diff.emphasis .proof .pn { font-size: clamp(32px, 3vw, 46px); }
.diff.emphasis .proof h3 { font-size: clamp(25px, 2.4vw, 34px); }
.diff.emphasis .proof p { font-size: clamp(17px, 1.35vw, 20px); }

/* Anchored treatment — headline column beside the proof list (shared column system) */
.diff-anchored .diff-2col {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(48px, 6vw, 96px); align-items: center;
}
.diff-anchored .head { max-width: none; margin-bottom: 0; }
.diff-anchored.emphasis .head h2 { font-size: clamp(36px, 4.4vw, 58px); }
.diff-anchored .diff-lede { font-size: clamp(18px, 1.5vw, 21px); }
.diff-anchored .proof-list { align-self: stretch; }
.diff-anchored.emphasis .proof {
  grid-template-columns: 52px 1fr; gap: clamp(18px, 2vw, 30px);
  padding: clamp(18px, 2.2vw, 26px) 0; align-items: baseline;
}
.diff-anchored.emphasis .proof:first-child { border-top: 0; padding-top: 0; }
.diff-anchored.emphasis .proof .pn { font-size: clamp(26px, 2.4vw, 36px); }
.diff-anchored.emphasis .proof h3 { font-size: clamp(22px, 2vw, 28px); }
.diff-anchored.emphasis .proof p { font-size: clamp(16px, 1.2vw, 18px); margin-top: 9px; max-width: 50ch; }

/* Who-we-are editorial split: landscape portrait */
.split-media.land image-slot, .split-media.land .photo { aspect-ratio: 3/2; }

/* Who-we-are: large portrait block per the Shared Column system */
#who .split-grid { grid-template-columns: .95fr 1.05fr; align-items: center; }
#who .split-media.land image-slot, #who .split-media.land .photo { aspect-ratio: 19/20; }
#who .split-copy p + p { margin-top: 22px; }
#who .stat-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 2.2vw, 38px); margin-top: clamp(30px, 3.4vw, 46px); }
#who .stat .num { font-size: clamp(30px, 2.6vw, 42px); }
#who .stat .lbl { max-width: 13ch; margin-top: 8px; }

/* ===================== FULL-BLEED QUOTE ===================== */
.quote .panel-scrim {
  background: linear-gradient(90deg,
    rgba(26,42,51,calc(var(--scrim-a) * 1.15)) 0%,
    rgba(26,42,51,calc(var(--scrim-a) * .7)) 55%,
    rgba(26,42,51,calc(var(--scrim-a) * .45)) 100%);
}
.quote blockquote {
  margin: 0; max-width: 20ch; font-family: var(--mwp-display); font-weight: 500; font-style: italic;
  font-size: clamp(32px, 4.4vw, 62px); line-height: 1.14; color: var(--mwp-paper);
}
.quote .qmark { font-family: var(--mwp-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mwp-teal-glow); font-weight: 700; margin-bottom: 22px; }
.quote cite { display: block; margin-top: 26px; font-family: var(--mwp-sans); font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(254,246,236,.78); }

/* ===================== CREAM TESTIMONIAL ===================== */
.testi { background: var(--mwp-paper); text-align: center; padding: clamp(86px, 12vw, 150px) 0; }
.testi .eyebrow { margin-bottom: 28px; }
.testi blockquote {
  margin: 0 auto; max-width: 22ch; font-family: var(--mwp-display); font-weight: 500; font-style: italic;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.16; color: var(--mwp-ink);
}
.testi cite { display: block; margin-top: 30px; font-family: var(--mwp-sans); font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mwp-slate); }

/* ===================== VERNONS OVERLAY CARD ===================== */
.vern .panel-bg { background-position: 50% 28%; }
.vern .panel-scrim {
  background: linear-gradient(180deg,
    rgba(26,42,51,calc(var(--scrim-a) * .25)) 0%,
    rgba(26,42,51,calc(var(--scrim-a) * .55)) 70%,
    rgba(26,42,51,calc(var(--scrim-a) * .85)) 100%);
}
.vern-card {
  background: rgba(26,42,51,.82); backdrop-filter: blur(10px); color: var(--mwp-paper);
  border-radius: var(--mwp-r-lg); padding: clamp(34px, 4vw, 52px); max-width: 540px; box-shadow: var(--mwp-shadow-lg);
}
.vern-card .eyebrow { color: var(--mwp-teal-glow); }
.vern-card h2 { margin: 16px 0 4px; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; color: var(--mwp-paper); }
.vern-card .roles { font-family: var(--mwp-sans); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(254,246,236,.7); font-weight: 600; }
.vern-card p { font-family: var(--mwp-serif); font-size: 17.5px; line-height: 1.68; color: rgba(254,246,236,.9); margin: 22px 0 0; }
.vern-card .vern-stats { display: flex; gap: clamp(22px, 3vw, 42px); margin-top: 28px; flex-wrap: wrap; }
.vern-card .vern-stats .num { font-family: var(--mwp-display); font-weight: 600; font-size: clamp(30px, 3vw, 42px); color: var(--mwp-teal-glow); line-height: 1; display: block; }
.vern-card .vern-stats .lbl { font-family: var(--mwp-sans); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(254,246,236,.66); margin-top: 8px; display: block; max-width: 15ch; }
.vern-card.right { margin-left: auto; }
.vern-card .ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===================== NEIGHBORHOOD IMMERSIVE PANELS ===================== */
.hood-intro { background: var(--mwp-linen); text-align: center; padding: clamp(78px, 11vw, 128px) 0 clamp(56px, 8vw, 92px); }
.hood-intro .eyebrow { margin-bottom: 18px; }
.hood-intro h2 { margin: 0 auto; max-width: 24ch; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: var(--mwp-ink); }
.hpanel { min-height: 84vh; align-items: flex-end; }
.hpanel .panel-scrim {
  background: linear-gradient(180deg,
    rgba(26,42,51,calc(var(--scrim-a) * .3)) 0%,
    rgba(26,42,51,calc(var(--scrim-a) * .2)) 45%,
    rgba(26,42,51,calc(var(--scrim-a) * 1.2)) 100%);
}
.hpanel .wrap { padding-bottom: clamp(46px, 7vw, 86px); }
.hpanel .idx { font-family: var(--mwp-sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--mwp-teal-glow); }
.hpanel .name { font-family: var(--mwp-display); font-weight: 600; font-size: clamp(40px, 6vw, 84px); line-height: 1; color: var(--mwp-paper); margin: 12px 0 0; }
.hpanel .desc { font-family: var(--mwp-serif); font-size: clamp(18px, 1.6vw, 22px); color: rgba(254,246,236,.9); margin: 14px 0 0; max-width: 42ch; }
.hpanel .name a { text-decoration: none; color: inherit; }
.hpanel-go {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; text-decoration: none;
  font-family: var(--mwp-sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; transition: gap .3s, border-color .3s;
}
.hpanel-go:hover { gap: 14px; border-color: #fff; }
.hood-foot { background: var(--mwp-linen); text-align: center; padding: clamp(78px, 11vw, 128px) 0; }
.hood-foot p { font-family: var(--mwp-serif); font-style: italic; font-size: 18px; color: var(--mwp-slate); margin: 0 0 24px; }

/* ===================== NEIGHBORHOOD HUB GRID ===================== */
.hub { background: var(--mwp-paper); padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 11vw, 140px); }
.hub-intro { max-width: 640px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.hub-intro h2 { margin: 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; color: var(--mwp-ink); }
.hub-intro p { margin: 22px 0 0; font-family: var(--mwp-serif); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.7; color: var(--mwp-ink-soft); }
.hub-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hood-card {
  position: relative; grid-column: span 2; display: block; text-decoration: none; color: inherit;
  border-radius: var(--mwp-r-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--mwp-shadow-sm);
  transition: box-shadow .4s cubic-bezier(.22,.61,.36,1), transform .4s cubic-bezier(.22,.61,.36,1);
}
.hood-card.feature { grid-column: span 4; aspect-ratio: 16/9; }
.hood-card.half { grid-column: span 3; aspect-ratio: 3/2; }
/* Card beside the feature stretches to match the feature's height */
@media (min-width: 901px) {
  .hood-card.feature + .hood-card { aspect-ratio: auto; }
}
.hood-card:hover { box-shadow: var(--mwp-shadow-lg); transform: translateY(-4px); }
.hood-card image-slot, .hood-card .photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hood-card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,42,51,.05) 30%, rgba(26,42,51,.72) 100%); pointer-events: none; }
.hood-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw, 28px); pointer-events: none; }
.hood-card .nm { font-family: var(--mwp-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 36px); color: var(--mwp-paper); line-height: 1.04; display: block; }
.hood-card .ds { font-family: var(--mwp-serif); font-style: italic; font-size: clamp(15px, 1.2vw, 18px); color: rgba(254,246,236,.92); margin-top: 6px; display: block; }
.hood-card .meta { font-family: var(--mwp-sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mwp-teal-glow); margin-top: 12px; display: flex; gap: 9px; align-items: center; }
.hood-card .explore { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.hood-card:hover .explore { opacity: 1; transform: none; }

/* ===================== LONG-FORM GUIDE ===================== */
.guide-body { background: var(--mwp-paper); padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.reading { max-width: 720px; margin: 0 auto; }
.reading .kicker { font-family: var(--mwp-sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mwp-teal); }
.reading h2 { margin: 40px 0 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: var(--mwp-ink); }
.reading h2:first-child { margin-top: 0; }
.reading p { font-family: var(--mwp-serif); font-size: clamp(18px, 1.35vw, 20.5px); line-height: 1.78; color: var(--mwp-ink-soft); margin: 20px 0 0; }
.reading p.lede { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.65; color: var(--mwp-ink); }
.reading .pull {
  margin: 48px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--mwp-teal);
  font-family: var(--mwp-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25; color: var(--mwp-ink);
}
/* sized so the full statement holds a single line in the reading column on desktop */
.reading .pull.tight { font-size: clamp(19px, 1.85vw, 26px); }
.guide-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mwp-sand-line);
  border: 1px solid var(--mwp-sand-line); border-radius: var(--mwp-r-lg); overflow: hidden; margin: 44px 0;
}
.guide-facts .f { background: var(--mwp-paper); padding: 24px 22px; }
.guide-facts .fk { font-family: var(--mwp-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mwp-slate); }
.guide-facts .fv { font-family: var(--mwp-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 23px); color: var(--mwp-ink); margin-top: 8px; line-height: 1.15; }
.guide-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin: 48px 0; }
.guide-gallery image-slot, .guide-gallery .photo { display: block; width: 100%; height: 100%; min-height: 220px; border-radius: var(--mwp-r-md); overflow: hidden; }
.guide-gallery .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.guide-nav {
  border-top: 1px solid var(--mwp-hairline); margin-top: clamp(48px, 6vw, 80px); padding-top: 28px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.guide-nav a { text-decoration: none; color: inherit; max-width: 46%; }
.guide-nav .dir { font-family: var(--mwp-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mwp-slate); }
.guide-nav .nm { font-family: var(--mwp-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); color: var(--mwp-ink); margin-top: 6px; transition: color .3s; }
.guide-nav a:hover .nm { color: var(--mwp-teal); }
.guide-nav .next { text-align: right; margin-left: auto; }

/* ===================== CONTACT ===================== */
.ccontact { background: var(--mwp-ink); color: var(--mwp-paper); padding: clamp(80px, 11vw, 140px) 0; }
.ccontact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.ccontact .eyebrow { color: var(--mwp-teal-glow); }
.ccontact h2 { margin: 16px 0 0; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(32px, 4vw, 54px); line-height: 1.04; color: var(--mwp-paper); }
.ccontact .copy { font-family: var(--mwp-serif); font-size: 19px; line-height: 1.65; color: rgba(254,246,236,.82); margin: 22px 0 0; max-width: 42ch; }
.cc-details { margin-top: 34px; display: flex; flex-direction: column; gap: 15px; }
.cc-row { display: flex; gap: 14px; align-items: baseline; }
.cc-row .k { font-family: var(--mwp-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mwp-teal-glow); font-weight: 600; min-width: 70px; }
.cc-row .v { font-family: var(--mwp-serif); font-size: 18px; color: var(--mwp-paper); }
.cc-card { background: var(--mwp-paper); border-radius: var(--mwp-r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--mwp-shadow-lg); }

/* ===================== CLOSING CTA BAND ===================== */
.closing { background: var(--mwp-ink); color: var(--mwp-paper); text-align: center; padding: clamp(78px, 10vw, 124px) 0; }
.closing .eyebrow { color: var(--mwp-teal-glow); margin-bottom: 18px; }
.closing h2 { margin: 0 auto; max-width: 20ch; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.06; color: var(--mwp-paper); }
.closing p { margin: 22px auto 0; max-width: 52ch; font-family: var(--mwp-serif); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.66; color: rgba(254,246,236,.84); }
.closing .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.site-footer.coast { background: #14222a; }

/* ===================== HEADLINE VARIANT SYSTEM (Tweaks) ===================== */
.vgroup .v { display: none; }
:root[data-headlines="rec"] .vgroup .v[data-v="rec"],
:root[data-headlines="a"]   .vgroup .v[data-v="a"],
:root[data-headlines="b"]   .vgroup .v[data-v="b"] { display: inline; }
/* if a group lacks the chosen variant, fall back to recommended */
:root[data-headlines="a"]   .vgroup.no-a .v[data-v="rec"],
:root[data-headlines="b"]   .vgroup.no-b .v[data-v="rec"] { display: inline; }
:root[data-headlines="a"]   .vgroup.no-a .v[data-v="a"],
:root[data-headlines="b"]   .vgroup.no-b .v[data-v="b"] { display: none; }

/* motion off */
:root[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
:root[data-motion="off"] .scrollcue .line { animation: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 38px; }
  .split-grid.flip .split-media { order: 0; }
  .split-media image-slot, .split-media .photo, .split-media.tall image-slot, .split-media.tall .photo { aspect-ratio: 16/10; }
  .diff-anchored .diff-2col { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 54px); align-items: start; }
  .diff-anchored.emphasis .proof:first-child { border-top: 1px solid rgba(254,246,236,.16); padding-top: clamp(18px, 2.2vw, 26px); }
  .svc-grid { grid-template-columns: 1fr; gap: 34px; }
  .ccontact-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .hood-card, .hood-card.feature, .hood-card.half { grid-column: span 1; aspect-ratio: 5/4; }
}
@media (max-width: 860px) {
  .cnav-menu { display: none; }
  .cnav-burger { display: block; }
  .cnav-menu.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    background: var(--mwp-ink); padding: 92px 32px 32px; z-index: 99; box-shadow: var(--mwp-shadow-lg);
  }
  .cnav-menu.open a { color: rgba(254,246,236,.9); font-size: 15px; }
  .cnav-menu.open a::after { display: none; }
}
@media (max-width: 600px) {
  .chero h1 { font-size: clamp(33px, 8.5vw, 48px); }
  .guide-gallery { grid-template-columns: 1fr; }
  .guide-facts { grid-template-columns: 1fr; }
  .guide-nav .next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .scrollcue .line { animation: none; }
}

/* ===================== TESTIMONIALS (refined cards on cream) ===================== */
.testi { background: var(--mwp-paper); text-align: center; padding: clamp(84px, 11vw, 148px) 0 clamp(48px, 6vw, 72px); }
.testi .eyebrow { margin-bottom: 18px; }
.testi h2 { margin: 0 auto; max-width: 24ch; font-family: var(--mwp-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.05; color: var(--mwp-ink); }
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 36px); max-width: 1180px; margin: clamp(44px, 5.5vw, 68px) auto 0;
  text-align: left;
}
.testi-card {
  margin: 0; background: var(--mwp-linen); border: 0;
  border-radius: var(--mwp-r-lg); padding: clamp(30px, 3.4vw, 42px) clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card blockquote { margin: 0; font-family: var(--mwp-serif); font-style: italic; font-size: 17px; line-height: 1.72; color: var(--mwp-ink-soft); }
.testi-card blockquote::before {
  content: "\201C"; display: block; font-family: var(--mwp-display); font-style: normal;
  font-size: 54px; line-height: .6; color: var(--mwp-teal); margin-bottom: 16px;
}
.testi-card figcaption {
  font-family: var(--mwp-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mwp-teal-deep); margin-top: auto; padding-top: 4px;
}
.testi-wave { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }
.testi-wave img { width: clamp(140px, 14vw, 200px); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ===================== FORM PRIVACY NOTE ===================== */
.cform-note { margin: 14px 0 0; text-align: center; font-family: var(--mwp-serif); font-style: italic; font-size: 14px; line-height: 1.55; color: var(--mwp-slate); }

/* ===================== FOOTER LEGAL ===================== */
.site-footer .ft-legal { padding-top: 22px; }
.site-footer .ft-legal p { margin: 0 0 6px; font-family: var(--mwp-sans); font-size: 11.5px; line-height: 1.6; color: rgba(254,246,236,.45); letter-spacing: .02em; }
