/* ==========================================================================
   ADVERTECH — design system
   One stylesheet for the whole site. Tokens first, then layout, then parts.
   ========================================================================== */

:root {
  /* Colour — warm off-white paper, warm near-black ink, the logo orange */
  --paper:      #FBFAF8;
  --paper-2:    #F4F1EB;
  --paper-3:    #EDE8E0;
  --ink:        #151210;
  --ink-70:     #4E4842;
  --ink-45:     #8B837A;
  --line:       #E6E0D7;
  --accent:     #EA6A0A;
  --accent-deep:#B84A05;
  --accent-soft:#FDF0E3;
  --white:      #FFFFFF;

  /* Type */
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Space + shape */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(76px, 10vw, 136px);
  --r: 14px;
  --r-lg: 24px;

  --ease: cubic-bezier(.22, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Reset-ish
   -------------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 760px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead,
.section--ink .muted { color: rgba(251, 250, 248, .68); }
.section--ink .rule { background: rgba(255, 255, 255, .16); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
  font-size: clamp(2.7rem, 7.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.03; letter-spacing: -0.032em; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; letter-spacing: -0.02em; }
.h4 { font-size: 1.02rem; letter-spacing: -0.01em; font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-70);
  letter-spacing: -0.012em;
}

.muted { color: var(--ink-70); }
.small { font-size: .94rem; line-height: 1.55; }

.serif-num {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.section--ink .eyebrow { color: rgba(251, 250, 248, .55); }

.accent { color: var(--accent); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head > :first-child { display: grid; gap: 18px; justify-items: start; }

/* --------------------------------------------------------------------------
   Buttons + links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--outline-light { border-color: rgba(255,255,255,.28); color: var(--paper); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: .95rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .25s var(--ease), color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); gap: 12px; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 248, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .1em;
}

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  font-size: .95rem;
  font-weight: 450;
  color: var(--ink-70);
  position: relative;
  padding-block: 4px;
  transition: color .22s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--ink); font-weight: 500; }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 100px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background-color .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }

body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__toggle span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 74px 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 32px var(--gutter) 48px;
  display: grid;
  align-content: start;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }

.mobile-menu a {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  font-weight: 500;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 28px; justify-self: start; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }

.hero__inner { display: grid; gap: clamp(26px, 3.4vw, 40px); max-width: 940px; }
.hero__title { max-width: 15ch; }
.hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.hero__sub { max-width: 56ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.page-hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(34px, 4vw, 56px); }
.page-hero__inner { display: grid; gap: 22px; max-width: 820px; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 26px 26px 26px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 8px;
}
.stat__label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* --------------------------------------------------------------------------
   Video block
   -------------------------------------------------------------------------- */

.video {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.video--tall { aspect-ratio: 4 / 5; }

.video__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.video:hover .video__poster { transform: scale(1.02); }

.video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,7,.05) 0%, rgba(10,8,7,.42) 100%);
  pointer-events: none;
}

.video__play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  color: #fff;
  text-align: left;
}
.video__label {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 20px rgba(0,0,0,.35);
  max-width: 26ch;
}
.video__label span {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 6px;
}
.video__btn {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.video:hover .video__btn { transform: scale(1.07); background: #fff; }

.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video__frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }

.video__missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.7;
}
.video__missing code { color: var(--accent); }

/* --------------------------------------------------------------------------
   Work cards
   -------------------------------------------------------------------------- */

.work-list { display: grid; gap: clamp(48px, 6vw, 88px); }

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.work-item:nth-child(even) .work-item__media { order: 2; }

.work-item__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 16 / 11;
}
.work-item__media img,
.work-item__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); display: block; }
a.work-item:hover .work-item__media img,
a.work-item:hover .work-item__media video { transform: scale(1.03); }

.work-item__body { display: grid; gap: 18px; justify-items: start; }
.work-item__title { font-size: clamp(1.6rem, 2.7vw, 2.15rem); letter-spacing: -0.032em; line-height: 1.06; }
a.work-item:hover .work-item__title { color: var(--accent); }
.work-item__title { transition: color .25s var(--ease); }

.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-70);
}
.tag--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-deep); }

.work-card {
  display: grid;
  gap: 16px;
  align-content: start;
}
.work-card__media {
  border-radius: var(--r); overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 3;
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__meta {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.work-card:hover .work-card__title { color: var(--accent); }
.work-card__title { transition: color .25s var(--ease); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.svc-list { border-top: 1px solid var(--line); }

.svc {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(26px, 3.2vw, 40px);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background-color .3s var(--ease);
}
.svc__index {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--ink-45);
  padding-top: 6px;
}
.svc__body { display: grid; gap: 12px; }
.svc__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: .88rem;
  color: var(--ink-45);
}
.svc__deliverables li::after { content: " ·"; color: var(--line); }
.svc__deliverables li:last-child::after { content: ""; }

.svc-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-card__num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process { display: grid; gap: 0; border-top: 1px solid var(--line); }

.step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(28px, 3.4vw, 42px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: .9;
  color: var(--accent);
}
.step__title { padding-top: 6px; }
.step__text { padding-top: 6px; }

.section--ink .process,
.section--ink .step { border-color: rgba(255,255,255,.14); }

/* --------------------------------------------------------------------------
   Case study
   -------------------------------------------------------------------------- */

.case-hero__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--paper-3);
}
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.case-meta dt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 8px;
}
.case-meta dd { margin: 0; font-size: .98rem; line-height: 1.5; }

.prose { display: grid; gap: 20px; max-width: 68ch; }
.prose p { color: var(--ink-70); font-size: 1.05rem; line-height: 1.68; }
.prose h3 { color: var(--ink); margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }

.checklist { display: grid; gap: 12px; max-width: 68ch; }
.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  color: var(--ink-70);
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  width: 9px; height: 9px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--accent);
}
.checklist strong { color: var(--ink); font-weight: 600; }

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.result { background: var(--paper); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.result__num {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--accent-deep);
}
.result__text { font-size: .94rem; line-height: 1.55; color: var(--ink-70); }

.pull {
  border-left: 2px solid var(--accent);
  padding-left: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 16px;
  max-width: 62ch;
}
.pull blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.pull cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.next-case {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 20px; }

.field { display: grid; gap: 8px; }
.field > label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-45); }

.field--error input,
.field--error select,
.field--error textarea { border-color: #C0392B; }
.field__error { font-size: .82rem; color: #C0392B; display: none; }
.field--error .field__error { display: block; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form__note { font-size: .86rem; color: var(--ink-45); line-height: 1.55; }

.form__status {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: .94rem;
  line-height: 1.5;
}
.form__status.is-visible { display: block; }
.form__status--ok { background: var(--accent-soft); color: var(--accent-deep); }
.form__status--err { background: #FBE9E7; color: #A83224; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Contact details
   -------------------------------------------------------------------------- */

.contact-block { display: grid; gap: 28px; align-content: start; }

.contact-item { display: grid; gap: 6px; }
.contact-item dt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.contact-item dd { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.contact-item a { border-bottom: 1px solid var(--line); transition: border-color .2s var(--ease); }
.contact-item a:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta { background: var(--ink); color: var(--paper); }
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  padding-block: clamp(64px, 8vw, 104px);
}
.cta__title { max-width: 18ch; }
.cta__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--ink); color: rgba(251,250,248,.7); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer a { color: rgba(251,250,248,.7); transition: color .2s var(--ease); }
.footer a:hover { color: var(--accent); }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 48px;
}
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer .brand__word { color: var(--paper); }

.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(251,250,248,.42);
  font-weight: 400;
  margin-bottom: 4px;
}
.footer__col a, .footer__col li { font-size: .95rem; line-height: 1.5; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .84rem;
  color: rgba(251,250,248,.45);
}

/* --------------------------------------------------------------------------
   Scroll progress bar & scroll effects
   -------------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #f46036 100%);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  will-change: opacity, transform;
}
.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 48px minmax(0, 1fr); }
  .svc__index { grid-row: span 2; }
  .step { grid-template-columns: 80px minmax(0, 1fr); }
  .step__text { grid-column: 2; padding-top: 0; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .work-item { grid-template-columns: 1fr; }
  .work-item:nth-child(even) .work-item__media { order: 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 20px 22px 0; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .results { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; align-items: start; }
  .form__row { grid-template-columns: 1fr; }
  .next-case { flex-direction: column; align-items: flex-start; }
  .case-hero__media { aspect-ratio: 3 / 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; gap: 18px; }
  .mobile-menu a { font-size: 1.6rem; }
}

/* --------------------------------------------------------------------------
   Motion + print preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .cta, .video__play { display: none; }
  body { background: #fff; }
}
