/* ==========================================================
   KÄKI PRODUCTIONS - kakiproductions.dk
   Cinematic dark · Käki yellow · 2030, not 2015
   ========================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #18181b;
  --bone: #efeae3;
  --bone-dim: rgba(239, 234, 227, 0.55);
  --bone-faint: rgba(239, 234, 227, 0.28);
  --yellow: #f7b418;
  --coral: #ff5a3c;
  --line: rgba(239, 234, 227, 0.14);
  --font-display: "Clash Display", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Satoshi", "Inter", -apple-system, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* On devices with a fine pointer we hide the native cursor (custom one takes over) */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 3000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: flex; }
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
}
.cursor-ring {
  width: 42px; height: 42px;
  border: 1px solid rgba(247, 180, 24, 0.5);
  align-items: center; justify-content: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background-color 0.35s, border-color 0.35s;
}
.cursor-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor-ring.is-active {
  width: 88px; height: 88px;
  background: var(--yellow);
  border-color: var(--yellow);
}
.cursor-ring.is-active .cursor-label { opacity: 1; }
.cursor-ring.is-link {
  width: 64px; height: 64px;
  border-color: var(--yellow);
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 4000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.preloader-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: 0.04em;
  overflow: hidden;
}
.preloader-word span { display: inline-block; }
.preloader-count {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--yellow);
}
.preloader.is-done { pointer-events: none; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background-color 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.site-head.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px var(--gutter);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  display: flex; align-items: baseline; gap: 6px;
}
.brand sup { font-size: 9px; color: var(--yellow); }
.head-nav { display: flex; gap: 36px; align-items: center; }
.head-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  color: var(--bone-dim);
  transition: color 0.3s;
}
.head-link:hover, .head-link.is-current { color: var(--bone); }
.head-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.head-link:hover::after, .head-link.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.head-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 10px 22px;
  border-radius: 99px;
  transition: background-color 0.3s, transform 0.3s var(--ease-out);
}
.head-cta:hover { background: var(--bone); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 28px; height: 2px;
  background: var(--bone);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 950;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.mm-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 11vw, 72px);
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 16px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.mobile-menu.is-open a.mm-link { transform: translateY(0); opacity: 1; }
.mobile-menu.is-open a.mm-link:nth-child(2) { transition-delay: 0.06s; }
.mobile-menu.is-open a.mm-link:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.is-open a.mm-link:nth-child(4) { transition-delay: 0.18s; }
.mm-link i {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.4em;
  color: var(--yellow);
  font-weight: 400;
}
.mm-foot {
  position: absolute;
  bottom: 40px; left: var(--gutter); right: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--bone-dim);
}

/* ---------- shared section bits ---------- */
section { position: relative; }
.section-pad { padding: clamp(90px, 12vw, 180px) var(--gutter); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--yellow);
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display em, .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--yellow);
}
.lead {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--bone-dim);
  max-width: 56ch;
}

/* split-text plumbing */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  transition: color 0.35s;
}
.btn .btn-fill {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--bone);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.btn > span:not(.btn-fill), .btn > svg { position: relative; z-index: 1; }
.btn:hover .btn-fill { transform: translateY(0); }
.btn-solid { background: var(--yellow); color: var(--ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--bone); }
.btn-ghost:hover { color: var(--ink); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(40px, 6vh, 72px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
  will-change: transform, opacity;
}
.hero-bg img.is-active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1.01); }
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.6) 0%, rgba(10,10,11,0.42) 45%, rgba(10,10,11,0.78) 100%);
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: blur(1px) saturate(1.5);
  transform: translateZ(0);
  mix-blend-mode: screen;
  opacity: 0.75;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 110%, transparent 40%, rgba(10,10,11,0.7) 100%),
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, transparent 30%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 5; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(20px, 3vh, 36px);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.hero-meta .dot { color: var(--yellow); }
.hero-h1 {
  font-size: clamp(48px, 9.6vw, 152px);
  margin-bottom: clamp(28px, 4vh, 48px);
}
.hero-h1 em { font-size: 1.04em; }
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.hero-scroll .line {
  width: 56px; height: 1px;
  background: var(--bone-faint);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--yellow);
  animation: scrollline 2.2s var(--ease-out) infinite;
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  background: var(--ink);
}
.marquee {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  animation: marquee 28s linear infinite;
}
.marquee.is-reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-faint);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
  transition: color 0.3s;
}
.marquee-item::after {
  content: "✦";
  color: var(--yellow);
  font-size: 0.6em;
}
.marquee-band:hover .marquee-item { color: var(--bone-dim); }

/* ---------- manifest (Bryd larmen) ---------- */
.manifest { background: var(--ink); overflow: hidden; }
.manifest-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto auto;
  column-gap: clamp(36px, 5vw, 80px);
  row-gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.manifest-main { grid-column: 1; grid-row: 1; }
.manifest-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.3vw, 50px);
  line-height: 1.25;
  letter-spacing: 0.002em;
  max-width: 22ch;
}
.manifest-text .w { opacity: 0.18; display: inline-block; }
/* the portrait owns the entire right half, kicker to quote, edge to edge */
.manifest-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  margin-right: calc(var(--gutter) * -1);
  height: 100%;
  min-height: clamp(520px, 90vh, 940px);
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}
.manifest-photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,11,0.45) 0%, transparent 35%),
              linear-gradient(0deg, rgba(10,10,11,0.55) 0%, transparent 30%);
  pointer-events: none;
}
.manifest-photo img {
  width: 100%; height: 114%;
  object-fit: cover;
  will-change: transform;
}
.manifest-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 23px);
  color: var(--bone);
  padding: clamp(16px, 2.4vw, 26px) clamp(18px, 3vw, 32px);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.78));
}
.manifest-feature .manifest-blockquote {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.manifest-blockquote p {
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--bone-dim);
  max-width: 46ch;
  margin-bottom: 22px;
}
.manifest-blockquote strong { color: var(--bone); font-weight: 500; }
.manifest-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--yellow);
}
.manifest-role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-top: 6px;
}

/* ---------- featured case ---------- */
.featured { border-top: 1px solid var(--line); }
.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}
.featured-title { font-size: clamp(38px, 6vw, 92px); }
.case-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  background: var(--ink-2);
}
.case-media img {
  width: 100%; height: 116%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.8s var(--ease-out);
}
.case-media .case-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 40px);
}
.case-media:hover img { transform: scale(1.04); }
.case-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 99px;
}
.case-tag.is-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.featured-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  margin-top: clamp(36px, 5vw, 64px);
}
.case-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.featured-body p { color: var(--bone-dim); max-width: 52ch; }
.featured-body p + p { margin-top: 14px; }
.featured-body em { color: var(--bone); font-family: var(--font-serif); font-size: 1.1em; }

/* ---------- works grid ---------- */
.works { border-top: 1px solid var(--line); }
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.6vw, 40px);
}
.work-card { display: block; }
.work-card .case-media { aspect-ratio: 16 / 10; }
.work-card:nth-child(even) { transform: translateY(clamp(30px, 5vw, 80px)); }
.work-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 6px 0;
}
.work-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.work-type {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.works-cta { text-align: center; margin-top: clamp(70px, 9vw, 140px); }

/* ---------- one-man band ---------- */
.oneman {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(247, 180, 24, 0.07), transparent 60%),
    var(--ink);
}
.oneman-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.oneman-title { font-size: clamp(36px, 5vw, 76px); margin-bottom: 28px; }
/* ---------- showreel loop in the one-man section ---------- */
.oneman-video {
  position: relative;
  margin-top: clamp(8px, 2vw, 24px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.oneman-video video,
.oneman-video iframe {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none; /* background embed — clicks pass through to the page */
}
.video-sound {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.video-sound:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.video-sound svg { width: 15px; height: 15px; }
.video-sound .ic-sound { display: none; }
.video-sound[aria-pressed="true"] .ic-sound { display: block; }
.video-sound[aria-pressed="true"] .ic-muted { display: none; }

/* ---------- one-man photo feature (reklamefilm) ---------- */
.oneman-feature { overflow: hidden; }
.oneman-feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: center;
}
.oneman-copy {
  position: relative;
  z-index: 2;
  padding-right: clamp(24px, 3vw, 56px);
}
/* the headline runs out of its column and across the photo */
.oneman-feature .oneman-title {
  font-size: clamp(44px, 9.6vw, 152px);
  line-height: 1.02;
  white-space: nowrap;
  margin-right: clamp(-340px, -22vw, -90px);
  text-shadow: 0 2px 30px rgba(10, 10, 11, 0.55);
}
.oneman-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 420px;
}
.oneman-roles li {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--bone-dim);
  transition: border-color 0.3s, color 0.3s;
}
.oneman-roles li:hover { border-color: var(--yellow); color: var(--yellow); }
.oneman-photo {
  position: relative;
  /* bleed past the section padding to the viewport edge */
  margin: calc(clamp(90px, 12vw, 180px) * -0.45) calc(var(--gutter) * -1) calc(clamp(90px, 12vw, 180px) * -0.45) 0;
  height: clamp(480px, 92vh, 860px);
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}
.oneman-photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,11,0.55) 0%, transparent 38%),
              linear-gradient(0deg, rgba(10,10,11,0.55) 0%, transparent 32%);
  pointer-events: none;
}
.oneman-photo img {
  width: 100%; height: 114%;
  object-fit: cover;
  will-change: transform;
}
.oneman-badge {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  left: clamp(18px, 3vw, 32px);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 10px 18px;
  border-radius: 99px;
}
.oneman-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 23px);
  color: var(--bone);
  padding: clamp(16px, 2.4vw, 26px) clamp(18px, 3vw, 32px);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.78));
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(80px, 11vw, 160px) var(--gutter) 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(247, 180, 24, 0.12), transparent 65%),
    var(--ink);
}
.foot-kicker { margin-bottom: 20px; }
.foot-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6.4vw, 104px);
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: clamp(40px, 6vw, 80px);
  max-width: 14em;
}
.foot-swap {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--yellow);
  border-bottom: 2px solid rgba(247, 180, 24, 0.4);
  min-width: 4.2em;
}
/* ---------- footer contact form ---------- */
.foot-contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  margin-bottom: clamp(60px, 9vw, 120px);
  align-items: start;
}
.foot-contact-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--bone-dim);
  max-width: 40ch;
  margin-bottom: 28px;
}
.foot-contact-points { display: grid; gap: 12px; margin-bottom: 36px; }
.foot-contact-points li {
  padding-left: 26px;
  position: relative;
  color: var(--bone-dim);
  font-size: 14.5px;
}
.foot-contact-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 600;
}
.foot-contact-direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.foot-contact-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.foot-direct-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--bone);
  transition: color 0.3s;
}
.foot-direct-link:hover { color: var(--yellow); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--bone);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s, background-color 0.3s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--bone-faint); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--ink-3);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efeae3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.form-field select:invalid { color: var(--bone-faint); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit { align-self: flex-start; margin-top: 4px; }
.form-submit:disabled { opacity: 0.55; pointer-events: none; }
.form-note { font-size: 12px; color: var(--bone-faint); margin-top: -8px; }
.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.form-status.is-success { background: rgba(247, 180, 24, 0.12); border: 1px solid rgba(247, 180, 24, 0.4); color: var(--bone); }
.form-status.is-error { background: rgba(255, 90, 60, 0.12); border: 1px solid rgba(255, 90, 60, 0.4); color: var(--bone); }

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--bone-dim);
}
.foot-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 16px;
}
.foot-col a { display: block; padding: 3px 0; transition: color 0.3s; }
.foot-col a:hover { color: var(--yellow); }
.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  font-size: 12px;
  color: var(--bone-faint);
}

/* ---------- video modal ---------- */
.video-modal {
  position: fixed; inset: 0;
  z-index: 2500;
  background: rgba(6, 6, 7, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-frame {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  transform: scale(0.94);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.video-modal.is-open .video-frame { transform: scale(1); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-close {
  position: absolute;
  top: 28px; right: var(--gutter);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: background-color 0.3s, color 0.3s;
}
.video-close:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(150px, 22vh, 240px) var(--gutter) clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  top: -40%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(247, 180, 24, 0.13), transparent 65%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(52px, 11vw, 170px); }
.page-hero .lead { margin-top: 28px; }
.page-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- cases page ---------- */
.case-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  padding: clamp(70px, 9vw, 130px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.case-row:nth-child(even) .case-row-media { order: 2; }
/* landing spot for deep links from the works grid (no-JS fallback offset) */
.case-row { scroll-margin-top: 110px; }
.case-row .case-media { transition: box-shadow 0.6s var(--ease-out); }
.case-row.is-targeted .case-media {
  box-shadow: 0 0 0 2px var(--yellow), 0 24px 70px rgba(247, 180, 24, 0.22);
}
.case-row.is-targeted .case-index { color: var(--bone); }
.case-row-media .case-media { aspect-ratio: 16 / 9.5; }
.case-index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--yellow);
  margin-bottom: 14px;
}
.case-row h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.case-row h2 .sub {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  text-transform: none;
  color: var(--yellow);
  margin-top: 6px;
}
.case-block + .case-block { margin-top: 22px; }
.case-block p { color: var(--bone-dim); font-size: 15px; max-width: 50ch; }
.case-block p + p { margin-top: 10px; }
.case-block .case-em { color: var(--bone); font-family: var(--font-serif); font-style: italic; font-size: 1.15em; }
.case-credits {
  margin-top: 26px;
  padding-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--bone-faint);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-watch {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.case-watch .play-ic {
  width: 38px; height: 38px;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.case-watch:hover .play-ic { background: var(--yellow); }
.case-watch:hover .play-ic svg { fill: var(--ink); }
.play-ic svg { width: 11px; height: 11px; fill: var(--yellow); transition: fill 0.3s; }

/* ---------- reklamefilm page ---------- */
.logo-wall { padding: clamp(56px, 8vw, 100px) var(--gutter); border-bottom: 1px solid var(--line); }
.logo-wall-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 40px;
}
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  flex-wrap: wrap;
}
/* logos are cut out (transparent PNGs in Käki yellow) - no plate behind them */
.logo-chip {
  height: clamp(40px, 4.6vw, 62px);
  display: flex;
  align-items: center;
  opacity: 0.82;
  transition: transform 0.4s var(--ease-out), opacity 0.35s;
}
.logo-chip:hover { transform: translateY(-6px); opacity: 1; }
.logo-chip img { height: 100%; width: auto; object-fit: contain; }
/* optical balancing: the circular MG badge reads heavier than a wordmark at
   equal height, the sparse Brachér signature reads lighter */
.logo-chip.is-badge { height: clamp(34px, 3.9vw, 52px); }
.logo-chip.is-mark { height: clamp(54px, 6.2vw, 84px); }

/* process */
.process { border-bottom: 1px solid var(--line); }
.process-head { max-width: 1500px; margin: 0 auto clamp(50px, 7vw, 100px); }
.process-title { font-size: clamp(40px, 7vw, 110px); }
.process-list { position: relative; max-width: 1500px; margin: 0 auto; }
.process-line {
  position: absolute;
  /* flush with the left end of the horizontal step dividers, so the
     yellow progress bar never runs through the step numbers */
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.process-line .process-progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--yellow);
  transform-origin: top;
  transform: scaleY(0);
}
.process-step {
  display: grid;
  grid-template-columns: clamp(40px, 6vw, 88px) minmax(180px, 0.65fr) 1fr;
  gap: clamp(18px, 3vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-bottom: 0; }
.process-dot {
  position: absolute;
  left: 0;
  top: clamp(48px, 6vw, 80px);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--yellow);
  transform: translateX(-50%);
}
.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--yellow);
  padding-left: clamp(18px, 2vw, 28px);
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 44px);
  text-transform: uppercase;
  line-height: 1;
}
.process-step h3 small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
  text-transform: none;
  margin-top: 12px;
}
.process-body { color: var(--bone-dim); font-size: 15.5px; max-width: 58ch; }
.process-body p + p { margin-top: 12px; }
.process-body ul { margin: 12px 0; display: grid; gap: 6px; }
.process-body li {
  padding-left: 22px;
  position: relative;
}
.process-body li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* pricing */
.pricing { border-bottom: 1px solid var(--line); }
.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.pricing-title { font-size: clamp(38px, 6vw, 92px); }
.pricing-note { font-size: 13px; color: var(--bone-faint); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 380px;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-out), background-color 0.4s;
}
.price-card:hover { border-color: rgba(247, 180, 24, 0.5); transform: translateY(-8px); }
/* .price-card.is-hot { background: linear-gradient(160deg, rgba(247,180,24,0.12), rgba(247,180,24,0.02)), var(--ink-2); } */
.price-step {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--yellow);
  font-size: 18px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  text-transform: uppercase;
}
.price-card ul { display: grid; gap: 7px; font-size: 14px; color: var(--bone-dim); flex: 1; }
.price-card li { padding-left: 18px; position: relative; }
.price-card li::before { content: "•"; position: absolute; left: 2px; color: var(--yellow); }
.price-tag {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.price-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  color: var(--bone);
  letter-spacing: 0;
  margin-top: 4px;
}
.pricing-foot {
  margin-top: clamp(36px, 5vw, 60px);
  color: var(--bone-dim);
  max-width: 70ch;
  font-size: 15px;
}

/* denmark coverage */
.coverage { text-align: center; }
.coverage-title { font-size: clamp(32px, 5vw, 72px); margin-bottom: 24px; }
.coverage .lead { margin: 0 auto 44px; }
.city-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.city-chip {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.city-chip:hover { border-color: var(--yellow); color: var(--yellow); }
.city-chip.is-current {
  opacity: 0.5;
  pointer-events: none;
}

/* inline links inside body copy (why-choose, FAQ answers, case text/captions) —
   the global `a` reset has no underline, so links need their own affordance here */
.process-body a,
.case-block a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(247, 180, 24, 0.4);
  transition: text-decoration-color 0.3s;
}
.process-body a:hover,
.case-block a:hover { text-decoration-color: var(--yellow); }

/* ---------- case detail page ---------- */
.case-badge {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 10px 22px;
  border-radius: 99px;
}
.case-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 40px);
}
.case-hero h1 {
  font-size: clamp(34px, 5vw, 78px);
  margin: 20px 0 0;
}
.quick-facts { margin-top: clamp(32px, 5vw, 48px); }
.quick-facts h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.quick-fact {
  display: flex;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--bone-dim);
}
.quick-fact strong { color: var(--bone); font-weight: 600; }
.quick-fact.is-total {
  margin-top: 4px;
  border-bottom: 0;
  font-weight: 600;
  color: var(--yellow);
}
.quick-fact.is-total strong {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-divider .line { flex: 1; height: 1px; background: var(--line); }
.section-divider svg { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; }

.case-detail-block {
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.case-heading {
  font-weight: 400;
  color: var(--yellow);
  font-size: clamp(48px, 3vw, 120px);
  line-height: 1;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.case-heading.is-plain { font-style: normal; }
.case-detail-block .process-body { text-align: left; max-width: 68ch; margin: 0 auto; }

/* ---------- reveal defaults (JS sets initial states) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { min-height: 320px; }
  .oneman-grid { grid-template-columns: 1fr; }
  .oneman-feature-grid { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); }
  .case-hero-grid { grid-template-columns: 1fr; }
  .foot-contact-grid { grid-template-columns: 1fr; }
  .oneman-copy { padding-right: 0; }
  .oneman-feature .oneman-title { margin-right: 0; text-shadow: none; }
  .oneman-photo {
    /* stacked: bleed to both viewport edges, photo becomes its own full-width moment */
    margin: 0 calc(var(--gutter) * -1) calc(clamp(90px, 12vw, 180px) * -0.45);
    height: clamp(380px, 72vh, 640px);
    border-radius: 0;
  }
  .oneman-photo::before {
    background: linear-gradient(0deg, rgba(10,10,11,0.55) 0%, transparent 32%);
  }
  .manifest-feature-grid { grid-template-columns: 1fr; }
  .manifest-main { grid-column: 1; }
  .manifest-photo {
    /* stacked: full-bleed both sides between text and quote */
    grid-column: 1;
    grid-row: auto;
    margin: 0 calc(var(--gutter) * -1);
    height: clamp(380px, 64vh, 560px);
    min-height: 0;
    border-radius: 0;
  }
  .manifest-photo::before {
    background: linear-gradient(0deg, rgba(10,10,11,0.55) 0%, transparent 30%);
  }
  .manifest-feature .manifest-blockquote { grid-column: 1; grid-row: auto; }
  .process-step { grid-template-columns: clamp(36px, 5vw, 60px) 1fr; }
  .process-step h3 { margin-bottom: 14px; }
  .process-body { grid-column: 2; }
}

@media (max-width: 820px) {
  .head-nav { display: none; }
  .burger { display: flex; }
  .featured-body { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { transform: none; }
  .case-row { grid-template-columns: 1fr; }
  .case-row:nth-child(even) .case-row-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .video-close { top: 16px; }
  .hero { padding-bottom: 32px; }
  .hero-h1 { font-size: clamp(44px, 13.5vw, 70px); }
  .btn { padding: 16px 26px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
