/* the MVP brand: site styles
   Tokens first; everything below reads from them. */

@font-face { font-family: "Antonio"; src: url("../fonts/antonio.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Teko"; src: url("../fonts/teko-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* palette carried over from the Squarespace site */
  --paper: #fbfbfb;
  --mist: #e8e8e8;
  --stone: #cfccc4;
  --ink: #292929;
  --ink-deep: #1c1c1c;
  --gold: #c6a359;          /* wordmark gold */
  --bronze: #b28740;        /* Squarespace dark accent */
  --bronze-deep: #94702f;   /* Why section: white text passes AA on this */
  --bronze-text: #85602a;   /* small bronze text on light grounds */
  --orange: #e28a00;        /* brand highlight */
  --orange-deep: #b75f04;   /* lit service cards and active nav: white text passes AA (4.51:1); #e28a00 is 2.7:1 */
  --faint: rgba(255, 255, 255, .14);

  --f-display: "Antonio", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mark: "Teko", "Antonio", sans-serif;

  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 30px -12px rgba(0,0,0,.28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --ann-h: 0px;
  --dock-space: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ann-h) + 12px); scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.modal-open { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--f-body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
main:focus { outline: none; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; fill: none; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.hydrating [data-region] { opacity: 0; }
[data-region] { transition: opacity .25s ease; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink-deep); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0 0 .6rem; font: 800 13px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text); }
.display {
  font: 700 clamp(40px, 6.2vw, 92px)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: -.02em; color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .7em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 13px/1.1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink-deep); }
.btn--gold:hover { background: #d6b46a; }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(255,255,255,.08); }
.btn--lg { font-size: 14px; padding: .9em 1.8em; }

/* ───────── announcement bar ───────── */
.ann {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 56px; text-align: center;
  font: 500 14px/1.35 var(--f-body);
}
.ann[hidden] { display: none; }
.ann--orange { background: var(--orange); color: var(--ink-deep); }
.ann--gold { background: var(--gold); color: var(--ink-deep); }
.ann--ink { background: var(--ink-deep); color: #f4f4f4; }
.ann--ink .hl, .ann--ink .ann__bell { color: var(--gold); }
.ann__msg { margin: 0; }
.ann__msg > * { vertical-align: middle; }
.ann__msg > .icon { display: inline-block; margin-right: .4em; vertical-align: -.2em; }
.ann__link { margin-left: .5em; }
@media (max-width: 559px) { .ann { font-size: 13px; padding: 8px 52px 8px 14px; } }
.ann .hl { font-weight: 700; }
.ann__bell { width: 1.1em; height: 1.1em; transform-origin: 50% 10%; animation: ring 2.6s ease-in-out infinite; }
.ann:hover .ann__bell { animation-duration: 1.2s; }
.ann__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .25em; }
.ann__link .icon { width: .95em; height: .95em; }
.ann--linked .ann__link::after { content: ""; position: absolute; inset: 0; }
.ann__close {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 1; width: 48px;
  display: grid; place-items: center; border: 0; background: rgba(0,0,0,.14); cursor: pointer;
}
.ann__close:hover { background: rgba(0,0,0,.24); }
@keyframes ring {
  0% { transform: rotate(0); } 5% { transform: rotate(20deg); } 10% { transform: rotate(-18deg); }
  15% { transform: rotate(15deg); } 20% { transform: rotate(-12deg); } 25% { transform: rotate(9deg); }
  30% { transform: rotate(-6deg); } 35% { transform: rotate(3deg); } 40%, 100% { transform: rotate(0); }
}

/* ───────── hero ─────────
   The lockup is drawn as outlines on a cap-height grid: both marks are exactly
   --cap tall, so MVP and BRAND share top and baseline by construction. */
.hero {
  container-type: inline-size;
  min-height: calc(100svh - var(--ann-h));
  display: grid; align-content: center; justify-items: center;
  padding: clamp(32px, 7vh, 88px) var(--pad) calc(var(--dock-space) + clamp(16px, 3vh, 32px));
}
.hero__stage {
  --pw: clamp(240px, 24cqw, 360px);
  --g: clamp(22px, 3cqw, 48px);
  --cap: min(calc((100cqw - var(--pw) - 2 * var(--g)) / 6.3), calc(var(--pw) * .42));
  display: grid;
  grid-template-columns: auto var(--pw) auto;
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ".     photo .    " "name  photo .    " "markl photo markr" ".     photo .    ";
  column-gap: var(--g);
  justify-content: center;
}
.hero__mark { height: var(--cap); width: auto; overflow: visible; }
.hero__mark--l { grid-area: markl; justify-self: end; }
.hero__mark--r { grid-area: markr; justify-self: start; }
.hero__name {
  grid-area: name; justify-self: stretch; align-self: end;
  margin: 0 0 calc(var(--cap) * .2);
  font: 700 calc(var(--cap) * .36)/.8 var(--f-display);
  text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: var(--ink-deep);
}
.hero__name .init { color: var(--gold); }
.hero__portrait { grid-area: photo; position: relative; align-self: center; }
.hero__portrait > img {
  width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 28%;
  border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow);
}
.hero__badge { position: absolute; width: clamp(64px, 27%, 100px); left: 0; bottom: 0; translate: -38% 38%; }
.hero__badge img { width: 100%; border-radius: 50%; box-shadow: 0 6px 20px -6px rgba(0,0,0,.35); }
.hero__tagline {
  margin: clamp(36px, 7vh, 72px) 0 0; max-width: 44ch;
  font: 700 clamp(20px, 1.15rem + 1vw, 32px)/1.22 var(--f-body); letter-spacing: -.02em;
  text-align: center; text-wrap: balance; color: var(--ink);
}
.hero__tagline .hl { color: var(--bronze); }

@media (max-width: 899px) {
  .hero { min-height: 0; padding-top: clamp(28px, 6vh, 56px); }
  .hero__stage {
    --cap: calc((100cqw - 2px) / 6.37);
    --pw: min(80cqw, 380px);
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    grid-template-areas: "markl markr" "photo photo" "name name";
    column-gap: calc(var(--cap) * .2);
    row-gap: clamp(20px, 5vw, 32px);
  }
  .hero__portrait { width: var(--pw); justify-self: center; }
  .hero__name { justify-self: center; margin: clamp(22px, 6vw, 32px) 0 0; font-size: clamp(30px, 9.5cqw, 52px); }
  .hero__tagline { margin-top: clamp(16px, 4vw, 28px); max-width: 26ch; }
}

/* ───────── dock (pinned section nav) ───────── */
.dock {
  position: fixed; left: 50%; bottom: max(12px, 2.5vh); z-index: 50; translate: -50% 0;
  display: flex; align-items: center; gap: clamp(2px, .8vw, 10px);
  padding: 7px 8px 7px 7px; border-radius: 999px;
  background: rgba(41, 41, 41, .94); color: #fff;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.dock a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 clamp(10px, 2.6vw, 34px); border-radius: 999px; border: 1px solid transparent;
  font: 600 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;
}
.dock a:hover { background: rgba(255,255,255,.08); }
.dock a[aria-current] { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.dock__home { padding: 0 !important; width: 44px; margin-right: clamp(0px, 1vw, 10px); }
.dock__home img { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid transparent; transition: border-color .25s; }
.dock__home[aria-current] { background: transparent !important; border-color: transparent !important; }
.dock__home[aria-current] img { border-color: var(--orange); }
@media (max-width: 460px) {
  .dock { gap: 0; padding: 6px; max-width: calc(100vw - 16px); }
  .dock a { font-size: 11px; letter-spacing: .04em; padding: 0 8px; }
  .dock__home { margin-right: 2px; }
}

/* ───────── who ───────── */
.who { background: var(--mist); padding: clamp(64px, 11vh, 128px) 0; }
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.who__lockup { width: min(100%, 340px); margin: 4px 0 28px; }
.who__heading { font: 700 clamp(19px, 1.4vw + 10px, 24px)/1.3 var(--f-body); letter-spacing: -.015em; margin-bottom: 16px; color: var(--ink-deep); }
.who__text p:not(.eyebrow) { color: #3a3a3a; max-width: 62ch; }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #111; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); }
.video__link { position: absolute; inset: 0; display: block; color: #fff; }
.video__poster { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.video__link::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.05), rgba(0,0,0,.42)); }
.video__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(28,28,28,.66); color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold), 0 10px 30px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .25s, color .25s, scale .3s var(--ease);
}
.video__play .icon { width: 38%; height: 38%; translate: 8% 0; fill: currentColor; }
.video__link:hover .video__poster, .video__link:focus-visible .video__poster { transform: scale(1.035); }
.video__link:hover .video__play, .video__link:focus-visible .video__play { background: var(--orange); color: var(--ink-deep); scale: 1.06; }
.video__link:focus-visible { outline-offset: -4px; }
.video__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__link.is-loading { position: absolute; inset: 0; z-index: 2; cursor: progress; }
.video__link.is-loading .video__play { animation: video-wait 1s ease-in-out infinite alternate; }
@keyframes video-wait { to { opacity: .55; scale: .94; } }
@media (prefers-reduced-motion: reduce) { .video__link.is-loading .video__play { animation: none; opacity: .6; } }
.video__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-top: 32px; font-size: 14px; color: var(--ink); }
.video__yt { display: inline-flex; align-items: center; gap: .3em; color: var(--bronze-text); font-weight: 600; text-decoration: none; }
.video__yt:hover { text-decoration: underline; text-underline-offset: 3px; }
.video__yt .icon { width: 1em; height: 1em; }
@media (max-width: 899px) { .who__grid { grid-template-columns: minmax(0, 1fr); } .who__video { order: -1; } }

/* ───────── why: bento ───────── */
.why { background: var(--bronze-deep); color: #fff; padding: clamp(64px, 11vh, 128px) 0; }
.why .eyebrow { color: #fff; opacity: .9; }
.why .display { color: #fff; }
.why__head { display: grid; grid-template-columns: auto minmax(0, 42ch); gap: 24px clamp(32px, 5vw, 72px); align-items: end; justify-content: space-between; margin-bottom: clamp(32px, 5vh, 56px); }
.why__intro { margin: 0; font-size: 18px; line-height: 1.5; }
.why__intro .hl { font-weight: 700; }
@media (max-width: 899px) { .why__head { grid-template-columns: minmax(0, 1fr); } }

.bento {
  --row: 340px;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(var(--row), auto); grid-auto-flow: row dense; gap: 8px;
  counter-reset: bento;
}
.bento__card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.2); min-width: 0; }
.bento__card--text { grid-column: span 2; padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.bento__card--photo:hover img { scale: 1.08; }
.bento__card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 62%, rgba(17,17,17,.88)); pointer-events: none; }
.bento__cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; margin: 0; font: 600 12.5px/1.3 var(--f-body); color: rgba(255,255,255,.86); }
.bento__num { font: 600 clamp(48px, 4.6vw, 72px)/1 var(--f-display); color: var(--orange); letter-spacing: .01em; margin-bottom: .32em; font-variant-numeric: tabular-nums; }
.bento__title { font: 800 clamp(17px, 1.1vw + 8px, 21px)/1.25 var(--f-body); letter-spacing: -.015em; margin-bottom: 12px; color: #fff; }
.bento__body { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 62ch; }
.bento .is-mobile { display: none; }
@media (max-width: 1100px) { .bento { --row: 300px; } }
@media (max-width: 699px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 7px; }
  .bento__card--photo { aspect-ratio: 1; }
  .bento .is-desktop { display: none; }
  .bento .is-mobile { display: block; }
  .bento__card--text { padding: 24px 22px 28px; }
  .bento__cap { left: 12px; right: 12px; bottom: 10px; font-size: 11.5px; }
}

/* ───────── services ───────── */
.services { padding: clamp(72px, 12vh, 136px) 0; }
.services__head { margin-bottom: clamp(32px, 5vh, 56px); }
.services__intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); margin-top: clamp(20px, 3vh, 32px); color: #333; }
.services__intro p { margin: 0 0 1em; max-width: 60ch; }
@media (max-width: 799px) { .services__intro { grid-template-columns: minmax(0, 1fr); } }
.svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.svc {
  position: relative; background: #ececec; border: 1px solid #dcdcdc; border-radius: 22px;
  padding: 26px 26px 30px; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 24px -18px rgba(0,0,0,.4);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.svc__icon, .svc__num, .svc__title, .svc__body { transition: color .4s var(--ease), background-color .4s var(--ease), opacity .4s var(--ease); }
/* lit: hover, keyboard focus inside, or (phones only) the card on top of the sticky stack (js/main.js adds .is-lit) */
.svc:hover, .svc:focus-within, .svc.is-lit {
  background: var(--orange-deep); border-color: var(--orange-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 22px 44px -24px rgba(110,55,0,.75);
}
.svc:hover .svc__icon, .svc:focus-within .svc__icon, .svc.is-lit .svc__icon { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.svc:hover .svc__num, .svc:focus-within .svc__num, .svc.is-lit .svc__num { color: var(--ink-deep); opacity: .8; }
.svc:hover .svc__title, .svc:focus-within .svc__title, .svc.is-lit .svc__title,
.svc:hover .svc__body, .svc:focus-within .svc__body, .svc.is-lit .svc__body { color: #fff; }
.svc__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--bronze-text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.svc__icon .icon { width: 22px; height: 22px; }
.svc__num { display: block; margin: 22px 0 8px; font: 600 54px/1 var(--f-display); color: var(--bronze); }
.svc__title { font: 600 clamp(24px, 1.2vw + 14px, 30px)/1.08 var(--f-display); letter-spacing: -.01em; margin-bottom: 14px; color: var(--ink-deep); }
.svc__body { margin: 0; color: #3a3a3a; }
.svcs .is-desktop { display: block; }
.svcs .is-mobile { display: none; }
@media (max-width: 699px) {
  .svcs { gap: 18px; }
  .svc { position: sticky; top: calc(var(--ann-h) + 16px + var(--i, 0) * 14px); }
  .svcs .is-desktop { display: none; }
  .svcs .is-mobile { display: block; }
}

/* ───────── case studies ───────── */
.cases { background: var(--ink); color: #f3f3f3; padding: clamp(72px, 12vh, 136px) 0 clamp(72px, 12vh, 136px); }
.cases .display { color: var(--stone); font-size: clamp(48px, 8vw, 120px); }
.cases .eyebrow { color: var(--gold); }
.cases__head { margin-bottom: clamp(32px, 6vh, 64px); }
.cases__list { list-style: none; margin: 0; padding: 0; }
.case { position: sticky; top: calc(var(--ann-h) + 3vh + var(--i, 0) * 18px); margin-bottom: 12vh; }
.case:last-child { margin-bottom: 0; }
.case__card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px;
  min-height: min(76svh, 640px); display: flex; align-items: center;
  background: #1b1b1b; box-shadow: 0 -18px 50px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.06);
}
.case__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.case__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,18,18,.94) 0%, rgba(18,18,18,.78) 40%, rgba(18,18,18,.15) 72%, rgba(18,18,18,0) 100%); }
.case__body { width: min(100%, 600px); padding: clamp(28px, 5vw, 64px); }
.case__title { font: 700 clamp(40px, 4.6vw, 72px)/.98 var(--f-display); letter-spacing: -.015em; color: var(--orange); margin-bottom: 14px; }
.case__num { color: var(--orange); }
.case__sub { color: var(--stone); font-size: 15px; margin-bottom: 22px; }
.case__sum { color: #f5f5f5; font-size: 16px; line-height: 1.55; margin-bottom: 28px; }
@media (max-width: 759px) {
  .case { position: static; margin-bottom: 20px; }
  .case__card { display: block; min-height: 0; }
  .case__card::before { display: none; }
  .case__img { position: static; z-index: auto; aspect-ratio: 16 / 10; height: auto; }
  .case__body { padding: 24px 22px 28px; }
  .case__title { font-size: clamp(34px, 10vw, 44px); }
}

/* case study + feedback dialogs */
dialog.cs, dialog.fb {
  width: min(1000px, 100vw - 24px); max-width: none; max-height: calc(100svh - 24px);
  margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: auto; overscroll-behavior: contain;
  background: #1c1c1c; color: #f1f1f1; box-shadow: 0 40px 120px -20px rgba(0,0,0,.8);
}
dialog.fb { background: var(--paper); color: var(--ink); width: min(1080px, 100vw - 24px); }
dialog::backdrop { background: rgba(12,12,12,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: dlg-in .32s var(--ease); }
dialog[open]::backdrop { animation: fade-in .32s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
/* no-JS: the "Learn more" link targets the dialog, which then shows in place */
dialog.cs:target:not([open]), dialog.fb:target:not([open]) { display: block; position: relative; inset: auto; margin: 24px auto; }

.cs__bar { position: sticky; top: 0; z-index: 3; height: 0; display: flex; justify-content: flex-end; }
.cs__close {
  margin: 12px 12px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(20,20,20,.72); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.cs__close:hover { background: var(--orange); color: var(--ink-deep); }
.cs__hero { position: relative; isolation: isolate; min-height: clamp(260px, 42vh, 420px); display: flex; align-items: flex-end; }
.cs__hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cs__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(28,28,28,.15) 20%, rgba(28,28,28,.82) 72%, #1c1c1c); }
.cs__heading { padding: clamp(24px, 4vw, 48px) clamp(22px, 5vw, 56px) 8px; }
.cs__kicker { margin: 0 0 6px; font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cs__title { font: 700 clamp(36px, 5vw, 64px)/.98 var(--f-display); letter-spacing: -.015em; color: var(--orange); }
.cs__sub { margin: 10px 0 0; color: var(--stone); font-size: 16px; }
.cs__content { padding: 20px clamp(22px, 5vw, 56px) 8px; }
.cs__sec { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.1); }
.cs__sec:first-child { border-top: 0; }
.cs__label { font: 600 22px/1.15 var(--f-display); letter-spacing: .01em; text-transform: uppercase; color: var(--gold); }
.cs__copy p { color: #e6e6e6; line-height: 1.65; max-width: 68ch; }
.cs__copy p:last-child { margin-bottom: 0; }
.cs__list { margin: 12px 0 0; padding-left: 1.2em; color: #e6e6e6; }
.cs__list li { margin: 6px 0; }
.cs__list li::marker { color: var(--gold); }
.cs__stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cs__stats li { border-radius: 16px; padding: 18px 18px 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.cs__stat-val { display: block; font: 700 clamp(36px, 4vw, 52px)/1 var(--f-display); color: var(--gold); }
.cs__stat-lbl { display: block; margin-top: 6px; font-size: 13px; color: var(--stone); }
.cs__pager { display: flex; justify-content: space-between; gap: 12px; padding: 20px clamp(16px, 4vw, 40px) clamp(20px, 3vw, 32px); border-top: 1px solid rgba(255,255,255,.1); margin-top: 12px; }
.cs__go {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; max-width: 48%;
  border: 0; border-radius: 14px; background: transparent; cursor: pointer; text-align: left; color: #f1f1f1; font-weight: 600;
}
.cs__go--next { text-align: right; margin-left: auto; }
.cs__go small { display: block; font: 600 11px/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.cs__go:hover { background: rgba(255,255,255,.06); }
.cs__go .icon { color: var(--gold); width: 22px; height: 22px; }
@media (max-width: 699px) {
  .cs__sec { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cs__go { max-width: 50%; padding: 8px 6px; font-size: 14px; }
}

/* ───────── contact ───────── */
.contact { background: var(--mist); padding: clamp(72px, 12vh, 136px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact__portrait { position: relative; margin: 0; }
.contact__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact__badge {
  position: absolute; left: 0; bottom: 14%; translate: -30% 0;
  width: clamp(64px, 18%, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--ink-deep); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.contact__badge .icon { width: 44%; height: 44%; }
.contact__intro { color: #333; max-width: 52ch; margin-top: 14px; }
.cinfo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px clamp(20px, 4vw, 48px);
  background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); margin: 28px 0 26px; box-shadow: var(--shadow);
}
.cinfo__logo { width: 100%; max-width: 300px; }
.cinfo__list { margin: 0; display: grid; gap: 18px; }
.cinfo__row dt { font: 700 12px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 4px; }
.cinfo__row dd { margin: 0; }
.cinfo__row a { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cinfo__row a:hover { color: var(--bronze-text); }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__portrait { width: min(100%, 420px); justify-self: center; }
}
@media (max-width: 559px) { .cinfo { grid-template-columns: minmax(0, 1fr); } .cinfo__logo { max-width: 240px; } }

/* feedback dialog */
/* wide photo on top keeps the whole "Just Do It." sign in frame; brand card overlaps it as on Squarespace */
.fb__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.fb__photo {
  grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 2 / 1;
  object-fit: cover; object-position: 50% 40%; border-radius: 0 0 24px 24px; background: var(--ink-deep);
}
.fb__card {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center;
  margin: clamp(-120px, -11vw, -80px) 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px);
  padding: clamp(36px, 4.5vw, 60px) clamp(20px, 2.4vw, 32px); border-radius: var(--radius); background: var(--mist);
}
.fb__logo { width: 100%; max-width: 260px; height: auto; margin-bottom: 14px; }
.fb__card-label { margin: 0; font: 700 17px/1.2 var(--f-body); color: var(--bronze-text); }
.fb__card:has(.fb__vcf[hidden]) .fb__card-label { display: none; }
.fb__card .fb__vcf { font-size: 17px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fb__card .fb__vcf:hover { color: var(--bronze-text); }
.fb__main { padding: clamp(28px, 4vw, 52px); }
.fb__main .display { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 10px; }
.fb__intro { font-weight: 600; color: #333; }
.fb__form { display: grid; gap: 14px; margin-top: 18px; }
.fb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: #666; }
.field input, .field textarea {
  width: 100%; min-width: 0; font: 400 16px/1.4 var(--f-body); color: var(--ink-deep);
  padding: 11px 14px; border-radius: 12px; border: 1px solid #c9c9c9; background: #fff;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--bronze); flex: none; }
.stars { border: 0; margin: 0; padding: 0; min-width: 0; }
.stars legend { padding: 0; font-size: 14px; font-weight: 600; }
.stars legend small { display: block; font-weight: 400; color: #666; margin-top: 2px; }
.stars__row { display: flex; gap: 4px; margin-top: 8px; }
.stars label { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 10px; color: #b9b9b9; }
.stars input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.stars .icon { width: 30px; height: 30px; transition: color .15s, fill .15s, scale .15s; }
.stars label:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 1px; }
.stars__row:has(input[value="1"]:checked) label:nth-child(-n+1),
.stars__row:has(input[value="2"]:checked) label:nth-child(-n+2),
.stars__row:has(input[value="3"]:checked) label:nth-child(-n+3),
.stars__row:has(input[value="4"]:checked) label:nth-child(-n+4),
.stars__row:has(input[value="5"]:checked) label:nth-child(-n+5) { color: var(--orange); }
.stars__row:has(input:checked) label { --on: 1; }
.stars__row label:has(~ label:hover), .stars__row label:hover { color: #e9b45a; }
.stars__row:has(input[value="1"]:checked) label:nth-child(-n+1) .icon,
.stars__row:has(input[value="2"]:checked) label:nth-child(-n+2) .icon,
.stars__row:has(input[value="3"]:checked) label:nth-child(-n+3) .icon,
.stars__row:has(input[value="4"]:checked) label:nth-child(-n+4) .icon,
.stars__row:has(input[value="5"]:checked) label:nth-child(-n+5) .icon { fill: currentColor; }
.fb__note { margin: -4px 0 0; font-size: 13px; color: #555; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.fb__vcf { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: 14px; color: var(--ink-deep); }
.fb__vcf[hidden] { display: none; }
.fb__status { margin: 0; min-height: 1.4em; font-size: 14px; color: #8a1c1c; }
.fb__done { margin-top: 22px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.fb__done:focus { outline: none; }
.fb__done-title { font: 700 32px/1 var(--f-display); text-transform: uppercase; color: var(--bronze-text); margin-bottom: 8px; }
@media (max-width: 799px) {
  .fb__grid { grid-template-columns: minmax(0, 1fr); }
  .fb__main { padding-bottom: 20px; }
  .fb__card { order: 3; margin: 0 clamp(16px, 5vw, 28px) 28px; padding: 26px 20px; }
  .fb__logo { max-width: 200px; margin-bottom: 8px; }
  .fb__row { grid-template-columns: minmax(0, 1fr); }
}

/* ───────── floating announcement box ───────── */
.fbx {
  position: fixed; z-index: 55; bottom: calc(var(--dock-space) + 4px); right: 16px;
  width: min(380px, 100vw - 32px); max-height: calc(100svh - var(--dock-space) - var(--ann-h) - 32px); overflow: auto;
  background: var(--ink-deep); color: #f4f4f4; border-radius: 22px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s ease, transform .4s var(--ease);
}
.fbx--left { right: auto; left: 16px; }
.fbx.is-in { opacity: 1; transform: none; }
.fbx[hidden] { display: none; }
.fbx__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.fbx__body { padding: 20px 22px 22px; }
.fbx__eyebrow { margin: 0 0 6px; font: 700 11.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.fbx__heading { font: 700 28px/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; margin: 0 40px 10px 0; }
.fbx--img .fbx__heading { margin-right: 0; }
.fbx__text { white-space: pre-line; font-size: 14.5px; line-height: 1.5; color: #dcdcdc; margin-bottom: 0; }
.fbx__links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fbx__links .btn { font-size: 12px; padding: .7em 1.2em; }
.fbx__close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(20,20,20,.72); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.fbx__close:hover { background: var(--orange); color: var(--ink-deep); }
@media (max-width: 559px) {
  .fbx, .fbx--left { left: 12px; right: 12px; width: auto; }
  .fbx__img { aspect-ratio: 16 / 5; }
  .fbx__body { padding: 16px 18px 18px; }
  .fbx__heading { font-size: 23px; }
  .fbx__text { font-size: 14px; }
  .fbx__links { margin-top: 12px; }
}
@media (max-height: 700px) { .fbx__img { display: none; } .fbx--img .fbx__heading { margin-right: 40px; } }

/* ───────── footer ───────── */
.site-foot { background: var(--ink); color: var(--paper); }
.atg-foot__credit { color: #eee; }

/* ───────── ATG branding footer (shared house block) ─────────
   Portable: set the three --atg-foot-* tokens per site; nothing else changes. */
.atg-foot {
  --atg-foot-fg: var(--paper, #fff);
  --atg-foot-muted: rgba(255, 255, 255, .69);
  --atg-foot-line: var(--faint, rgba(255, 255, 255, .14));
  text-align: center; color: var(--atg-foot-fg);
  border-top: 1px solid var(--atg-foot-line);
  padding: clamp(36px, 6vh, 56px) 16px calc(clamp(28px, 5vh, 44px) + var(--dock-space, 0px));
  transition: padding .5s ease;
}
.atg-foot__copy { margin: 0; font-size: clamp(15px, 1vw + 8px, 18px); font-weight: 500; }
.atg-foot__credit {
  margin: 2.25vh 0 0; font-family: system-ui, sans-serif; font-size: 90%; font-weight: 400;
  text-transform: lowercase; color: #eee;
}
.atg-foot__brand { display: inline-block; margin-left: .14rem; text-transform: lowercase; }
.atg-foot__brand a { color: var(--atg-foot-fg); text-decoration: none; }
.atg-foot__brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atg-foot__brand::after {
  /* external-link mark as a masked SVG so it takes the text colour; swap to FA ("\f14c") on sites that load the kit */
  content: ""; display: inline-block; width: .74em; height: .74em; margin-left: .3rem; vertical-align: -.04em;
  background-color: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.atg-foot__brand b { font-weight: 700; }
.atg-foot__tag-link { display: inline-block; margin-top: 1.5vh; border-radius: 50%; }
.atg-foot__tag {
  display: inline-block; vertical-align: middle; border-radius: 50%;
  filter: grayscale(100%); transform: scale(1);
  transition: filter 1s ease-in-out, transform 1s ease-in-out;
}
.atg-foot__tag-link:hover .atg-foot__tag,
.atg-foot__tag-link:focus-visible .atg-foot__tag { filter: grayscale(0%); transform: scale(1.25); }
.atg-foot__tag-link:focus-visible { outline: 2px solid var(--atg-foot-fg); outline-offset: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
