/* ============================================================
   ARTICU — design system
   Warm gallery light · espresso ink · brass mechanism accent
   Fraunces (display) · Hanken Grotesk (body) · Fragment Mono
   ============================================================ */

:root {
  /* animated by GSAP during the dark "klik" chapter */
  --bg: #EDE7DC;
  --fg: #191512;
  --soft: rgba(237, 231, 220, 0.55);
  --line: rgba(25, 21, 18, 0.16);

  /* fixed palette */
  --bone: #EDE7DC;
  --bone-2: #E3DBCB;
  --ink: #191512;
  --ink-2: #4A4338;
  --brass: #A8814C;
  --brass-bright: #D6AC6B;
  --terra: #C0744F;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'Fragment Mono', 'Courier New', monospace;
  --font-brand: 'Montserrat', 'Segoe UI', sans-serif; /* the ARTICU wordmark — matches the logo */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection { background: var(--brass); color: var(--bone); }

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 480; line-height: 1.04; letter-spacing: -0.015em; }
em { font-style: italic; font-weight: 420; }

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

#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 99;
  pointer-events: none; border-radius: 50%;
  display: none;
}
body.has-cursor #cursor-dot, body.has-cursor #cursor-ring { display: block; }
#cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--brass-bright); }
#cursor-ring {
  width: 34px; height: 34px; margin: -17px;
  border: 1px solid var(--brass);
  opacity: 0.6;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              margin 0.25s var(--ease-out), opacity 0.25s;
}
body.cursor-hover #cursor-ring { width: 56px; height: 56px; margin: -28px; opacity: 1; }

/* ------------------------------------------------------------
   Preloader
   ------------------------------------------------------------ */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bone);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 30px;
  clip-path: inset(0 0 0 0);
}
.pre-word { display: flex; overflow: hidden; }
.pre-word span {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 600; letter-spacing: 0.24em;
  color: var(--ink);
  transform: translateY(110%);
  animation: pre-up 0.7s var(--ease-out) forwards;
}
.pre-word span:nth-child(2) { animation-delay: 0.06s; }
.pre-word span:nth-child(3) { animation-delay: 0.12s; }
.pre-word span:nth-child(4) { animation-delay: 0.18s; }
.pre-word span:nth-child(5) { animation-delay: 0.24s; }
.pre-word span:nth-child(6) { animation-delay: 0.3s; }
.pre-word span:nth-child(7) { animation-delay: 0.36s; }
.pre-word span:nth-child(8) { animation-delay: 0.42s; }
.pre-word span:nth-child(9) { animation-delay: 0.48s; }
@keyframes pre-up { to { transform: translateY(0); } }

@keyframes morph {
  from { border-radius: 3px; transform: rotate(0deg); }
  to { border-radius: 50%; transform: rotate(90deg); }
}

/* ------------------------------------------------------------
   Articu seal (official logo, inlined as <use href="#articu-seal">)
   ------------------------------------------------------------ */
.seal { display: block; fill: currentColor; aspect-ratio: 1; }
.pre-seal {
  width: clamp(72px, 11vw, 110px); height: auto;
  color: var(--brass);
  animation: seal-in 1.1s var(--ease-out) both;
}
@keyframes seal-in {
  from { opacity: 0; transform: scale(0.86) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.seal-nav { width: 40px; height: 40px; color: var(--brass); flex: none; }
.foot-seal { width: 84px; height: 84px; color: rgba(237, 231, 220, 0.55); margin-bottom: 30px; }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  transform: translateY(-110%);
  transition: transform 0.9s var(--ease-out);
}
.nav.is-ready { transform: translateY(0); }

/* .on-dark flips the nav to light ink over the dark sections */
.nav.on-dark .nav-logo, .nav.on-dark .nav-links a:not(.btn) { color: #EDE7DC; }
.nav.on-dark .btn { background: #EDE7DC; color: #191512; }
.nav-logo, .nav-links a:not(.btn) { transition: color 0.4s; }
.nav-logo {
  display: flex; align-items: center; gap: 13px;
  font-family: var(--font-brand);
  font-size: 1.22rem; letter-spacing: 0.24em; font-weight: 600;
}
.seal-nav { transition: transform 0.6s var(--ease-out); }
.nav-logo:hover .seal-nav { transform: rotate(45deg); } /* a quarter click */

.nav-links { display: flex; gap: clamp(16px, 2.6vw, 38px); align-items: center; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; position: relative; padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* ------------------------------------------------------------
   Language switcher
   ------------------------------------------------------------ */
.lang-switch { display: flex; align-items: center; }
.lang-switch button {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  color: var(--fg); opacity: 0.42;
  transition: opacity 0.3s, color 0.3s;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { opacity: 0.85; }
.lang-switch button.on { opacity: 1; color: var(--brass); }
.nav.on-dark .lang-switch button { color: #EDE7DC; }
.nav.on-dark .lang-switch button.on { color: var(--brass-bright); }
.lang-switch--floating {
  position: fixed; top: 24px; right: clamp(20px, 4vw, 56px); z-index: 50;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  background: var(--fg); color: var(--bg);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost {
  background: transparent; color: var(--fg);
  box-shadow: inset 0 0 0 1.4px var(--line);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1.4px var(--brass); color: var(--brass); }
.btn.small { padding: 10px 20px; }

/* ------------------------------------------------------------
   Stage + story scaffolding
   ------------------------------------------------------------ */
#stage {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
}

#story { position: relative; z-index: 5; }

.chapter { height: 175vh; position: relative; pointer-events: none; }
.chapter .panel {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: 0 clamp(20px, 6vw, 96px);
}

.panel-inner {
  max-width: 520px; pointer-events: auto;
  position: relative;
}
.panel-inner::before {
  content: ''; position: absolute; inset: -18% -22%;
  background: radial-gradient(closest-side, var(--soft), transparent 78%);
  z-index: -1;
}
.chapter[data-side='right'] .panel { justify-content: flex-end; }
.chapter[data-side='center'] .panel { justify-content: center; text-align: center; }
.chapter[data-side='center'] .panel-inner { max-width: 720px; }

/* staggered reveal driven by .is-active toggling */
.panel-inner > * {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.chapter.is-active .panel-inner > * { opacity: 1; transform: translateY(0); }
.chapter.is-active .panel-inner > *:nth-child(2) { transition-delay: 0.08s; }
.chapter.is-active .panel-inner > *:nth-child(3) { transition-delay: 0.16s; }
.chapter.is-active .panel-inner > *:nth-child(4) { transition-delay: 0.24s; }
.chapter.is-active .panel-inner > *:nth-child(5) { transition-delay: 0.32s; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--brass); }
.chapter[data-side='center'] .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--brass); }

.chapter h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); margin-bottom: 22px; }
.chapter p.lede { font-size: clamp(1rem, 1.3vw, 1.16rem); color: var(--fg); opacity: 0.78; max-width: 46ch; }
.chapter[data-side='center'] p.lede { margin-inline: auto; }

.spec {
  margin-top: 26px;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); opacity: 0.55;
}

.brand-note {
  margin-top: 26px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 0.76rem;
  line-height: 1.55; color: var(--brass);
  max-width: 40ch;
}
.brand-note .seal { width: 34px; height: 34px; flex: none; color: var(--brass); }

/* HERO */
#ch-hero .panel-inner { max-width: 760px; }
#ch-hero h1 {
  font-size: clamp(3.2rem, 9vw, 8rem);
  margin-bottom: 28px;
}
#ch-hero h1 em { color: var(--brass); }
#ch-hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.22rem); opacity: 0.78; max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* hero gets its own entrance (after preloader) */
#ch-hero .panel-inner > * { transition-duration: 1s; }
#ch-hero .panel.is-ready .panel-inner > * { opacity: 1; transform: translateY(0); }
#ch-hero .panel.is-ready .panel-inner > *:nth-child(2) { transition-delay: 0.1s; }
#ch-hero .panel.is-ready .panel-inner > *:nth-child(3) { transition-delay: 0.2s; }
#ch-hero .panel.is-ready .panel-inner > *:nth-child(4) { transition-delay: 0.3s; }
#ch-hero.is-active .panel-inner > * { transition-delay: 0s; }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg); opacity: 0.62;
  pointer-events: auto;
}
.scroll-cue .wheel {
  width: 1px; height: 52px; position: relative;
  background: var(--line); overflow: hidden;
}
.scroll-cue .wheel::after {
  content: ''; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--brass);
  animation: cue-drop 1.8s var(--ease-out) infinite;
}
@keyframes cue-drop { to { top: 110%; } }

/* OUTRO */
#ch-outro h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
#ch-outro h2 em { color: var(--brass); }

/* ------------------------------------------------------------
   Engineering callouts
   ------------------------------------------------------------ */
#callouts {
  position: fixed; inset: 0; z-index: 8;
  pointer-events: none; opacity: 0; visibility: hidden;
}
#callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
#callout-lines line { stroke: var(--brass-bright); stroke-width: 1.4; }
#callout-lines circle { fill: var(--brass-bright); stroke: rgba(20,16,10,0.6); stroke-width: 1.5; }
/* Fixed dark panel (not theme-driven) + shadow, so the label stays legible
   over both the light scene and the dark wood table as you scroll. */
.callout {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #F0EADF;
  background: rgba(18, 14, 9, 0.9);
  border: 1px solid rgba(214, 172, 107, 0.55);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  padding: 9px 13px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.callout b { display: block; color: var(--brass-bright); font-weight: 400; margin-bottom: 2px; }

/* ------------------------------------------------------------
   KLIK stamp + material ticker
   ------------------------------------------------------------ */
#klik-stamp {
  position: fixed; top: 50%; left: 50%; z-index: 9;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: 0.34em; text-indent: 0.34em;
  color: var(--brass-bright);
  opacity: 0; pointer-events: none;
  text-shadow: 0 0 60px rgba(214, 172, 107, 0.45);
}

#ticker {
  position: fixed; bottom: 42px; left: 50%; z-index: 9;
  transform: translateX(-50%) translateY(24px);
  text-align: center; pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
#ticker.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
#ticker-idx {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.3em; color: var(--brass);
}
#ticker-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  margin: 6px 0 2px;
}
#ticker-sub {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6;
}
.ticker-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.ticker-dots i {
  width: 22px; height: 2px; background: var(--line);
  transition: background 0.3s;
}
.ticker-dots i.on { background: var(--brass); }

/* ------------------------------------------------------------
   Chapter rail
   ------------------------------------------------------------ */
.rail {
  position: fixed; right: clamp(16px, 3vw, 44px); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; gap: 18px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.rail.is-on { opacity: 1; visibility: visible; }
.rail-track { width: 1px; background: var(--line); position: relative; }
.rail-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--brass); transform: scaleY(0); transform-origin: top;
}
.rail ol { list-style: none; display: flex; flex-direction: column; gap: 26px; }
.rail li {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.42; cursor: pointer;
  transition: opacity 0.3s, color 0.3s;
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
}
.rail li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: 0.6;
  transition: transform 0.3s var(--ease-out);
}
.rail li:hover { opacity: 0.8; }
.rail li.on { opacity: 1; color: var(--brass); }
.rail li.on::before { transform: scale(1.7); }
.rail li span { display: none; }
.rail li.on span { display: inline; }

/* ------------------------------------------------------------
   Static sections
   ------------------------------------------------------------ */
.section {
  position: relative; z-index: 10;
  background: var(--bone);
  padding: clamp(90px, 12vw, 170px) clamp(20px, 6vw, 96px);
  color: var(--ink);
}
.section-head { max-width: 1280px; margin: 0 auto clamp(48px, 6vw, 84px); }
.section-head .eyebrow { color: var(--brass); }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--ink); }
.section-head p { margin-top: 16px; max-width: 56ch; color: var(--ink-2); }

/* Collections */
#kollektioner { background: var(--bone-2); }
.col-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
}
.col-card { position: relative; }
.col-card:nth-child(even) { transform: translateY(clamp(12px, 2.4vw, 40px)); }
.col-swatch {
  aspect-ratio: 3 / 4;
  background-size: 135%; background-position: center;
  position: relative; overflow: hidden;
  transition: background-size 0.8s var(--ease-out), border-radius 0.8s var(--ease-out);
  border-radius: 4px;
}
.col-swatch.round { border-radius: 4px 4px 50% 50% / 4px 4px 38% 38%; }
.col-card:hover .col-swatch { background-size: 155%; }
.col-card:hover .col-swatch.round { border-radius: 50%; }
.col-num {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  color: rgba(255, 250, 240, 0.92);
  mix-blend-mode: difference;
}
.col-card h3 { font-size: 1.18rem; margin: 18px 0 6px; color: var(--ink); }
.col-card p { font-size: 0.9rem; color: var(--ink-2); }

/* Why Articu */
.why-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(26px, 4vw, 56px);
}
.why-item { border-top: 1px solid rgba(25, 21, 18, 0.18); padding-top: 26px; }
.why-item .num {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.2em; color: var(--brass);
}
.why-item h3 { font-size: 1.5rem; margin: 14px 0 10px; color: var(--ink); }
.why-item p { font-size: 0.94rem; color: var(--ink-2); }

/* Sustainability band */
#baeredygtighed {
  background: #15110B; color: var(--bone);
  text-align: center;
}
#baeredygtighed .inner { max-width: 880px; margin: 0 auto; }
#baeredygtighed h2 {
  font-size: clamp(2.6rem, 5.6vw, 5rem); color: var(--bone);
}
#baeredygtighed h2 em { color: var(--brass-bright); }
#baeredygtighed p { margin: 26px auto 0; max-width: 58ch; opacity: 0.72; }
.sus-points {
  display: flex; justify-content: center; gap: clamp(22px, 5vw, 64px);
  margin-top: 48px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass-bright);
}
.sus-points span { display: flex; align-items: center; gap: 10px; }
.sus-points i {
  width: 7px; height: 7px; border: 1.4px solid currentColor;
  border-radius: 2px;
  animation: morph 2.4s var(--ease-out) infinite alternate;
}

/* Contact */
.contact-wrap {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
}
.contact-info h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); color: var(--ink); margin-bottom: 18px; }
.contact-info p { color: var(--ink-2); max-width: 44ch; }
.contact-meta { margin-top: 40px; display: grid; gap: 18px; }
.contact-meta a, .contact-meta span {
  display: block;
  font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color 0.3s;
}
.contact-meta a:hover { color: var(--brass); }
.contact-meta .label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 4px;
}

#contact-form { display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2);
}
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.4px solid rgba(25, 21, 18, 0.25);
  padding: 10px 2px;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; color: var(--ink-2); opacity: 0.7;
}
#contact-form .btn { justify-self: start; background: var(--ink); color: var(--bone); }

/* Footer */
footer {
  position: relative; z-index: 10;
  background: #15110B; color: var(--bone);
  padding: clamp(60px, 8vw, 110px) clamp(20px, 6vw, 96px) 40px;
}
.foot-inner { max-width: 1280px; margin: 0 auto; }
/* solid wordmark, identical to the nav ARTICU (Montserrat 600, same
   tracking) — just scaled up */
.foot-word {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(2rem, 9vw, 8rem);
  letter-spacing: 0.24em; text-indent: 0.24em; line-height: 1;
  color: var(--bone);
  opacity: 0.92;
  user-select: none;
  margin-bottom: clamp(36px, 6vw, 70px);
  white-space: nowrap;
  text-align: center;
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(237, 231, 220, 0.14);
  padding-top: 28px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.7;
}
.foot-row .links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row a:hover { color: var(--brass-bright); }

/* ------------------------------------------------------------
   Teaser / lead signup ("Vi dækker op til noget nyt")
   ------------------------------------------------------------ */
#nyhed {
  background: #15110B; color: var(--bone);
  text-align: center;
}
.tease-inner { max-width: 760px; margin: 0 auto; }
#nyhed .eyebrow { color: var(--brass-bright); }
#nyhed .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--brass-bright); }
#nyhed h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem); color: var(--bone);
}
#nyhed h2 em { color: var(--brass-bright); }
#nyhed p { margin: 24px auto 0; max-width: 52ch; opacity: 0.72; }
#tease-form {
  margin-top: 40px;
  display: flex; gap: 14px; justify-content: center; align-items: flex-end;
  flex-wrap: wrap;
}
#tease-form input {
  font: inherit; color: var(--bone);
  background: transparent;
  border: 0; border-bottom: 1.4px solid rgba(237, 231, 220, 0.3);
  padding: 12px 4px; min-width: min(300px, 70vw);
  transition: border-color 0.3s;
}
#tease-form input::placeholder { color: rgba(237, 231, 220, 0.4); }
#tease-form input:focus { outline: none; border-color: var(--brass-bright); }
#tease-form .btn { background: var(--bone); color: #191512; }
#nyhed .form-note { display: block; margin-top: 16px; color: rgba(237, 231, 220, 0.45); }

/* the hidden door: twist the seal (the lock) to open the concept page */
.tease-seal {
  margin: 60px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: var(--brass);
}
.tease-seal .seal {
  width: 74px; height: 74px;
  transition: transform 0.5s var(--ease-out), color 0.3s;
}
.tease-seal:hover .seal { color: var(--brass-bright); transform: rotate(15deg); }
.tease-hint {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone); opacity: 0.32;
  transition: opacity 0.3s;
}
.tease-seal:hover .tease-hint { opacity: 0.85; }

/* ------------------------------------------------------------
   Admin — lead dashboard
   ------------------------------------------------------------ */
.admin-body { background: var(--bone); color: var(--ink); }

.admin-login {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.admin-login .seal { width: 68px; height: 68px; color: var(--brass); margin-bottom: 26px; }
.admin-login h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--ink); }
.admin-login-note { margin-top: 12px; color: var(--ink-2); font-size: 0.94rem; }
#login-form { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: flex-end; }
#login-form input {
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.4px solid rgba(25, 21, 18, 0.28);
  padding: 12px 4px; min-width: min(260px, 74vw);
}
#login-form input:focus { outline: none; border-color: var(--brass); }
.admin-error {
  margin-top: 16px; font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.08em; color: #A2502F;
}

.admin { padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 56px) 80px; max-width: 1400px; margin: 0 auto; }
.admin-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.admin-brand { display: flex; align-items: center; gap: 12px; }
.admin-brand .seal { width: 34px; height: 34px; color: var(--brass); }
.admin-brand span {
  font-family: var(--font-brand); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.2em;
}
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 2vw, 24px); margin: 30px 0;
}
.stat {
  background: var(--bone-2); border-radius: 4px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 6px;
}
.stat-v { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--ink); }
.stat-l {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}

.admin-toolbar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-bottom: 18px;
}
#search {
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.4px solid rgba(25, 21, 18, 0.2);
  padding: 9px 2px; min-width: min(260px, 100%); flex: 1;
}
#search:focus { outline: none; border-color: var(--brass); }
.admin-filters { display: flex; }
.admin-filters button {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 14px; color: var(--ink-2);
  border: 1px solid var(--line);
  transition: color 0.25s, background 0.25s;
}
.admin-filters button + button { border-left: 0; }
.admin-filters button.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th {
  text-align: left; padding: 12px 14px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid rgba(25, 21, 18, 0.08); font-size: 0.92rem; }
.admin-table tr[data-status="done"] { opacity: 0.55; }
.c-email a { border-bottom: 1px solid var(--line); }
.c-email a:hover { color: var(--brass); border-color: var(--brass); }
.dupe {
  margin-left: 8px; padding: 1px 6px; border-radius: 999px;
  background: var(--brass); color: var(--bone);
  font-family: var(--font-mono); font-size: 0.62rem;
}
.c-src, .c-time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-2); white-space: nowrap; }
.status-sel, .note-in {
  font: inherit; font-size: 0.86rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line);
  border-radius: 3px; padding: 6px 8px;
}
.status-sel:focus, .note-in:focus { outline: none; border-color: var(--brass); }
.note-in { width: min(280px, 40vw); }
.admin-empty {
  padding: 40px 0; text-align: center; color: var(--ink-2);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em;
}

/* ------------------------------------------------------------
   Convivium gate (unlock with your email)
   ------------------------------------------------------------ */
.gate-body { background: var(--bone); }
.gate {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px clamp(20px, 6vw, 96px);
}
.gate-seal { color: var(--brass); margin-bottom: 34px; cursor: default; }
.gate-seal .seal {
  width: clamp(72px, 10vw, 104px); height: auto;
  animation: seal-in 1.1s var(--ease-out) both;
}
.gate h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  margin: 20px 0 22px; color: var(--ink);
}
.gate h1 em { color: var(--brass); }
.gate-lede { max-width: 54ch; color: var(--ink-2); }
#gate-form {
  margin-top: 38px;
  display: flex; gap: 14px; justify-content: center; align-items: flex-end;
  flex-wrap: wrap;
}
#gate-form input {
  font: inherit; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.4px solid rgba(25, 21, 18, 0.28);
  padding: 12px 4px; min-width: min(300px, 76vw);
  transition: border-color 0.3s;
}
#gate-form input:focus { outline: none; border-color: var(--brass); }
.gate-error {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.08em; color: #A2502F;
}
.gate-note {
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0.65;
  max-width: 46ch;
}
.gate-back {
  margin-top: 52px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}
.gate-back:hover { color: var(--brass); border-color: var(--brass); }

/* teaser form success state */
.tease-done {
  margin-top: 40px;
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--brass-bright);
}

/* ------------------------------------------------------------
   Concept pages (Convivium)
   ------------------------------------------------------------ */
.proto-note {
  margin-top: 30px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg); opacity: 0.45;
}
.mini-footer {
  position: relative; z-index: 10;
  background: var(--bone);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: clamp(48px, 7vw, 90px) 20px 44px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.mini-footer .seal { width: 84px; height: 84px; color: var(--brass); }
.mini-footer a { border-bottom: 1px solid var(--brass); transition: color 0.3s; }
.mini-footer a:hover { color: var(--brass); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .rail { display: none; }
}
@media (max-width: 820px) {
  .nav-links a:not(.btn) { display: none; }
  .chapter { height: 150vh; }
  .chapter .panel { align-items: flex-end; padding-bottom: 9vh; }
  .chapter[data-side='right'] .panel { justify-content: flex-start; }
  .panel-inner::before { inset: -12% -14%; }
  #ch-hero .panel { align-items: center; }
  .chapter h2 { font-size: clamp(2rem, 8.4vw, 2.9rem); }
  #callouts { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .col-card:nth-child(even) { transform: none; }
  #ticker { bottom: 26px; }
  .scroll-cue { bottom: 22px; }
}

/* ------------------------------------------------------------
   Reduced motion & no-WebGL fallbacks
   ------------------------------------------------------------ */
/* reduced motion: drop ambient/decorative animation; the scroll story
   itself only moves when the visitor scrolls and stays active */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue .wheel::after, .sus-points i, .pre-seal { animation: none !important; }
  .pre-seal { opacity: 1; }
}
body.no-webgl #stage, body.no-webgl #callouts, body.no-webgl #ticker,
body.no-webgl #klik-stamp, body.no-webgl .rail { display: none; }
body.no-webgl .chapter { height: auto; min-height: 70vh; }
body.no-webgl .panel-inner > * { opacity: 1; transform: none; }
