/* ============================================================
   CIRKEL INTERIORS — SHARED STYLESHEET
   Loaded by index, studio, manifesto, process, contact.
   Hour Hero state: .night class on <html> is set by script.js
   based on visitor's local time. Day = Chalk, Night = Night.
   ============================================================ */

/* ============ DESIGN TOKENS ============ */
:root {
  /* Cirkel palette — locked */
  --chalk: #F2EDE4;
  --night: #1C2B3A;
  --clay:  #B08060;
  --fog:   #8A9FAD;
  --red:   #C8382A;

  /* Day state (default) */
  --bg:        var(--chalk);
  --fg:        var(--night);
  --fg-mute:   rgba(28, 43, 58, 0.58);
  --fg-subtle: rgba(28, 43, 58, 0.38);
  --fg-rule:   rgba(28, 43, 58, 0.16);
  --fg-soft:   rgba(28, 43, 58, 0.06);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-height: 84px;
  --side-padding: 48px;
  --max-width: 1400px;
}

:root.night {
  --bg:        var(--night);
  --fg:        var(--chalk);
  --fg-mute:   rgba(242, 237, 228, 0.58);
  --fg-subtle: rgba(242, 237, 228, 0.38);
  --fg-rule:   rgba(242, 237, 228, 0.16);
  --fg-soft:   rgba(242, 237, 228, 0.06);
}

/* ============ RESET + BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 600ms ease, color 600ms ease;
}

::selection { background: var(--red); color: var(--chalk); }

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

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--red);
  color: var(--chalk);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ============ SECTION WRAPPER ============ */
.section {
  padding: 0 var(--side-padding);
  position: relative;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============ TOP NAV (shared across all pages) ============ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  padding: 0 var(--side-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition: background 400ms ease;
}

.top-nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fg-rule);
}

.nav-wordmark {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 400ms ease;
}

.nav-links {
  display: flex;
  gap: 44px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding-bottom: 3px;
  transition: color 300ms ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover::after,
.nav-links a:focus::after { transform: scaleX(1); }

/* Active page — permanent Nyhavn Red underline */
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--fg);
  transition: all 300ms ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 2px; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ============ ARC BAND ANIMATION (home hero only) ============ */
.hero-mark {
  width: 148px;
  height: 148px;
  margin: 0 auto 56px auto;
}
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-mark path {
  fill: none;
  stroke: var(--red);
  stroke-width: 36;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawArc 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

@keyframes drawArc {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============ HOME HERO (full viewport) ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(176, 128, 96, 0.06) 100%);
  z-index: 0;
}
:root.night .hero::before {
  background: linear-gradient(180deg, rgba(138, 159, 173, 0.08) 0%, transparent 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6.8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 900ms cubic-bezier(0.25, 0.1, 0.25, 1) 1.6s forwards;
}
.hero-headline .period { color: var(--red); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding: 18px 44px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--fg);
  position: relative;
  overflow: hidden;
  transition: color 400ms cubic-bezier(0.65, 0, 0.35, 1);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 900ms cubic-bezier(0.25, 0.1, 0.25, 1) 2.0s forwards;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}

.hero-cta:hover { color: var(--chalk); }
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover .cta-arrow { transform: translateX(4px); }
.hero-cta span { position: relative; z-index: 1; }

.cta-arrow {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 400ms cubic-bezier(0.65, 0, 0.35, 1);
}
.cta-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: top right;
}

/* Scroll hint — vertical, left edge, reads bottom-to-top */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 900ms ease 2.4s forwards;
  z-index: 2;
}

.scroll-hint span {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-mute);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: var(--fg-mute);
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* ============ SUBPAGE HERO STRIP (studio, manifesto, process, contact) ============ */
.subhero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--fg-rule);
}

.subhero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.subhero .section-eyebrow {
  margin-bottom: 28px;
}

.subhero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 142px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 24px;
}
.subhero-title .period { color: var(--red); }
.section-title .period { color: var(--red); }

.subhero-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--fg-mute);
  max-width: 720px;
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 900ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 120ms; }
.reveal.delay-2 { transition-delay: 240ms; }
.reveal.delay-3 { transition-delay: 360ms; }

/* ============ SHARED SECTION HEADERS ============ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin-bottom: 40px;
  max-width: 900px;
}

.section-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--fg-mute);
  max-width: 800px;
  margin-bottom: 56px;
}

/* ============ STUDIO SECTION ============ */
.studio {
  padding-top: 160px;
  padding-bottom: 160px;
}

.studio-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.studio-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  max-width: 640px;
}
.studio-text p + p { margin-top: 28px; }

.studio-text .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 36px;
  max-width: 700px;
}

/* ============ MANIFESTO SECTION ============ */
.manifesto-section {
  padding-top: 160px;
  padding-bottom: 160px;
}

.manifesto-thesis {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 20px;
  max-width: 1100px;
}

.manifesto-rule {
  width: 28px;
  height: 2px;
  background: var(--red);
  margin-bottom: 28px;
}

.manifesto-intro {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-mute);
  max-width: 600px;
  margin-bottom: 72px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  max-width: 1200px;
}

.principle {
  border-top: 1px solid var(--fg-rule);
  padding-top: 22px;
}

.principle-num {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.principle-core {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--fg-mute);
  margin-bottom: 4px;
}

.principle-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  color: var(--fg);
}

/* ============ PROCESS SECTION ============ */
.process {
  padding-top: 160px;
  padding-bottom: 160px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

.process-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg);
  max-width: 640px;
}
.process-text p + p { margin-top: 24px; }

.process-closing {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--fg-rule);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--fg);
  max-width: 600px;
}

.schematic {
  padding-top: 8px;
}

.schematic-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.schematic svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.schematic-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.5;
  margin-top: 24px;
  max-width: 340px;
}

/* ============ SERVICES SECTION ============ */
.services {
  padding-top: 160px;
  padding-bottom: 160px;
  border-top: 1px solid var(--fg-rule);
}

.practices {
  max-width: 1100px;
  margin-top: 48px;
}

.practice {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--fg-rule);
  align-items: baseline;
}
.practice:last-child { border-bottom: 1px solid var(--fg-rule); }

.practice-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  color: var(--red);
  line-height: 0.9;
}

.practice-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 10px;
}

.practice-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  max-width: 700px;
}

/* ============ TECHNOLOGY SECTION (always dark) ============ */
.technology {
  background: var(--night);
  color: var(--chalk);
  padding-top: 160px;
  padding-bottom: 160px;
  margin-top: 0;
}
.technology .section-eyebrow { color: var(--red); }
.technology .section-title { color: var(--chalk); }
.technology .section-eyebrow::before { background: var(--red); }

.tech-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  color: var(--chalk);
  max-width: 900px;
  margin-bottom: 56px;
}

.tech-body {
  max-width: 800px;
}

.tech-body p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--chalk);
  margin-bottom: 24px;
}

.tech-close {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(242, 237, 228, 0.18);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--chalk);
  max-width: 780px;
}

/* ============ WHY CIRKEL ============ */
.why {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reasons {
  max-width: 1100px;
  margin-top: 48px;
}

.reason {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--fg-rule);
  align-items: baseline;
}
.reason:last-child { border-bottom: 1px solid var(--fg-rule); }

.reason-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  color: var(--red);
  line-height: 0.9;
}

.reason-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 10px;
}

.reason-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  max-width: 780px;
}

/* ============ HOME-PAGE TEASERS (studio intro + thesis) ============ */
.studio-teaser {
  padding-top: 160px;
  padding-bottom: 160px;
  border-top: 1px solid var(--fg-rule);
}

.studio-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.studio-teaser-text p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--fg);
  max-width: 720px;
  margin-bottom: 28px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fg);
  transition: color 300ms ease, border-color 300ms ease;
  margin-top: 8px;
}
.inline-link:hover { color: var(--red); border-color: var(--red); }
.inline-link:hover .cta-arrow { transform: translateX(4px); }

.thesis-break {
  padding: 160px var(--side-padding);
  border-top: 1px solid var(--fg-rule);
  text-align: center;
}
.thesis-break .thesis-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 40px;
}
.thesis-break .thesis-rule {
  width: 28px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 40px auto;
}

/* ============ HOME CLOSING CTA ============ */
.home-closing {
  padding: 180px var(--side-padding);
  background: var(--night);
  color: var(--chalk);
  text-align: center;
}

.home-closing .closing-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 28px;
}

.home-closing .closing-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--chalk);
  margin-bottom: 40px;
}

.home-closing .closing-rule {
  width: 28px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 56px auto;
}

.home-closing .closing-ctas {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--chalk);
  background: transparent;
  border: 1px solid var(--chalk);
  position: relative;
  overflow: hidden;
  transition: color 400ms ease;
}
.closing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.closing-cta:hover::before { transform: scaleX(1); }
.closing-cta:hover { border-color: var(--red); }
.closing-cta span { position: relative; z-index: 1; }

/* ============ CONTACT PAGE ============ */
.contact {
  padding-top: 160px;
  padding-bottom: 160px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-info .contact-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 40px;
  max-width: 480px;
}

.contact-channel {
  padding-top: 20px;
  border-top: 1px solid var(--fg-rule);
  margin-bottom: 20px;
}
.contact-channel:first-of-type { margin-top: 10px; }

.contact-channel .c-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}

.contact-channel a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--fg);
  transition: color 300ms ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contact-channel a:hover { color: var(--red); }

.contact-channel .channel-arrow {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 400ms cubic-bezier(0.65, 0, 0.35, 1);
}
.contact-channel .channel-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: top right;
}
.contact-channel a:hover .channel-arrow { transform: translateX(4px); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--fg-rule);
  padding: 12px 0;
  outline: none;
  transition: border-color 300ms ease;
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: var(--red);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-mute) 50%),
                    linear-gradient(135deg, var(--fg-mute) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.form-row select option {
  background: var(--bg);
  color: var(--fg);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 18px 44px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--fg);
  position: relative;
  overflow: hidden;
  transition: color 400ms ease;
  cursor: pointer;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.form-submit:hover { color: var(--chalk); }
.form-submit:hover::before { transform: scaleX(1); }
.form-submit span { position: relative; z-index: 1; }

.form-status {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  padding-top: 20px;
  display: none;
}
.form-status.success { display: block; color: var(--red); }
.form-status.error   { display: block; color: var(--red); }

/* ============ FOOTER (shared, always dark) ============ */
.site-footer {
  background: var(--night);
  color: var(--chalk);
  padding: 80px var(--side-padding) 48px var(--side-padding);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 80px;
  align-items: start;
}

.footer-mark {
  width: 56px;
  height: 56px;
  display: block;
  cursor: pointer;
  transition: transform 400ms cubic-bezier(0.65, 0, 0.35, 1);
}
.footer-mark:hover {
  transform: translateY(-4px);
}
.footer-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  color: var(--chalk);
  max-width: 480px;
}

.footer-channels {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.6);
}

.footer-channels a {
  color: rgba(242, 237, 228, 0.85);
  transition: color 300ms ease;
}
.footer-channels a:hover { color: var(--red); }

.footer-channels .sep {
  display: inline-block;
  margin: 0 12px;
  color: rgba(242, 237, 228, 0.3);
}

.footer-right {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.48);
  text-align: right;
  line-height: 2;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 64px auto 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(242, 237, 228, 0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.42);
}

/* ============ RESPONSIVE — Tablet ============ */
@media (max-width: 1024px) {
  :root {
    --side-padding: 40px;
  }
  .studio-content,
  .process-grid,
  .contact-grid,
  .studio-teaser-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }
  .practice, .reason {
    grid-template-columns: 64px 1fr;
    gap: 32px;
  }
}

/* ============ RESPONSIVE — Mobile ============ */
@media (max-width: 720px) {
  :root {
    --side-padding: 24px;
    --nav-height: 68px;
  }

  .top-nav { padding: 0 var(--side-padding); }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 44px;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 400ms ease, transform 400ms ease;
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a { font-size: 14px; letter-spacing: 0.32em; }
  .nav-toggle { display: block; }

  .hero-mark { width: 100px; height: 100px; margin-bottom: 40px; }
  .hero-cta { margin-top: 48px; padding: 15px 32px; font-size: 10px; }
  .scroll-hint { left: 24px; bottom: 28px; }

  .subhero { min-height: 50vh; padding-bottom: 60px; }

  .studio, .manifesto-section, .process, .services, .technology, .why, .contact, .studio-teaser, .thesis-break {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .home-closing { padding: 120px var(--side-padding); }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .practice, .reason {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .practice-num { font-size: 32px; }
  .reason-num { font-size: 28px; }
  .practice-name { font-size: 24px; }
  .reason-title { font-size: 20px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .footer-right { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 16px; padding-top: 24px; }

  .closing-ctas { flex-direction: column; width: 100%; }
  .closing-cta { justify-content: center; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-mark path { stroke-dashoffset: 0; }
  .hero-headline, .hero-cta, .scroll-hint { opacity: 1; transform: none; }
}

/* ============================================================
   V3 ADDITIONS — Home page principles grid + technology teaser
   ============================================================ */

/* ============ Home principles section (compact) ============ */
.home-principles {
  padding-top: 160px;
  padding-bottom: 160px;
  border-top: 1px solid var(--fg-rule);
}

.home-principles .principles-thesis {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6.8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 20px;
  max-width: 1100px;
}

.home-principles .principles-rule {
  width: 28px;
  height: 2px;
  background: var(--red);
  margin-bottom: 28px;
}

.home-principles .principles-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--fg-mute);
  max-width: 640px;
  margin-bottom: 80px;
}

.home-principles .principles-link-wrap {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--fg-rule);
}

/* ============ Home technology teaser (Hour Hero default) ============ */
.home-tech-teaser {
  background: var(--bg);
  color: var(--fg);
  padding: 160px var(--side-padding);
  text-align: left;
  border-top: 1px solid var(--fg-rule);
}

.home-tech-teaser .tech-teaser-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-tech-teaser .tech-teaser-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-tech-teaser .tech-teaser-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--red);
}

.home-tech-teaser .tech-teaser-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin-bottom: 36px;
  max-width: 1100px;
}

.home-tech-teaser .tech-teaser-supporting {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--fg-mute);
  max-width: 640px;
  margin-bottom: 48px;
}

/* Principles section back to normal padding since the dark break is gone */
.home-principles {
  padding-bottom: 160px;
}

/* ============ Home closing — simplified (no eyebrow) ============ */
.home-closing.simplified .closing-eyebrow {
  display: none;
}

/* ============ Studio page — international intro spacing ============ */
.studio-intro-trimmed .lead {
  margin-bottom: 0;
}

/* ============ Mobile tweaks for new sections ============ */
@media (max-width: 720px) {
  .home-principles {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .home-tech-teaser {
    padding: 100px var(--side-padding);
  }
  .home-principles .principles-intro {
    margin-bottom: 56px;
  }
}

/* ============================================================
   V4 ADDITIONS — Process page vertical timeline
   ============================================================ */

/* Container */
.process-timeline {
  max-width: 980px;
  margin: 80px 0 0 0;
  position: relative;
}

/* The Nyhavn Red spine — runs the full height of the timeline */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 64px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--red);
  opacity: 0.45;
}

/* Each step row */
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--fg-rule);
}
.process-step:first-child { border-top: none; padding-top: 0; }
.process-step:last-child  { padding-bottom: 0; }

/* Left: number + mark column */
.step-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 0.9;
  color: var(--red);
  margin-bottom: 18px;
}

/* The mark sits ON the spine — solid background to mask the line behind it */
.step-mark {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  position: relative;
  z-index: 3;
  transition: background 600ms ease;
}

.step-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}

.step-mark svg * {
  stroke: var(--fg);
  fill: none;
  stroke-width: 1.5;
}
.step-mark svg .filled { fill: var(--red); stroke: var(--red); }
.step-mark svg .accent { stroke: var(--red); }

/* Right: content column */
.step-content {
  padding-top: 4px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 16px;
}

.step-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg);
  max-width: 620px;
}

.step-desc em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
}

/* Closing line of the timeline */
.process-closing-line {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--fg-rule);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--fg);
  max-width: 720px;
}

/* Mobile timeline */
@media (max-width: 720px) {
  .process-timeline {
    margin-top: 56px;
  }
  .process-timeline::before {
    left: 28px;
  }
  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .step-num {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .step-mark {
    width: 36px;
    height: 36px;
    margin-left: 10px;
  }
  .step-mark svg {
    width: 16px;
    height: 16px;
  }
  .step-title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .step-desc {
    font-size: 14px;
  }
  .process-closing-line {
    margin-top: 56px;
    padding-top: 36px;
    font-size: 18px;
  }
}
