/* Site Office AI — styles
   Colours and type are taken exactly from the locked design (D3 red oxide). */

:root {
  --oxide: #B93A22;
  --oxide-tint: #FBE4DE;
  --oxide-line: #D3705C;
  --ink: #1C1A19;
  --paper: #FDFCFA;
  --stone: #DDD3C2;
  --rule: #DFDAD0;
  --muted: #5F5A56;

  --f-display: 'Inter Tight', Arial, sans-serif;
  --f-body: 'Inter', Arial, sans-serif;
  --f-mono: 'DM Mono', 'Courier New', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: 32px;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--oxide); color: #fff; }

:focus-visible { outline: 2px solid var(--oxide); outline-offset: 3px; }
.on-oxide :focus-visible, .on-ink :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sq { width: 8px; height: 8px; flex-shrink: 0; background: var(--oxide); }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: stretch;
  background: var(--oxide); color: #fff; border-radius: 3px;
  font-family: var(--f-display); font-size: 18px; line-height: 1;
}
.logo span:first-child { padding: 11px 10px 11px 13px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.logo i { width: 1px; flex-shrink: 0; background: var(--oxide-tint); margin: 8px 0; }
.logo span:last-child { padding: 11px 13px 11px 10px; font-weight: 400; color: var(--oxide-tint); }
.logo--inverse { background: #fff; color: var(--oxide); }
.logo--inverse i { background: var(--oxide); }
.logo--inverse span:last-child { color: var(--oxide); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .7s var(--ease-out), background-color .4s ease, box-shadow .4s ease;
}
.header.is-scrolled { background: rgba(253, 252, 250, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); }
.header.is-hidden { transform: translateY(-100%); }
.header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; transition: padding .5s var(--ease-out); }
.header.is-scrolled .header__bar { padding: 14px 0; }
.nav {
  flex: 1 1 0; min-width: 0; height: 46px; overflow: hidden;
  display: flex; flex-direction: row-reverse; flex-wrap: wrap; align-items: center; gap: 0 28px;
}
.nav a:not(.btn) { padding: 14px 0; position: relative; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.header-spacer { height: 90px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate; border-radius: 2px; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn__label { display: inline-block; position: relative; overflow: hidden; }
.btn__label span { display: inline-block; position: relative; transition: transform .55s var(--ease-out); }
.btn__label span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label span { transform: translateY(-100%); }

.btn--ink { background: var(--ink); color: #fff; padding: 15px 18px; }
.btn--ink::before { background: var(--oxide); }
.btn--oxide { background: var(--oxide); color: #fff; padding: 18px 24px; }
.btn--oxide::before { background: var(--ink); }
.btn--line { border: 1px solid var(--ink); padding: 17px 24px; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
.btn--submit { height: 56px; padding: 0 28px; border: 0; background: var(--oxide); color: #fff; }
.btn--submit::before { background: #fff; }
.btn--submit:hover { color: var(--oxide); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 5.6vw, 80px); padding-bottom: clamp(44px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  margin: 0; max-width: 920px; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(44px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.035em;
}
.hero__lede { margin: 0; max-width: 580px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 14px; }
.chip { border: 1px solid var(--rule); border-radius: 2px; padding: 9px 12px; }

/* ---------- Highlights reel ---------- */
.reel-section { background: var(--oxide); color: #fff; padding: 44px 0 52px; }
.reel-head { padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.reel-head__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.reel-head__title h2 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: -0.025em; }
.reel-head__title .mono { color: var(--oxide-tint); }
.reel-nav { display: flex; gap: 8px; }
.circle-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid #fff; background: transparent;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.circle-btn svg path { stroke: #fff; transition: stroke .4s var(--ease-out); }
.circle-btn:hover { background: #fff; }
.circle-btn:hover svg path { stroke: var(--oxide); }
.circle-btn:active { transform: scale(.94); }

.reel {
  --reel-pad: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) 0 var(--reel-pad); scroll-padding-left: var(--reel-pad);
  cursor: grab; overscroll-behavior-x: contain;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel.is-dragging .card { pointer-events: none; }

.card {
  position: relative; flex: 0 0 300px; height: 440px; scroll-snap-align: start;
  border-radius: 6px; background: var(--ink); color: #fff; padding: 16px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 0; text-align: left; cursor: pointer; font: inherit;
}
.card__media, .demo__media .media-fill { position: absolute; inset: 0; z-index: 0; }
.card__media video, .card__media img, .media-fill video, .media-fill img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card > *:not(.card__media) { position: relative; z-index: 1; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,26,25,.55) 0%, rgba(28,26,25,0) 22%, rgba(28,26,25,0) 50%, rgba(28,26,25,.9) 100%); pointer-events: none; }
.card__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.card__num { font-family: var(--f-mono); font-size: 12px; color: var(--stone); }
.card__title { font-family: var(--f-display); font-weight: 500; font-size: 23px; line-height: 1.1; letter-spacing: -0.02em; }
.card__foot { display: flex; flex-direction: column; gap: 8px; }

.play {
  align-self: center; width: 64px; height: 64px; border-radius: 999px; background: var(--oxide);
  display: flex; align-items: center; justify-content: center;
  transition: transform .6s var(--ease-out);
}
.play::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid currentColor;
  opacity: 0; transform: scale(1); transition: transform .8s var(--ease-out), opacity .8s var(--ease-out);
}
.play { position: relative; color: #fff; }
.card:hover .play, .demo:hover .play { transform: scale(1.12); }
.card:hover .play::before, .demo:hover .play::before { opacity: .5; transform: scale(1.5); }
.card:hover .card__media video, .card:hover .card__media img, .demo:hover .media-fill video, .demo:hover .media-fill img { transform: scale(1.05); }

/* ---------- Big word ---------- */
.bigword-wrap { max-width: 1376px; margin: 0 auto; padding: clamp(64px, 7.8vw, 112px) var(--gutter) 0; overflow: hidden; }
.bigword {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 9vw, 132px); line-height: .95; letter-spacing: -0.035em;
  text-transform: uppercase; color: var(--oxide); white-space: nowrap;
}

/* ---------- Challenge ---------- */
.challenge { padding-top: 56px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 32px 64px; }
.challenge__body { display: flex; flex-direction: column; gap: 40px; }
.challenge__body > p {
  margin: 0; font-family: var(--f-display); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.3; letter-spacing: -0.015em;
}
.who { display: flex; flex-direction: column; position: relative; }
.who::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--oxide); transform-origin: left; }
.who__row { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 0; }
.who__row:first-child { padding-top: 18px; }
.who__row::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); transform-origin: left; }
.who__row strong { font-weight: 500; font-size: 17px; }
.who__row span { font-size: 15px; color: var(--muted); }

/* ---------- Section heads ---------- */
.sec-head { display: flex; flex-direction: column; gap: 16px; }
.h2 { margin: 0; max-width: 760px; font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; }

/* ---------- Demos ---------- */
.demos { padding-top: clamp(72px, 8.9vw, 128px); display: flex; flex-direction: column; gap: 44px; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px 24px; }
.demo { display: flex; flex-direction: column; gap: 14px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.demo__media {
  position: relative; height: 240px; border-radius: 4px; overflow: hidden; color: #fff; padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.demo__media > *:not(.media-fill) { position: relative; z-index: 1; }
.demo__media--oxide { background: var(--oxide); }
.demo__media--ink { background: var(--ink); }
.demo__media .play { align-self: flex-start; width: 52px; height: 52px; }
.demo__media--oxide .play { background: #fff; color: var(--oxide); }
.demo__media--ink .play { background: var(--oxide); }
.demo__title { display: flex; align-items: baseline; gap: 12px; }
.demo__title .num { font-family: var(--f-mono); font-size: 12px; color: var(--oxide); }
.demo__t { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.demo__desc { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- How it works ---------- */
.how { margin-top: clamp(72px, 8.9vw, 128px); background: var(--oxide); color: #fff; }
.how__inner { padding-top: clamp(64px, 7.3vw, 104px); padding-bottom: clamp(64px, 7.3vw, 104px); display: flex; flex-direction: column; gap: 44px; }
.how .sec-head .mono { color: var(--oxide-tint); }
.steps { display: flex; flex-direction: column; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #fff; transform-origin: left; }
.step { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 30px 0; }
.step::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--oxide-line); transform-origin: left; }
.step__n { width: 56px; font-family: var(--f-mono); font-size: 13px; }
.step__t { flex: 1 1 240px; font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1.05; letter-spacing: -0.025em; }
.step__d { flex: 2 1 360px; font-size: 17px; line-height: 1.5; color: var(--oxide-tint); }
.step__p { flex: 0 1 180px; font-family: var(--f-mono); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.how__note { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.5; }
.how__cta { margin-left: 6px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-underline-offset .4s var(--ease-out); }
.how__cta:hover { text-underline-offset: 7px; }

/* ---------- Team ---------- */
.team { padding-top: clamp(72px, 8.9vw, 128px); padding-bottom: clamp(72px, 8.9vw, 128px); }
.team .two-col { gap: 40px 64px; align-items: end; }
.team__photo { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1493 / 2000; border-radius: 4px; background: var(--stone); overflow: hidden; }
.team__photo .media-fill { position: absolute; inset: 0; }
.team__photo .media-fill img { width: 100%; height: 100%; object-fit: cover; }
.team__copy { display: flex; flex-direction: column; gap: 20px; }
.team__copy p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); }

/* ---------- Apply ---------- */
.apply { background: var(--ink); color: #fff; }
.apply__inner { padding-top: clamp(64px, 7.8vw, 112px); padding-bottom: clamp(64px, 7.8vw, 112px); }
.apply .two-col { gap: 48px 64px; }
.apply__intro { display: flex; flex-direction: column; gap: 24px; }
.apply__intro .eyebrow { font-size: 12px; color: var(--stone); }
.apply__intro h2 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.035em; }
.apply__intro p { margin: 0; max-width: 460px; font-size: 19px; line-height: 1.5; color: var(--stone); }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input {
  height: 52px; border: 0; border-radius: 2px; background: var(--paper); color: var(--ink);
  padding: 0 16px; font-family: var(--f-body); font-size: 16px;
  box-shadow: inset 0 0 0 0 var(--oxide); transition: box-shadow .35s var(--ease-out);
}
.field input:focus { outline: none; box-shadow: inset 0 -3px 0 0 var(--oxide); }
.form .btn--submit { align-self: flex-start; margin-top: 8px; }
.form__status { min-height: 1.5em; font-size: 15px; color: var(--stone); }
.form__status.is-error { color: #F2A391; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; flex-direction: column; gap: 16px; align-self: center; }
.form-done h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 32px; letter-spacing: -0.025em; }
.form-done p { margin: 0; color: var(--stone); font-size: 17px; line-height: 1.5; }
.is-sent .form { display: none; }
.is-sent .form-done { display: flex; }

/* ---------- Footer ---------- */
.footer { background: var(--oxide); color: #fff; }
.footer__inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px;
  background: rgba(28, 26, 25, .88); visibility: hidden; opacity: 0;
  transition: opacity .5s var(--ease-out), visibility 0s linear .5s;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease-out); }
.lightbox__frame {
  position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: 82vh;
  background: var(--ink); border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transform: translateY(24px) scale(.97); transition: transform .7s var(--ease-out);
}
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox.is-portrait .lightbox__frame { width: auto; height: min(86vh, 900px); max-height: none; max-width: 100%; aspect-ratio: 9 / 16; }
.lightbox__frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lightbox__empty { text-align: center; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.lightbox__empty strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; }

/* ---------- Motion setup (only when JS + motion allowed) ---------- */
.js-motion [data-reveal] { opacity: 0; }
.js-motion .split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.js-motion .who::before, .js-motion .who__row::after,
.js-motion .steps::before, .js-motion .step::after { transform: scaleX(0); }
.js-motion .who.is-in::before, .js-motion .who.is-in .who__row::after,
.js-motion .steps.is-in::before, .js-motion .steps.is-in .step::after {
  transform: scaleX(1); transition: transform 1.4s var(--ease-io);
}
.js-motion .who.is-in .who__row:nth-child(1)::after, .js-motion .steps.is-in .step:nth-child(1)::after { transition-delay: .15s; }
.js-motion .who.is-in .who__row:nth-child(2)::after, .js-motion .steps.is-in .step:nth-child(2)::after { transition-delay: .3s; }
.js-motion .who.is-in .who__row:nth-child(3)::after, .js-motion .steps.is-in .step:nth-child(3)::after { transition-delay: .45s; }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .card { flex-basis: 78vw; height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Hidden until the motion script brings them in (only when js-motion is set) */
.js-motion [data-intro], .js-motion #apply-form, .js-motion #reel .card, .js-motion [data-demo] { opacity: 0; }
.js-motion [data-split], .js-motion [data-bigword] { visibility: hidden; }
.js-motion .bigword .split-line { overflow: clip; }

/* ---------- Mobile menu ---------- */
.menu-btn {
  display: none; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 2px; background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.menu-btn__lines { position: relative; width: 16px; height: 8px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 6.5px; }
.menu-open .menu-btn__lines::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { top: 3.25px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 45; background: var(--oxide); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.mmenu__links { display: flex; flex-direction: column; border-top: 1px solid var(--oxide-line); }
.mmenu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--oxide-line);
  font-family: var(--f-display); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.mmenu__links a .mono { font-size: 12px; letter-spacing: .08em; color: var(--oxide-tint); }
.menu-open .mmenu__links a { opacity: 1; transform: none; }
.menu-open .mmenu__links a:nth-child(1) { transition-delay: .3s; }
.menu-open .mmenu__links a:nth-child(2) { transition-delay: .36s; }
.menu-open .mmenu__links a:nth-child(3) { transition-delay: .42s; }
.mmenu .btn--ink { align-self: flex-start; padding: 18px 24px; }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .header .logo { background: #fff; color: var(--oxide); }
.menu-open .header .logo i { background: var(--oxide); }
.menu-open .header .logo span:last-child { color: var(--oxide); }
.menu-open .menu-btn { border-color: #fff; color: #fff; }
.menu-open .nav .btn--ink { display: none; }

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .menu-btn { display: inline-flex; width: 46px; padding: 0; justify-content: center; }
  .menu-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav { gap: 0 8px; }
  /* "Works with" on its own line, the three tools on one row underneath */
  .works > .muted { flex-basis: 100%; }

  /* Big line wraps onto two lines rather than running off the screen */
  .bigword { white-space: normal; font-size: 13.5vw; line-height: .92; }

  /* Who-for list: name above its line, every row the same */
  .who__row { flex-direction: column; gap: 4px; }

  /* Pilot steps: number sits just before the title */
  .step { gap: 12px 14px; padding: 26px 0; }
  .step__n { width: auto; }
  .step__t { flex: 1 1 0; font-size: 28px; }
  .step__d, .step__p { flex-basis: 100%; }

  /* Footer details stacked */
  .footer__meta { flex-direction: column; gap: 10px; }
}
@media (min-width: 761px) { .mmenu { display: none; } }

/* ================= Demo pages ================= */
.dp-hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.dp-crumbs { display: flex; gap: 10px; color: var(--muted); }
.dp-crumbs a { color: var(--oxide); }
.dp-crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dp-hero h1 { margin: 0; max-width: 980px; font-family: var(--f-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.035em; }
.dp-lede { margin: 0; max-width: 720px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.dp-meta { display: flex; flex-wrap: wrap; gap: 10px; }

.dp-video-wrap { background: var(--oxide); padding: clamp(28px, 4vw, 56px) 0; }
.dp-video { border-radius: 6px; overflow: hidden; background: var(--ink); aspect-ratio: 1280 / 776; box-shadow: 0 30px 60px -30px rgba(28, 26, 25, .45); }
.dp-video video { width: 100%; height: 100%; display: block; background: var(--ink); }
.dp-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.dp-video--yt { aspect-ratio: 16 / 9; }
.dp-chapters { margin-top: 28px; color: #fff; }
.dp-chapters > .mono { color: var(--oxide-tint); margin-bottom: 12px; }
.dp-chapters ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 0 32px; }
.dp-chapters li { border-top: 1px solid var(--oxide-line); }
.dp-chapters button {
  width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 14px 0; min-height: 48px;
  background: none; border: 0; color: #fff; text-align: left; cursor: pointer; font-size: 16px;
  transition: padding-left .5s var(--ease-out);
}
.dp-chapters button .mono { flex: 0 0 48px; color: var(--oxide-tint); }
.dp-chapters button:hover { padding-left: 8px; }
.dp-chapters button.is-current { font-weight: 500; }
.dp-chapters button.is-current .mono { color: #fff; }

.dp-article { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.dp-block { display: flex; flex-direction: column; gap: 16px; max-width: 980px; }
.dp-block > h2 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.03em; }
.dp-prose { max-width: 720px; }
.dp-prose p, .dp-prose li { font-size: 18px; line-height: 1.6; color: var(--muted); }
.dp-prose p { margin: 0 0 18px; }
.dp-prose strong { color: var(--ink); font-weight: 500; }
.dp-prose ul { margin: 0 0 18px; padding-left: 20px; }
.dp-prose li { margin-bottom: 8px; }
.dp-prose li::marker { color: var(--oxide); }

.dp-flows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 0 48px; border-top: 2px solid var(--oxide); }
.dp-flow { padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.dp-flow__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.dp-flow__head > .mono { color: var(--oxide); }
.dp-flow__head h3 { margin: 0; flex: 1; font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.dp-flow__seek { background: none; border: 1px solid var(--rule); border-radius: 2px; padding: 8px 10px; min-height: 36px; cursor: pointer; color: var(--ink); transition: border-color .3s, background-color .3s, color .3s; }
.dp-flow__seek:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dp-flow dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dp-flow dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.dp-flow dt { color: var(--muted); padding-top: 3px; }
.dp-flow dd { margin: 0; font-size: 16px; line-height: 1.5; }

.dp-faq { border-top: 1px solid var(--rule); max-width: 820px; }
.dp-faq details { border-bottom: 1px solid var(--rule); }
.dp-faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -0.015em;
}
.dp-faq summary::-webkit-details-marker { display: none; }
.dp-faq summary::after, .dp-faq summary::before {
  content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--oxide);
  transition: transform .4s var(--ease-out);
}
.dp-faq summary::before { transform: rotate(90deg); }
.dp-faq details[open] summary::before { transform: rotate(0deg); }
.dp-faq details p { margin: 0 0 22px; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--muted); }

.dp-transcript { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dp-transcript summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.dp-transcript summary::-webkit-details-marker { display: none; }
.dp-transcript summary > span:last-child { font-family: var(--f-display); font-weight: 500; font-size: 21px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.dp-transcript__body { padding-bottom: 28px; max-width: 760px; }
.dp-transcript__body p { margin: 0; padding: 8px 0; display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.dp-transcript__body button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--oxide); text-align: left; align-self: start; padding-top: 3px; }
.dp-transcript__body button:hover { text-decoration: underline; }

.dp-cta { background: var(--oxide); color: #fff; }
.dp-cta__inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.dp-cta h2 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.dp-cta p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--oxide-tint); }

@media (max-width: 640px) {
  .dp-flow dl > div { grid-template-columns: 1fr; gap: 2px; }
  .dp-flow__head { flex-wrap: wrap; }
}
.demo__media.has-media > .mono { align-self: flex-start; background: rgba(28, 26, 25, .78); padding: 6px 8px; border-radius: 2px; }
.demo__media.has-media .media-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,26,25,.35), rgba(28,26,25,0) 50%); }
a.demo:hover .demo__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dp-note { margin: 0; max-width: 720px; padding: 14px 16px; border-left: 2px solid var(--oxide); background: rgba(185, 58, 34, .05); font-size: 16px; line-height: 1.5; color: var(--ink); }
.dp-video--survey { aspect-ratio: 1280 / 928; }
.dp-video--fitout { aspect-ratio: 3616 / 2160; }

/* ================= Application flow (one question at a time) ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flow { gap: 28px; }
.flow__top { display: none; align-items: center; gap: 16px; }
.flow__count { color: var(--stone); flex: 0 0 auto; }
.flow__bar { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.flow__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--oxide); transition: width .8s var(--ease-out); }

.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q__title {
  padding: 0; margin: 0 0 24px; color: #fff;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.025em;
}
.flow .field input {
  width: 100%; height: 64px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); border-radius: 0;
  background: transparent; color: #fff; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em;
  box-shadow: none; transition: border-color .35s var(--ease-out);
}
.flow .field input::placeholder { color: rgba(255, 255, 255, .32); }
.flow .field input:focus { outline: none; border-bottom-color: var(--oxide); box-shadow: inset 0 -2px 0 0 var(--oxide); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; font-size: 16px; color: #fff;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.chip-opt:hover span { border-color: #fff; }
.chip-opt input:checked + span { background: var(--oxide); border-color: var(--oxide); }
.chip-opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.chip-opt:active span { transform: scale(.97); }

.flow__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.flow__back { background: none; border: 0; padding: 12px 0; min-height: 44px; color: var(--stone); cursor: pointer; }
.flow__back:hover { color: #fff; }
.flow__hint { color: rgba(255, 255, 255, .4); }
.flow .btn--submit { margin-top: 0; }
.form__status:empty { display: none; }

/* Without the script, every question shows as a normal form. */
.flow [data-next], .flow [data-back], .flow__hint { display: none; }
.flow:not(.is-stepped) .q + .q { margin-top: 12px; }

/* Stepped mode */
.flow.is-stepped .flow__top { display: flex; }
.flow.is-stepped .flow__steps { position: relative; min-height: 250px; }
.flow.is-stepped .q { display: none; }
.flow.is-stepped .q.is-active { display: block; }
.flow.is-stepped [data-next] { display: inline-flex; }
.flow.is-stepped [data-send] { display: none; }
.flow.is-stepped.is-last [data-next] { display: none; }
.flow.is-stepped.is-last [data-send] { display: inline-flex; }
.flow.is-stepped [data-back] { display: inline-block; }
.flow.is-stepped.is-first [data-back] { visibility: hidden; position: absolute; }
.flow.is-stepped .flow__hint { display: inline; }
.flow.is-stepped.is-auto .flow__hint { display: none; }
@media (hover: none) { .flow.is-stepped .flow__hint { display: none; } }
.flow .is-shake { animation: shake .45s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

/* Thank-you screen */
.done-tick { width: 64px; height: 64px; }
.done-tick circle, .done-tick path { fill: none; stroke: var(--oxide); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-tick circle { stroke-dasharray: 189; stroke-dashoffset: 189; transition: stroke-dashoffset 1s var(--ease-out) .1s; }
.done-tick path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .6s var(--ease-out) .75s; }
.is-sent .done-tick circle, .is-sent .done-tick path { stroke-dashoffset: 0; }
.form-done { min-height: 330px; justify-content: center; }
.form-done h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }

/* ---------- Apply section: light version (warm stone) ---------- */
.apply { background: #F4EFE7; color: var(--ink); }
.apply__intro .eyebrow { color: var(--muted); }
.apply__intro p { color: var(--muted); }
.apply .q__title { color: var(--ink); }
.apply .flow__count { color: var(--muted); }
.apply .flow__bar { background: rgba(28, 26, 25, .12); }
.apply .flow .field input { color: var(--ink); border-bottom-color: rgba(28, 26, 25, .3); }
.apply .flow .field input::placeholder { color: rgba(28, 26, 25, .35); }
.apply .chip-opt span { color: var(--ink); border-color: rgba(28, 26, 25, .22); background: rgba(255, 255, 255, .55); }
.apply .chip-opt:hover span { border-color: var(--ink); }
.apply .chip-opt input:checked + span { background: var(--oxide); border-color: var(--oxide); color: #fff; }
.apply .chip-opt input:focus-visible + span { outline-color: var(--oxide); }
.apply .flow__back { color: var(--muted); }
.apply .flow__back:hover { color: var(--ink); }
.apply .flow__hint { color: rgba(28, 26, 25, .45); }
.apply .form__status { color: var(--muted); }
.apply .form__status.is-error { color: var(--oxide); }
.apply .btn--submit::before { background: var(--ink); }
.apply .btn--submit:hover { color: #fff; }
.apply .done-tick path { stroke: var(--ink); }
.apply .form-done p { color: var(--muted); }
.form-done:focus, .form-done:focus-visible { outline: none; }

/* Demo tiles: 16:9 like the thumbnails; tiles with a designed thumbnail drop the label and centre the play button */
.demo__media { height: auto; aspect-ratio: 16 / 9; }
.demo__media.has-media > .mono { display: none; }
.demo__media.has-media { justify-content: center; align-items: center; }
.demo__media.has-media .play { align-self: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); }
.demo__media.has-media .media-fill::after { display: none; }
.hero__sub { margin: -6px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Apply section on phones: fills the screen, everything centred ---------- */
@media (max-width: 760px) {
  .apply__inner { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 56px; }
  .apply .two-col { gap: 36px; }
  .apply__intro { align-items: center; text-align: center; gap: 18px; }
  .apply__intro .eyebrow { justify-content: center; }
  .apply__intro p { margin: 0 auto; font-size: 17px; }
  .apply__form { width: 100%; }
  .flow { align-items: stretch; text-align: center; }
  .flow__top { justify-content: center; }
  .flow.is-stepped .flow__steps { min-height: 0; }
  .q__title { display: block; width: 100%; text-align: center; }
  .flow .field input { text-align: center; }
  .chips { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .chip-opt { display: block; width: 100%; }
  .chip-opt span { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; }
  .flow__nav { flex-direction: column; align-items: stretch; gap: 8px; }
  .flow .btn--submit, .form .btn--submit { width: 100%; justify-content: center; align-self: stretch; }
  .flow.is-stepped [data-back] { align-self: center; }
  .form__status { text-align: center; }
  .form-done { align-items: center; text-align: center; }
}
