/* Kelso Industries concept "Sheet Set". Research: assets/source/02-maxi-mobbin-research.md. Tokens: concept/DESIGN.md. */
:root {
  --navy: #0C1C40;
  --navy-2: #12285A;
  --blue: #1C56A5;
  --blue-deep: #143F7A;
  --blue-light: #7FB0F0;
  --ink: #0C1C40;
  --gray: #545961;
  --steel: #8C9FAF;
  --line: #D7DCE3;
  --line-dark: rgba(255,255,255,.18);
  --mist: #F3F5F8;
  --white: #FFFFFF;

  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --shell: 1720px;
  --gutter: clamp(20px, 4vw, 64px);
  --edge: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  --ease: cubic-bezier(.16,1,.3,1);

  --h1: clamp(2.7rem, 1.3rem + 4.4vw, 8rem);
  --h2: clamp(2.1rem, 1.2rem + 2.5vw, 4.3rem);
  --h2m: clamp(1.7rem, 1.1rem + 1.45vw, 2.8rem);
  --body: clamp(1rem, .96rem + .18vw, 1.125rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
::selection { background: var(--blue); color: var(--white); }
input, textarea { caret-color: var(--blue); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--body)/1.65 var(--text); overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--white); color: var(--navy); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.h2 { font-family: var(--display); font-weight: 760; font-size: var(--h2); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.h2--m { font-size: var(--h2m); line-height: 1.06; letter-spacing: -.022em; }
.split-line { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }

/* + registration marks (the plus of MEP+), only at frame corners */
.reg { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 3; color: var(--blue); }
.reg::before, .reg::after { content: ""; position: absolute; background: currentColor; }
.reg::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.reg::after { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%); }
.reg--tl { left: -11px; top: -11px; } .reg--tr { right: -11px; top: -11px; }
.reg--bl { left: -11px; bottom: -11px; } .reg--br { right: -11px; bottom: -11px; }

/* buttons: square, label + drawn arrow */
.btn { --bg: var(--blue); --fg: var(--white); display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; padding: 0 20px 0 24px; background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 500; font-size: 1rem; border: 1.5px solid var(--bg); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--blue:hover { --bg: var(--blue-deep); }
.btn--white { --bg: var(--white); --fg: var(--navy); }
.btn--white:hover { --bg: #E3ECF8; }
.btn--line { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--line:hover { --bg: var(--navy); --fg: var(--white); }
.btn i, .tlink i, .path__go i, .menu__row i { position: relative; display: inline-block; width: 18px; height: 12px; flex: none; transition: transform .35s var(--ease); }
.btn i::before, .tlink i::before, .path__go i::before, .menu__row i::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.btn i::after, .tlink i::after, .path__go i::after, .menu__row i::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover i, .tlink:hover i, .path:hover .path__go i, .menu__row:hover i, .menu__row:focus-visible i { transform: translateX(5px); }
.tlink { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: .9375rem; letter-spacing: .02em; text-decoration: none; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.tlink:hover { background-size: calc(100% - 30px) 1.5px; }
.tlink--light { color: var(--blue-light); }

/* ---------- intro loader (Codrops Spitzer / 1820; 21st counter) ---------- */
.intro { display: none; }
.is-intro .intro { display: grid; position: fixed; inset: 0; z-index: 150; place-items: center; pointer-events: none; }
.intro__panel { position: absolute; inset: 0; background: var(--navy); display: grid; place-items: center; align-content: center; gap: 28px; clip-path: inset(0 0 0 0); }
.intro__mark { width: min(300px, 60vw); height: auto; }
.intro__count { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 9rem); line-height: .9; letter-spacing: -.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.intro__rule { width: min(300px, 60vw); height: 2px; background: rgba(255,255,255,.2); position: relative; }
.intro__rule i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue-light); }
.is-intro .hero__film { clip-path: inset(30% 34% 30% 34%); }
.is-intro .hero__main, .is-intro .hero__foot, .is-intro .bar { visibility: hidden; }

/* page-leave wipe (Codrops Image Tiles: carry into the next view) */
.leave { position: fixed; inset: 0; z-index: 160; background: var(--navy); display: grid; place-items: center; clip-path: inset(100% 0 0 0); pointer-events: none; }
.leave img { width: min(280px, 56vw); height: auto; opacity: 0; }

/* ---------- header: inset bar that morphs to a pill (Suffolk) ---------- */
.bar { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.bar__in { pointer-events: auto; position: relative; margin-inline: auto; width: calc(100% - 2 * var(--gutter) + 32px); max-width: calc(var(--shell) - 2 * var(--gutter) + 32px); height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 12px 0 8px; color: var(--white); background: rgba(12,28,64,0); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); transition: background-color .5s var(--ease), border-color .5s, backdrop-filter .5s; }
.bar.is-solid .bar__in { background: rgba(12,28,64,.84); border-color: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bar__left, .bar__right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.bar__right { justify-content: flex-end; }
.bar__logo { justify-self: center; display: block; height: 46px; }
.bar__logo img { height: 46px; width: auto; }
.bar__logo .logo-color { display: none; }
.nav__list { display: flex; gap: 2px; }
.nav, .nav__list--right { transition: opacity .35s var(--ease), visibility 0s; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 13px; font-size: 1.0625rem; font-weight: 500; text-decoration: none; color: inherit; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 13px calc(100% - 10px) / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"] { background-size: calc(100% - 26px) 1.5px; }
.chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.nav__link[aria-expanded="true"] .chev { transform: translateY(1px) rotate(225deg); }
.drop { position: absolute; left: 0; top: calc(100% + 18px); min-width: 260px; background: var(--white); color: var(--navy); border: 1px solid var(--line); padding: 10px 0; display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; box-shadow: 0 18px 40px rgba(12,28,64,.14); }
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop a { text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.drop--mega, .drop--about { display: grid; gap: 0 28px; padding: 26px 26px 26px 30px; align-items: start; }
.drop--mega { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 230px; width: min(820px, calc(100vw - 2 * var(--gutter))); }
.drop--about { grid-template-columns: minmax(0, 1fr) 210px; width: 520px; }
.drop__col { display: grid; align-content: start; }
.drop__head { display: flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--navy); border-bottom: 1px solid var(--line); }
.drop__head--gap { margin-top: 18px; }
.drop__head--row { font-size: 1.1rem; }
.drop__sub { display: flex; align-items: center; min-height: 36px; font-size: .9688rem; color: var(--gray); }
.drop a:hover, .drop a:focus-visible { color: var(--blue); padding-left: 6px; }
.drop__img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.bar__cta { min-height: 52px; }
.menu-btn { display: none; align-items: center; gap: 12px; height: 52px; padding: 0 16px 0 14px; font-weight: 600; font-size: 1rem; flex: none; }
.menu-btn__icon { position: relative; width: 24px; height: 14px; }
.menu-btn__icon i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), width .3s; }
.menu-btn__icon i:first-child { top: 2px; } .menu-btn__icon i:last-child { top: 10px; width: 70%; }
.menu-btn:hover .menu-btn__icon i:last-child { width: 100%; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i { width: 100%; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 6px; transform: rotate(-45deg); }
.bar.menu-open .bar__in { background: transparent; border-color: rgba(255,255,255,.18); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar.menu-open .nav, .bar.menu-open .nav__list--right { opacity: 0; visibility: hidden; }

/* ---------- phone menu: the same folders as accordions ---------- */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--navy); color: var(--white); padding: calc(16px + 64px + 24px) var(--gutter) 32px; overflow-y: auto; clip-path: inset(0 0 0 0); }
.menu__body { display: grid; align-content: start; }
.menu__folder { border-bottom: 1px solid var(--line-dark); }
.menu__folder summary, .menu__link { display: flex; align-items: center; justify-content: space-between; min-height: 64px; list-style: none; cursor: pointer; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; }
.menu__folder summary::-webkit-details-marker { display: none; }
.menu__folder[open] .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.menu__link { border-bottom: 1px solid var(--line-dark); }
.menu__sub { display: grid; padding: 0 0 18px 2px; }
.menu__sub a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: rgba(255,255,255,.82); font-size: 1rem; }
.menu__sub .menu__subhead { color: var(--white); font-weight: 600; font-size: 1.0625rem; margin-top: 6px; }
.menu__cta { margin-top: 28px; width: 100%; }
.menu__foot { color: rgba(255,255,255,.7); font-size: .9375rem; margin-top: 24px; }
.menu__foot .mono { color: var(--blue-light); margin-right: 8px; }

/* ---------- hero (Suffolk + Waabi): full-bleed film, dither fade, headline bottom-left ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__film { position: absolute; inset: 0; z-index: -3; background: var(--navy) url(../media/hero-poster.webp) center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__dither { position: absolute; inset: 0; z-index: -2; -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.9) 30%, rgba(0,0,0,.35) 58%, transparent 78%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.9) 30%, rgba(0,0,0,.35) 58%, transparent 78%); }
.hero__dither canvas { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__dither.is-live canvas { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12,28,64,.92) 0%, rgba(12,28,64,.62) 34%, rgba(12,28,64,.1) 62%, rgba(12,28,64,.35) 100%); }
.hero__main { align-self: end; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px clamp(32px, 4vw, 80px); align-items: end; padding-top: calc(16px + 72px + 48px); padding-bottom: clamp(28px, 4vh, 48px); }
.hero__title { font-family: var(--display); font-weight: 780; font-size: var(--h1); line-height: .94; letter-spacing: -.035em; text-wrap: balance; max-width: 17ch; }
.hl { color: var(--blue-light); }
.hero__side { display: grid; gap: 24px; padding-bottom: .5em; }
.hero__lede { color: rgba(255,255,255,.9); font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border-top: 1px solid var(--line-dark); }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: clamp(80px, 10.5vh, 108px); padding: 0 clamp(16px, 2vw, 32px); text-decoration: none; border-left: 1px solid var(--line-dark); transition: background-color .3s var(--ease); }
.path:first-child { border-left: 0; padding-left: 0; }
.path:hover { background: rgba(255,255,255,.06); }
.path__who { font-family: var(--display); font-weight: 680; font-size: clamp(1.1rem, .9rem + .6vw, 1.5rem); line-height: 1.12; letter-spacing: -.015em; }
.path__go { display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 500; color: var(--blue-light); white-space: nowrap; }
.hero__meta { display: flex; align-items: center; gap: 16px; padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line-dark); color: rgba(255,255,255,.75); }
.film-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); color: var(--white); transition: background-color .2s; }
.film-toggle:hover { background: rgba(255,255,255,.12); }
.film-toggle__icon { width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.film-toggle[aria-pressed="true"] .film-toggle__icon { width: 0; height: 0; border-left: 12px solid currentColor; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- values "at a glance" grid (Suffolk) ---------- */
.values { padding-block: clamp(96px, 13vh, 160px); }
.split-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vh, 64px); }
.split-head__link { justify-self: end; }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.glance__cell { position: relative; aspect-ratio: 1 / .82; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.glance__cell--word { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 32px); }
.glance__cell--word .mono { color: var(--blue); }
.glance__word { font-family: var(--display); font-weight: 760; font-size: min(4rem, 12.5cqw); line-height: .95; letter-spacing: -.035em; }
.glance__cell--img { padding: 10px; }
.glance__cell--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.glance__cell--img:hover img { transform: scale(1.03); }

/* ---------- roster (signature: 21st Wheel Carousel + Camron + Mobbin index) ---------- */
.roster { padding-block: clamp(96px, 13vh, 160px) 0; background: var(--mist); }
.roster__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: 32px; }
.roster__intro { display: grid; gap: 18px; color: var(--gray); }
.chips-wrap { margin-bottom: clamp(24px, 3vh, 40px); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-width: 52px; height: 44px; padding: 0 14px; border: 1px solid #C3CAD5; font-family: var(--mono); font-weight: 500; font-size: .8125rem; letter-spacing: .04em; color: var(--navy); background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.roster__stage { display: none; }
.rail { padding-bottom: clamp(96px, 13vh, 160px); }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 68vw, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding-inline: var(--edge); padding-bottom: 8px; scrollbar-width: none; cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rcard { scroll-snap-align: start; display: grid; align-content: start; gap: 6px; border-top: 1px solid #C3CAD5; padding-top: 14px; }
.rcard__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); margin-bottom: 12px; }
.rcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.rcard:hover .rcard__photo img { transform: scale(1.03); }
.rcard__logo { height: 44px; width: auto; max-width: 70%; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.rcard__name { font-family: var(--display); font-weight: 720; font-size: 1.4rem; line-height: 1.1; letter-spacing: -.02em; }
.rcard__leader { color: var(--gray); font-size: .9375rem; line-height: 1.5; }
.rcard__city { color: var(--blue); }
.card__title span { display: block; }
.rail__ctrl { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; margin-top: 28px; }
.rail__bar { height: 2px; background: #C3CAD5; position: relative; margin-right: 18px; }
.rail__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 10%; background: var(--blue); transition: width .2s; }
.arrow { width: 52px; height: 52px; border: 1.5px solid var(--navy); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.arrow:hover { background: var(--navy); color: var(--white); }
.arrow i { position: relative; width: 18px; height: 12px; transform: rotate(180deg); }
.arrow--next i { transform: none; }
.arrow i::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; background: currentColor; }
.arrow i::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }

.is-drum .rail { display: none; }
.is-drum .roster__stage { display: block; height: 100svh; padding-top: calc(16px + 72px); }
.roster__grid { height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 56px); align-items: center; padding-block: clamp(20px, 3vh, 40px); }
.drum { position: relative; height: min(76vh, 720px); overflow: hidden; perspective: 900px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.drum__line { position: absolute; left: 0; right: 0; top: 50%; height: var(--row, 76px); transform: translateY(-50%); border-top: 1px solid #C3CAD5; border-bottom: 1px solid #C3CAD5; pointer-events: none; }
.drum__list { position: absolute; left: 0; right: 0; top: 50%; transform-style: preserve-3d; }
.drum__item { position: absolute; left: 0; right: 0; top: 0; height: var(--row, 76px); margin-top: calc(var(--row, 76px) / -2); transform-origin: 0 50% -160px; will-change: transform, opacity; }
.drum__btn { display: flex; align-items: center; gap: 18px; width: 100%; height: 100%; padding-left: 8px; text-align: left; color: #6F7A8E; transition: color .3s; }
.drum__btn .mono { width: 2.4em; flex: none; }
.drum__name { font-family: var(--display); font-weight: 760; font-size: clamp(1.8rem, .9rem + 1.8vw, 3.2rem); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.03em; }
.drum__item.is-on .drum__btn { color: var(--navy); }
.drum__item.is-on .mono { color: var(--blue); }
.drum__item.is-dim .drum__btn { color: #B9C1CD; }
.drum__btn:hover { color: var(--blue); }
.frame { position: relative; aspect-ratio: 4 / 5; max-height: min(76vh, 720px); width: 100%; justify-self: center; background: var(--line); }
.frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; clip-path: inset(100% 0 0 0); }
.frame__img.is-on { clip-path: inset(0 0 0 0); z-index: 2; }
.frame__img.was-on { clip-path: inset(0 0 0 0); z-index: 1; }
.cards { position: relative; align-self: stretch; display: grid; align-content: center; }
.cards__count { color: var(--gray); margin-bottom: 28px; }
.cards__count span { color: var(--blue); }
.card { display: grid; gap: 6px; align-content: start; }
.card__logo { height: 64px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.card__name { font-family: var(--display); font-weight: 740; font-size: clamp(1.5rem, 1rem + 1vw, 2.1rem); line-height: 1.05; letter-spacing: -.025em; }
.card__leader { font-weight: 600; margin-top: 12px; }
.card__title { color: var(--gray); font-size: .9375rem; line-height: 1.5; }
.card__city { color: var(--blue); margin: 12px 0 8px; }

/* ---------- MEP+ systems: collapsing panels (21st Collapsing Cards Accordion + Owiu) ---------- */
.systems { padding-block: clamp(96px, 13vh, 160px); background: var(--navy); color: var(--white); }
.panels { display: flex; gap: 10px; height: clamp(460px, 68vh, 680px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--navy-2); transition: flex-grow .8s var(--ease); }
.panel.is-open { flex-grow: 3.4; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.panel.is-open img { transform: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,28,64,.45), rgba(12,28,64,.25) 40%, rgba(12,28,64,.92)); pointer-events: none; }
.panel:not(.is-open)::after { background: rgba(12,28,64,.62); }
.panel__tab { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 22px; text-align: left; color: var(--white); }
.panel__tab .mono { color: var(--blue-light); }
.panel__name { font-family: var(--display); font-weight: 720; font-size: clamp(1.3rem, 1rem + .8vw, 2rem); letter-spacing: -.02em; line-height: 1; writing-mode: vertical-rl; transform: rotate(180deg); transition: opacity .3s; }
.panel.is-open .panel__tab { pointer-events: none; }
.panel.is-open .panel__name { opacity: 0; }
.panel__body { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 40px); display: grid; gap: 12px; max-width: 40em; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.panel.is-open .panel__body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.panel__title { font-family: var(--display); font-weight: 760; font-size: clamp(1.8rem, 1.1rem + 1.6vw, 3.2rem); line-height: 1; letter-spacing: -.03em; }
.panel__body p { color: rgba(255,255,255,.9); }

/* ---------- markets: full-bleed photo + accordion (YLLW) ---------- */
.markets { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.markets__media { position: absolute; inset: 0; z-index: -2; }
.markets__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.markets__media img.is-on { opacity: 1; transform: none; }
.markets::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,28,64,.12) 0%, rgba(12,28,64,.3) 42%, rgba(12,28,64,.9) 62%, rgba(12,28,64,.95) 100%); }
.markets__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-block: clamp(96px, 13vh, 160px); }
.markets__panel { grid-column: 2; display: grid; gap: 28px; }
.acc { border-top: 1px solid var(--line-dark); }
.acc details { border-bottom: 1px solid var(--line-dark); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 1rem + .9vw, 2rem); letter-spacing: -.02em; transition: color .2s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--blue-light); }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; background: var(--blue-light); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pm::before { width: 16px; height: 1.5px; } .pm::after { width: 1.5px; height: 16px; transition: transform .3s var(--ease); }
.acc details[open] .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.acc details p { padding: 0 0 26px; color: rgba(255,255,255,.88); max-width: 38em; }
.markets .tlink { color: var(--blue-light); }

/* ---------- owners: film + ruled pillars (Suffolk "How we build") ---------- */
.owners { padding-block: clamp(96px, 13vh, 160px); }
.owners__grid { display: grid; grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.owners__film { position: sticky; top: calc(16px + 72px + 32px); aspect-ratio: 4 / 5; max-height: calc(100svh - 160px); width: 100%; background: var(--line); }
.owners__film video { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.owners__body { display: grid; gap: 28px; }
.owners__lede { color: var(--gray); max-width: 36em; }
.pillars { border-top: 1.5px solid var(--navy); }
.pillars li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px 32px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.pillars h3 { font-family: var(--display); font-weight: 720; font-size: clamp(1.15rem, 1rem + .45vw, 1.45rem); line-height: 1.15; letter-spacing: -.015em; }
.pillars p { color: var(--gray); font-size: .96875rem; }
.owners__note { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); line-height: 1.3; letter-spacing: -.015em; color: var(--blue); max-width: 30em; }
.owners__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact (YLLW giant fitted heading + form) ---------- */
.contact { padding-block: clamp(80px, 11vh, 140px); background: var(--blue); color: var(--white); }
.contact__title { font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -.045em; white-space: nowrap; font-size: 9vw; padding-bottom: .1em; margin-bottom: clamp(32px, 5vh, 64px); border-bottom: 1px solid rgba(255,255,255,.35); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); }
.contact__info { display: grid; align-content: start; gap: 22px; }
.contact__lede { font-size: 1.25rem; font-family: var(--display); font-weight: 600; }
.contact__addr { font-style: normal; display: grid; gap: 4px; }
.contact__addr .mono { margin-bottom: 6px; color: rgba(255,255,255,.8); }
.contact__social { display: flex; gap: 22px; }
.contact__social a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 500; text-underline-offset: 5px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-content: start; align-items: start; }
.f { display: grid; gap: 8px; min-width: 0; align-content: start; }
.f--full { grid-column: 1 / -1; }
.f label { font-size: .9375rem; font-weight: 500; }
.f input, .f select, .f textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--navy); background: var(--white); border: 0; border-radius: 0; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.f textarea { resize: vertical; min-height: 120px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid var(--navy); outline-offset: 0; }
.f input::placeholder, .f textarea::placeholder { color: #5E6672; }
.f__err { display: none; font-size: .875rem; font-weight: 600; color: var(--white); background: var(--navy); padding: 4px 10px; justify-self: start; }
.f.is-bad .f__err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 6px; }
.form__done { font-weight: 600; background: var(--navy); padding: 12px 16px; }

/* ---------- footer (Suffolk links + Haven fitted mark) ---------- */
.foot { background: var(--navy); color: var(--white); padding-block: clamp(72px, 10vh, 120px) 28px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-bottom: clamp(48px, 7vh, 88px); }
.foot__big { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0 clamp(32px, 5vw, 96px); align-content: start; }
.foot__big a { display: flex; align-items: center; min-height: 52px; font-family: var(--display); font-weight: 680; font-size: clamp(1.4rem, 1rem + 1.1vw, 2.3rem); letter-spacing: -.02em; text-decoration: none; transition: color .25s; }
.foot__big a:hover { color: var(--blue-light); }
.foot__side { display: grid; gap: 22px; align-content: start; color: rgba(255,255,255,.8); }
.foot__tag { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--white); line-height: 1.25; letter-spacing: -.01em; }
.foot__side .mono { color: var(--blue-light); }
.foot__small a { display: inline-flex; min-height: 44px; align-items: center; color: rgba(255,255,255,.88); }
.foot__mark { width: 100%; height: auto; margin-bottom: 28px; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .9375rem; color: rgba(255,255,255,.7); }
.foot__base a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.88); }
.foot__social { display: flex; gap: 20px; margin-left: auto; }

/* phone sticky action (DoorDash) */
.dock { display: none; }

/* motion helpers */
.js [data-enter] { opacity: 0; transform: translateY(14px); }
.js [data-enter].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav__link { padding: 0 8px; font-size: .9688rem; background-position: 8px calc(100% - 10px); }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background-size: calc(100% - 16px) 1.5px; }
  .bar__logo, .bar__logo img { height: 38px; }
  .bar__in { padding-inline: 6px; gap: 8px; }
  .bar__cta { padding: 0 14px 0 16px; gap: 14px; }
}
@media (max-width: 1023px) {
  .bar__in { grid-template-columns: auto 1fr auto; height: 64px; width: calc(100% - 2 * var(--gutter) + 16px); padding-inline: 8px; }
  .nav, .bar .nav__list--right, .bar__cta { display: none; }
  .bar__logo { grid-column: 1; grid-row: 1; justify-self: start; height: 40px; }
  .bar__logo img { height: 40px; }
  .bar__left { grid-column: 3; grid-row: 1; }
  .bar__right { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 6px 0 12px; font-weight: 600; font-size: 1rem; }
  .menu-btn__label { order: -1; }
  .hero__main { grid-template-columns: 1fr; padding-top: calc(16px + 64px + 40px); }
  .hero__foot { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .path, .path:first-child { border-left: 0; padding: 0; border-bottom: 1px solid var(--line-dark); min-height: 66px; flex-direction: row; align-items: center; justify-content: space-between; }
  .hero__meta { border-left: 0; padding: 14px 0 18px; justify-content: space-between; }
  .split-head, .roster__head { grid-template-columns: 1fr; }
  .split-head__link { justify-self: start; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__shade { background: linear-gradient(to top, rgba(12,28,64,.94) 0%, rgba(12,28,64,.78) 45%, rgba(12,28,64,.55) 75%, rgba(12,28,64,.6) 100%); }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 92px; transition: height .7s var(--ease); }
  .panel.is-open { height: 460px; }
  .panel__tab { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .panel__name { writing-mode: horizontal-tb; transform: none; }
  .markets { align-items: end; }
  .markets::before { background: linear-gradient(180deg, rgba(12,28,64,.1) 0%, rgba(12,28,64,.55) 34%, rgba(12,28,64,.94) 56%); }
  .markets__grid { grid-template-columns: 1fr; padding-top: 38svh; }
  .markets__panel { grid-column: 1; }
  .owners__grid, .contact__grid, .foot__top { grid-template-columns: 1fr; }
  .owners__film { position: relative; top: 0; aspect-ratio: 16 / 10; max-height: none; }
  .pillars li { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero__title { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 3.5rem); }
  .btn { width: 100%; }
  .hero__actions { display: grid; }
  .form { grid-template-columns: 1fr; }
  .foot__big { grid-template-columns: 1fr; }
  .foot__social { margin-left: 0; }
  .reg { display: none; }
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; width: auto; box-shadow: 0 10px 30px rgba(12,28,64,.3); transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.is-shown { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-enter] { opacity: 1; transform: none; }
  .is-intro .intro { display: none; }
  .is-intro .hero__film { clip-path: none; }
}
