/* Showpiece. Colours and type are set once here, at the top. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #17130f;          /* espresso, the page */
  --bg-2: #201a14;        /* a step lighter, for panels */
  --stage: #000;          /* behind the videos */
  --cream: #f3ead8;       /* main text */
  --cream-2: #b8ad99;     /* quieter text */
  --line: rgba(243, 234, 216, 0.16);
  --gold: #d6b35c;
  --gold-ink: #1d1708;    /* text on gold */
  --paper: #f3ead8;       /* the price card */
  --paper-ink: #211b13;
  --paper-2: #6a5e4c;

  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 720px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; border-radius: var(--radius); z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  background: var(--gold); color: var(--gold-ink);
  border: 1px solid var(--gold); border-radius: var(--radius);
  font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: #e3c372; }
.btn-quiet { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-quiet:hover { background: rgba(243, 234, 216, 0.08); }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: .9375rem; }
.btn-wide { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.text-link { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--gold); }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 19, 15, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { position: relative; display: inline-block; text-decoration: none; color: var(--cream); margin: 0; padding-top: 4px; }
.brand .word { font: italic 400 1.875rem/1 var(--serif); letter-spacing: 0; }
.brand .spark { position: absolute; left: 15px; top: 1px; width: 10px; height: 10px; fill: var(--gold); }
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { text-decoration: none; color: var(--cream-2); font-size: .9375rem; }
.nav a:hover { color: var(--cream); }
.top .btn-small { margin-left: auto; }
@media (min-width: 760px) {
  .nav { display: flex; }
  .top .btn-small { margin-left: 0; }
}

/* ---------- hero ---------- */

.hero { padding-top: 48px; }
.hero h1 {
  font-size: clamp(2.5rem, 9vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 750;
  max-width: 13ch;
}
.hero .intro { margin-top: 20px; max-width: 34em; font-size: 1.125rem; color: var(--cream-2); }
@media (min-width: 960px) {
  .hero-top { display: grid; grid-template-columns: 1.65fr 1fr; gap: 56px; align-items: end; }
  .hero h1 { max-width: none; font-size: clamp(3.5rem, 6.2vw, 4.6rem); }
  .hero .intro { margin-top: 0; font-size: 1.0625rem; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }

.stage { background: var(--stage); margin-top: 48px; padding: 28px 0 24px; }
.formats {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  grid-template-areas: "tall square" "tall wide";
  gap: 10px;
  align-items: start;
}
.fmt { margin: 0; }
.fmt video { width: 100%; height: auto; background: #111; border-radius: 4px; object-fit: cover; }
.fmt-tall { grid-area: tall; }
.fmt-tall video { aspect-ratio: 9 / 16; }
.fmt-square { grid-area: square; }
.fmt-square video { aspect-ratio: 1; }
.fmt-wide { grid-area: wide; }
.fmt-wide video { aspect-ratio: 16 / 9; }
.fmt figcaption { margin-top: 6px; font-size: .8125rem; color: var(--cream-2); }
.stage-note { margin-top: 18px; max-width: 46em; font-size: .9375rem; color: var(--cream-2); }

@media (min-width: 760px) {
  .hero { padding-top: 80px; }
  .stage { margin-top: 64px; padding: 40px 0 32px; }
  .formats {
    grid-template-columns: 0.5625fr 1fr 1.7778fr;
    grid-template-areas: "tall square wide";
    gap: 16px;
    align-items: end;
  }
}

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.05; }
.lead { margin-top: 14px; max-width: 38em; color: var(--cream-2); font-size: 1.0625rem; }
.meta { font-size: .875rem; color: var(--cream-2); }
@media (min-width: 760px) { .section { padding: 104px 0; } }

/* ---------- video players ---------- */

.player { position: relative; aspect-ratio: 9 / 16; background: #000; border-radius: 6px; overflow: hidden; }
.player img, .player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player video { opacity: 0; }
.player.is-playing video, .player video[data-clip] { opacity: 1; }
.player.is-playing img { visibility: hidden; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(243, 234, 216, 0.94); color: var(--gold-ink);
  border: 0; cursor: pointer;
}
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.play:hover { background: var(--gold); }

/* ---------- work strip ---------- */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 14px;
  margin-top: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-bottom: 12px;
  overscroll-behavior-x: contain;
}
.clip { scroll-snap-align: start; }
.clip h3 { margin-top: 12px; font-size: 1.0625rem; letter-spacing: -0.01em; }
.clip .meta { margin-top: 2px; }
@media (min-width: 560px) { .strip { grid-auto-columns: 40%; } }
@media (min-width: 900px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

/* ---------- other kinds of product ---------- */

.examples { padding-top: 0; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.ex { margin: 0; }
.ex img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.ex figcaption { margin-top: 10px; font-weight: 600; font-size: .9375rem; display: flex; justify-content: space-between; gap: 8px; }
.ex figcaption span { font-weight: 400; color: var(--cream-2); font-size: .8125rem; }
@media (min-width: 900px) { .ex-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ---------- the Your Refreshments job ---------- */

.feature { background: var(--bg-2); }
.feature-grid { display: grid; gap: 28px; }
.player.wide { aspect-ratio: 16 / 9; }
.feature-media .meta { margin-top: 10px; }
.feature-copy p { margin-top: 14px; max-width: 32em; color: var(--cream-2); }
.feature-copy .btn { margin-top: 26px; }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; }
}

/* ---------- how it works ---------- */

.steps { display: grid; gap: 28px; margin-top: 36px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -6px;
  font: italic 400 2.6rem/1 var(--serif); color: var(--gold);
}
.steps h3 { font-size: 1.1875rem; }
.steps p { margin-top: 6px; color: var(--cream-2); max-width: 30em; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

.stills { margin: 56px 0 0; }
.stills-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stills img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.stills figcaption { margin-top: 10px; font-size: .875rem; color: var(--cream-2); }
@media (max-width: 559px) {
  .stills-row { grid-template-columns: 1fr 1fr; }
  .stills-row img:first-child { grid-column: 1 / -1; }
}

/* ---------- prices (a printed rate card) ---------- */

.prices .card {
  background: var(--paper); color: var(--paper-ink);
  border-radius: 10px; padding: 32px 22px;
}
.prices .lead { color: var(--paper-2); }
.rates { margin-top: 28px; border-top: 1.5px solid var(--paper-ink); }
.rate { display: grid; gap: 12px; padding: 22px 0; border-bottom: 1px solid rgba(33, 27, 19, 0.2); }
.rate h3 { font-size: 1.25rem; }
.rate-name p { margin-top: 4px; color: var(--paper-2); }
.rate-list li { position: relative; padding-left: 18px; font-size: .9375rem; }
.rate-list li + li { margin-top: 3px; }
.rate-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #a8873c; }
.price { font-weight: 750; font-size: 1.5rem; letter-spacing: -0.02em; }
.price span { font-weight: 400; font-size: .9375rem; color: var(--paper-2); letter-spacing: 0; }
.price-tbc { font-size: 1rem; font-weight: 600; color: var(--paper-2); }
.rates-note { margin-top: 20px; color: var(--paper-2); font-size: .9375rem; }
@media (min-width: 760px) {
  .prices .card { padding: 48px 48px 40px; }
  .rate { grid-template-columns: 1.1fr 1.3fr 0.7fr; gap: 32px; align-items: start; }
  .price { text-align: right; }
}

/* ---------- questions ---------- */

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--cream-2); max-width: 36em; }

/* ---------- about ---------- */

.about { background: var(--bg-2); }
.about p { margin-top: 16px; font-size: 1.1875rem; line-height: 1.5; max-width: 32em; }
.about p + p { color: var(--cream-2); font-size: 1.0625rem; }

/* ---------- contact form ---------- */

.form { display: grid; gap: 18px; margin-top: 32px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.opt { font-weight: 400; color: var(--cream-2); }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--cream);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
textarea { resize: vertical; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
::placeholder { color: rgba(184, 173, 153, 0.7); }
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px dashed var(--cream-2); border-radius: var(--radius); cursor: pointer; font-weight: 600;
}
.upload input:focus-visible + .upload-btn { outline: 2px solid var(--gold); outline-offset: 3px; }
.upload-note { font-size: .875rem; color: var(--cream-2); }
.file-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--cream-2); padding: 4px 0; }
.file-list li.too-big { color: #f0a58a; }
.form-msg { margin-top: 10px; font-size: .9375rem; color: var(--cream-2); min-height: 1.4em; }
.form-msg.is-error { color: #f0a58a; }
.form-alt { margin-top: 16px; font-size: .9375rem; color: var(--cream-2); }
.hp { position: absolute; left: -9999px; }
.done { margin-top: 32px; padding: 28px 24px; background: var(--bg-2); border-radius: 10px; border-left: 3px solid var(--gold); }
.done h3 { font-size: 1.375rem; }
.done p { margin-top: 10px; color: var(--cream-2); }
.done .btn { margin-top: 20px; }
@media (min-width: 760px) {
  .form { grid-template-columns: 1fr 1fr; gap: 20px; }
  .field.wide { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 40px 0 120px; }
.foot-inner { display: grid; gap: 14px; }
.foot-line { color: var(--cream-2); font-size: .9375rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; }
.foot-links a { color: var(--cream-2); text-decoration: none; }
.foot-links a:hover { color: var(--cream); text-decoration: underline; }
@media (min-width: 760px) { .foot { padding-bottom: 48px; } }

/* ---------- sticky button on phones ---------- */

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(23, 19, 15, 0.94); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s ease;
}
.sticky.is-visible { transform: none; }
@media (min-width: 760px) { .sticky { display: none; } }

/* ---------- cookie banner (only shown with ga4) ---------- */

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  max-width: 560px; margin: 0 auto; padding: 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  font-size: .9375rem;
}
.cookie-actions { display: flex; gap: 10px; margin-top: 12px; }

/* ---------- privacy page ---------- */

.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal .meta { margin-top: 8px; }
.legal h2 { margin-top: 36px; font-size: 1.375rem; }
.legal p, .legal ul { margin-top: 12px; color: var(--cream-2); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky, .btn { transition: none; }
}
