/* ============================================================
   RYAN ESCANDON: luxury edition
   Black and bone. An editorial serif for the big lines, a quiet
   grotesk for everything else. Footage full-bleed. Motion slow
   and deliberate. One warm accent, used rarely.
   ============================================================ */

:root {
  --black: #0b0b0a;
  --black-2: #151513;
  --bone: #efebe4;
  --bone-2: #e4dfd6;
  --stone: #8c877f;
  --stone-2: #5f5b55;
  --line-dark: rgba(239, 235, 228, .14);
  --line-light: rgba(11, 11, 10, .14);
  --sand: #c8b28e;
  --red: #e0002a;
  --serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(18px, 4.5vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --slow: 1.2s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--black); color: var(--bone);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--bone); color: var(--black); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
em { font-style: italic; }
.mono { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--bone); color: var(--black); padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow { font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 26px; display: block; }
.eyebrow a { text-decoration: none; }
.eyebrow--center { text-align: center; }
.eyebrow--dim { margin-bottom: 18px; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 108px); line-height: .98; letter-spacing: -.015em; }
.display em { color: var(--stone); }
.display--xl { font-size: clamp(56px, 9vw, 150px); }
.section--bone .display em, .section--bone .eyebrow { color: var(--stone-2); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  padding: 18px 30px; border-radius: 999px; border: 1px solid currentColor;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn--light { background: var(--bone); color: var(--black); border-color: var(--bone); }
.btn--light:hover { background: transparent; color: var(--bone); }
.btn--ghost { color: var(--bone); border-color: rgba(239, 235, 228, .45); }
.btn--ghost:hover { background: var(--bone); color: var(--black); border-color: var(--bone); }
.btn--dark { background: var(--black); color: var(--bone); border-color: var(--black); }
.btn--dark:hover { background: transparent; color: var(--black); }
.btn--sm { padding: 13px 22px; }
.btn--wide { width: 100%; }
.btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; } }
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: "→"; transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- draft mode ---------- */
.is-draft [data-draft] { outline: 2px dashed var(--red); outline-offset: 4px; position: relative; }
.is-draft [data-draft]::after {
  content: "ASK RYAN"; position: absolute; top: -11px; right: 0; z-index: 5;
  font: 600 9.5px var(--sans); letter-spacing: .08em; color: #fff; background: var(--red);
  padding: 3px 7px; border-radius: 999px; pointer-events: none; white-space: nowrap;
}
.is-draft [data-draft]:hover::after { content: "ASK RYAN · " attr(data-ask); white-space: normal; max-width: 320px; text-align: left; }
.draft-banner { position: fixed; right: 14px; bottom: 14px; z-index: 120; max-width: 300px; background: var(--bone); color: var(--black); border: 2px dashed var(--red); border-radius: 10px; padding: 10px 14px; font-size: 12.5px; line-height: 1.4; }
.draft-banner b { color: var(--red); margin-right: 6px; }
.draft-banner code { font-size: 11.5px; }
.is-draft .footer { padding-bottom: 120px; }

/* ---------- cursor + hover preview ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor span {
  display: grid; place-items: center; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--bone); color: var(--black); font: 500 0px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), font-size .3s;
}
.cursor--link span { width: 36px; height: 36px; margin: -18px 0 0 -18px; background: transparent; border: 1px solid var(--bone); }
.cursor--play span { width: 92px; height: 92px; margin: -46px 0 0 -46px; font-size: 10.5px; }
.hover-vid { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; width: 340px; aspect-ratio: 16 / 10; margin: -110px 0 0 30px; overflow: hidden; border-radius: 4px; opacity: 0; transition: opacity .4s var(--ease); }
.hover-vid.on { opacity: 1; }
.hover-vid video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--pad); color: var(--bone);
  transition: transform .6s var(--ease), background .6s var(--ease), padding .6s var(--ease);
}
.nav--solid { background: rgba(11, 11, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }
.nav--hidden { transform: translateY(-100%); }
.nav__side { display: flex; gap: 30px; }
.nav__side--r { justify-content: flex-end; align-items: center; }
.nav__side a { text-decoration: none; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .82; transition: opacity .3s; }
.nav__side a:hover { opacity: 1; }
.nav__mark { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav__mark em { color: rgba(239, 235, 228, .66); }
.nav__cta { padding: 10px 18px; border: 1px solid rgba(239, 235, 228, .5); border-radius: 999px; opacity: 1 !important; transition: background .4s var(--ease), color .4s var(--ease) !important; }
.nav__cta:hover { background: var(--bone); color: var(--black); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 + var(--hy, 0) * .08)) translateY(calc(var(--hy, 0) * 8%)); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.18); opacity: 0; } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,.12) 35%, rgba(11,11,10,.25) 60%, rgba(11,11,10,.88) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(70px, 11vh, 130px); opacity: calc(1 - var(--hy, 0) * 1.4); }
.hero__eyebrow { color: rgba(239, 235, 228, .75); animation: fade 1.4s var(--ease) .9s both; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 13vw, 230px); line-height: .86; letter-spacing: -.025em; margin-bottom: 30px; }
.hero__title em { color: rgba(239, 235, 228, .78); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: inline-block; animation: rise 1.6s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.hero__sub { max-width: 36em; font-size: clamp(16px, 1.3vw, 19px); color: rgba(239, 235, 228, .82); margin-bottom: 34px; animation: fade 1.4s var(--ease) 1.1s both; }
.hero__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; animation: fade 1.4s var(--ease) 1.25s both; }
.hero__scroll { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(70px, 11vh, 130px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; animation: fade 1.4s var(--ease) 1.5s both; }
.hero__scroll i { width: 1px; height: 64px; background: linear-gradient(var(--bone) 50%, transparent 50%); background-size: 1px 200%; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- statement ---------- */
.statement { padding: clamp(120px, 18vw, 260px) var(--pad); max-width: var(--max); margin: 0 auto; }
.statement__text { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 76px); line-height: 1.1; letter-spacing: -.01em; }
.sw { color: rgba(239, 235, 228, .16); transition: color .5s var(--ease); }
.sw.lit { color: var(--bone); }
.statement__price { margin-top: 48px; color: var(--sand); display: inline-block; }

/* ---------- credits marquee ---------- */
.credits { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 40px 0 46px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; align-items: center; }
.marquee__set > span, .marquee__set > a { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 70px); white-space: nowrap; padding: 0 34px; text-decoration: none; transition: color .4s; }
.marquee__set > a:hover { color: var(--sand); font-style: italic; }
.marquee__set i { font-style: normal; color: var(--sand); font-size: 14px; }














.has-cursor .card, .has-cursor .row { cursor: none; }

/* ---------- collage ---------- */
.collage { position: relative; height: 240vh; margin-top: clamp(80px, 10vw, 140px); }
.collage__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.collage__items { position: absolute; inset: 0; }


.collage__title { position: relative; z-index: 2; text-align: center; font-size: clamp(54px, 9vw, 160px); mix-blend-mode: difference; }
.collage__title span { display: block; opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.collage__title span + span { transition-delay: .15s; }
.collage__title.in span { opacity: 1; transform: none; }
.collage__title em { color: var(--bone); }

/* ---------- sections ---------- */
.section { padding: clamp(110px, 13vw, 200px) var(--pad); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--bone { background: var(--bone); color: var(--black); }
.section--flush { padding-left: 0; padding-right: 0; }
.section--flush > .head { padding: 0 var(--pad); }
.head { margin-bottom: clamp(56px, 7vw, 100px); }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.head__aside { max-width: 24em; color: var(--stone-2); }

/* ---------- work list ---------- */
.worklist { list-style: none; border-top: 1px solid var(--line-dark); margin-bottom: 70px; }
.row {
  display: grid; grid-template-columns: 60px 1.1fr 1.3fr 220px 120px; align-items: center; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; position: relative;
}
.row__n { color: var(--stone); }
.row__thumb { display: none; }
.row__title { font-family: var(--serif); font-size: clamp(34px, 4vw, 64px); line-height: 1; transition: transform .7s var(--ease); }
.row__sub { color: var(--stone); font-size: 15.5px; max-width: 30em; }
.row__tag { color: var(--stone); }
.row__case { justify-self: end; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.row__case--none { border: 0; }
.worklist:hover .row { color: rgba(239, 235, 228, .35); }
.worklist:hover .row:hover { color: var(--bone); }
.row:hover .row__title { transform: translateX(18px); font-style: italic; }








/* ---------- services ---------- */
.services { border-top: 1px solid var(--line-light); }
.svc { border-bottom: 1px solid var(--line-light); }
.svc__head { width: 100%; display: grid; grid-template-columns: 60px 1fr 1.2fr 40px; align-items: center; gap: 24px; padding: 36px 0; text-align: left; }
.svc__n { color: var(--stone-2); }
.svc__name { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 70px); line-height: 1; }
.svc__head:hover .svc__name, .svc--open .svc__name { font-style: italic; }
.svc__pitch { color: var(--stone-2); font-size: 16.5px; }
.svc__plus { position: relative; width: 22px; height: 22px; justify-self: end; flex: none; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc--open .svc__plus::after, .qa--open .svc__plus::after { transform: rotate(0deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.svc__body > div { overflow: hidden; visibility: hidden; transition: visibility 0s .9s; }
.svc--open .svc__body { grid-template-rows: 1fr; }
.svc--open .svc__body > div { visibility: visible; transition-delay: 0s; }
.svc__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); padding: 6px 0 48px 84px; }
.svc__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 3px; background: var(--bone-2); }
.svc__media img, .svc__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__media video { opacity: 0; transition: opacity .8s var(--ease); }
.svc__media.is-playing video { opacity: 1; }
.svc__info { display: flex; flex-direction: column; gap: 22px; }
.svc__info .mono { display: block; color: var(--stone-2); margin-bottom: 6px; }
.svc__for { font-size: 17px; }
.svc__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.svc__list li { padding-left: 18px; position: relative; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: currentColor; }
.svc__proof a { text-underline-offset: 4px; }
.svc__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.svc__price { font-family: var(--serif); font-size: 30px; margin-right: auto; }

/* ---------- loop ---------- */
.loop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.loop__copy p:not(.eyebrow) { color: var(--stone); font-size: 18px; margin-top: 26px; max-width: 32em; }
.loop__copy .display { margin-bottom: 14px; }
.loop__nodes { list-style: none; display: grid; gap: 14px; }
.node { position: relative; display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; padding: 30px 28px; border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; isolation: isolate; transition: border-color .6s var(--ease); }
.node:hover { border-color: rgba(239, 235, 228, .4); }
.node__vid { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s var(--ease); }
.node__vid::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 10, .55); }
.node__vid video { width: 100%; height: 100%; object-fit: cover; }
.node.is-playing .node__vid { opacity: 1; }
.node__n { grid-row: span 2; color: var(--sand); padding-top: 10px; }
.node__name { font-family: var(--serif); font-size: clamp(32px, 3vw, 48px); line-height: 1.05; }
.node__line { color: var(--stone); }
.node.is-playing .node__line { color: var(--bone); }








/* ---------- process ---------- */
.track { position: relative; }
.track__rail { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-dark); }
.track__fill { height: 100%; background: var(--sand); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.track__steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; position: relative; }
.stepc__n { display: inline-block; padding-right: 12px; background: var(--black); color: var(--stone); transition: color .6s; }
.stepc.on .stepc__n { color: var(--sand); }
.stepc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); margin: 34px 0 10px; line-height: 1.05; }
.stepc p { color: var(--stone); font-size: 15.5px; }


.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(239, 235, 228, .35); transition: background .5s var(--ease), color .5s var(--ease); }
.round:hover { background: var(--bone); color: var(--black); }











/* ---------- cards (archive, strip, case pages) ---------- */
.card { position: relative; overflow: hidden; cursor: pointer; border-radius: 3px; background: var(--black-2); }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), opacity .7s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card video { opacity: 0; }
.card.is-playing video { opacity: 1; }
.card__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(11, 11, 10, .75)); }
.card__tag { font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 235, 228, .7); margin-bottom: 4px; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; }
.card--wide { aspect-ratio: 16 / 9; }
.card--portrait { aspect-ratio: 4 / 5; }
.card--tall { aspect-ratio: 9 / 14; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-light); }
.qa { border-bottom: 1px solid var(--line-light); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.qa__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .7s; }
.qa--open .qa__a { grid-template-rows: 1fr; }
.qa--open .qa__a > div { visibility: visible; transition-delay: 0s; }
.qa__a p { padding: 0 60px 28px 0; color: var(--stone-2); }
.qa__a a { text-underline-offset: 4px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__text p:not(.eyebrow) { color: var(--stone); font-size: 18px; margin-top: 18px; max-width: 32em; }
.about__text .display { margin-bottom: 18px; }








/* ---------- inquiry ---------- */
.start { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.start__intro p:not(.eyebrow) { color: var(--stone-2); font-size: 18px; margin-top: 22px; }
.start__mail a { color: var(--black); text-underline-offset: 4px; }
.form { display: grid; gap: 34px; }
.step { border: 0; display: grid; gap: 18px; }
.step + .step { padding-top: 30px; border-top: 1px solid var(--line-light); }
.step--in { animation: fade .9s var(--ease) both; }
.step legend { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-size: 32px; margin-bottom: 16px; }
.step__n { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .16em; color: var(--stone-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-2); }
.mini { font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-2); margin-bottom: -6px; }
.branch { display: grid; gap: 18px; }
.hint { color: var(--stone-2); font-size: 15px; }
.form input:not([type=radio]):not([type=checkbox]), .form textarea {
  font: 300 18px var(--sans); color: var(--black); text-transform: none; letter-spacing: 0; width: 100%;
  padding: 12px 0; border: 0; border-bottom: 1px solid rgba(11, 11, 10, .3); background: transparent; border-radius: 0;
  outline: none; transition: border-color .4s; resize: vertical;
}
.form input:focus, .form textarea:focus { border-bottom-color: var(--black); }
.form ::placeholder { color: var(--stone-2); opacity: 1; }
.form .invalid { border-bottom-color: var(--red) !important; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 11px 20px; border: 1px solid rgba(11, 11, 10, .25); border-radius: 999px; font-size: 15px; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.pill span:hover { border-color: var(--black); }
.pill input:checked + span { background: var(--black); color: var(--bone); border-color: var(--black); }
.pill input:focus-visible + span { outline: 1px solid var(--black); outline-offset: 3px; }
.form__note { min-height: 1.4em; color: var(--stone-2); }

/* ---------- footer ---------- */
.footer { padding: clamp(110px, 14vw, 200px) var(--pad) 36px; border-top: 1px solid var(--line-dark); }
.footer__big { display: block; max-width: var(--max); margin: 0 auto 90px; text-decoration: none; font-family: var(--serif); font-size: clamp(64px, 12.5vw, 220px); line-height: .9; letter-spacing: -.02em; }
.footer__big em { color: var(--stone); transition: color .6s var(--ease); }
.footer__big:hover em { color: var(--sand); }
.footer__row { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.footer__row a { text-decoration: none; transition: color .3s; }
.footer__row a:hover { color: var(--bone); }
.footer__row a:last-child { margin-left: auto; }

/* ---------- player ---------- */
.player { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(11, 11, 10, .96); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s var(--ease), visibility 0s .6s; }
.player--open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .6s var(--ease); }
.player__box { position: relative; max-width: min(1400px, 100%); transform: translateY(20px); transition: transform .9s var(--ease); }
.player--open .player__box { transform: none; }
.player__video { max-height: 80vh; max-width: 100%; margin: 0 auto; border-radius: 3px; background: #000; }
.player__caption { font-family: var(--serif); font-size: 26px; margin-top: 20px; text-align: center; }
.player__close { position: absolute; top: -48px; right: 0; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; }

/* ---------- /work and case pages ---------- */
.page-hero { max-width: var(--max); margin: 0 auto; padding: clamp(150px, 18vw, 240px) var(--pad) 60px; }
.page-hero__sub { color: var(--stone); font-size: 19px; margin-top: 26px; max-width: 34em; }
.more { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.more .card--wide { grid-column: span 8; }
.more .card--portrait, .more .card--tall { grid-column: span 4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; border: 1px solid rgba(239, 235, 228, .3); border-radius: 999px; transition: background .4s var(--ease), color .4s var(--ease); }
.chip:hover { border-color: var(--bone); }
.chip--on { background: var(--bone); color: var(--black); border-color: var(--bone); }
.archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.archive .card { aspect-ratio: 16 / 10; }
.beijing { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.photo { overflow: hidden; border-radius: 3px; background: var(--bone-2); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.beijing .photo:first-child { aspect-ratio: 5 / 3.4; }
.beijing__strip { display: flex; gap: 14px; overflow-x: auto; margin-top: 20px; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.beijing__strip img { flex: none; height: 240px; width: auto; border-radius: 3px; scroll-snap-align: start; }
.cs__player { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; justify-content: center; }
.cs__player video { border-radius: 3px; background: #000; max-height: 86vh; width: auto; max-width: 100%; }
.cs__player--wide video { width: 100%; }
.cs__body { display: grid; grid-template-columns: .7fr 1.4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.cs__glance { position: sticky; top: 110px; border-top: 1px solid var(--line-dark); padding-top: 26px; }
.cs__glance dl { display: grid; gap: 18px; }
.cs__glance dt { color: var(--stone); }
.cs__glance dd { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.cs__story { display: grid; gap: 56px; }
.cs__sec p { font-size: 20px; color: var(--stone); }
.cs__related { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cs__related .card { aspect-ratio: 4 / 5; }
.cs__cta .display { margin-bottom: 36px; }
.cs__cta .link-arrow { color: var(--black); }

/* ==========================================================
   REVEAL
   ========================================================== */
.rv { opacity: 0; transform: translateY(34px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.rv.in { opacity: 1; transform: none; }
.row.rv .row__title { transition: transform .7s var(--ease); }
.svc.rv:nth-child(2), .node.rv:nth-child(2), .stepc.rv:nth-child(2) { transition-delay: .1s; }
.svc.rv:nth-child(3), .node.rv:nth-child(3), .stepc.rv:nth-child(3) { transition-delay: .2s; }
.stepc.rv:nth-child(4) { transition-delay: .3s; }
.stepc.rv:nth-child(5) { transition-delay: .4s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .row { grid-template-columns: 44px 1fr 1fr 110px; }
  .row__tag { display: none; }
  .loop, .faq, .about, .start, .cs__body { grid-template-columns: 1fr; }
  .svc__grid { grid-template-columns: 1fr; padding-left: 0; }
  .track__steps { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .cs__glance { position: static; }
  .more .card--wide { grid-column: span 12; }
  .more .card--portrait, .more .card--tall { grid-column: span 6; }
  .beijing { grid-template-columns: 1fr 1fr; }
  .beijing .photo:first-child { grid-column: span 2; }
  
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: auto 1fr; padding: 16px var(--pad); }
  .nav__side:not(.nav__side--r) { display: none; }
  .nav__side--r a:not(.nav__cta) { display: none; }
  .nav__mark { font-size: 22px; }
  .hero__scroll { display: none; }
  .hero__row .btn { flex: 1 1 auto; }
  .row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .row__n, .row__case--none { display: none; }
  .row__thumb { display: block; order: -1; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; }
  .row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .row__case { justify-self: start; }
  .worklist:hover .row { color: inherit; }
  .collage { height: 180vh; }
  
  .svc__head { grid-template-columns: 34px 1fr 24px; padding: 28px 0; }
  .svc__pitch { grid-column: 2; grid-row: 2; }
  .svc__plus { grid-column: 3; grid-row: 1; }
  .svc__list { grid-template-columns: 1fr; }
  .track__rail { display: none; }
  .track__steps { grid-template-columns: 1fr; gap: 34px; }
  .stepc h3 { margin-top: 10px; }
  .form__row { grid-template-columns: 1fr; }
  
  .more .card--portrait, .more .card--tall { grid-column: span 12; }
  .beijing { grid-template-columns: 1fr; }
  .beijing .photo:first-child { grid-column: auto; }
  .cs__related { grid-template-columns: 1fr; }
  .footer__row { gap: 18px; }
  .footer__row a:last-child { margin-left: 0; }
  .draft-banner { left: 8px; right: 8px; max-width: none; bottom: 8px; font-size: 11.5px; }
  
}
@media (max-width: 380px) {
  .nav__mark { font-size: 19px; }
  .nav__cta { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .collage { height: auto; }
  .collage__stage { position: relative; height: auto; padding: 100px 0; }
  .collage__items { display: none; }
  .collage__title span { opacity: 1; transform: none; }
  .cursor, .hover-vid { display: none; }
}

/* ---------- launch fixes ---------- */
.row__play { position: absolute; inset: 0; z-index: 1; width: 100%; }
.row__case { position: relative; z-index: 2; }
.row:focus-within .row__title { font-style: italic; }
.cs__body > * { margin-left: 0; margin-right: 0; min-width: 0; }
.cs__body { max-width: calc(var(--max) + 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.form__copy { display: block; width: 100%; margin-top: 12px; font: 300 14px var(--sans); padding: 10px; border: 1px solid var(--line-light); background: var(--bone-2); color: var(--black); }
.form__note a { color: var(--black); }
.nav__menu { display: none; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 10px 4px; }
.nav__drawer { display: none; }
@media (max-width: 760px) {
  .nav__menu { display: inline-block; }
  .nav__side--r { gap: 14px; }
  .nav__drawer { grid-column: 1 / -1; flex-direction: column; gap: 4px; padding: 18px 0 8px; }
  .nav--open { background: rgba(11, 11, 10, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nav--open .nav__drawer { display: flex; }
  .nav__drawer a { font-family: var(--serif); font-size: 40px; line-height: 1.2; text-decoration: none; }
  .hero__veil { background: linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,.35) 22%, rgba(11,11,10,.62) 45%, rgba(11,11,10,.9) 100%); }
  .hero__eyebrow, .hero__sub, .hero__title { text-shadow: 0 1px 18px rgba(11, 11, 10, .55); }
}

/* ---------- Grotesk headlines (Ryan, 2026-11-20: serifs out) ---------- */
.display, .hero__title, .collage__title, .footer__big, .statement__text, .nav__drawer a, .row__title, .svc__name, .node__name, .qa__q, .stepc h3, .card__title, .marquee__set > span, .marquee__set > a, .cs__glance dd, .player__caption, .step legend, .svc__price, .nav__mark { font-weight: 500; font-style: normal; }
.display em, .hero__title em, .collage__title em, .footer__big em, .nav__mark em { font-style: normal; }
.display { letter-spacing: -.045em; line-height: .96; font-size: clamp(40px, 5.8vw, 96px); }
.display--xl { font-size: clamp(52px, 8vw, 132px); }
.hero__title { letter-spacing: -.055em; line-height: .9; font-size: clamp(58px, 11.5vw, 200px); }
.hero__title em { color: rgba(239, 235, 228, .62); }
.collage__title { letter-spacing: -.05em; font-size: clamp(48px, 8vw, 140px); line-height: .95; }
.footer__big { letter-spacing: -.055em; font-size: clamp(56px, 11vw, 190px); }
.statement__text { font-weight: 400; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(30px, 4vw, 66px); }

.row__title { letter-spacing: -.035em; font-size: clamp(30px, 3.4vw, 54px); }
.row:hover .row__title, .row:focus-within .row__title { font-style: normal; color: var(--bone); }
.svc__name { letter-spacing: -.035em; font-size: clamp(32px, 3.8vw, 60px); }
.svc__head:hover .svc__name, .svc--open .svc__name { font-style: normal; }
.qa__q, .stepc h3, .node__name { letter-spacing: -.03em; }


.marquee__set > span, .marquee__set > a { letter-spacing: -.035em; font-size: clamp(30px, 3.8vw, 60px); }
.marquee__set > a:hover { font-style: normal; }
.nav__mark { font-size: 20px; letter-spacing: -.03em; }
.nav__mark em { color: rgba(239, 235, 228, .6); }





/* ---------- bigger collage + strip (Ryan, 2026-11-20) ---------- */
.collage { height: 300vh; }
.collage__title { text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }


@media (max-width: 760px) {
  .collage { height: 230vh; }
  
  
  
  .collage__title { mix-blend-mode: normal; text-shadow: 0 2px 24px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .6); }
  
}

/* ==========================================================
   PIPE MASTERS BAND (full-bleed background film)
   ========================================================== */
/* the whole 16:9 frame shows (Vans logo + title card included): no crop, no zoom; caption sits under the picture */
.bgfilm { position: relative; background: var(--black); padding-bottom: 104px; }
.bgfilm__video { display: block; width: min(100%, calc(88vh * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto; object-fit: cover; background: var(--black-2); }

.bgfilm__play { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 var(--pad) 20px; text-align: left; color: var(--bone); }
.bgfilm__play i { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(239, 235, 228, .7); position: relative; transition: background .5s var(--ease); }
.bgfilm__play i::after { content: ""; position: absolute; left: 26px; top: 22px; border-left: 14px solid var(--bone); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.bgfilm__play:hover i { background: var(--bone); }
.bgfilm__play:hover i::after { border-left-color: var(--black); }
.has-cursor .bgfilm__play { cursor: none; }

/* ==========================================================
   PLAYGROUND (accordion rows of big clips)
   ========================================================== */
.pg { padding: clamp(110px, 12vw, 180px) var(--pad) clamp(90px, 10vw, 150px); max-width: var(--max); margin: 0 auto; }
.pg .head { margin-bottom: 40px; }
.pg__row { display: flex; gap: 8px; contain: layout paint; }
.pg__row--pipe { height: clamp(380px, 64vh, 720px); }
.pg__row--cams { --rowh: clamp(440px, 72vh, 780px); height: var(--rowh); }
.pg__p { position: relative; overflow: hidden; border-radius: 3px; background: var(--black-2); flex: 1 1 0; min-width: 0; padding: 0; border: 0; text-align: left;
  filter: grayscale(1) brightness(.62); transition: flex-grow .9s var(--ease), flex-basis .9s var(--ease), filter .9s var(--ease); }
.pg__p img, .pg__p video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg__p video { opacity: 0; transition: opacity .6s var(--ease); }
.pg__p.is-playing video { opacity: 1; }
.pg__p.is-on { filter: none; }
.pg__p:hover:not(.is-on) { filter: grayscale(.4) brightness(.8); }
.pg__row--pipe .pg__p.is-on { flex-grow: 6; }
.pg__row--cams .pg__p { min-width: 3vw; }
.pg__row--cams .pg__p.is-on { flex: 0 0 calc(var(--rowh) * var(--arn)); }


.pg__lab { position: absolute; left: 16px; top: 16px; z-index: 2; color: var(--bone); white-space: nowrap; text-shadow: 0 1px 10px rgba(0,0,0,.5); transition: transform .9s var(--ease); }
.pg__row--pipe .pg__p:not(.is-on) .pg__lab, .pg__row--cams .pg__p:not(.is-on) .pg__lab { transform: rotate(90deg) translateY(-100%); transform-origin: 0 0; left: 16px; }
.chip-play { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--bone); opacity: 0; transition: opacity .4s; }
.chip-play i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239,235,228,.7); position: relative; }
.chip-play i::after { content: ""; position: absolute; left: 17px; top: 14px; border-left: 11px solid var(--bone); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pg__p.is-on .chip-play { opacity: 1; transition-delay: .4s; }
.has-cursor .pg__p { cursor: none; }
.pg__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; color: var(--stone); }
.pg__count b { display: inline-block; color: var(--bone); font-weight: 500; }
.pg__count b.roll { animation: rise .6s var(--ease); }
.pg__sub { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-size: clamp(28px, 3.6vw, 64px); margin: 90px 0 28px; }
.pg__sub em { font-style: normal; color: var(--stone); }
.pg__hint { margin-top: 18px; color: var(--stone); }

/* ==========================================================
   BURST ("Where the riding is real.")
   ========================================================== */
.ctile { position: absolute; left: 50%; top: 50%; width: calc(var(--w) * 1vw); aspect-ratio: var(--ar); z-index: 1; opacity: var(--o, 0);
  transform: translate3d(calc(-50% + var(--b, 0) * var(--x) * var(--k, 1) * 1vw), calc(-50% + var(--b, 0) * var(--y) * var(--k, 1) * 1vh), 0)
             rotate(calc((1 - var(--b, 0)) * var(--r) * 1deg)) scale(calc(.32 + .68 * var(--b, 0))); }
.collage { --k: 1; }
.ctile__card { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; background: var(--black-2); transition: transform .6s var(--ease); }
.ctile__card:hover { transform: scale(1.04); }
.ctile__card video, .ctile__front { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctile__card video { opacity: 0; transition: opacity .6s var(--ease); }
.ctile__card.is-playing video { opacity: 1; }
.ctile__front { filter: grayscale(calc(1 - var(--b, 0))); clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }
.ctile.is-live .ctile__card.is-playing .ctile__front { clip-path: inset(0 0 100% 0); }
.has-cursor .ctile__card { cursor: none; }
.collage__title { z-index: 3; pointer-events: none; }
.collage__title.is-out span, .collage__title.is-out em { color: transparent; -webkit-text-stroke: 1px var(--bone); transition: color .6s var(--ease); }
.collage__hint, .collage__chip { position: absolute; z-index: 3; color: var(--stone); opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.collage__hint { left: 50%; top: calc(50% + clamp(70px, 9vw, 150px)); transform: translateX(-50%); }
.collage__chip { left: var(--pad); bottom: 28px; }
.collage.burst-done .collage__hint, .collage.burst-done .collage__chip { opacity: 1; }

/* photo view */
.photobox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; padding: 24px; background: rgba(11, 11, 10, .96);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s var(--ease), visibility 0s .6s; }
.photobox.player--open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .6s var(--ease); }
.photobox img { max-width: min(1400px, 100%); max-height: 80vh; border-radius: 3px; transform: scale(.96); transition: transform .9s var(--ease); }
.photobox.player--open img { transform: none; }
.photobox .player__close { position: static; justify-self: end; margin-bottom: 14px; }

@media (max-width: 760px) {
  .bgfilm { padding-bottom: 84px; }
  .bgfilm__play { padding-bottom: 16px; }
  .bgfilm__play i { width: 52px; height: 52px; }
  .bgfilm__play i::after { left: 20px; top: 16px; }
  .pg__row--pipe { flex-direction: column; height: 76svh; gap: 6px; }
  .pg__row--pipe .pg__p.is-on { flex-grow: 8; }
  .pg__row--pipe .pg__p:not(.is-on) .pg__lab { transform: none; }
  
  .pg__row--cams { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: 8vw; gap: 10px; margin-inline: calc(-1 * var(--pad)); contain: none; }
  .pg__row--cams::-webkit-scrollbar { display: none; }
  .pg__row--cams .pg__p, .pg__row--cams .pg__p.is-on { --h: min(108vw, 64svh); flex: 0 0 auto; height: var(--h); width: min(calc(var(--h) * var(--arn)), 84vw); scroll-snap-align: center; min-width: 0;
    transform: scale(.9); opacity: .55; transition: transform .7s var(--ease), opacity .7s, filter .7s; }
  .pg__row--cams .pg__p.is-on { transform: none; opacity: 1; }
  .pg__row--cams .pg__p:not(.is-on) .pg__lab { transform: none; }
  .pg__sub { margin-top: 64px; }
  .ctile { width: calc(var(--wm) * 1vw);
    transform: translate3d(calc(-50% + var(--b, 0) * var(--xm) * var(--k, 1) * 1vw), calc(-50% + var(--b, 0) * var(--ym) * var(--k, 1) * 1svh), 0)
               rotate(calc((1 - var(--b, 0)) * var(--r) * 1deg)) scale(calc(.32 + .68 * var(--b, 0))); }
  .ctile[data-m="none"] { display: none; }
  .collage__title { font-size: 15vw; }
}
@media (prefers-reduced-motion: reduce) {
  .pg__p, .chip-play { transition: none !important; }
  .collage__items { position: static; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
  .ctile { position: static; width: auto; transform: none !important; opacity: 1 !important; }
  .ctile__front { filter: none; }
  .collage__stage { display: block; padding: 100px var(--pad); }
  .bgfilm__video { transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .collage__items { grid-template-columns: repeat(2, 1fr); }
  .ctile[data-m="none"] { display: block; }
}

/* ==========================================================
   CLEANUP 2026-11-20: headline wrapping, about without photo, small fixes
   ========================================================== */
.display, .hero__title, .collage__title, .pg__sub, .node__name, .stepc h3, .card__title, .qa__q { text-wrap: balance; }
.page-hero__sub, .about__text p, .loop__copy p, .stepc p, .node__line { text-wrap: pretty; }
.about--solo { grid-template-columns: 1fr; }
.about--solo .about__text { max-width: 760px; }
.btn--outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline-dark:hover { background: var(--black); color: var(--bone); }
body[data-page="case"] .footer__big { display: none; }
.has-cursor .card, .has-cursor .row { cursor: none; }
@media (max-width: 760px) {
  .collage__hint { display: none; }
  .node { grid-template-columns: 32px 1fr; column-gap: 12px; padding: 24px 20px; }
}
.about__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; margin: 0; background: var(--black-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .about__photo { max-width: 480px; } }

/* case page stills (Western Sol) */
.cs__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs__photos .photo { aspect-ratio: 4 / 5; cursor: zoom-in; }
@media (max-width: 760px) { .cs__photos { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* Shiffrin: frame grabs from the training shoot */
.cs__frames { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; margin-top: 24px; }
.cs__frames .frame { margin: 0; }
.cs__frames .photo { aspect-ratio: 16 / 9; cursor: zoom-in; }
.cs__frames figcaption { margin-top: 10px; font-size: 11px; letter-spacing: .12em; color: var(--stone); }
@media (max-width: 760px) { .cs__frames { grid-template-columns: 1fr; gap: 20px; } }
/* Western Sol: a wide lead still beside a tall one */
.cs__photos .photo--wide { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .cs__photos .photo--wide, .cs__photos .photo--tall { grid-column: 1 / -1; } }
