/* ==========================================================================
   Akdeinz Motion — site styles
   System: black field, 60° bands, one easing, Akdeinz Blue in small doses.
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --blue: #2e6bff;      /* Akdeinz Blue — accent */
  --aegean: #0b35c9;    /* accent dark */
  --fold: #e6e6e6;      /* logo fold / light */
  --carbon: #191919;    /* logo fold / dark */
  --mute: #8c8c8c;      /* secondary text, 6.9:1 on black */
  --line: #262626;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --in: 600ms;
  --out: 280ms;

  --tan60: 1.732;
  --gutter: clamp(16px, 4vw, 64px);
  --col-gap: clamp(12px, 1.6vw, 24px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--blue); color: var(--white); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--white); color: var(--black);
  transform: translateY(-200%); transition: transform var(--out) var(--ease);
}
.skip:focus { transform: none; }

.caption {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter) 28px;
  background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,0));
  transition: transform var(--in) var(--ease), opacity var(--in) var(--ease);
}
.is-loading .nav { opacity: 0; transform: translateY(-12px); }
.nav__logo img { width: 176px; height: auto; }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav__links a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--out) var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; transition-duration: var(--in); }
.nav__links a[aria-current]::after { transform: scaleX(1); background: var(--blue); }
.dot {
  width: 7px; height: 7px; background: var(--blue);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); /* tiny 60° band */
}
.nav__progress {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav__links { flex-wrap: wrap; gap: 8px 18px; }
}
@media (max-width: 560px) {
  .nav__logo img { width: 140px; }
  .nav__links { gap: 6px 14px; }
}
@media (max-width: 359px) {
  .nav__logo img { width: 120px; }
  .nav__links { gap: 10px; }
  .nav__links a { font-size: 12px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto 1fr; /* equal rows keep the mark dead centre */
  place-items: center;
  padding: calc(clamp(28px, 4.4vw, 64px) + 20px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

.mark {
  grid-area: 2 / 1;
  width: min(78vw, 980px, 118vh);
  height: auto;
  overflow: visible;
  will-change: transform;
}
.band {
  transform-box: view-box;
  transition: transform var(--in) var(--ease), opacity var(--in) var(--ease);
  transition-delay: calc(var(--i) * 80ms + 250ms);
}
/* pre-sting: each band waits outside the frame, on its own 60° axis */
.is-loading .band[data-axis="up"]   { transform: translate(-130px, 225px); }
.is-loading .band[data-axis="down"] { transform: translate(-130px, -225px); }
.is-live .band { transition: none; } /* after the sting, scroll drives the bands */
.mark__fold { transition: opacity 400ms var(--ease) 480ms; }
.is-loading .mark__fold { opacity: 0; }
.is-live .mark__fold { transition: none; } /* no delay once scroll drives it */

.hero__line {
  grid-area: 3 / 1;
  margin: clamp(28px, 5vw, 56px) 0 0;
  align-self: start;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32;
}
.hero__foot {
  grid-area: 3 / 1;
  align-self: end;
  width: 100%;
  display: flex; justify-content: space-between; align-items: end;
}
@media (max-height: 520px) { .hero__foot { display: none; } }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i {
  width: 14px; height: 24px; position: relative; overflow: hidden;
}
.hero__scroll i::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%;
  background: var(--white); transform-origin: top;
  transform: skewX(-30deg); /* 60° from horizontal */
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0%   { clip-path: inset(0 0 100% 0); }
  45%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(100% 0 0 0); }
}

/* the cover's blue band, bottom-left */
.hero__band {
  position: absolute; left: 0; bottom: 0; z-index: -1;
  width: clamp(180px, 32vw, 520px); height: clamp(28px, 4.4vw, 64px);
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - clamp(28px, 4.4vw, 64px) / var(--tan60)) 100%, 0 100%);
  transition: transform 900ms var(--ease) 1100ms;
}
.is-loading .hero__band { transform: translateX(-101%); }

[data-reveal] {
  transition: opacity var(--in) var(--ease) 1250ms, transform var(--in) var(--ease) 1250ms;
}
.is-live [data-reveal] { transition: none; }
.is-loading [data-reveal] { opacity: 0; transform: translateY(10px); }

/* ---------- REEL ---------- */
/* one screen tall, no pinning: the frame opens as it scrolls in */
.reel { position: relative; height: 100vh; height: 100svh; }
.reel__sticky {
  position: relative; height: 100%;
  display: grid; place-items: center; overflow: hidden;
}
.reel__window {
  position: absolute; inset: 0;
  background: var(--carbon);
  clip-path: polygon(45% 0, 60% 0, 55% 100%, 40% 100%); /* replaced by JS */
}
.reel__window .study, .reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__video { opacity: 0; transition: opacity var(--in) var(--ease); }
.reel__video.is-ready { opacity: 1; }
.reel__link { position: absolute; inset: 0; }
.reel__sound {
  position: absolute; right: var(--gutter); bottom: 28px;
  padding: 10px 16px; font-size: 13px;
  background: var(--white); color: var(--black);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.reel__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; pointer-events: none;
  mix-blend-mode: difference;
}
.reel__meta .caption { color: var(--white); }

/* ---------- WORK ---------- */
.work { padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 160px); }
.work--list { padding-top: clamp(40px, 6vw, 88px); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px; margin-bottom: clamp(24px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.section-head h2 { margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 6vw, 96px) var(--col-gap);
  align-items: start;
}
/* editorial rhythm: big / small, offset, then a full-bleed beat */
.tile--a { grid-column: 1 / span 7; }
.tile--b { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.tile--c { grid-column: 2 / span 4; }
.tile--d { grid-column: 7 / span 6; margin-top: clamp(40px, 8vw, 120px); }
.tile--e { grid-column: 1 / span 12; }
.tile--f { grid-column: 5 / span 5; }

.tile { --cut: clamp(18px, 2.4vw, 36px); position: relative; }
.tile__link { display: block; }
.tile__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--carbon); overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--tan60)), 100% 100%, 0 100%);
  transition: clip-path var(--in) var(--ease);
}
.tile--b .tile__media, .tile--c .tile__media { aspect-ratio: 4 / 5; }
.tile--e .tile__media { aspect-ratio: 21 / 9; }
.tile--f .tile__media { aspect-ratio: 1 / 1; }
.tile--reel .tile__media { aspect-ratio: 2 / 3; }
.tile__media .study, .tile__media video, .tile__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1200ms var(--ease), opacity var(--in) var(--ease);
}
.tile__media video { opacity: 0; }
.tile.is-playing .tile__media video { opacity: 1; }
.tile:hover .tile__media,
.tile:focus-within .tile__media { clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 0 100%); }
.tile:hover .study { transform: scale(1.03); }

.tile__meta {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px;
  padding-top: 14px;
}
.tile__meta h2, .tile__meta h3 {
  margin: 0; font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; letter-spacing: -0.01em;
}
.tile__n, .tile__type {
  font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}
.tile__n { color: var(--blue); }

/* reels: tall, offset columns */
.grid--reels {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 4vw, 64px) var(--col-gap);
}
.grid--reels .tile:nth-child(even) { margin-top: clamp(32px, 6vw, 96px); }

/* entrance: tiles rise along the 60° axis */
.tile, [data-rise] { transition: transform 900ms var(--ease), opacity 900ms var(--ease); }
.js .tile:not(.is-in), .js [data-rise]:not(.is-in) { opacity: 0; transform: translate(-24px, 42px); }

.more {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: clamp(64px, 9vw, 140px); padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.03em;
  transition: color var(--out) var(--ease);
}
.more::after { content: "→"; font-weight: 500; }
.more:hover { color: var(--blue); }

@media (max-width: 820px) {
  .grid--reels { grid-template-columns: repeat(2, 1fr); }
  .grid { gap: 56px 12px; }
  .tile--a, .tile--d, .tile--e { grid-column: 1 / -1; margin-top: 0; }
  .tile--b, .tile--c { grid-column: span 6; margin-top: 0; }
  .tile--f { grid-column: 3 / span 10; }
  .tile--b .tile__media, .tile--c .tile__media { aspect-ratio: 3 / 4; }
  .tile--e .tile__media { aspect-ratio: 16 / 9; }
  .tile__meta { grid-template-columns: auto 1fr; }
  .tile__type { grid-column: 2; }
}

/* ---------- PAGE HEAD (Work, Reels) ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 72vh; min-height: 72svh;
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(16px, 2vw, 28px);
  padding: 112px var(--gutter) calc(clamp(28px, 4.4vw, 64px) + 24px);
}
.page-head__foot { order: 2; display: flex; justify-content: space-between; }
.page-head__title {
  margin: 0;
  font-size: clamp(88px, 22vw, 380px);
  line-height: 0.82;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variation-settings: "opsz" 32;
}
[data-split] .w { display: inline-block; white-space: nowrap; }
[data-split] .ch {
  display: inline-block;
  animation: wiggle 2.4s var(--ease) infinite alternate;
  animation-delay: calc(var(--n) * -0.14s);
  will-change: transform;
}

/* ---------- PROJECT PAGE ---------- */
.case__head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(112px, 13vw, 184px) var(--gutter) clamp(36px, 5vw, 72px);
}
.case__head .hero__field { opacity: 0.55; } /* quieter here: there is more text on top */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs a { color: var(--white); transition: color var(--out) var(--ease); }
.crumbs a:hover { color: var(--blue); }
.case__title {
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  max-width: 13ch;
  font-size: clamp(48px, 10vw, 172px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 32;
}
.case--reel .case__title { max-width: 16ch; font-size: clamp(40px, 7vw, 116px); }
.case__summary {
  margin: clamp(20px, 2.6vw, 36px) 0 0;
  max-width: 34ch;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32;
}

.case__layout { padding: 0 var(--gutter); }
.case__media { margin: 0; }
.case__frame {
  --cut: clamp(24px, 3.2vw, 56px);
  position: relative; aspect-ratio: 16 / 9; background: var(--carbon); overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--tan60)), 100% 100%, 0 100%);
}
.case__frame .study, .case__frame video, .case__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.case--reel .case__frame { aspect-ratio: 2 / 3; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 28px var(--col-gap);
  margin: 0; padding: clamp(28px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { margin-bottom: 8px; }
.facts dd {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em;
}

.block {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--col-gap);
  padding: clamp(32px, 4.4vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.block h2 { grid-column: 1 / span 4; margin: 0; }
.block .prose, .block .chips { grid-column: 5 / -1; }
.prose p {
  margin: 0 0 1em; max-width: 54ch;
  font-size: clamp(18px, 1.7vw, 24px); line-height: 1.42; letter-spacing: -0.012em;
}
.prose p:last-child { margin-bottom: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 18px; background: var(--carbon); font-size: 14px;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.case__share { margin: 0; padding: 24px 0 clamp(48px, 7vw, 96px); }

@media (min-width: 901px) {
  .case--reel .case__layout {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 112px); align-items: start;
  }
  .case--reel .case__media { position: sticky; top: 88px; }
  .case--reel .facts { padding-top: 0; }
  .case--reel .block h2 { grid-column: 1 / -1; }
  .case--reel .block .prose, .case--reel .block .chips { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .case--reel .case__frame { max-width: 440px; }
}
@media (max-width: 820px) {
  .block h2, .block .prose, .block .chips { grid-column: 1 / -1; }
}

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager__link {
  display: grid; gap: 10px; align-content: start;
  padding: clamp(28px, 4.4vw, 64px) var(--gutter);
  transition: background-color var(--out) var(--ease);
}
.pager__link + .pager__link { border-left: 1px solid var(--line); text-align: right; }
.pager__title {
  font-size: clamp(20px, 3.6vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em;
  transition: color var(--out) var(--ease);
}
.pager__link:hover { background: var(--carbon); }
.pager__link:hover .pager__title { color: var(--blue); }

/* ---------- CONTACT ---------- */
.contact {
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--gutter) clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact::before { /* Aegean glow, as on the guideline cover */
  content: ""; position: absolute; left: -10%; bottom: -40%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(11, 53, 201, 0.35), transparent);
  pointer-events: none; z-index: -1;
}
.contact { isolation: isolate; }

.contact__title {
  margin: 0 0 clamp(48px, 7vw, 112px);
  font-size: clamp(48px, 11vw, 188px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 32;
  max-width: 12ch;
}
.contact__title .w:last-child .ch { color: var(--blue); animation-name: wiggle-strong; }
.contact--cta .contact__title { margin-bottom: clamp(32px, 4vw, 56px); }
/* drift along the brand's 60° axis: dx = 0.5k, dy = -0.866k */
@keyframes wiggle {
  from { transform: translate(-0.012em, 0.021em); }
  to   { transform: translate(0.012em, -0.021em); }
}
@keyframes wiggle-strong {
  from { transform: translate(-0.022em, 0.038em); }
  to   { transform: translate(0.022em, -0.038em); }
}

.contact__grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 120px);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
/* until email/socials are added, the form takes the full row */
.contact__grid:not(:has(.contact__direct)) { grid-template-columns: 1fr; max-width: 880px; }

.contact__direct { display: grid; gap: 14px; justify-items: start; }
.contact__email {
  font-size: clamp(22px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.03em;
  word-break: break-all;
  background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat;
  transition: background-size var(--in) var(--ease);
  padding-bottom: 4px;
}
.contact__email:hover { background-size: 100% 2px; }

.copy {
  font-size: 13px; color: var(--mute); display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--out) var(--ease);
}
.copy::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; }
.copy:hover { color: var(--white); }
.copy.is-done { color: var(--blue); }

.socials {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.socials a {
  font-size: 14px; display: inline-flex; gap: 6px; align-items: center;
  transition: color var(--out) var(--ease);
}
.socials a::after { content: "↗"; color: var(--mute); transition: color var(--out) var(--ease); }
.socials a:hover::after { color: var(--blue); } /* colour only: nothing moves on hover */

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--col-gap); }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.field input, .field textarea {
  width: 100%; display: block;
  padding: 28px 0 12px;
  background: transparent; color: var(--white);
  font: inherit; font-size: 18px; font-weight: 500;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  resize: vertical; min-height: 64px;
  transition: border-color var(--out) var(--ease);
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--white); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--blue); }
.field label {
  position: absolute; left: 0; top: 30px; pointer-events: none;
  color: var(--mute); font-size: 18px;
  transform-origin: left top;
  transition: transform var(--out) var(--ease), color var(--out) var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(0.62); color: var(--white);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.field::after { /* focus band sweeps along the underline */
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform var(--in) var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }

.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.send {
  position: relative; overflow: hidden; display: inline-block;
  padding: 18px 44px 18px 32px;
  background: var(--white); color: var(--black);
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 32px) 100%, 0 100%);
  min-width: 180px; text-align: left;
}
.send__label { position: relative; z-index: 1; transition: color var(--out) var(--ease); }
.send__band {
  position: absolute; inset: 0; background: var(--blue);
  clip-path: polygon(0 0, 0 0, -60px 100%, -60px 100%);
  transition: clip-path var(--in) var(--ease);
}
.send:hover .send__band, .send:focus-visible .send__band {
  clip-path: polygon(0 0, calc(100% + 60px) 0, 100% 100%, -60px 100%);
}
.send:hover .send__label, .send:focus-visible .send__label { color: var(--white); }
.send[disabled] { opacity: 0.6; cursor: progress; }
.form__status { margin: 0; font-size: 14px; color: var(--mute); }
.form__status.is-ok { color: var(--white); }
.form__status.is-err { color: #ff6b6b; }

/* ---------- FOOTER ---------- */
.footer {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
}
.footer__mark { width: 58px; height: auto; margin-right: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 100%; }
.footer__links a, .footer__top { transition: color var(--out) var(--ease); }
.footer__links a:hover, .footer__top:hover { color: var(--white); }
@media (max-width: 640px) { .footer__mark { width: 100%; max-width: 58px; margin-right: calc(100% - 58px); } }

/* ---------- TEXT PAGES (pricing, guides, about, price tables) ---------- */
.doc__head {
  padding: clamp(150px, 15vw, 210px) var(--gutter) clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.doc__title {
  margin: clamp(18px, 2vw, 28px) 0 0; max-width: 22ch;
  font-size: clamp(34px, 6.4vw, 92px); line-height: 1; font-weight: 800; letter-spacing: -0.045em;
  font-variation-settings: "opsz" 32; overflow-wrap: break-word;
}
.doc__meta { margin: clamp(18px, 2vw, 28px) 0 0; }
.doc__body { padding: 0 var(--gutter) clamp(40px, 6vw, 88px); }
.doc__body > section { padding: clamp(32px, 4.4vw, 64px) 0; border-bottom: 1px solid var(--line); max-width: 1120px; }
.doc h2 {
  margin: 0 0 0.7em; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em;
}
.doc h2.caption { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; margin-bottom: 14px; }
.doc h3 { margin: 1.6em 0 0.5em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.doc p, .doc li { max-width: 68ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--fold); }
.doc p { margin: 0 0 1em; }
.doc ul, .doc ol { margin: 0 0 1em; padding-left: 1.3em; }
.doc li { margin-bottom: 0.5em; }
.doc li::marker { color: var(--blue); }
.doc a { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--out) var(--ease); }
.doc a:hover { color: var(--blue); }
.doc strong { color: var(--white); }
.verify { color: var(--blue); font-weight: 700; white-space: nowrap; }

.capsule { border-left: 3px solid var(--blue); padding-left: clamp(16px, 2vw, 28px) !important; margin-top: clamp(28px, 4vw, 56px); border-bottom: 0 !important; }
.capsule p { font-size: clamp(19px, 2vw, 27px); line-height: 1.38; font-weight: 600; letter-spacing: -0.018em; color: var(--white); margin: 0; max-width: 56ch; }

.trade__line {
  max-width: 34ch !important; font-size: clamp(22px, 2.8vw, 40px) !important; line-height: 1.12 !important;
  font-weight: 700; letter-spacing: -0.03em; color: var(--white) !important;
}
.hours { color: var(--white) !important; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: clamp(14px, 1.15vw, 16px); }
.table-wrap--wide table { min-width: 780px; }
.table-wrap th, .table-wrap td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--fold); }
.table-wrap thead th { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.table-wrap tbody th { color: var(--white); font-weight: 700; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:target { background: var(--carbon); }
.table-wrap a { color: var(--white); }

.example { margin: 0; display: grid; gap: 14px; justify-items: start; }
.example__media { width: min(100%, 300px); aspect-ratio: 2 / 3; background: var(--carbon); overflow: hidden; }
.example__media img, .example__media video { width: 100%; height: 100%; object-fit: cover; }
.example figcaption { max-width: 60ch; font-size: 14px; line-height: 1.5; color: var(--mute); }

.guides { list-style: none; padding: 0 !important; display: grid; gap: clamp(20px, 3vw, 36px); }
.guides li { margin: 0; max-width: none; }
.guides p { margin: 6px 0 0; color: var(--mute); }
.guide__title { font-size: clamp(20px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }

.quote .contact__title { max-width: none; font-size: clamp(44px, 9vw, 150px); }
.quote__line { margin: 0 0 12px; font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.03em; }
.quote__text { margin: 0 0 clamp(24px, 3vw, 40px); max-width: 52ch; color: var(--fold); }
.quote__links { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.quote__links a { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.quote__links a:hover { color: var(--blue); }

/* home: prices at a glance, and the text-first lists on Work and Reels */
.offer { padding: clamp(80px, 10vw, 160px) var(--gutter); border-top: 1px solid var(--line); }
.offer__line { margin: 0 0 14px; font-size: clamp(26px, 4vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; max-width: 18ch; }
.offer__text { margin: 0 0 clamp(24px, 3vw, 40px); max-width: 60ch; color: var(--fold); }
.more--sub { margin-top: 0; border-top: 0; font-size: clamp(18px, 2.2vw, 30px); }
.pieces { padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.pieces h2 { margin: 0 0 14px; }
.pieces p { max-width: 62ch; color: var(--fold); margin: 0 0 1.2em; }
.pieces .table-wrap table { min-width: 640px; }
.offer .table-wrap, .pieces .table-wrap { max-width: 1120px; }
.offer .table-wrap th, .offer .table-wrap td, .pieces .table-wrap th, .pieces .table-wrap td { color: var(--fold); }

/* ---------- PAGE CHANGE ---------- */
/* the next page opens from a single 60° band, as the showreel does */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: band-open var(--in) var(--ease) both; mix-blend-mode: normal; }
}
@keyframes band-open {
  from {
    clip-path: polygon(
      calc(50% - 8vw + 28.87vh) 0, calc(50% + 8vw + 28.87vh) 0,
      calc(50% + 8vw - 28.87vh) 100%, calc(50% - 8vw - 28.87vh) 100%
    );
  }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  display: grid; place-items: center;
  opacity: 0; transition: opacity var(--out) var(--ease);
}
.cursor::before {
  content: ""; position: absolute; inset: 0;
  background: var(--white);
  clip-path: polygon(33% 0, 100% 0, 67% 100%, 0 100%);
  transition: transform var(--in) var(--ease), background-color var(--out) var(--ease);
}
.cursor span {
  position: relative; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); opacity: 0; transition: opacity var(--out) var(--ease);
  white-space: nowrap;
}
.has-cursor .cursor { opacity: 1; }
.cursor.is-label::before { transform: scale(5.2, 2.2); background: var(--blue); }
.cursor.is-label span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .tile:not(.is-in), .js [data-rise]:not(.is-in) { opacity: 1; transform: none; }
}

/* ---- real clips (4:5), about portrait, contact page ---- */
.example--clip .example__media { aspect-ratio: 4 / 5; }
.case--clip .case__frame { aspect-ratio: 4 / 5; max-width: 520px; }
.case--clip .case__layout { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .case--clip .case__layout { grid-template-columns: 1fr; } }
.case__frame video { background: var(--carbon); }

.person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.person__fig { margin: 0; background: #fff; aspect-ratio: 624 / 680; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 48px, 100% 100%, 0 100%); }
.person__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__text h2 { margin: 0 0 12px; }
.person__text p { max-width: 56ch; }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } .person__fig { max-width: 260px; } }

.contact--page { padding-top: clamp(112px, 14vw, 180px); }
.contact--page .crumbs { margin-bottom: 20px; }
.contact__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; align-content: start; }
.contact__links li { display: grid; gap: 4px; }
.contact__links a { font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact__links a:hover { color: var(--blue); }
.contact--page .contact__grid:not(:has(.contact__direct)) { grid-template-columns: 5fr 7fr; max-width: none; }
@media (max-width: 900px) { .contact--page .contact__grid:not(:has(.contact__direct)) { grid-template-columns: 1fr; } }

/* ---- phones: real clips are 4:5, so show them whole; no sideways scroll ---- */
.tile--clip .tile__media { aspect-ratio: 4 / 5; }
.tile--clip.tile--a { grid-column: 1 / span 6; }
.tile--clip.tile--e { grid-column: 4 / span 6; }
.tile--clip.tile--f { grid-column: 5 / span 5; }
@media (max-width: 820px) {
  .tile--clip.tile--a, .tile--clip.tile--d, .tile--clip.tile--e { grid-column: 1 / -1; }
  .tile--clip.tile--b, .tile--clip.tile--c { grid-column: span 6; }
  .tile--clip.tile--f { grid-column: 1 / -1; }
  .tile--clip .tile__media { aspect-ratio: 4 / 5 !important; }
  .reel__video { object-fit: contain; }
}
