/* Apex showcase — palette drawn from the Apex logo (navy #16324F, cyan #00E6D9). */

:root {
  --abyss: #0B1A2B;
  --navy: #16324F;
  --glacier: #EDF1F4;
  --frost: #D7E0E7;
  --white: #FFFFFF;
  --signal: #00E6D9;
  --signal-ink: #00736D;      /* signal, darkened for text on light surfaces */
  --mist: #A9BACB;            /* secondary text on dark */
  --slate: #4A5E72;           /* secondary text on light */
  --ember: #DB854F;           /* logo orange; reserved for urgent-care warnings */

  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(10px, 1.2vw, 16px);
  --r-lg: clamp(20px, 2.2vw, 32px);
  --r: clamp(16px, 1.6vw, 22px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--glacier);
  color: var(--abyss);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--signal); color: var(--abyss); }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--signal); color: var(--abyss); padding: 10px 16px; border-radius: 999px; font-family: var(--display); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ───────── video ───────── */
.vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ───────── progress ───────── */

.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 700; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

/* ───────── buttons: extruded slabs ─────────
   A flat, crisp face standing on a hard diagonal extrusion. Hover raises the
   slab off its footprint (the extrusion grows, the face moves up-left so the
   base stays planted); press drops it flat. The label rolls on hover. */
.btn {
  --face: var(--signal);
  --fg: var(--abyss);
  --edge: var(--btn-edge, var(--abyss));
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 30px; border-radius: 12px;
  background: var(--face); color: var(--fg); text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-weight: 650; font-size: 1.04rem; letter-spacing: -0.01em;
  box-shadow: 1px 1px 0 var(--edge), 2px 2px 0 var(--edge), 3px 3px 0 var(--edge), 4px 4px 0 var(--edge), 5px 5px 0 var(--edge), 6px 6px 0 var(--edge);
  translate: 0 0;
  transition: translate .45s cubic-bezier(.2, 1.2, .4, 1), box-shadow .45s cubic-bezier(.2, 1.2, .4, 1);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover, .btn:focus-visible {
  translate: -3px -3px;
  box-shadow: 1.5px 1.5px 0 var(--edge), 3px 3px 0 var(--edge), 4.5px 4.5px 0 var(--edge), 6px 6px 0 var(--edge), 7.5px 7.5px 0 var(--edge), 9px 9px 0 var(--edge);
}
.btn:active {
  translate: 6px 6px;
  box-shadow: 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge);
  transition-duration: .09s;
}
.btn:focus-visible { outline-offset: 6px; }
.btn__label { position: relative; display: block; overflow: hidden; line-height: 1.3; }
.btn__roll { position: relative; display: block; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.btn__roll::after { content: attr(data-label); position: absolute; left: 0; top: 100%; width: 100%; }
.btn:hover .btn__roll, .btn:focus-visible .btn__roll { transform: translateY(-100%); }

/* On dark surfaces the default extrusion is deep teal so the depth stays visible. */
.hero, .phero, .band--dark, .ftr, .drawer, .hdr, .tile--video, .post__cta { --btn-edge: #00857E; }

.btn--ink, .btn--solid { --face: var(--abyss); --fg: var(--white); --edge: #3B5F86; }
/* Optical centring: shift the face so face + extrusion straddle the centre line. */
.center-row .btn { position: relative; left: -3px; }
.btn--ghost { --face: var(--white); --fg: var(--abyss); --edge: #5E7C9A; }

/* In the header the slab is shallower and nudged up-left so face + edge sit centred inside the bar. */
.hdr__cta { margin: -3px 5px 0 0; }
.hdr__cta .btn { min-height: 42px; padding: 0 20px; border-radius: 999px; }
.hdr__cta .btn { box-shadow: 1px 1px 0 var(--edge), 2px 2px 0 var(--edge), 3px 3px 0 var(--edge), 3px 3px 0 var(--edge), 3px 3px 0 var(--edge), 3px 3px 0 var(--edge); }
.hdr__cta .btn:hover, .hdr__cta .btn:focus-visible { translate: -1.5px -1.5px; box-shadow: 1.5px 1.5px 0 var(--edge), 3px 3px 0 var(--edge), 4.5px 4.5px 0 var(--edge), 4.5px 4.5px 0 var(--edge), 4.5px 4.5px 0 var(--edge), 4.5px 4.5px 0 var(--edge); }
.hdr__cta .btn:active { translate: 3px 3px; box-shadow: 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge), 0 0 0 var(--edge); }

@media (max-width: 560px) {
  .hero__actions, .ftr__cta-actions, .drawer__foot { flex-direction: column; align-items: stretch; width: calc(100% - 6px); gap: 16px; }
  .hero__actions .btn, .ftr__cta-actions .btn, .drawer__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover .btn__roll { transform: none; } }

.link { font-family: var(--display); font-weight: 600; color: var(--signal-ink); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.center-row { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }

/* ───────── header ───────── */
.hdr {
  position: fixed; z-index: 600; top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 20px;
  max-width: 1480px; margin-inline: auto;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgb(11 26 43 / .62); color: var(--white);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
  transition: transform .6s var(--ease), background .4s;
}
.hdr.is-hidden { transform: translateY(calc(-100% - 20px)); }
.hdr__logo img { height: 36px; width: auto; }
.hdr__nav { display: flex; gap: 4px; margin-left: auto; }
.hdr__nav a {
  position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: .98rem; color: rgb(255 255 255 / .82);
  transition: color .3s, background .3s;
}
.hdr__nav a:hover { color: var(--white); background: rgb(255 255 255 / .08); }
.hdr__nav a[aria-current='page'] { color: var(--white); background: rgb(0 230 217 / .16); }
.hdr__cta .btn { min-height: 44px; padding: 0 22px; }
.hdr__menu { display: none; margin-left: auto; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: rgb(255 255 255 / .1); color: var(--white); font-family: var(--display); font-weight: 600; cursor: pointer; }
@media (max-width: 1080px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: block; }
}
.drawer {
  position: fixed; inset: 0; z-index: 590; background: var(--abyss); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 40px; overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--display); font-weight: 700; font-stretch: 100%; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1.1; text-decoration: none; padding: 4px 0;
  color: rgb(255 255 255 / .9);
}
.drawer nav a[aria-current='page'] { color: var(--signal); }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.drawer__tel { font-family: var(--display); font-size: 1.2rem; color: var(--mist); }

/* ───────── home hero ───────── */
.hero, .phero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--abyss); overflow: hidden; }
.hero__media, .phero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media::after, .phero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(11 26 43 / .78) 0%, rgb(11 26 43 / .45) 45%, rgb(11 26 43 / .05) 80%),
    linear-gradient(180deg, rgb(11 26 43 / .55) 0%, rgb(11 26 43 / 0) 28%),
    linear-gradient(0deg, rgb(11 26 43 / .9) 0%, rgb(11 26 43 / .3) 50%, rgb(11 26 43 / 0) 80%);
}
.hero__body { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(140px, 17vh, 200px); }
.hero__h1 { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 26px); }
.hero__kw { display: flex; align-items: center; gap: 14px; font-weight: 560; font-size: clamp(.98rem, .9rem + .3vw, 1.15rem); letter-spacing: 0; line-height: 1.3; color: rgb(255 255 255 / .92); text-shadow: 0 1px 12px rgb(11 26 43 / .6); }
.hero__kw::before { content: ''; flex: none; width: 36px; height: 3px; border-radius: 3px; background: var(--signal); box-shadow: 0 0 12px rgb(0 230 217 / .7); }
.hero__line {
  display: block; font-weight: 640; font-stretch: 100%;
  font-size: clamp(2.8rem, 1rem + 5.6vw, 7.4rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 13ch;
  text-shadow: 0 2px 30px rgb(11 26 43 / .35);
}
.hero__row { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-end; justify-content: space-between; margin-top: clamp(26px, 4vw, 48px); }
.hero__lead { max-width: 46ch; font-size: clamp(1.08rem, 1rem + .35vw, 1.32rem); color: rgb(255 255 255 / .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { display: none; position: absolute; z-index: 2; right: var(--gutter); bottom: 34px; width: 2px; height: 64px; background: rgb(255 255 255 / .2); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--signal); animation: scroll-hint 2.2s var(--ease) infinite; }
@keyframes scroll-hint { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ───────── page hero ───────── */
.phero { min-height: min(88svh, 900px); }
.phero--post { min-height: 72svh; }
.phero__body { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(110px, 14vh, 170px); }
.phero--post .phero__body { padding-bottom: clamp(56px, 8vh, 90px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-family: var(--display); font-size: .95rem; color: rgb(255 255 255 / .7); }
.crumbs a { color: rgb(255 255 255 / .85); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current] { color: var(--signal); }
.crumbs__sep { opacity: .45; }
.phero__h1 { font-weight: 640; font-stretch: 100%; font-size: clamp(2.5rem, 1rem + 4.6vw, 6.2rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; }
.phero__h1--post { font-size: clamp(2rem, 1rem + 2.8vw, 4rem); max-width: 24ch; line-height: 1.06; }
.phero__lead { margin-top: 22px; max-width: 48ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); color: rgb(255 255 255 / .86); }

/* ───────── answer-first tile ───────── */
.answer { position: relative; z-index: 3; margin-top: clamp(-100px, -8vw, -60px); }
.answer__tile {
  position: relative; max-width: 980px; padding: clamp(26px, 3.4vw, 46px) clamp(26px, 4vw, 56px);
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -40px rgb(11 26 43 / .45);
}
.answer__tile::before { content: ''; position: absolute; left: 0; top: clamp(26px, 3.4vw, 46px); bottom: clamp(26px, 3.4vw, 46px); width: 4px; border-radius: 0 4px 4px 0; background: var(--signal); }
.answer__label { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--signal-ink); margin-bottom: 10px; }
.answer__text { font-size: clamp(1.12rem, 1rem + .45vw, 1.42rem); line-height: 1.55; }

/* ───────── bands & section heads ───────── */
.band { padding-block: clamp(72px, 10vw, 150px); }
.band--dark { background: var(--abyss); color: var(--white); }
.band--frost { background: var(--frost); }
.shead { max-width: 900px; margin-bottom: clamp(34px, 4.5vw, 64px); }
.shead__rule { display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--signal); margin-bottom: 22px; transform-origin: 0 50%; }
.shead__h { font-weight: 640; font-stretch: 100%; font-size: clamp(2rem, 1rem + 3vw, 4.1rem); line-height: 1.04; letter-spacing: -0.02em; }
.shead__p { margin-top: 18px; max-width: 58ch; font-size: clamp(1.08rem, 1rem + .3vw, 1.3rem); color: var(--slate); }
.shead--dark .shead__p { color: var(--mist); }
.prose-lg { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); line-height: 1.55; margin-bottom: 30px; max-width: 40ch; }

/* ───────── split text reveal ───────── */
[data-split] .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .line > span { display: inline-block; will-change: transform; }

/* ───────── bento tiles ───────── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(240px, 22vw, 330px), auto); gap: var(--gap); }
.s-3 { grid-column: span 3; } .s-4 { grid-column: span 4; } .s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; }
.s-7 { grid-column: span 7; } .s-8 { grid-column: span 8; } .s-12 { grid-column: span 12; }
.r-2 { grid-row: span 2; }
@media (max-width: 1000px) {
  .bento > * { grid-column: span 6; }
  .bento > .r-2, .bento > .s-12 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .bento > * { grid-column: span 12; grid-row: auto; }
  .bento { grid-auto-rows: auto; }
  .bento > .tile--video, .bento > .tile--photo { min-height: min(92vw, 420px); }
  .bento > .tile--map { min-height: 320px; }
  .bento > .tile--signal, .bento > .tile--ink, .bento > .tile--solid, .bento > .tile--glass { min-height: 0; }
}

.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100%; border-radius: var(--r); overflow: hidden; isolation: isolate;
  text-decoration: none; color: inherit;
}
.tile__body { position: relative; z-index: 2; padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.tile__body--top { justify-content: flex-start; height: 100%; }
.tile__h { font-weight: 620; font-stretch: 100%; font-size: clamp(1.45rem, 1rem + 1.2vw, 2.2rem); line-height: 1.08; letter-spacing: -0.015em; }
.tile__h--sm { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.08; }
.tile__p { font-size: 1.02rem; line-height: 1.5; max-width: 46ch; opacity: .88; }
.tile__p--lg { font-size: clamp(1.08rem, 1rem + .3vw, 1.26rem); max-width: 60ch; }
.tile__meta { font-family: var(--display); font-size: .88rem; font-weight: 600; color: rgb(255 255 255 / .92); }
.tile__big { font-family: var(--display); font-weight: 650; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); letter-spacing: -0.02em; opacity: 1; }
.tile__break { overflow-wrap: anywhere; font-family: var(--display); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); }

.tile--video { background: var(--navy); color: var(--white); }
.tile__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.tile__media .vid { transform: scale(1.08); transition: transform 1.4s var(--ease), filter .8s var(--ease); filter: saturate(.9) brightness(.92); }
.tile--video::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgb(11 26 43 / .9) 0%, rgb(11 26 43 / .35) 48%, rgb(11 26 43 / 0) 78%);
}
a.tile--video:hover .vid, a.tile--video:focus-visible .vid { transform: scale(1.0); filter: saturate(1.05) brightness(1); }
a.tile .tile__body { transition: transform .7s var(--ease); }
a.tile:hover .tile__body { transform: translateY(-6px); }
a.tile--video .tile__p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s; }
a.tile--video:hover .tile__p, a.tile--video:focus-visible .tile__p { max-height: 8em; opacity: .9; }
@media (hover: none) { a.tile--video .tile__p { max-height: none; opacity: .9; } }

.tile--solid { background: var(--white); color: var(--abyss); box-shadow: inset 0 0 0 1px rgb(11 26 43 / .06); }
.tile--solid .tile__p { color: var(--slate); opacity: 1; }
.tile--ink { background: var(--navy); color: var(--white); }
.tile--signal { background: var(--signal); color: var(--abyss); }
.tile--signal .tile__p { opacity: .82; }
.tile--glass { background: rgb(255 255 255 / .06); color: var(--white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.tile--alert { background: #FBEBDF; color: var(--abyss); box-shadow: inset 0 0 0 1.5px rgb(219 133 79 / .6); }
.bento > .tile--alert { min-height: 0; }
.tile--alert .tile__h { color: #7A3710; }
.tile--photo { margin: 0; background: var(--navy); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo img[data-parallax] { height: 120%; top: -10%; }
.tile--map { background: var(--frost); }
.tile--map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.7) contrast(1.05); }
a.tile--solid:hover, a.tile--ink:hover, a.tile--glass:hover { box-shadow: inset 0 0 0 2px var(--signal); }
.tile [data-parallax] { inset: -10% 0; height: auto; }

/* ───────── horizontal disciplines ───────── */
.hscroll { overflow: hidden; }
.hscroll__track { display: flex; gap: var(--gap); padding-inline: var(--gutter); width: max-content; }
.htile {
  position: relative; flex: none; width: min(62vw, 760px); height: min(72vh, 680px);
  border-radius: var(--r-lg); overflow: hidden; color: var(--white); text-decoration: none; background: var(--navy);
  display: flex; align-items: flex-end;
}
.htile--lead { width: min(82vw, 1040px); }
.htile__media { position: absolute; inset: 0; }
.htile__media .vid { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.htile:hover .vid { transform: scale(1.02); }
.htile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 26 43 / .88), rgb(11 26 43 / .1) 60%); }
.htile__body { position: relative; z-index: 2; padding: clamp(26px, 3.4vw, 52px); max-width: 640px; }
.htile__tag { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1rem; color: rgb(255 255 255 / .92); margin-bottom: 12px; }
.htile__tag::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--signal); box-shadow: 0 0 10px rgb(0 230 217 / .7); }
.htile__h { font-weight: 660; font-stretch: 100%; font-size: clamp(2.4rem, 1rem + 3.8vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; }
.htile__p { margin-top: 14px; font-size: clamp(1.02rem, 1rem + .3vw, 1.25rem); color: rgb(255 255 255 / .86); max-width: 44ch; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hscroll::-webkit-scrollbar { display: none; }
  .htile { scroll-snap-align: center; width: 82vw; height: 70svh; }
  .htile--lead { width: 88vw; }
}

/* ───────── journey (sticky video with steps) ───────── */
.journey__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.journey__stage { position: sticky; top: 12vh; height: 76vh; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.journey__frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.journey__frame.is-on { opacity: 1; transform: scale(1); }
.journey__rail { position: absolute; z-index: 2; left: 22px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: rgb(255 255 255 / .25); overflow: hidden; }
.journey__rail span { position: absolute; inset: 0; background: var(--signal); transform-origin: 50% 0; transform: scaleY(0); }
.jstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.jstep.is-on, html:not(.js) .jstep { opacity: 1; }
.jstep__h { font-weight: 640; font-stretch: 100%; font-size: clamp(2rem, 1rem + 2.6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.02em; }
.jstep__p { margin-top: 18px; max-width: 40ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.36rem); color: var(--slate); }
.journey__cta { padding: 20px 0 10vh; }
.jstep__media { display: none; }
@media (max-width: 900px) {
  /* Phones: no sticky stage — each step is its own video tile. */
  .journey__grid { grid-template-columns: 1fr; }
  .journey__stage { display: none; }
  .journey__steps { display: flex; flex-direction: column; gap: var(--gap); }
  .jstep { min-height: 0; opacity: 1; position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy); color: var(--white); justify-content: flex-end; aspect-ratio: 4 / 5; max-height: 78svh; }
  .jstep__media { display: block; position: absolute; inset: 0; }
  .jstep::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 26 43 / .92) 0%, rgb(11 26 43 / .35) 55%, rgb(11 26 43 / 0) 85%); }
  .jstep__text { position: relative; z-index: 2; padding: 24px; }
  .jstep__p { color: rgb(255 255 255 / .86); }
  .journey__cta { padding: 16px 0 0; }
}

/* ───────── people ───────── */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.pgrid--staff { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ptile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--navy); color: var(--white); text-decoration: none; }
.ptile--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.04); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.ptile:hover img, .ptile:focus-visible img { filter: grayscale(0); transform: scale(1); }
.ptile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 26 43 / .85), rgb(11 26 43 / 0) 50%); }
.ptile__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(16px, 1.8vw, 26px); }
.ptile__name { font-family: var(--display); font-weight: 680; font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.ptile--big .ptile__name { font-size: clamp(1.6rem, 1rem + 1.5vw, 2.6rem); }
.ptile__role { font-family: var(--display); font-size: .92rem; color: rgb(255 255 255 / .85); margin-top: 4px; line-height: 1.3; }
.ptile--static .ptile__role { color: var(--mist); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid--staff { grid-template-columns: 1fr 1fr; } .pgrid--staff > :last-child { grid-column: span 2; aspect-ratio: 16 / 11; } }

.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--gap); }
.pcard { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.pcard__photo { aspect-ratio: 1 / 1; overflow: hidden; }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__photo img { transform: scale(1.05); }
.pcard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pcard__name { font-size: clamp(1.4rem, 1rem + .8vw, 1.9rem); letter-spacing: -0.015em; }
.pcard__creds { font-family: var(--display); font-size: .92rem; color: var(--signal-ink); line-height: 1.35; }
.pcard__line { color: var(--slate); }

.profiles { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 140px); }
.profile { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 90px); align-items: center; scroll-margin-top: 110px; }
.profile:nth-child(even) .profile__photo { order: 2; }
.profile__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.profile__photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.profile__body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.profile__role a { font-family: var(--display); font-weight: 600; color: var(--signal-ink); text-decoration: none; }
.profile__role a:hover { text-decoration: underline; }
.profile__name { font-weight: 640; font-stretch: 100%; font-size: clamp(2.2rem, 1rem + 3vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; }
.profile__creds { font-family: var(--display); color: var(--slate); font-size: 1rem; }
.profile__bio { max-width: 60ch; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile:nth-child(even) .profile__photo { order: 0; }
  .profile__photo { aspect-ratio: 1 / 1; }
}

/* ───────── chips ───────── */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 14px 24px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .22);
  font-family: var(--display); font-weight: 560; font-size: clamp(1.05rem, 1rem + .7vw, 1.7rem); letter-spacing: -0.015em;
  transition: background .4s, color .4s, box-shadow .4s;
}
.chip:hover { background: var(--signal); color: var(--abyss); box-shadow: none; }
.chips--light .chip { font-size: 1rem; padding: 9px 16px; box-shadow: inset 0 0 0 1.5px rgb(11 26 43 / .16); }
.chips--light .chip:hover { box-shadow: none; }

/* ───────── split (text + media) ───────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.split__inner { position: absolute; inset: -12% 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { aspect-ratio: 4 / 3; } }

/* ───────── reviews marquee ───────── */
.reviews { overflow: hidden; }
.marquee { overflow: hidden; margin-top: var(--gap); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee--right .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; gap: var(--gap); padding-right: var(--gap); }
@keyframes marquee { to { transform: translateX(-50%); } }
.rtile {
  margin: 0; width: min(78vw, 460px); padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r);
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.rtile blockquote { margin: 0; }
.rtile blockquote p { font-size: clamp(1.08rem, 1rem + .3vw, 1.28rem); line-height: 1.5; font-style: italic; }
.rtile figcaption { display: flex; flex-direction: column; font-family: var(--display); }
.rtile__name { font-weight: 650; }
.rtile__about { color: var(--signal); font-size: .9rem; }

/* ───────── FAQ: sticky intro + ruled list ───────── */
.faqsec__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.faqsec__intro { position: sticky; top: 110px; }
.faqsec__intro .shead { margin-bottom: 30px; }
.faqsec__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.faqsec__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 26 43 / .35), rgb(11 26 43 / 0) 60%); }
.faqsec__cta { margin-top: 30px; }
@media (max-width: 900px) {
  .faqsec__grid { grid-template-columns: 1fr; }
  .faqsec__intro { position: static; }
  .faqsec__media { aspect-ratio: 16 / 9; }
  .faqsec__cta { display: none; }   /* on phones the CTA follows the list instead */
  .faqsec .faqs::after { content: none; }
}

.faqs { --line: rgb(11 26 43 / .14); --q: var(--abyss); --a: var(--slate); --on: var(--signal-ink); border-bottom: 1px solid var(--line); }
.band--dark .faqs { --line: rgb(255 255 255 / .14); --q: var(--white); --a: var(--mist); --on: var(--signal); }
.faq { border-top: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.6vw, 34px) 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q {
  color: var(--q); font-weight: 560; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.18; letter-spacing: -0.015em;
  transition: color .4s var(--ease), transform .6s var(--ease);
}
.faq summary:hover .faq__q { transform: translateX(10px); }
.faq[open] .faq__q { color: var(--on); transform: none; }
.faq__rule { flex: none; width: 22px; height: 2px; border-radius: 2px; background: var(--q); opacity: .45; transition: width .6s var(--ease), background .4s, opacity .4s; }
.faq summary:hover .faq__rule { width: 40px; opacity: .9; }
.faq[open] .faq__rule { width: 64px; background: var(--on); opacity: 1; }
.faq__a { padding: 0 0 clamp(26px, 3vw, 38px); color: var(--a); max-width: 62ch; font-size: clamp(1.08rem, 1rem + .3vw, 1.26rem); line-height: 1.6; }
.faq summary:focus-visible { outline-offset: 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  border: 0; cursor: pointer; padding: 10px 18px; border-radius: 10px; color: var(--abyss);
  font-family: var(--display); font-weight: 600; background: var(--white);
  box-shadow: 1px 1px 0 var(--abyss), 2px 2px 0 var(--abyss), 3px 3px 0 var(--abyss), 4px 4px 0 var(--abyss);
  transition: translate .35s cubic-bezier(.2, 1.2, .4, 1), box-shadow .35s cubic-bezier(.2, 1.2, .4, 1), background .3s;
}
.filter:hover { translate: -2px -2px; box-shadow: 1.5px 1.5px 0 var(--abyss), 3px 3px 0 var(--abyss), 4.5px 4.5px 0 var(--abyss), 6px 6px 0 var(--abyss); }
.filter[aria-pressed='true'] { translate: 4px 4px; background: var(--signal); box-shadow: 0 0 0 var(--abyss), 0 0 0 var(--abyss), 0 0 0 var(--abyss), 0 0 0 var(--abyss); }
.filters { gap: 14px; }
[data-filter-grid] [hidden] { display: none; }

/* ───────── visit: map + composed panel ───────── */
.visit__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: stretch; }
.visit__map { position: relative; min-height: 620px; border-radius: var(--r-lg); overflow: hidden; background: var(--frost); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) brightness(1.03); }
.visit__card {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 420px;
  display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 18px; text-decoration: none;
  background: rgb(11 26 43 / .82); color: var(--white);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 50px -20px rgb(11 26 43 / .6);
  transition: translate .5s var(--ease);
}
.visit__card:hover { translate: 0 -4px; }
.visit__card-name { font-family: var(--display); font-weight: 650; font-size: 1.15rem; }
.visit__card-addr { color: var(--mist); font-size: 1rem; }
.visit__card-link { margin-top: 8px; font-family: var(--display); font-weight: 600; color: var(--signal); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.visit__panel { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 44px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px rgb(11 26 43 / .06); }
.visit__status { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 620; font-size: clamp(1.3rem, 1rem + .8vw, 1.7rem); letter-spacing: -0.015em; }
.visit__status::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--slate); }
.visit__status.is-open::before { background: #12B886; box-shadow: 0 0 0 5px rgb(18 184 134 / .18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgb(18 184 134 / 0); } }

.hours { margin: 18px 0 0; display: flex; flex-direction: column; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgb(11 26 43 / .07); font-family: var(--display); font-size: .98rem; }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 500; color: var(--slate); }
.hours dd { margin: 0; color: var(--slate); }
.hours .is-today { margin: 0 -12px; padding: 9px 12px; border-radius: 10px; background: rgb(0 230 217 / .14); border-bottom-color: transparent; }
.hours .is-today dt, .hours .is-today dd { color: var(--abyss); font-weight: 650; }

.visit__rows { margin-top: 26px; border-top: 1px solid rgb(11 26 43 / .14); }
.vrow { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid rgb(11 26 43 / .14); text-decoration: none; }
.vrow__h { font-family: var(--display); font-weight: 620; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); letter-spacing: -0.015em; transition: transform .6s var(--ease), color .3s; }
.vrow__p { color: var(--slate); font-size: 1rem; text-align: right; }
.vrow__rule { align-self: center; width: 18px; height: 2px; border-radius: 2px; background: var(--abyss); opacity: .4; transition: width .6s var(--ease), background .3s, opacity .3s; }
.vrow:hover .vrow__h { transform: translateX(8px); color: var(--signal-ink); }
.vrow:hover .vrow__rule { width: 40px; background: var(--signal-ink); opacity: 1; }
.visit__cta { margin-top: auto; padding-top: 28px; }
.visit__cta .btn { width: calc(100% - 6px); }

@media (max-width: 960px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 380px; }
}
@media (max-width: 480px) {
  .vrow { grid-template-columns: 1fr auto; }
  .vrow__p { grid-column: 1; grid-row: 2; text-align: left; }
  .vrow__rule { grid-row: 1 / span 2; }
}

/* ───────── first-visit flow ───────── */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.flow__line { position: absolute; left: 0; right: 0; height: 2px; background: var(--signal); transform-origin: 0 50%; z-index: 0; }
.flow__step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.flow__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--navy); }
.flow__body { display: flex; flex-direction: column; gap: 8px; }
.flow__body .tile__p { color: var(--slate); opacity: 1; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow__media { aspect-ratio: 16 / 10; } }

/* ───────── article ───────── */
.post__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 36px; font-family: var(--display); color: var(--slate); }
.byline { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.byline > span { display: flex; flex-direction: column; line-height: 1.25; }
.byline__name { font-weight: 650; color: var(--abyss); }
.byline__role { font-size: .9rem; }
.post__dek { margin-top: 34px; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); line-height: 1.45; font-style: italic; }
.prose { padding-top: 26px; padding-bottom: 60px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.1em; font-weight: 700; font-stretch: 100%; font-size: clamp(1.7rem, 1rem + 1.6vw, 2.5rem); letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.8em; font-weight: 650; font-size: clamp(1.3rem, 1rem + .7vw, 1.6rem); }
.prose p, .prose li { font-size: clamp(1.1rem, 1rem + .3vw, 1.26rem); line-height: 1.7; }
.prose a { color: var(--signal-ink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-top: .55em; }
.prose li::before { content: ''; position: absolute; left: 0; top: .82em; width: 12px; height: 2px; background: var(--signal-ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--signal); font-style: italic; }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--display); font-size: .98rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgb(11 26 43 / .12); }
.prose hr { border: 0; height: 1px; background: rgb(11 26 43 / .12); margin: 2.4em 0; }
.post__cta { padding-bottom: clamp(60px, 8vw, 110px); }
.post__cta .tile { min-height: 380px; }
.post__cta .tile__body { gap: 14px; }

/* ───────── footer ───────── */
.ftr { background: var(--abyss); color: var(--white); padding-top: clamp(48px, 6vw, 90px); overflow: hidden; }
.ftr__cta-tile { position: relative; min-height: clamp(420px, 60vh, 640px); border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; background: var(--navy); }
.ftr__cta-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 26 43 / .9), rgb(11 26 43 / .25) 70%); }
.ftr__cta-body { position: relative; z-index: 2; padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.ftr__big { font-family: var(--display); font-weight: 640; font-stretch: 100%; font-size: clamp(2.4rem, 1rem + 4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 13ch; }
.ftr__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: clamp(56px, 7vw, 100px); }
.ftr__col { display: flex; flex-direction: column; gap: 10px; font-family: var(--display); }
.ftr__col a { color: rgb(255 255 255 / .78); text-decoration: none; width: fit-content; }
.ftr__col a:hover { color: var(--signal); }
.ftr__col img { height: 48px; width: auto; }
.ftr__col address { font-style: normal; color: rgb(255 255 255 / .78); line-height: 1.5; margin-top: 8px; }
.ftr__h { font-weight: 650; color: var(--signal); margin-bottom: 4px; }
.ftr__word { display: flex; justify-content: space-between; padding-inline: var(--gutter); margin-top: clamp(40px, 6vw, 90px); font-family: var(--display); font-weight: 800; font-stretch: 100%; font-size: clamp(6rem, 31vw, 36rem); line-height: .78; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgb(0 230 217 / .35); user-select: none; }
.ftr__word span { display: inline-block; }
.ftr__legal { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; gap: 20px 32px; padding-block: 28px 36px; font-family: var(--display); font-size: .88rem; line-height: 1.6; color: var(--mist); border-top: 1px solid rgb(255 255 255 / .08); }
.ftr__legal > span { min-width: 0; overflow-wrap: anywhere; }
.ftr__legal > span:nth-child(2) { text-align: center; }
.ftr__legal > span:nth-child(3) { text-align: right; }
.ftr__legal > span:last-child { grid-column: 1 / -1; justify-self: center; max-width: 80ch; text-align: center; }
@media (max-width: 900px) {
  .ftr__legal { grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: center; }
  .ftr__legal > span:nth-child(3) { text-align: center; }
}
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__col--nap { grid-column: span 2; } }

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee { overflow-x: auto; mask-image: none; }
  .marquee__track { animation: none; }
  .marquee__set[aria-hidden] { display: none; }
}
