/* ============================================================================
   HARMOND — Küchenmanufaktur
   Design System · v1.0
   Palette rule (Brand Guidelines, S.15): Olive Drab pairs with Bone,
   Off-White pairs with Smoky Black. Reduced — never busy.
   Type: Space Grotesk (Headlines, Versalien, immer mit Punkt) + Inter (Text).
   ========================================================================== */

/* ----------------------------------------------------------------- Fonts -- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* --------------------------------------------------------------- Tokens -- */
:root {
  /* Brand colours */
  --olive:        #56554a;
  --bone:         #d5d0be;
  --off-white:    #e1e1e1;
  --black:        #11120e;

  /* Hairlines */
  --line-on-dark:  rgba(213, 208, 190, .20);
  --line-on-light: rgba(17, 18, 14, .16);
  --line-faint:    rgba(213, 208, 190, .09);

  /* Typography */
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-text:    "Inter", system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --fs-mega:    clamp(3.1rem, 13vw, 12rem);
  --fs-display: clamp(2.6rem, 8.4vw, 7rem);
  --fs-h1:      clamp(2.2rem, 6vw, 4.6rem);
  --fs-h2:      clamp(1.8rem, 4vw, 3rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.7rem);
  --fs-subline: clamp(0.95rem, 1.3vw, 1.25rem);
  --fs-lead:    clamp(1.08rem, 1.25vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9rem;
  --fs-cap:     0.72rem;

  /* Spacing */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vw, 10rem);
  --maxw: 1360px;

  --ease: cubic-bezier(.22, 1, .36, .58);
}

/* ----------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-underline-offset: .2em;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
::selection { background: var(--black); color: var(--bone); }

/* --------------------------------------------------------------- Layout -- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 6rem); }

/* Colour pairings — each block stays within one valid pair */
.bg-olive { background: var(--olive); color: var(--bone); }
.bg-bone  { background: var(--bone);  color: var(--olive); }
.bg-light { background: var(--off-white); color: var(--black); }
.bg-dark  { background: var(--black); color: var(--off-white); }

.bg-olive ::selection { background: var(--bone); color: var(--olive); }
.bg-dark  ::selection { background: var(--off-white); color: var(--black); }

/* ---------------------------------------------------------- Typography -- */
.display, h1, h2, h3, .h-mega { font-family: var(--font-display); }

.h-mega {
  font-weight: 700;
  font-size: var(--fs-mega);
  line-height: .9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* Long German compounds must never force horizontal scroll on small screens */
.h-mega, .h-display, h1, .h1, h2, .h2, h3, .h3 { overflow-wrap: break-word; }
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: .92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: .95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
/* Subline — Space Grotesk Medium, Versalien */
.subline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-subline);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
/* Lead — Inter Medium */
.lead {
  font-family: var(--font-text);
  font-weight: 450;
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 46ch;
  color: inherit;
}
p { max-width: 64ch; }
.measure-wide { max-width: 78ch; }
.body-strong { font-weight: 500; }

/* Caption / Label — Inter SemiBold, Versalien, Laufweite +50 */
.cap {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cap--sm { font-size: 0.66rem; letter-spacing: 0.18em; }

/* The signature Harmond dot */
.dot { color: inherit; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: .85;
}
.eyebrow::before {
  content: "";
  width: .42em; height: .42em;
  background: currentColor;
  border-radius: 50%;
  flex: none;
}
.eyebrow--line::before {
  width: 2.4em; height: 1px;
  border-radius: 0;
}

.tnum { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--off-white);
  border-bottom: 1px solid var(--line-on-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--off-white);
}
.brand:hover { color: var(--bone); }

/* Logos via CSS mask — recolour with currentColor, single cached asset */
.logo {
  display: inline-block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: left center; mask-position: left center;
  -webkit-mask-size: contain; mask-size: contain;
}
.logo--word {
  height: 18px; aspect-ratio: 384 / 46.95;
  -webkit-mask-image: url("../logo/harmond-wortmarke.svg");
          mask-image: url("../logo/harmond-wortmarke.svg");
}
.logo--mark {
  height: 40px; aspect-ratio: 318.12 / 216;
  -webkit-mask-image: url("../logo/harmond-bildmarke.svg");
          mask-image: url("../logo/harmond-bildmarke.svg");
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.8rem);
}
.nav-links a {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  padding-block: .4rem;
  transition: opacity .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--off-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { opacity: .75; }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line-on-dark);
  padding: .65rem 1.1rem;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.nav-cta:hover { background: var(--off-white); color: var(--black); border-color: var(--off-white); }

/* Language switcher (DE / EN / SQ) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  margin-left: .5rem;
  padding-left: .9rem;
  border-left: 1px solid var(--line-on-dark);
}
.nav-links .lang-switch a {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: .35rem .45rem;
  opacity: .5;
  border-bottom: 0;
  width: auto;
}
.nav-links .lang-switch a::after { display: none; }
.nav-links .lang-switch a:hover { opacity: 1; }
.nav-links .lang-switch a[aria-current="true"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  margin-right: -8px;
  position: relative;
  z-index: 2;
}
/* Visible focus indicator on the burger when its (visually-hidden) checkbox is focused */
.nav-toggle:focus-visible ~ .nav-burger {
  outline: 2px solid var(--off-white);
  outline-offset: 3px;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 9px;
  width: 24px; height: 1.6px;
  background: var(--off-white);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-burger span { top: 20px; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after  { top:  7px; }

/* ---------------------------------------------------------------- Skip -- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--bone); color: var(--black);
  padding: .6rem 1rem;
  z-index: 200;
  font: 600 var(--fs-cap)/1 var(--font-text);
  letter-spacing: .16em; text-transform: uppercase;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* Visually hidden but available to assistive tech (used for section headings) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------- Button -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.7rem;
  border: 1px solid currentColor;
  transition: background .3s var(--ease), color .3s var(--ease), gap .3s var(--ease);
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid-bone { background: var(--bone); color: var(--olive); border-color: var(--bone); }
.btn--solid-bone:hover { background: transparent; color: var(--bone); }
.btn--solid-dark { background: var(--black); color: var(--off-white); border-color: var(--black); }
.btn--solid-dark:hover { background: transparent; color: var(--black); }
.btn--ghost-bone { color: var(--bone); }
.btn--ghost-bone:hover { background: var(--bone); color: var(--olive); }
.btn--ghost-dark { color: var(--black); }
.btn--ghost-dark:hover { background: var(--black); color: var(--off-white); }
/* Olive Drab + Bone pair, for use on Bone backgrounds */
.btn--solid-olive { background: var(--olive); color: var(--bone); border-color: var(--olive); }
.btn--solid-olive:hover { background: transparent; color: var(--olive); }
.btn--ghost-olive { color: var(--olive); }
.btn--ghost-olive:hover { background: var(--olive); color: var(--bone); }
/* Off-White + Smoky Black pair, for use on dark (Smoky Black) backgrounds */
.btn--ghost-light { color: var(--off-white); }
.btn--ghost-light:hover { background: var(--off-white); color: var(--black); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .35rem;
}
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ----------------------------------------------------- Architectural grid */
/* Faint vertical column lines for atmosphere */
.colgrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--line-faint) 0, var(--line-faint) 1px,
    transparent 1px, transparent calc(100% / 6)
  );
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.section > .wrap { position: relative; z-index: 1; }

/* Corner crop-marks */
.crop { position: relative; }
.crop::before, .crop::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: currentColor;
  opacity: .4;
}
.crop::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.crop::after  { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

/* Hairline divider */
.rule { height: 1px; background: currentColor; opacity: .18; border: 0; }

/* ----------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  min-height: clamp(620px, 92svh, 1000px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
}
.hero__visual {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.hero__visual img { width: 100%; }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line-on-dark);
}
.scroll-cue { display: inline-flex; align-items: center; gap: .7rem; opacity: .8; }
.scroll-cue .bar {
  width: 1px; height: 26px; background: currentColor;
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%,100%{transform:scaleY(.35);opacity:.4} 50%{transform:scaleY(1);opacity:1} }
@media (prefers-reduced-motion: reduce){ .scroll-cue .bar { animation: none; } }

/* --------------------------------------------------------- Section head -- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.sec-head__aside { max-width: 42ch; }
/* Collapse at 880px to match the hero/section breakpoints — avoids a 768px squeeze band */
@media (max-width: 880px){
  .sec-head { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* --------------------------------------------------------------- Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.pillar {
  border: 1px solid var(--line-on-dark);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.bg-light .pillar { border-color: var(--line-on-light); }
.pillar__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pillar h3 { margin-top: auto; padding-top: 2.5rem; }
.pillar p { margin-top: 1rem; font-size: var(--fs-small); opacity: .82; max-width: 38ch; }
.pillar:hover { background: var(--bone); color: var(--olive); border-color: var(--bone); }
.bg-light .pillar:hover { background: var(--black); color: var(--off-white); border-color: var(--black); }
/* Stay within the Off-White + Smoky Black pair on dark grounds */
.bg-dark .pillar:hover { background: var(--off-white); color: var(--black); border-color: var(--off-white); }
@media (max-width: 860px){ .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } .pillar h3 { padding-top: 1.8rem; } }

/* ------------------------------------------------------ Project / grid -- */
.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem);
}
.project { grid-column: span 6; }
.project--wide { grid-column: span 12; }
.project--tall { grid-column: span 6; }
@media (max-width: 760px){ .project, .project--tall { grid-column: span 12; } }

.project__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--olive);
}
.project--wide .project__media { aspect-ratio: 16 / 7; }
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.project:hover .project__media img { transform: scale(1.04); }
.project__media .tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--black); color: var(--off-white);
  padding: .4rem .7rem;
}
.project__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid currentColor;
  margin-top: 1rem;
}
.project__meta h3 { font-weight: 600; }
.project__meta .idx { opacity: .68; }
.project a.project__link { display: block; }
.project a.project__link:hover h3 { opacity: .6; transition: opacity .3s; }

/* --------------------------------------------------------- Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--olive); }
@media (max-width: 860px){
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
}

/* ------------------------------------------------------------- Material -- */
.materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid currentColor;
}
.material {
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  border-right: 1px solid currentColor;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.material:last-child { border-right: 0; }
.material .swatch {
  width: 100%; height: 64px; margin-bottom: 1.5rem;
  border: 1px solid var(--line-on-dark);
}
.material h3 { font-size: var(--fs-h3); }
.material p { font-size: var(--fs-small); opacity: .8; margin-top: .6rem; }
@media (max-width: 860px){
  .materials { grid-template-columns: 1fr 1fr; }
  .material:nth-child(2){ border-right: 0; }
  .material:nth-child(1),.material:nth-child(2){ border-bottom: 1px solid currentColor; }
}
@media (max-width: 480px){
  .materials { grid-template-columns: 1fr; }
  .material { border-right: 0; border-bottom: 1px solid currentColor; }
  .material:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------- Spec / table -- */
.specs {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid currentColor;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid currentColor;
  align-items: baseline;
}
.spec-row dt { font-family: var(--font-text); font-weight: 600; font-size: var(--fs-cap); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.spec-row dd { font-size: var(--fs-small); }
@media (max-width: 560px){ .spec-row { grid-template-columns: 1fr; gap: .35rem; } }

/* Numbered principle row (Nr · Titel · Text) */
.principle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 2fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.2rem, 2.5vw, 1.8rem);
  border-bottom: 1px solid currentColor;
}
.principle-row .pillar__num { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.principle-row h3 { margin: 0; }
.principle-row p { font-size: var(--fs-small); opacity: .82; }
@media (max-width: 680px){
  .principle-row { grid-template-columns: auto 1fr; gap: .5rem 1.2rem; }
  .principle-row p { grid-column: 1 / -1; }
}
@media (max-width: 420px){
  .principle-row { grid-template-columns: 1fr; gap: .4rem; }
}

/* ----------------------------------------------------------------- Stat -- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: currentColor;
  border: 1px solid currentColor;
}
.stat {
  background: var(--olive);
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2vw, 1.8rem);
}
.bg-dark .stat { background: var(--black); }
.bg-light .stat { background: var(--off-white); }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .lbl { margin-top: .9rem; opacity: .8; }
@media (max-width: 760px){ .stats { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- CTA bar */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* --------------------------------------------------------------- Footer -- */
.site-footer { background: var(--black); color: var(--off-white); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(3.5rem, 6vw, 6rem) clamp(2.5rem, 4vw, 4rem);
}
.footer-mark .logo--word { height: 24px; }
.footer-col h3 {
  font-family: var(--font-text);
  font-weight: 600; font-size: var(--fs-cap);
  letter-spacing: .16em; text-transform: uppercase;
  opacity: .6; margin-bottom: 1.2rem;
}
.footer-col a, .footer-col li { font-size: var(--fs-small); line-height: 2.05; opacity: .9; }
.footer-col a:hover { color: var(--off-white); opacity: 1; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line-on-dark);
}
.footer-bottom .cap { opacity: .55; }
.footer-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 17.5vw, 16rem);
  line-height: .8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  padding-block: clamp(1rem,3vw,2.5rem) 0;
  color: var(--off-white);
  opacity: .96;
  overflow: hidden;
}
@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Forms --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.5rem;
}
.field { display: flex; flex-direction: column; gap: .6rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-text); font-weight: 600;
  font-size: var(--fs-cap); letter-spacing: .16em; text-transform: uppercase; opacity: .8;
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: var(--fs-small);
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: .7rem 0;
  border-radius: 0;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: currentColor; opacity: .62; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-width: 2px;
}
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Page banner --- */
.page-banner { padding-block: clamp(4.5rem, 9vw, 8.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-banner .breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); opacity: .6; }
/* Banner titles span full width so long single words (MANUFAKTUR., KOLLEKTIONEN.)
   set on one monumental line instead of breaking mid-word in a half column */
.page-banner .sec-head { grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.page-banner .sec-head__aside { max-width: 56ch; }
/* Bone-on-olive has little contrast headroom — keep breadcrumb legible on olive banners */
.bg-olive .breadcrumb { opacity: 1; }
.bg-olive .breadcrumb a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }

/* --------------------------------------------------------- Utilities ----- */
.stack > * + * { margin-top: 1.2rem; }
.stack-lg > * + * { margin-top: 2rem; }
.flow-sm > * + * { margin-top: .6rem; }
.mt-auto { margin-top: auto; }
.text-right { text-align: right; }
.muted { opacity: .72; }
/* Olive Drab + Bone is an inherently low-contrast pair (4.87:1). Dimming text
   on those grounds would drop below WCAG AA, so secondary text there keeps full
   opacity — hierarchy comes from size & weight, not from reduced contrast. */
.bg-olive .muted, .bg-bone .muted,
.bg-olive .eyebrow, .bg-bone .eyebrow,
.bg-olive .scroll-cue,
.bg-olive .material p, .bg-bone .material p,
.bg-olive .pillar p, .bg-bone .pillar p,
.bg-olive .stat .lbl, .bg-bone .stat .lbl,
.bg-olive .sec-head__aside, .bg-bone .sec-head__aside {
  opacity: 1;
}
.nowrap { white-space: nowrap; }
@media (max-width: 560px) { .hide-sm { display: none !important; } }
.two-col-text {
  columns: 2;
  column-gap: clamp(2rem, 4vw, 4rem);
  max-width: none;
}
.two-col-text p { max-width: none; break-inside: avoid; }
.two-col-text p + p { margin-top: 1rem; }
@media (max-width: 680px){ .two-col-text { columns: 1; } }

/* ----------------------------------------------------- Reveal animations */
@media (prefers-reduced-motion: no-preference) {
  /* On-load staggered reveal for hero */
  .load-up { animation: loadUp .9s var(--ease) both; }
  @keyframes loadUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; }
  .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
  .d5 { animation-delay: .45s; } .d6 { animation-delay: .55s; }

  /* Scroll-driven reveal — progressive, content visible if unsupported */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 22%;
    }
    @keyframes reveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
    .reveal-line {
      animation: revLine linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 18%;
      transform-origin: left;
    }
    @keyframes revLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* -------------------------------------------------------- Responsive nav */
@media (max-width: 880px) {
  .hero__body { grid-template-columns: 1fr; align-items: start; }
  .hero__visual { margin-top: 2rem; }

  .nav-burger { display: block; }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line-on-dark);
    padding: var(--gutter);
    transform: translateY(-115%);
    transition: transform .4s var(--ease);
    z-index: 1;
  }
  .nav-links a { font-size: 1.4rem; padding-block: 1rem; width: 100%; border-bottom: 1px solid var(--line-on-dark); letter-spacing: .06em; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 1.2rem; align-self: flex-start; }
  .lang-switch { margin: 1.4rem 0 0; padding: 0; border-left: 0; gap: .4rem; }
  .nav-links .lang-switch a { font-size: 1.05rem; padding: .3rem .6rem .3rem 0; opacity: .55; }
  .nav-toggle:checked ~ .nav-links { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle:checked ~ .nav-burger span::after  { transform: rotate(-45deg); top: 0; }
  body:has(.nav-toggle:checked) { overflow: hidden; }
}
@media (min-width: 881px) {
  /* Desktop: nav is always visible, so the toggle/burger leave the tab order entirely */
  .nav-burger, .nav-toggle { display: none; }
}
