/* Motion theme: all layout and motion styles. Written fresh for Jared Floyd.
   Fonts: Inter and Barlow Condensed (both SIL OFL 1.1, self-hosted). */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-200.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ease-word: linear(0, .068 4.6%, .208 9.2%, .363 13.8%, .505 18.3%, .625 22.9%, .721 27.5%, .82 33.9%, .886 40.4%, .934 47.7%, .965 56%, .985 67%, .995 80%, 1);
  --ease-rise: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.44,0,.56,1);
  --gutter: 24px;
  --nav-h: 83px;
  --container: 1300px;
  --sec: clamp(64px, 7vw, 100px);
  --logo-filter: brightness(0) invert(1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 16px); color-scheme: dark; }
html.nav-locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.3; letter-spacing: -.02em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--ink-2); }
main { display: block; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 90; padding: 10px 16px; background: #fff; color: #000; }
.skip-link:focus { top: calc(var(--pv-top, 0px) + 12px); }

/* ---------- platform preview bar (workaround retained from earlier themes) ---------- */
html:has(.tovu-theme-preview-host) body { --tovu-theme-preview-height: 0px; --tovu-theme-preview-base-padding: 0px; padding-top: 0 !important; }
html:has(.tovu-theme-preview-host) body .site-header { --tovu-theme-preview-height: var(--pv-top, 44px); }
html:has(.tovu-theme-preview-host) .site-header { top: var(--pv-top, 44px); }

/* ---------- type helpers ---------- */
.eyebrow, .label { font-size: 15px; font-weight: 300; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.label .num { display: none; }
.label-sm { font-size: 13px; font-weight: 300; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.h2, h2.quote { font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.13; letter-spacing: -.023em; }
.h2-xl { font-size: clamp(40px, 6vw, 84px); font-weight: 200; }
.text-link { display: inline-flex; gap: 8px; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; font-size: 15px; transition: border-color .2s var(--ease-io), color .2s var(--ease-io); }
.text-link:hover { border-color: #fff; }

/* outline buttons: fill to #1c1c1c and solid border on hover */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 12px 22px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 15px; line-height: 1; letter-spacing: -.02em; cursor: pointer; transition: background-color .25s var(--ease-io), border-color .25s var(--ease-io); }
.btn:hover { background: var(--hover); border-color: #fff; }
.btn-primary, .btn-ghost { background: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal states: only under html.js (gate.js), so no-JS and reduced motion show everything ---------- */
.js [data-rise] { opacity: 0; transform: translateY(var(--rise, 60px)); transition: opacity .8s var(--ease-rise) var(--delay, 0s), transform .8s var(--ease-rise) var(--delay, 0s); }
.js [data-rise].in { opacity: 1; transform: none; }
.word { display: inline-block; }
.js .word { opacity: 0; filter: blur(10px); transform: translateY(10px); transition: opacity 1.1s var(--ease-word), filter 1.1s var(--ease-word), transform 1.1s var(--ease-word); transition-delay: calc(var(--i, 0) * 50ms); }
.js .in .word, .js .in.word { opacity: 1; filter: blur(0); transform: none; }

/* ---------- header: glass bar ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 60; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,7,7,.3); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); padding: 16px var(--gutter); }
.brand { display: inline-flex; flex: none; }
.brand-word { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; transform-origin: 0 0; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); font-size: 15px; line-height: 1; }
.main-nav ul { display: contents; }
.main-nav a { color: var(--ink); transition: color .2s var(--ease-io), background-color .25s var(--ease-io), border-color .25s var(--ease-io); }
.main-nav a:hover { color: var(--ink-2); }
.main-nav a[aria-current="page"] { color: var(--ink-2); }
.main-nav a[href="/contact"], .main-nav a[href$="/contact"] { display: inline-flex; align-items: center; min-height: 43px; padding: 0 22px; border: 1px solid var(--line-strong); }
.main-nav a[href="/contact"]:hover, .main-nav a[href$="/contact"]:hover { color: var(--ink); background: var(--hover); border-color: #fff; }
.nav-actions { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; place-content: center; gap: 8px; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .3s var(--ease-rise); }
.nav-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* wordmark: large over the hero, docks into the bar at scroll 200 */
.wm-ready .brand-word { transition: transform .6s cubic-bezier(.3,1.1,.4,1); }
.wm-ready.wm-big .brand-word { transform: translateY(77px) scale(var(--wm-scale, 4)); }
@media (prefers-reduced-motion: reduce) { .wm-ready .brand-word { transition: none; } }

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav-row { flex-wrap: wrap; gap: 8px 16px; padding-block: 12px; }
  .brand-word { font-size: 30px; }
  .main-nav { flex-wrap: wrap; width: 100%; gap: 8px 18px; }
  .js-nav .nav-actions { display: block; }
  .js-nav .nav-toggle { display: grid; }
  .js-nav .main-nav { position: fixed; inset-inline: 0; top: calc(var(--nav-h) + var(--pv-top, 0px)); height: calc(100dvh - var(--nav-h) - var(--pv-top, 0px)); flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; width: auto; padding: 16px var(--gutter) 32px; overflow-y: auto; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .35s var(--ease-rise), visibility 0s linear .25s; }
  .js-nav.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .35s var(--ease-rise), visibility 0s; }
  .js-nav .main-nav a, .js-nav .main-nav a[href="/contact"], .js-nav .main-nav a[href$="/contact"] { display: block; min-height: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--hair); font-size: 40px; font-weight: 200; letter-spacing: -.03em; }
}

/* ---------- home hero ---------- */
.hero { position: relative; height: calc(100svh - var(--pv-top, 0px)); min-height: 560px; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; overflow: hidden; filter: grayscale(1); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, #080808 0%, rgba(8,8,8,0) 42%), linear-gradient(to top, #070707 0%, rgba(7,7,7,.72) 26%, rgba(7,7,7,0) 58%); }
.hero-stack { position: absolute; right: var(--gutter); bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 24px; width: min(100% - 2 * var(--gutter), 640px); text-align: right; }
.hero-tag { font-weight: 500; font-size: clamp(30px, 3.46vw, 50px); line-height: 1.13; letter-spacing: -.022em; }
/* The hero image is Jared's animated WebP, so it needs a pause control and a still for reduced motion. */
.hero-pause { position: absolute; z-index: 2; left: var(--gutter); bottom: 24px; min-width: 88px; }
.hero-pause[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-img { display: none; }
  .hero-media { background: #070707 url("/m/ed-runway-01/public.v1/image.webp?v=501cd243723c") 50% 30% / cover no-repeat; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: heroIn 2.4s cubic-bezier(.16,1,.3,1) both; }
  .hero-cta { animation: riseIn 1.6s .4s cubic-bezier(.16,1,.3,1) both; }
  .page-home .brand { animation: wmIn 1.5s .3s var(--ease-word) both; }
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.2); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes wmIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }
@media (max-width: 809px) {
  .hero-stack { left: var(--gutter); right: var(--gutter); width: auto; align-items: stretch; text-align: center; }
  .hero-tag { font-size: 32px; }
  .hero-cta { width: 100%; }
  .hero-pause { left: auto; right: var(--gutter); bottom: auto; top: calc(var(--nav-h) + 12px); min-width: 72px; min-height: 44px; padding-inline: 14px; background: rgba(7,7,7,.4); }
}

/* ---------- story + stats ---------- */
.about { padding-block: var(--sec); border-bottom: 1px solid var(--hair); }
.about-grid { display: grid; grid-template-columns: 3.1fr 3.1fr 3.8fr; gap: 32px; align-items: start; }
.about-body { display: grid; gap: 22px; color: var(--ink-2); line-height: 1.23; }
.stats { border-bottom: 1px solid var(--hair); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: grid; place-content: center; gap: 12px; min-height: 233px; padding: 24px; text-align: center; border-left: 1px solid var(--hair); }
.stat:last-child { border-right: 1px solid var(--hair); }
.stat-num { font-weight: 200; font-size: 45px; line-height: 1.13; letter-spacing: -.04em; }
.stat-label { font-size: 15px; font-weight: 300; text-transform: uppercase; color: var(--ink); letter-spacing: .02em; }
@media (max-width: 809px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 170px; border-inline: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- logo roster ---------- */
/* Default (no JS, reduced motion): a plain ruled row of five logos. */
.roster { position: relative; background: var(--bg); border-bottom: 1px solid var(--hair); }
.roster-stage { padding: var(--sec) var(--gutter); }
.roster-photos, .roster-cells, .roster-bar { display: none; }
.roster-head { display: flex; justify-content: space-between; gap: 16px; max-width: var(--container); margin: 0 auto 40px; }
.roster-count { display: none; font-weight: 200; font-size: 15px; letter-spacing: .02em; }
.roster-list { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--container); margin-inline: auto; border: 1px solid var(--hair); }
.roster-item { display: grid; place-items: center; min-height: 150px; padding: 16px; border-left: 1px solid var(--hair); transition: opacity .4s var(--ease-io); }
.roster-item:first-child { border-left: 0; }
.roster-item img { width: var(--dw); height: auto; filter: var(--logo-filter); }
.roster-names { max-width: var(--container); margin: 32px auto 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; text-align: center; }
.ri-lvmh { --w: min(52vw, 620px); --dw: min(15vw, 200px); }
.ri-mj { --w: min(66vw, 840px); --dw: min(16vw, 210px); }
.ri-kate { --w: min(30vw, 340px); --dw: min(9vw, 110px); }
.ri-kcd { --w: min(30vw, 360px); --dw: min(9vw, 112px); }
.ri-sbh { --w: min(24vw, 280px); --dw: min(7.4vw, 92px); }
.roster-list:hover .roster-item { opacity: .3; }
.roster-list:hover .roster-item:hover { opacity: 1; }

/* Live: pinned stage, one logo per step, rolling and blurring between steps. */
.roster.is-live { height: calc(100svh + 5 * 55svh); }
.is-live .roster-stage { position: sticky; top: var(--pv-top, 0px); height: calc(100svh - var(--pv-top, 0px)); min-height: 480px; padding: 0; overflow: hidden; }
.is-live .roster-photos { display: block; position: absolute; inset: 0; }
.is-live .roster-photos::after { content: ""; position: absolute; inset: 0; background: rgba(7,7,7,.58); transition: background-color .6s var(--ease-io); }
.is-live .roster-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-io), transform 1.6s cubic-bezier(.16,1,.3,1); }
.is-live .roster-photo.on { opacity: 1; transform: none; }
.is-live .roster-head { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 24px); max-width: none; margin: 0; }
.is-live .roster-count { display: block; font-variant-numeric: tabular-nums; }
.is-live .roster-list { position: absolute; inset: 0; z-index: 2; display: block; max-width: none; border: 0; }
.is-live .roster-item { position: absolute; left: 50%; top: 50%; display: block; min-height: 0; padding: 0; border: 0; transform: translate(-50%, -50%) translateY(var(--ty, 0)); opacity: 0; transition: transform .7s var(--ease-rise), opacity .5s var(--ease-rise); }
.is-live .roster-item img { width: var(--w); max-width: none; transition: width .6s cubic-bezier(.3,1.1,.4,1); }
.is-live .roster-item[data-state="prev"] { --ty: -22vh; }
.is-live .roster-item[data-state="next"] { --ty: 22vh; }
.is-live.in .roster-item[data-state="cur"] { --ty: 0px; opacity: 1; filter: blur(0); transition: transform .7s var(--ease-rise), opacity 1.1s var(--ease-word), filter 1.1s var(--ease-word); }
.is-live:not(.in) .roster-item[data-state="cur"] { --ty: 10px; }
.is-live .roster-names { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 48px; margin: 0 auto; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-rise), transform .6s var(--ease-rise); }
.is-live .roster-bar { display: block; position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 24px; height: 1px; background: var(--line-row); }
.roster-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.is-live .roster-cells { --cols: 5; display: grid; grid-template-columns: repeat(5, 1fr); position: absolute; z-index: 1; left: 50%; top: 50%; width: min(100vw - 2 * var(--gutter), var(--container)); height: 170px; transform: translate(-50%, -50%); border: 1px solid var(--line-row); opacity: 0; transition: opacity .5s var(--ease-io); }
.roster-cells i { border-left: 1px solid var(--line-row); }
.roster-cells i:first-child { border-left: 0; }

/* Dock: the stage resolves into the ruled row, mirroring the wordmark dock. */
.is-live { --cell: calc(min(100vw - 2 * var(--gutter), var(--container)) / 5); }
.is-live.docked .roster-photos::after { background: rgba(7,7,7,.8); }
.is-live.docked .roster-cells { opacity: 1; }
.is-live.docked .roster-names { opacity: 1; transform: none; transition-delay: .2s; }
.is-live.docked .roster-item { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate(var(--dx, 0), var(--dy, 0)); transition: transform .6s cubic-bezier(.3,1.1,.4,1), opacity .5s var(--ease-rise) .1s, filter .5s var(--ease-rise) .1s; }
.is-live.docked .roster-item img { width: var(--dw); }
/* Stop logos stacking mid-flight: outgoing logos leave fast; on docking they appear in place instead of flying there. */
.is-live .roster-item { transition: transform .7s var(--ease-rise), opacity .18s linear; }
.is-live .roster-item img { transition: none; }
.is-live.docked .roster-item { transition: opacity .45s ease .12s; }
/* A logo only moves once it is invisible, so two never show stacked. */
.is-live:not(.docked) .roster-item[data-state="prev"], .is-live:not(.docked) .roster-item[data-state="next"] { transition: opacity .1s linear, transform 0s linear .1s; }
/* The hover dim is for the static row only: it must not reveal waiting logos on the pinned stage. */
.is-live:not(.docked) .roster-list:hover .roster-item[data-state="prev"], .is-live:not(.docked) .roster-list:hover .roster-item[data-state="next"] { opacity: 0; }
.is-live .ri-lvmh { --dx: calc(-2 * var(--cell)); }
.is-live .ri-mj { --dx: calc(-1 * var(--cell)); }
.is-live .ri-kate { --dx: 0px; }
.is-live .ri-kcd { --dx: var(--cell); }
.is-live .ri-sbh { --dx: calc(2 * var(--cell)); }

@media (max-width: 809px) {
  .roster-list { grid-template-columns: repeat(2, 1fr); }
  .roster-item { border-left: 0; border-bottom: 1px solid var(--hair); }
  .roster-item:nth-child(even) { border-left: 1px solid var(--hair); }
  .roster-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .ri-lvmh { --w: 76vw; --dw: 30vw; }
  .ri-mj { --w: 84vw; --dw: 36vw; }
  .ri-kate { --w: 44vw; --dw: 20vw; }
  .ri-kcd { --w: 46vw; --dw: 22vw; }
  .ri-sbh { --w: 36vw; --dw: 17vw; }
  .roster.is-live { height: calc(100svh + 5 * 38svh); }
  .is-live { --cell: calc((100vw - 2 * var(--gutter)) / 2); --rowh: 96px; }
  .is-live .roster-cells { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); height: calc(3 * var(--rowh)); }
  .roster-cells i { border-left: 0; border-top: 1px solid var(--line-row); }
  .roster-cells i:nth-child(-n+2) { border-top: 0; }
  .roster-cells i:nth-child(even) { border-left: 1px solid var(--line-row); }
  .roster-cells i:last-child { grid-column: 1 / -1; }
  .is-live .ri-lvmh { --dx: calc(-.5 * var(--cell)); --dy: calc(-1 * var(--rowh)); }
  .is-live .ri-mj { --dx: calc(.5 * var(--cell)); --dy: calc(-1 * var(--rowh)); }
  .is-live .ri-kate { --dx: calc(-.5 * var(--cell)); --dy: 0px; }
  .is-live .ri-kcd { --dx: calc(.5 * var(--cell)); --dy: 0px; }
  .is-live .ri-sbh { --dx: 0px; --dy: var(--rowh); }
  .is-live .roster-names { font-size: 13px; bottom: 40px; }
}

/* ---------- rollers ---------- */
.rollers { display: grid; justify-items: center; gap: 32px; padding-block: 160px 200px; text-align: center; }
.roll { height: 1.48em; overflow: clip; font-weight: 200; font-size: clamp(48px, 4.9vw, 70px); line-height: 1.13; letter-spacing: -.03em; }
.roll-col { display: flex; flex-direction: column; transition: transform .6s var(--ease-rise); }
.roll-col span { display: block; height: 1.48em; line-height: 1.48em; }
.roll.on .roll-col { transform: translateY(-1.48em); }
@media (prefers-reduced-motion: reduce) { .roll-col { transform: translateY(-1.48em); transition: none; } }

/* ---------- pinned quote, photos pass over ---------- */
.quote-pin { position: relative; }
.quote-stick { position: sticky; top: var(--pv-top, 0px); z-index: 1; display: grid; place-items: center; height: calc(100svh - var(--pv-top, 0px)); padding-inline: var(--gutter); text-align: center; transition: opacity .6s var(--ease-io); }
.quote-stick.gone { opacity: 0; }
.quote-stick blockquote { max-width: 760px; }
.pull { font-weight: 300; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.13; letter-spacing: -.035em; }
.pull-by { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.pass-over { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 88px; padding: 0 var(--gutter) 120px; }
.pass { width: 47.4vw; aspect-ratio: 11 / 7; overflow: hidden; background: var(--hover); }
.pass img { width: 100%; height: 100%; object-fit: cover; }
.pass:nth-child(3n+1) { align-self: flex-start; }
.pass:nth-child(3n+2) { align-self: flex-end; }
.pass:nth-child(3n) { align-self: center; }
@media (max-width: 809px) {
  .quote-stick { position: relative; height: auto; padding-block: 72px; }
  .quote-stick.gone { opacity: 1; }
  .pull { font-size: 26px; }
  .pass-over { gap: 24px; padding-bottom: 64px; }
  .pass { width: 100%; }
}

/* ---------- services: ruled rows, whole-block photo swap ---------- */
.svc-section { padding-block: var(--sec) 24px; border-top: 1px solid var(--hair-strong); }
.svc-head { display: grid; grid-template-columns: 3.9fr 6.1fr; gap: 24px; margin-bottom: 48px; }
.svc-lede { font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
.svc { position: relative; overflow: hidden; }
.svc-photos { position: absolute; inset: 0; }
.svc-photo { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease-io); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.svc-rows { position: relative; display: grid; }
.svc-row { display: block; padding: 32px 24px; border: 1px solid var(--line-row); margin-top: -1px; transition: border-color .4s var(--ease-io); }
.svc-row h3 { font-family: var(--font-display); font-weight: 200; font-size: clamp(38px, 5.6vw, 80px); line-height: 1.1; letter-spacing: 0; transition: opacity .4s var(--ease-io); }
.svc-row p { max-width: 560px; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.35; transition: opacity .4s var(--ease-io), color .4s var(--ease-io); }
.r1 { text-align: right; } .r1 p { margin-left: auto; }
.r2 { text-align: left; }
.r3 { text-align: center; } .r3 p { margin-inline: auto; }
.svc:has(.svc-row:hover) .svc-row:not(:hover) h3, .svc:has(.svc-row:focus-visible) .svc-row:not(:focus-visible) h3, .svc:has(.is-active) .svc-row:not(.is-active) h3 { opacity: .3; }
.svc:has(.svc-row:hover) .svc-row:not(:hover) p, .svc:has(.svc-row:focus-visible) .svc-row:not(:focus-visible) p, .svc:has(.is-active) .svc-row:not(.is-active) p { opacity: .3; }
.svc-row:hover, .svc-row:focus-visible, .svc-row.is-active { border-color: #fff; position: relative; z-index: 1; outline: 0; }
.svc-row:hover p, .svc-row:focus-visible p, .svc-row.is-active p { color: var(--ink); }
.svc:has(.r1:hover, .r1:focus-visible, .r1.is-active) .p1, .svc:has(.r2:hover, .r2:focus-visible, .r2.is-active) .p2, .svc:has(.r3:hover, .r3:focus-visible, .r3.is-active) .p3 { opacity: 1; }
@media (max-width: 809px) {
  .svc-head { grid-template-columns: 1fr; }
  .svc-row { padding: 28px 16px; }
  .svc-row h3 { font-size: clamp(32px, 10vw, 44px); }
  .r1, .r2, .r3 { text-align: left; } .r1 p, .r3 p { margin-inline: 0; }
}

/* ---------- ruled panels: open searches, how it works ---------- */
.panel-section { padding-block: var(--sec) 0; }
.panel-section-faq { padding-bottom: var(--sec); }
.panel-grid { display: grid; grid-template-columns: 3fr 7fr; gap: 24px; }
.panel { border: 1px solid var(--hair); min-width: 0; }
.panel-title { padding: 24px; font-weight: 400; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.13; letter-spacing: -.023em; border-bottom: 1px solid var(--hair); }
.mini-search { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; align-items: baseline; padding: 20px 24px; border-bottom: 1px solid var(--hair); transition: background-color .25s var(--ease-io); }
.mini-search:hover { background: var(--hover); }
.mini-company, .mini-meta { color: var(--ink-2); font-size: 15px; }
.mini-title { font-weight: 400; font-size: 18px; letter-spacing: -.02em; }
.mini-meta { text-align: right; }
.panel-link { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 15px; transition: background-color .25s var(--ease-io); }
.panel-link:hover { background: var(--hover); }
.fold { border-bottom: 1px solid var(--hair); }
.fold:last-child { border-bottom: 0; }
.fold summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-size: 16px; cursor: pointer; list-style: none; transition: background-color .25s var(--ease-io); }
.fold summary::-webkit-details-marker { display: none; }
.fold summary:hover { background: var(--hover); }
.fold summary i { position: relative; flex: none; width: 16px; height: 16px; transition: transform .45s var(--ease-rise); }
.fold summary i::before, .fold summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.fold summary i::after { transform: rotate(90deg); }
.fold[open] summary i { transform: rotate(45deg); }
.fold-body { padding: 0 24px 24px; max-width: 640px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
@supports selector(::details-content) {
  .fold::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-rise), content-visibility .45s allow-discrete; }
  .fold[open]::details-content { block-size: auto; }
  html { interpolate-size: allow-keywords; }
}
@media (max-width: 809px) {
  .panel-grid { grid-template-columns: 1fr; }
  .mini-search { grid-template-columns: 1fr; gap: 4px; }
  .mini-meta { text-align: left; }
}

/* ---------- CTA band ---------- */
.cta-band { padding-block: 120px; background: var(--bg-alt); text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 24px; }
.cta-band p:not(.eyebrow) { max-width: 620px; color: var(--ink-2); }
.cta-band .cta-row { justify-content: center; }
.editorial .cta-band h2 { font-size: clamp(30px, 3.4vw, 48px); }

/* ---------- page heroes (CMS pages, searches, 404): full-bleed photo ---------- */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: min(88svh, 820px); padding-block: calc(var(--nav-h) + 48px) 56px; overflow: hidden; isolation: isolate; background: var(--bg); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, url("/m/ed-runway-01/public.v1/image.webp?v=501cd243723c")) 50% var(--hero-y, 50%) / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(8,8,8,.75) 0%, rgba(8,8,8,.25) 34%), linear-gradient(to top, #070707 0%, rgba(7,7,7,.82) 34%, rgba(7,7,7,.2) 72%); }
@media (prefers-reduced-motion: no-preference) { .page-hero::before { animation: heroIn 2.4s cubic-bezier(.16,1,.3,1) both; } }
.page-hero:has(#about-title) { --hero-img: url("/m/ed-newyork-02/public.v1/image.webp?v=5fb12affd4ce"); --hero-y: 40%; }
.page-hero:has(#work-title) { --hero-img: url("/m/ed-atelier-01/public.v1/image.webp?v=9ff91dee4d90"); --hero-y: 55%; }
.searches-page .page-hero { --hero-img: url("/m/ed-newyork-01/public.v1/image.webp?v=f829de92642e"); --hero-y: 60%; }
.page-hero .wrap { display: grid; gap: 24px; }
.page-hero h1 { max-width: 15em; font-weight: 200; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.04; letter-spacing: -.035em; }
.page-hero .intro { max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; color: #d6d6d6; }
.jump-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- CMS sections ---------- */
.section { padding-block: var(--sec); border-top: 1px solid var(--hair); }
.section-head { display: grid; gap: 20px; margin-bottom: 40px; }
.section-head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head-split > div { display: grid; gap: 20px; }
.prose { display: grid; gap: 16px; color: var(--ink-2); line-height: 1.3; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* images in CMS regions: slots filled from Media by CSS */
.img-slot { position: relative; overflow: hidden; background: var(--hover) center / cover no-repeat; }
.img-slot-label { display: none; }
.img-slot-portrait { aspect-ratio: 4 / 5; background-image: url("/m/ed-newyork-04/public.v1/image.webp?v=8700fd14b587"); background-position: 50% 20%; }
.img-slot-wide { aspect-ratio: 16 / 9; background-image: url("/m/ed-newyork-01/public.v1/image.webp?v=f829de92642e"); }
.img-slot-band { aspect-ratio: 21 / 9; background-image: url("/m/ed-atelier-01/public.v1/image.webp?v=9ff91dee4d90"); }
.editorial-band { padding-block: 0 var(--sec); }

/* About */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.portrait figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.story-copy { display: grid; gap: 28px; }
.quote { font-weight: 300; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); }
.facts > div { padding: 20px; border-left: 1px solid var(--hair); }
.facts > div:first-child { border-left: 0; }
.facts dt { margin-bottom: 12px; font-size: 13px; font-weight: 300; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); }
.facts dd { font-size: 20px; font-weight: 300; line-height: 1.2; letter-spacing: -.02em; }
.facts dd > span:not(.stat-number) { font-size: 14px; color: var(--ink-2); letter-spacing: -.01em; }
.career-grid, .edu-grid, .process-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: start; }
.timeline { border-top: 1px solid var(--hair); }
.timeline > li { display: grid; grid-template-columns: 1.3fr 3fr .9fr; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--hair); }
.t-years, .t-city { color: var(--ink-2); font-size: 15px; }
.t-city { text-align: right; }
.t-role { display: grid; gap: 6px; }
.t-role strong { font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.t-role > span { color: var(--ink-2); font-size: 15px; }
.t-role small { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.t-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-block: 8px; }
.brand-logo { filter: var(--logo-filter); height: auto; max-height: 26px; width: auto; }
.edu-school { font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.025em; }
.edu-detail { margin-top: 8px; color: var(--ink-2); }
.edu-label { margin-top: 32px; }
.edu-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.edu-list > li { padding: 16px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 15px; }

/* Work With Jared */
.service-grid, .cand-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); }
.service, .cand-item { display: flex; flex-direction: column; gap: 16px; min-height: 300px; padding: 24px; border-left: 1px solid var(--hair); transition: background-color .25s var(--ease-io); }
.service:first-child, .cand-item:first-child { border-left: 0; }
.service:hover, .cand-item:hover { background: var(--hover); }
.service-num { color: var(--ink-2); font-size: 15px; font-weight: 300; }
.service h3 { margin-top: auto; font-family: var(--font-display); font-weight: 200; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; letter-spacing: 0; }
.cand-item h3 { font-weight: 400; font-size: 22px; letter-spacing: -.025em; }
.service p, .cand-item p { color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.steps { border-top: 1px solid var(--hair); }
.steps > li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--hair); }
.step-num { font-weight: 200; font-size: 32px; line-height: 1; letter-spacing: -.03em; color: var(--ink-2); }
.steps h3 { font-weight: 400; font-size: 22px; letter-spacing: -.025em; }
.steps p { margin-top: 8px; max-width: 620px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }

/* Contact */
.contact-page { position: relative; padding-block: calc(var(--nav-h) + 40vh) var(--sec); border-top: 0; isolation: isolate; }
.contact-page::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -2; height: min(80svh, 720px); background: url("/m/ed-runway-01/public.v1/image.webp?v=501cd243723c") 50% 34% / cover no-repeat; }
.contact-page::after { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: min(80svh, 720px); background: linear-gradient(to bottom, rgba(8,8,8,.6), rgba(8,8,8,0) 30%), linear-gradient(to top, #070707 4%, rgba(7,7,7,.2) 70%); }
.contact-grid { display: grid; justify-items: center; gap: 48px; max-width: 760px; text-align: center; }
.contact-intro { display: grid; justify-items: center; gap: 24px; }
.contact-lede { max-width: 640px; color: var(--ink-2); }
.contact-direct { display: grid; justify-items: center; gap: 20px; margin-top: 8px; }
.contact-direct li { display: grid; justify-items: center; gap: 10px; }
.contact-direct a:not(.social-icon) { font-size: clamp(20px, 2vw, 26px); font-weight: 300; letter-spacing: -.025em; border-bottom: 1px solid var(--line-strong); }
.contact-form { width: 100%; text-align: left; }

/* social icons: 50px circles */
.social-links { display: inline-flex; gap: 12px; }
.social-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--hair-strong); border-radius: 99px; color: var(--ink); transition: background-color .25s var(--ease-io), border-color .25s var(--ease-io); }
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--hover); border-color: #fff; }

/* forms */
.tovu-form { display: grid; gap: 16px; width: 100%; max-width: none !important; }
.tovu-form label, .tovu-form legend { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 400; letter-spacing: -.005em; color: var(--ink-2); }
.tovu-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]), .tovu-form textarea, .tovu-form select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--hair-strong); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; letter-spacing: -.01em; transition: border-color .2s var(--ease-io); }
.tovu-form textarea { min-height: 160px; resize: vertical; }
.tovu-form select option { background: var(--bg); color: var(--ink); }
.tovu-form input:focus, .tovu-form textarea:focus, .tovu-form select:focus { outline: 0; border-color: #fff; }
.tovu-form input::placeholder, .tovu-form textarea::placeholder { color: #8f8f8f; }
.tovu-form input[type="radio"], .tovu-form input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.tovu-form input[type="radio"] { border-radius: 50%; }
.tovu-form input[type="radio"]:checked, .tovu-form input[type="checkbox"]:checked { background: #fff; box-shadow: inset 0 0 0 3px var(--bg); }
.tovu-form fieldset { border: 0; margin: 0; padding: 0; }
.tovu-form label:has(input[type="radio"]), .tovu-form label:has(input[type="checkbox"]) { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; color: var(--ink); font-size: 15px; }
.tovu-form button, .tovu-form [type="submit"] { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; transition: background-color .25s var(--ease-io), border-color .25s var(--ease-io); }
.tovu-form button:hover, .tovu-form [type="submit"]:hover { background: var(--hover); border-color: #fff; }
.tovu-form-success { padding: 16px; border: 1px solid var(--hair-strong); }

/* Searches */
.searches-page .section { border-top: 0; }
.search-list { display: grid; border-top: 1px solid var(--hair); }
.search-card { display: grid; grid-template-columns: 4fr 6fr auto; gap: 32px; align-items: start; padding-block: 32px; border-bottom: 1px solid var(--hair); }
.search-company { margin-bottom: 8px; font-size: 13px; font-weight: 300; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); }
.search-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: 0; }
.search-summary { color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.search-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.search-apply { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; padding: 0 18px; border: 1px solid var(--line-strong); font-size: 15px; white-space: nowrap; transition: background-color .25s var(--ease-io), border-color .25s var(--ease-io); }
.search-apply:hover { background: var(--hover); border-color: #fff; }

/* Generic pages: privacy, blog, posts */
.post-detail { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; padding-block: calc(var(--nav-h) + 56px) var(--sec); color: var(--ink-2); line-height: 1.5; font-size: 17px; letter-spacing: -.012em; }
.post-detail h1, .post-detail h2, .post-detail h3 { margin: 1.4em 0 .5em; color: var(--ink); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; }
.post-detail h1 { margin-top: 0; font-weight: 200; font-size: clamp(40px, 5vw, 72px); }
.post-detail h2 { font-size: clamp(26px, 2.8vw, 36px); }
.post-detail p, .post-detail ul, .post-detail ol { margin-bottom: 1em; }
.post-detail ul, .post-detail ol { padding-left: 1.2em; list-style: disc; }
.post-detail a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post-featured:empty { display: none; }
.post-comments { padding-bottom: var(--sec); }
.jini-pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 15px; }

@media (max-width: 809px) {
  .story-grid, .career-grid, .edu-grid, .process-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; border-bottom: 1px solid var(--hair); }
  .facts > div:last-child { border-bottom: 0; }
  .timeline > li { grid-template-columns: 1fr; gap: 8px; }
  .t-city { text-align: left; }
  .t-city:empty { display: none; }
  .edu-list { grid-template-columns: 1fr 1fr; }
  .service-grid, .cand-grid { grid-template-columns: 1fr; }
  .service, .cand-item { min-height: 0; border-left: 0; border-bottom: 1px solid var(--hair); }
  .service:last-child, .cand-item:last-child { border-bottom: 0; }
  .service h3 { margin-top: 24px; }
  .steps > li { grid-template-columns: 56px 1fr; }
  .search-card { grid-template-columns: 1fr; gap: 16px; padding-block: 24px; }
  .search-apply { justify-content: center; }
  .contact-page { padding-top: calc(var(--nav-h) + 30vh); }
  .page-hero { min-height: 76svh; }
}

/* ---------- footer ---------- */
.site-footer { padding-top: 64px; background: var(--bg); }
.footer-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px 48px; align-items: center; padding-bottom: 48px; }
.footer-tag { display: block; max-width: 360px; color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.footer-nav ul { display: contents; }
.footer-nav a { transition: color .2s var(--ease-io); }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--ink-2); }
.footer-connect { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 15px; }
.footer-email { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.footer-photo { position: relative; margin-inline: var(--gutter); height: clamp(190px, 33vw, 470px); overflow: hidden; display: flex; align-items: center; background: var(--hover) url("/m/ed-atelier-01/public.v1/image.webp?v=9ff91dee4d90") 50% 45% / cover no-repeat; }
.footer-photo::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.footer-word { position: relative; width: 100%; padding-inline: 4px; font-family: var(--font-display); font-weight: 300; font-size: 18.5vw; line-height: 1; letter-spacing: -.012em; text-align: center; text-transform: uppercase; white-space: nowrap; color: #fff; overflow: hidden; }
.footer-word span { display: inline-block; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; font-size: 15px; color: var(--ink-2); }
.footer-bottom .brand-mark, .footer-bottom .brand-mark img { display: block; height: 28px; width: auto; }
.footer-bottom .to-top { color: var(--ink); }
.site-footer-minimal { padding-top: 0; }
@media (max-width: 809px) {
  .footer-row { grid-template-columns: 1fr; }
  .footer-photo { margin-inline: var(--gutter); }
}
