/* ============================================================
   DARIA · AI Creative Studio
   Website stylesheet. Palette, type and motifs come from the
   deck (see BRAND.md); the layouts are the website's own.
   ============================================================ */

:root {
  color-scheme: light;

  /* --- palette ------------------------------------------- */
  --paper:      #FAF6F0;
  --sand:       #F1E7DA;
  --sand-deep:  #E7D9C7;
  --stage:      #E4DACB;   /* the ground the deck sits on */
  --clay:       #C9A98A;
  --ink:        #241C17;
  --muted:      #7A6A5C;
  --terracotta: #B9552F;
  --terracotta-deep: #A14724;
  --pine:       #1F4640;
  --gold:       #C99A3E;

  --rule:       rgba(36, 28, 23, .14);
  --hairline:   rgba(36, 28, 23, .08);
  --shadow:     0 18px 40px -24px rgba(60, 40, 25, .45);
  --on-pine:    rgba(250, 246, 240, .74);
  --pine-rule:  rgba(250, 246, 240, .18);

  /* --- type ---------------------------------------------- */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Segoe UI", Arial, Helvetica, sans-serif;

  /* --- geometry ------------------------------------------ */
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --gutter: 16px;
  --section: clamp(64px, 9vw, 128px);
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
figure, dl, dd, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.band--pine :focus-visible, .site-foot :focus-visible, .present-bar :focus-visible { outline-color: var(--gold); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.band--sand { background: var(--sand); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 2px;
  font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ============================================================
   Shared type
   ============================================================ */

.eyebrow {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.eyebrow--accent { color: var(--terracotta); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.15; }

p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink); max-width: 56ch; text-wrap: pretty; }

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

.meta {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.file-note { font: 500 10px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Section intro: centred, so nothing on the page leans to one side */
.intro { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 4.5vw, 56px); }
.intro h2 { margin-top: 12px; }
.intro .lede { margin: 18px auto 0; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--terracotta);
  border-radius: 2px;
  background: var(--terracotta);
  color: #fff;
  font: 500 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }

.band--pine .btn { background: var(--paper); border-color: var(--paper); color: var(--pine); }
.band--pine .btn:hover { background: #fff; border-color: #fff; }
.band--pine .btn--ghost { background: transparent; border-color: rgba(250, 246, 240, .5); color: var(--paper); }
.band--pine .btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--pine); }

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

.chip {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  min-height: 40px;
  padding: 0 16px;
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--clay); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.textlink {
  font: 500 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 5px;
  transition: border-color .2s ease;
}
.textlink:hover { border-color: var(--ink); }

/* ============================================================
   Header
   ============================================================ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-head__in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: baseline; gap: 14px; text-decoration: none; color: var(--ink); }
.brand__mark { font: 600 26px/1 var(--serif); letter-spacing: .01em; }
.brand__sub {
  font: 500 10px/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--terracotta);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a:not(.btn) {
  font: 500 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav a:not(.btn):hover { border-color: var(--clay); }
.nav a[aria-current="page"] { border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  height: 40px;
  padding: 0 14px;
  font: 500 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 760px) {
  :root { --head-h: 64px; }
  /* the wordmark keeps its descriptor on a phone, so stack them */
  .brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand__mark { font-size: 22px; }
  .brand__sub { font-size: 8px; letter-spacing: .32em; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--pad) 20px;
    box-shadow: 0 24px 40px -28px rgba(60, 40, 25, .5);
  }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; }
  .js .nav a[aria-current="page"] { border-color: var(--hairline); color: var(--terracotta); }
  .js .nav .btn { margin-top: 18px; min-height: 48px; }
  html:not(.js) .site-head__in { height: auto; flex-wrap: wrap; padding-block: 14px; gap: 10px 24px; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 6px 18px; }
}

/* ============================================================
   Media primitives
   ============================================================ */

.shot {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--hairline);
  background: var(--sand);
  box-shadow: var(--shadow);
  aspect-ratio: 1536 / 2752;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.play {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -10px rgba(185, 85, 47, .8);
  transition: transform .25s ease, background-color .2s ease;
}
.play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }

.film { position: relative; overflow: hidden; border-radius: 2px; border: 1px solid var(--hairline); background: var(--ink); box-shadow: var(--shadow); aspect-ratio: 1934 / 1080; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.film__play { position: absolute; inset: 0; display: none; place-items: center; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.js .film__play { display: grid; }
.film__play:hover .play { transform: scale(1.06); background: var(--terracotta-deep); }
.film.is-playing .film__play { display: none; }

/* ============================================================
   Home · hero: headline, then the film
   ============================================================ */

.hero { padding-block: clamp(44px, 6.5vw, 96px) clamp(48px, 6vw, 88px); }
.hero__text { text-align: center; }
/* sized so each line of the headline holds, down to a phone */
.hero h1 { margin-top: 18px; font-size: clamp(27px, 6.6vw, 84px); line-height: 1.05; text-wrap: nowrap; }
.hero .lede { margin: clamp(20px, 2.4vw, 30px) auto 0; max-width: 54ch; }
.hero .actions { justify-content: center; margin-top: clamp(26px, 3vw, 36px); }

.reel { margin: clamp(40px, 5.5vw, 72px) auto 0; max-width: 1152px; }
.reel .film { aspect-ratio: 16 / 9; }
.reel__cap { padding-top: 14px; text-align: center; font: 500 11px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   Home · stills row
   ============================================================ */

.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); align-items: start; }
.strip__item { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.strip__item:nth-child(even) { margin-top: clamp(20px, 3.4vw, 48px); }
.strip__item .shot img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.strip__item:hover .shot img { transform: scale(1.03); }
.strip__cap { text-align: center; font-size: 10px; letter-spacing: .14em; }
.after-row { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

@media (max-width: 720px) {
  .strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1);
    padding: 0 var(--pad) 28px;
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip__item { scroll-snap-align: center; }
  .strip__item:nth-child(even) { margin-top: 0; }
}

/* ============================================================
   Home · what you send / what we deliver
   ============================================================ */

.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.6vw, 44px); }
html:not(.js) .tabs { display: none; }

/* the bar under the current name is the rotation's clock */
.tabs--auto .chip { position: relative; overflow: hidden; }
.tabs--auto .chip[aria-selected="true"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--terracotta);
  transform-origin: left;
  animation: chip-fill 5.5s linear forwards;
}
.tabs--auto.is-paused .chip[aria-selected="true"]::after { animation-play-state: paused; }
.tabs--auto.is-manual .chip::after { display: none; }
@keyframes chip-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* every project sits in the same cell, so the page holds still as they change */
.proof-stage { display: grid; max-width: 1080px; margin-inline: auto; }
.proof {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  grid-template-rows: 1fr auto; /* the caption keeps one baseline across projects */
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  /* the outgoing project clears before the next one arrives */
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.proof.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease .3s; }
html:not(.js) .proof { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 48px; }
.proof__label { display: block; margin-bottom: 12px; color: var(--terracotta); }
.proof__in { background: var(--sand); border: 1px solid var(--hairline); border-radius: 2px; padding: clamp(16px, 2.2vw, 26px); }
.proof__arrow { font-size: 24px; color: var(--clay); text-align: center; }
.proof__note { grid-column: 1 / -1; text-align: center; margin: clamp(10px, 1.6vw, 20px) auto 0; max-width: 60ch; font: 500 clamp(19px, 2vw, 23px)/1.35 var(--serif); color: var(--ink); }

/* product cut-outs sit straight on the tray, no boxes behind them */
.refs { display: grid; gap: clamp(10px, 1.6vw, 20px); align-items: center; }
.refs--1 { grid-template-columns: minmax(0, 58%); justify-content: center; }
.refs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.refs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* the picture is laid over its cell, so a tall cut-out cannot stretch the row */
.ref { aspect-ratio: 1 / 1; position: relative; }
.refs--3 .ref { aspect-ratio: 3 / 4; }
.refs--3.refs--wide .ref { aspect-ratio: 3 / 2; }
.ref img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }

.finals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.film--916 { aspect-ratio: 9 / 16; width: 36%; margin-inline: auto; }

@media (max-width: 860px) {
  .proof { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; align-content: start; }
  .proof__arrow { transform: rotate(90deg); }
  .proof__in { max-width: 460px; width: 100%; margin-inline: auto; }
  .refs--1 { grid-template-columns: minmax(0, 40%); }
}
@media (max-width: 720px) {
  /* names run in one swipeable line on a phone */
  .tabs--auto { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .tabs--auto::-webkit-scrollbar { display: none; }
  .tabs--auto .chip { flex: none; }
}

/* ============================================================
   Home · services
   ============================================================ */

.svc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 10px 40px; align-items: baseline; padding: clamp(24px, 3vw, 34px) 0; border-top: 1px solid var(--rule); }
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc h3 { font-size: clamp(24px, 2.7vw, 32px); }
.svc p { font-size: 16px; color: var(--ink); max-width: 52ch; }
.svc .meta { text-align: right; }
@media (max-width: 860px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc .meta { text-align: left; }
}

/* ============================================================
   Pine bands
   ============================================================ */

.band--pine { background: var(--pine); color: var(--paper); }
.band--pine h1, .band--pine h2, .band--pine h3 { color: var(--paper); }
.band--pine p { color: var(--on-pine); }
.band--pine .lede { color: rgba(250, 246, 240, .9); }
.band--pine .eyebrow { color: var(--gold); }

.statement { text-align: center; }
.statement h2 { margin: 16px auto 0; font-size: clamp(26px, 5vw, 64px); line-height: 1.08; }
.statement p { margin: clamp(22px, 2.6vw, 32px) auto 0; max-width: 58ch; font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.6; }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 48px); }
.why > div { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.why h3 { font-size: 24px; }
.why p { font-size: 16px; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ============================================================
   Home · process
   ============================================================ */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 48px) clamp(24px, 3.4vw, 48px); }
.steps li { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 0; align-items: baseline; }
.steps .num { font: 600 30px/1 var(--serif); color: var(--terracotta); }
.steps h3 { font-size: 22px; }
.steps p { grid-column: 2; font-size: 15.5px; margin-top: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.note { max-width: 68ch; margin: clamp(36px, 4.5vw, 56px) auto 0; text-align: center; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ============================================================
   Home · ways to start
   ============================================================ */

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.offer { border: 1px solid var(--rule); border-radius: 2px; padding: 30px 28px; min-height: 240px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.offer--feature { background: var(--sand); border-color: var(--clay); }
.offer h3 { font-size: 24px; }
.offer p { font-size: 15.5px; }
.offer .price { margin-top: auto; padding-top: 18px; font: 500 11px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
@media (max-width: 860px) { .offers { grid-template-columns: minmax(0, 1fr); } .offer { min-height: 0; } }

/* ============================================================
   Home · questions
   ============================================================ */

.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font: 600 clamp(19px, 2vw, 22px)/1.25 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font: 400 26px/1 var(--sans);
  color: var(--terracotta);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 44px 24px 0; color: var(--ink); max-width: 64ch; }

/* ============================================================
   Close + footer
   ============================================================ */

.close { padding-block: clamp(72px, 9vw, 128px); }
.close__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.close__in h2 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.03; }
.close__in .lede { max-width: 46ch; }
.close__in .actions { justify-content: center; margin-top: 6px; }

.site-foot { background: var(--pine); color: var(--paper); border-top: 1px solid var(--pine-rule); }
.site-foot__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: 34px; }
.site-foot .brand { color: var(--paper); }
.site-foot .brand__sub { color: var(--gold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-nav a { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--on-pine); padding: 6px 0; }
.foot-nav a:hover { color: var(--paper); }
.foot-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding-block: 16px 22px;
  border-top: 1px solid var(--pine-rule);
  font: 500 10px/1.5 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, .55);
}

/* ============================================================
   Portfolio · the deck, slide for slide
   ============================================================ */

.deck-head { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 3.5vw, 44px); }
.deck-head__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.deck-head h1 { margin-top: 12px; font-size: clamp(36px, 4.6vw, 60px); }
.deck-head .lede { margin-top: 16px; max-width: 48ch; }
.deck-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 460px; }
.deck-head__actions .file-note { flex-basis: 100%; }
html:not(.js) [data-present] { display: none; }
.only-narrow { display: none; }
@media (max-width: 760px) { .only-wide { display: none; } .only-narrow { display: inline; } }

.deck {
  background: var(--stage);
  padding: clamp(12px, 2.2vw, 28px) clamp(8px, 3vw, 64px) clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2.2vw, 28px);
}
.slide {
  position: relative;
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: calc(var(--head-h) + 16px);
}
.slide > img { display: block; width: 100%; height: 100%; }

/* Sizes inside a slide follow the slide's own width */
.slide { container-type: inline-size; }

/* Where the deck printed the studio's address, the page offers a button */
.slide-cta {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .9cqw;
  padding: 0 2.2cqw;
  background: var(--paper);
  color: var(--pine);
  border-radius: 2px;
  font: 500 max(8px, 1.05cqw)/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.slide-cta:hover { background: #fff; }
.slide-cta:focus-visible { outline-color: var(--gold); }

/* A film sits exactly where it sits on the slide */
.slide-film { position: absolute; display: grid; place-items: center; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.slide-film .play { width: clamp(30px, 4.8vw, 62px); height: clamp(30px, 4.8vw, 62px); }
.slide-film .play svg { width: 32%; height: 32%; }
.slide-film--sm .play { width: clamp(18px, 2.6vw, 34px); height: clamp(18px, 2.6vw, 34px); }
.slide-film:hover .play { transform: scale(1.06); background: var(--terracotta-deep); }
.slide-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
div.slide-film { cursor: auto; }
html:not(.js) .slide-film { display: none; }

.present-bar { display: none; }

body.is-presenting { overflow: hidden; }
body.is-presenting .deck { position: fixed; inset: 0; z-index: 80; background: #16110E; padding: 0; gap: 0; justify-content: center; }
body.is-presenting .slide { display: none; max-width: none; width: min(100vw, calc(100vh * 16 / 9)); box-shadow: none; }
body.is-presenting .slide.is-active { display: block; }
body.is-presenting .present-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  position: fixed;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  z-index: 81;
  background: rgba(36, 28, 23, .86);
  border-radius: 999px;
  padding: 6px 8px;
  opacity: .35;
  transition: opacity .25s ease;
}
body.is-presenting .present-bar:hover, body.is-presenting .present-bar:focus-within { opacity: 1; }
.present-bar button {
  appearance: none; background: none; border: 0; cursor: pointer; border-radius: 999px;
  color: var(--paper); min-width: 40px; height: 36px; padding: 0 12px;
  font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.present-bar button:hover { background: rgba(250, 246, 240, .16); }
.present-bar__count { color: rgba(250, 246, 240, .8); font: 500 11px/1 var(--sans); letter-spacing: .14em; min-width: 62px; text-align: center; }

/* ============================================================
   Contact
   ============================================================ */

.contact-hero { padding-block: clamp(56px, 8vw, 112px) clamp(52px, 7vw, 96px); }
.contact-hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-hero h1 { margin-top: 14px; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; }
.contact-hero .lede { margin-top: 24px; max-width: 48ch; }
.contact-hero__actions { margin-top: 34px; justify-content: center; }
html:not(.js) .contact-hero button.btn { display: none; }
.form-card { max-width: 760px; margin-inline: auto; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
}
.field > legend { margin-bottom: 9px; }
.field .opt { color: var(--clay); letter-spacing: .12em; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 14px 16px;
  font: 400 16px/1.5 var(--sans);
  color: var(--ink);
  transition: border-color .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A99A8C; }
.field input:hover, .field textarea:hover { border-color: var(--clay); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: 2px; background: #fff;
  font: 500 13px/1 var(--sans); color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.choice input:hover + span { border-color: var(--clay); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.form-foot { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.form-note { font-size: 13px; line-height: 1.5; max-width: 42ch; }
.form-status { font-size: 14.5px; line-height: 1.5; color: var(--ink); border-left: 2px solid var(--terracotta); padding: 4px 0 4px 14px; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.next li { border-top: 1px solid var(--rule); padding-top: 18px; }
.next .num { font: 600 30px/1 var(--serif); color: var(--terracotta); display: block; margin-bottom: 12px; }
.next p { font-size: 16.5px; color: var(--ink); }
@media (max-width: 760px) { .next { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

.pdf-band { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.pdf-band h2 { font-size: clamp(28px, 3.2vw, 40px); }

/* ============================================================
   404
   ============================================================ */

.lost { min-height: calc(100svh - var(--head-h)); display: grid; align-content: center; justify-items: center; text-align: center; padding-block: var(--section); }
.lost h1 { margin: 14px 0 22px; }
.lost .actions { margin-top: 32px; justify-content: center; }

/* ============================================================
   Motion: one soft rise as sections arrive
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .site-head, .film__play, .slide-film, .present-bar { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
