/* =========================================================
   OUZA STUDIO — main stylesheet
   Colors and fonts live in :root below. Change them there
   and the whole site follows.
   ========================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face {
  font-family: "Sheffield";
  src: url("../fonts/Sheffield-Demo.woff") format("woff"), url("../fonts/Sheffield-Demo.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #FFFDFA;      /* page background (off-white) */
  --paper-2: #F5F2EC;    /* soft panels */
  --ink: #1D1D1B;        /* titles */
  --text: #3B3B3A;       /* body text */
  --stone: #8C8A85;      /* secondary text */
  --line: #E6E2DA;       /* hairlines */
  --red: #F40202;        /* Ouza red */
  --white: #FFFFFF;

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --script: "Sheffield", "Brush Script MT", cursive;

  --gutter: clamp(16px, 3.2vw, 44px);
  --max: 1680px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -0.045em; line-height: .95; text-wrap: balance; }
p, .lead { text-wrap: pretty; }
.display { font-size: clamp(56px, 10.4vw, 188px); letter-spacing: -0.065em; line-height: .86; }
.h2 { font-size: clamp(40px, 6vw, 104px); letter-spacing: -0.055em; line-height: .9; }
.h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.04em; line-height: 1; }
.lead { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.38; color: var(--ink); letter-spacing: -0.02em; max-width: 34em; }
p { margin: 0 0 1em; max-width: 38em; }
.small { font-size: 14px; color: var(--stone); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; line-height: 1.55; color: var(--text); }

/* The signature move: a word swaps to the hand-written Sheffield in red.
   Mark a word in the HTML like this:  <span class="swap">word</span>          */
.swap { position: relative; display: inline-block; cursor: default; }
.swap__a { display: inline-block; transition: opacity .25s var(--ease), transform .45s var(--ease); }
.swap__b {
  position: absolute; left: 50%; top: 54%;
  font-family: var(--script); font-weight: 400; color: var(--red);
  font-size: 1.05em; letter-spacing: 0; line-height: 1; white-space: nowrap;
  transform: translate(-50%, -40%) rotate(-4deg) scale(.92);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .55s var(--ease);
}
.card:hover .swap__a, .next:hover .swap__a,
.swap:hover .swap__a, .swap.is-on .swap__a { opacity: 0; transform: translateY(-6%); }
.card:hover .swap__b, .next:hover .swap__b,
.swap:hover .swap__b, .swap.is-on .swap__b { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
a .swap, button .swap { cursor: pointer; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  background: var(--ink); color: var(--paper);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--red); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.link:hover { color: var(--red); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .45s var(--ease), background .3s;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { position: relative; z-index: 2; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--ink); }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { height: 42px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 42px; height: 42px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 0 var(--gutter); background: var(--paper);
    font-size: 44px; letter-spacing: -0.05em; font-weight: 500;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav .btn { margin-top: 24px; height: 56px; font-size: 18px; letter-spacing: -0.01em; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 180px) 0; }
.section--tight { padding: clamp(56px, 7vw, 110px) 0; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 32em); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(130px, 17vh, 190px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero__intro { display: flex; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 6vh, 72px); }
.hero__intro .mono { max-width: 22em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero h1 .line > span { transform: none; }
.is-settled .hero h1 .line { overflow: visible; }
.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.hero__foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.hero__foot .lead { margin: 0; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero__intro { flex-direction: column; gap: 8px; }
  .hero__foot { grid-template-columns: 1fr; }
}

/* ---------- Reel (grows on scroll) ---------- */
.reel { height: 210vh; position: relative; }
.reel__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.reel__frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--ink);
  clip-path: inset(var(--in-y, 18%) var(--in-x, 26%) round var(--r, 14px));
  will-change: clip-path;
}
.reel__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.reel__frame img.is-on { opacity: 1; }
.reel__caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; align-items: end; gap: 16px; color: var(--white);
  text-shadow: 0 1px 24px rgba(0,0,0,.45); pointer-events: none;
}
.reel__caption .mono { color: inherit; }
.reel__name { font-size: clamp(28px, 4vw, 64px); letter-spacing: -0.05em; font-weight: 500; line-height: 1; }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 72px) clamp(16px, 2vw, 28px); }
.card { grid-column: span 6; display: block; }
.card:nth-child(4n+1) { grid-column: 1 / span 7; }
.card:nth-child(4n+2) { grid-column: 8 / span 5; margin-top: clamp(60px, 12vw, 200px); }
.card:nth-child(4n+3) { grid-column: 1 / span 5; }
.card:nth-child(4n+4) { grid-column: 6 / span 7; margin-top: clamp(40px, 8vw, 120px); }
.card__media { position: relative; overflow: hidden; border-radius: 6px; background: var(--paper-2); aspect-ratio: 4 / 3; }
.card:nth-child(4n+2) .card__media, .card:nth-child(4n+3) .card__media { aspect-ratio: 4 / 5; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.04); }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.card__name { font-size: clamp(26px, 2.5vw, 38px); font-weight: 500; letter-spacing: -0.045em; color: var(--ink); line-height: 1; }
.card__meta { text-align: right; font-size: 14px; color: var(--stone); line-height: 1.35; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
  .card, .card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .card:nth-child(n) .card__media { aspect-ratio: 4 / 3.4; }
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); transition: background .25s, color .25s, box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.card.is-hidden { display: none; }

/* ---------- Logo marquee ---------- */
.logos { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.marquee { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.logos:hover .marquee { animation-play-state: paused; }
.marquee img { height: clamp(96px, 11vw, 150px); width: auto; margin-right: clamp(0px, 1vw, 16px); filter: brightness(.25); opacity: .78; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto (lights up word by word) ---------- */
.manifesto p { max-width: 20em; font-size: clamp(32px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 500; color: var(--ink); }
.manifesto .w { opacity: .14; transition: opacity .25s linear; }
.manifesto .w.is-lit { opacity: 1; }
.manifesto .sig { margin-top: 40px; display: flex; gap: 16px; align-items: center; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar { border-top: 1px solid var(--ink); padding-top: 18px; }
.pillar h3 { font-size: 26px; letter-spacing: -0.04em; margin-bottom: 14px; }
.pillar p { font-size: 16px; margin: 0; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Services accordion ---------- */
.services { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service__btn { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 26px 0; text-align: left; }
.service__title { font-size: clamp(30px, 4vw, 64px); letter-spacing: -0.055em; font-weight: 500; color: var(--ink); line-height: 1; transition: color .25s; }
.service__btn:hover .service__title { color: var(--red); }
.service__plus { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; flex: none; transition: transform .4s var(--ease), background .3s; }
.service__plus::before, .service__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.service__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.service.is-open .service__plus { transform: rotate(45deg); background: var(--ink); }
.service.is-open .service__plus::before, .service.is-open .service__plus::after { background: var(--paper); }
.service__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__inner { overflow: hidden; }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 0 0 34px; }
.service__cols p { margin: 0; }
.service__for { font-size: 15px; color: var(--stone); }
@media (max-width: 700px) { .service__cols { grid-template-columns: 1fr; } }

/* ---------- Steps (method) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--stone); }
.step h3 { font-size: 24px; letter-spacing: -0.04em; margin: 22px 0 8px; }
.step p { font-size: 15px; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.method-row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 24px 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.method-row:last-child { border-bottom: 1px solid var(--line); }
.method-row__n { font-size: clamp(40px, 5vw, 80px); letter-spacing: -0.06em; color: var(--red); font-weight: 500; line-height: .9; }
.method-row h2 { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -0.05em; }
.method-row .sub { margin-top: 10px; color: var(--stone); font-size: 16px; }
.method-row ul { margin: 18px 0 0; padding: 0; list-style: none; }
.method-row li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 860px) { .method-row { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.founder__photo { position: relative; border-radius: 6px; overflow: hidden; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.founder__photo:hover img { filter: grayscale(0); }
.founder__sign { font-family: var(--script); color: var(--red); font-size: 64px; line-height: 1; margin-top: 20px; transform: rotate(-4deg); display: inline-block; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* ---------- Missions slab (the one red moment) ---------- */
.slab { background: var(--red); color: var(--white); }
.slab h2, .slab .lead { color: var(--white); }
.slab .mono { color: rgba(255,255,255,.85); }
.slab__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.slab__photo { border-radius: 6px; overflow: hidden; }
.slab__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slab .script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
@media (max-width: 860px) { .slab__grid { grid-template-columns: 1fr; } }

/* ---------- Info + FAQ ---------- */
.info-faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 110px); }
.info-block { display: grid; gap: 28px; align-content: start; }
.info-block .mono strong { font-weight: 500; color: var(--ink); }
.avail { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.avail span { font-family: var(--mono); font-size: 12px; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.avail span.full { color: var(--stone); text-decoration: line-through; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(19px, 1.6vw, 24px); color: var(--ink); letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.3em; line-height: .8; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; }
@media (max-width: 860px) { .info-faq { grid-template-columns: 1fr; } }

/* ---------- Big CTA ---------- */
.cta { text-align: left; }
.cta .display { max-width: 11em; }
.cta__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: 48px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 8vw, 120px) 0 28px; border-top: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: clamp(56px, 8vw, 120px); }
.footer__cols h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .02em; color: var(--stone); margin-bottom: 12px; line-height: 1.4; }
.footer__cols a, .footer__cols p { display: block; color: var(--ink); font-size: 15px; margin: 0 0 4px; }
.footer__cols a:hover { color: var(--red); }
.footer__mark { font-size: clamp(110px, 27vw, 470px); line-height: .78; letter-spacing: -0.075em; font-weight: 500; color: var(--ink); margin: 0 0 24px -0.04em; }
.footer__mark sup { font-size: .22em; vertical-align: top; position: relative; top: .5em; margin-left: .05em; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Case page ---------- */
.case-hero { padding-top: clamp(120px, 16vh, 170px); }
.back { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--stone); margin-bottom: 40px; }
.back:hover { color: var(--ink); }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: clamp(40px, 5vw, 72px) 0; padding-top: 18px; border-top: 1px solid var(--ink); }
.case-meta dt { font-family: var(--mono); font-size: 12px; color: var(--stone); margin-bottom: 6px; }
.case-meta dd { margin: 0; color: var(--ink); font-size: 16px; }
@media (max-width: 860px) { .case-meta { grid-template-columns: 1fr 1fr; } }
.case-cover { width: 100%; border-radius: 6px; overflow: hidden; }
.case-cover img, .case-cover video { width: 100%; }
.case-intro { display: grid; grid-template-columns: 4fr 7fr; gap: 24px 48px; padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); }
.case-intro h2 { font-size: clamp(30px, 3vw, 44px); }
.case-intro .text p { font-size: clamp(18px, 1.35vw, 21px); color: var(--ink); line-height: 1.45; letter-spacing: -0.02em; }
@media (max-width: 860px) { .case-intro { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: clamp(12px, 1.4vw, 22px); }
.gallery__row { display: grid; gap: clamp(12px, 1.4vw, 22px); }
.gallery__row--2 { grid-template-columns: 1fr 1fr; align-items: start; }
.gallery__row--solo { grid-template-columns: 1fr 1fr; }
.gallery__row--solo figure { grid-column: 2; }
.gallery figure { margin: 0; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.gallery img, .gallery video { width: 100%; }
@media (max-width: 600px) { .gallery__row--2, .gallery__row--solo { grid-template-columns: 1fr; } .gallery__row--solo figure { grid-column: 1; } }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 22px); margin: clamp(72px, 9vw, 140px) 0; }
.before-after figure { margin: 0; }
.before-after img { border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.before-after figcaption { font-family: var(--mono); font-size: 12px; color: var(--stone); margin-top: 10px; }
.next { display: block; padding: clamp(72px, 9vw, 140px) 0; border-top: 1px solid var(--line); margin-top: clamp(72px, 9vw, 140px); }
.next .small { margin-bottom: 14px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding-top: clamp(140px, 19vh, 210px); padding-bottom: clamp(56px, 7vw, 100px); }
.page-hero .lead { margin-top: clamp(28px, 3vw, 44px); }

/* ---------- Studio page ---------- */
.photo-pair { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(12px, 1.4vw, 22px); }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; filter: grayscale(1); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .photo-pair { grid-template-columns: 1fr; } }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__soon { position: absolute; inset: auto 20px 20px auto; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 12px; padding: 8px 12px; border-radius: 999px; display: none; }
.video.is-missing .video__soon { display: block; }
.mission-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(12px, 1.4vw, 22px); }
.mission-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

/* ---------- Apply form ---------- */
.apply { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.apply__aside { position: sticky; top: 110px; display: grid; gap: 28px; }
.apply__aside ol { margin: 0; padding: 0; list-style: none; counter-reset: a; }
.apply__aside li { counter-increment: a; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.apply__aside li::before { content: counter(a); position: absolute; left: 0; top: 14px; font-family: var(--mono); font-size: 12px; color: var(--red); }
.form { display: grid; gap: 44px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; }
.form legend { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.04em; color: var(--ink); margin-bottom: 20px; padding: 0; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .fields-2 { grid-template-columns: 1fr; } .apply { grid-template-columns: 1fr; } .apply__aside { position: static; } }
.field label, .field .label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.field .hint { color: var(--stone); font-size: 13px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; font-size: 18px;
  transition: border-color .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); transition: background .2s, color .2s, box-shadow .2s; }
.choice:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__send { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hidden { display: none; }

/* ---------- Custom cursor (desktop only) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  background: var(--red); color: var(--white); display: grid; place-items: center;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
  transition: transform .35s var(--ease);
}
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Reveal on scroll (images only) ---------- */
.reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.reveal.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .hero h1 .line > span { transform: none; }
  .reveal { clip-path: none; }
  .reel { height: auto; }
  .reel__sticky { position: relative; height: 80vh; }
  .reel__frame { clip-path: inset(0 var(--gutter) round 6px); }
  .manifesto .w { opacity: 1; }
}


/* =========================================================
   Round 2 (client notes)
   ========================================================= */

/* ---- Red home hero with the big Ouza logo ---- */
.hero--red { background: var(--red); padding-bottom: 0; color: var(--white); overflow: hidden; }
.hero--red .mono { color: var(--white); }
.hero--red h1 { color: var(--ink); font-size: clamp(48px, 7.4vw, 150px); position: relative; z-index: 1; }
.hero--red { min-height: 100vh; display: flex; flex-direction: column; }
.hero--red > .wrap { flex: 1; display: flex; flex-direction: column; }
.hero--red .hero__stage { flex: 1; display: flex; align-items: flex-end; }
.hero--red .swap__b { color: var(--white); }
.hero__stage { position: relative; padding-top: clamp(90px, 12vw, 200px); padding-bottom: clamp(40px, 5vw, 80px); }
.hero__logo {
  position: absolute; z-index: 2; pointer-events: none;
  width: clamp(300px, 46vw, 860px); left: -1.5%; top: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
  transform: rotate(-4deg) scale(.92); opacity: 0;
  transition: transform 1.4s var(--ease) .25s, opacity .9s var(--ease) .25s;
}
.is-loaded .hero__logo { opacity: 1; transform: rotate(-4deg) scale(1); }
.is-settled .hero__logo { animation: logoFloat 7s ease-in-out infinite; }
@keyframes logoFloat { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.hero__band { background: var(--ink); color: var(--white); padding: clamp(28px, 3vw, 40px) 0; }
.hero__band .lead { color: var(--white); margin: 0; }
.btn--ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
@media (max-width: 860px) { .hero__logo { width: 78vw; top: 30px; } .hero__stage { padding-top: 120px; } .hero--red { min-height: auto; } }

/* header sitting on the red hero (home, before scrolling) */
body[data-page="home"] .header:not(.is-solid) .logo { opacity: 0; pointer-events: none; }
body[data-page="home"] .header:not(.is-solid) .nav { color: var(--white); }
body[data-page="home"] .header:not(.is-solid) .nav .btn--red { background: var(--white); color: var(--red); }
body[data-page="home"] .header:not(.is-solid) .menu-btn span { background: var(--white); }
body[data-page="home"].menu-open .header .nav { color: var(--ink); }
body[data-page="home"].menu-open .header .nav .btn--red { background: var(--red); color: var(--white); }
body[data-page="home"].menu-open .header .menu-btn span { background: var(--ink); }
.logo { transition: opacity .3s; }

/* ---- Pillar icons ---- */
.pillar__icon { width: 40px; height: 40px; display: block; margin-bottom: 18px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Footer: "Ouza" turns into the real logo on hover ---- */
.mark { position: relative; display: inline-block; cursor: default; }
.mark__a { display: inline-block; transition: opacity .3s var(--ease); }
.mark__b { position: absolute; left: 0; top: 40%; width: 92%; height: auto; max-width: none; opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(.92); transition: opacity .3s var(--ease), transform .6s var(--ease); pointer-events: none; }
.mark:hover .mark__a, .mark.is-on .mark__a { opacity: 0; }
.footer__mark sup { transition: opacity .3s; }
.footer__mark:hover sup, .footer__mark:has(.mark.is-on) sup { opacity: 0; }
.mark:hover .mark__b, .mark.is-on .mark__b { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }

/* ---- Signature, framed portrait, missions logo ---- */
.signature { display: block; width: clamp(200px, 22vw, 300px); height: auto; margin-top: 18px; }
.founder__photo--framed { border: 1px solid var(--ink); background: var(--paper-2); }
.missions-logo { display: block; width: clamp(280px, 40vw, 620px); height: auto; }
.missions-logo--sm { width: clamp(220px, 24vw, 340px); margin-bottom: 28px; }

/* ---- Split heroes (Method / Apply) ---- */
.hero-split .display { font-size: clamp(52px, 7vw, 128px); }
.hero-split { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } }

/* Method: overlapping case images drifting slowly */
.collage { position: relative; height: clamp(360px, 40vw, 600px); }
.collage__i { position: absolute; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.35); will-change: transform; }
.collage__i--1 { width: 62%; aspect-ratio: 4/3; left: 0; top: 6%; z-index: 2; animation: drift1 11s ease-in-out infinite; }
.collage__i--2 { width: 34%; aspect-ratio: 2/3; right: 4%; top: 0; z-index: 3; animation: drift2 13s ease-in-out infinite; }
.collage__i--3 { width: 44%; aspect-ratio: 16/10; left: 18%; bottom: 0; z-index: 4; animation: drift3 12s ease-in-out infinite; }
.collage__i--4 { width: 38%; aspect-ratio: 4/3; right: 0; bottom: 8%; z-index: 1; animation: drift2 15s ease-in-out infinite reverse; }
.collage__i--5 { width: 30%; aspect-ratio: 4/3; left: 4%; bottom: 14%; z-index: 0; animation: drift1 14s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(10px,-16px) rotate(-1deg); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) rotate(3deg); } 50% { transform: translate(-12px,14px) rotate(1.5deg); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) rotate(1deg); } 50% { transform: translate(14px,10px) rotate(-1deg); } }

/* Apply: big red arrow pointing down-left, its tail running off the screen; logos float on the line */
.page-hero--arrow { overflow-x: clip; }
.arrow-stage { position: relative; height: clamp(340px, 36vw, 560px); }
.arrow-box { position: absolute; width: 150%; aspect-ratio: 1; right: -62%; bottom: 0; }
.arrow { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.on-arrow { position: absolute; width: clamp(190px, 20vw, 300px); transform: translate(-50%, -50%); }
.float-logo { display: block; width: 100%; height: auto; filter: brightness(.25); }
.float-logo--1 { animation: bob 9s ease-in-out infinite; }
.float-logo--2 { animation: bob 11s ease-in-out infinite -3s; }
.float-logo--3 { animation: bob 10s ease-in-out infinite -6s; }
.float-logo--4 { animation: bob 12s ease-in-out infinite -2s; }
@media (max-width: 860px) { .arrow-box { width: 120%; right: -45%; } .on-arrow { width: 150px; } }
@keyframes bob { 0%,100% { transform: translate(0,0) rotate(0); } 33% { transform: translate(6px,-8px) rotate(3deg); } 66% { transform: translate(-5px,5px) rotate(-2deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero__logo { opacity: 1; transform: rotate(-4deg); }
}
