/* ============================================================
   MICHAEL SØRENSEN — Commercial Transformation Advisor
   styles.css
   ============================================================ */

/* ---- Custom Properties ---------------------------------------- */
:root {
  /* Palette */
  --c-bg:            #F0EDE7;       /* warm off-white, content sections */
  --c-bg-alt:        #E9E5DF;       /* slightly deeper warm tone, cards */
  --c-bg-dark:       #111820;       /* hero and CTA dark sections */
  --c-bg-dark-2:     #181F28;       /* card surface in dark sections */

  --c-ink:           #1A1A2E;       /* primary text — near-black navy */
  --c-ink-mid:       #4E4B5C;       /* secondary text */
  --c-ink-quiet:     #8A8799;       /* tertiary / captions */

  --c-hero-text:     #EDE9E2;       /* text on dark hero */
  --c-hero-muted:    #9B9890;       /* subdued text on dark hero */

  --c-copper:        #B8916A;       /* primary accent — warm copper */
  --c-copper-light:  #CDA882;       /* hover state */
  --c-blue:          #2D4A6B;       /* secondary accent — muted navy blue */

  --c-rule:          #D5D0C8;       /* thin dividers on light bg */
  --c-rule-dark:     #252D38;       /* thin dividers on dark bg */

  /* Typography */
  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --w-max:    1200px;
  --w-narrow: 820px;
  --nav-h:    72px;

  /* Spacing scale */
  --s-1:  0.5rem;
  --s-2:  1rem;
  --s-3:  1.5rem;
  --s-4:  2rem;
  --s-6:  3rem;
  --s-8:  4rem;
  --s-12: 6rem;
  --s-16: 8rem;
  --s-20: 10rem;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-fast: 180ms;
  --t-med:  320ms;
}

/* ---- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

body {
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ---- Accessibility -------------------------------------------- */
.skip-link {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--c-ink);
  color: var(--c-hero-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  outline: 2px solid var(--c-copper);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--c-copper);
  outline-offset: 3px;
}

/* ---- Layout helpers ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--s-4);
}

/* ---- Section label — small copper eyebrow ------------------- */
.section-label {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-bottom: var(--s-4);
}
.section-label--light { color: var(--c-copper-light); }

/* ---- Buttons -------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.btn-copper {
  background-color: var(--c-copper);
  color: #fff;
  border: 1px solid var(--c-copper);
}
.btn-copper:hover,
.btn-copper:focus-visible {
  background-color: var(--c-copper-light);
  border-color: var(--c-copper-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--c-hero-text);
  border: 1px solid rgba(237, 233, 226, 0.28);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--c-copper);
  color: var(--c-copper);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  /* starts transparent over dark hero */
  background-color: transparent;
  transition:
    background-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

/* Scrolled within hero — frosted dark */
.nav.is-dark {
  background-color: rgba(17, 24, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-rule-dark);
}

/* Past hero — frosted warm white */
.nav.is-light {
  background-color: rgba(240, 237, 231, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--s-4);
}

/* Brand / logo */
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.nav-brand-name {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-hero-text);
  line-height: 1.1;
  transition: color var(--t-fast);
}
.nav-brand-title {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--c-hero-muted);
  line-height: 1;
  transition: color var(--t-fast);
}

.nav.is-light .nav-brand-name { color: var(--c-ink); }
.nav.is-light .nav-brand-title { color: var(--c-ink-mid); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(237, 233, 226, 0.65);
  transition: color var(--t-fast);
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--c-hero-text); }

.nav.is-light .nav-links a { color: var(--c-ink-mid); }
.nav.is-light .nav-links a:hover,
.nav.is-light .nav-links a:focus-visible,
.nav.is-light .nav-links a[aria-current="page"] { color: var(--c-ink); }

/* Contact CTA in nav */
.nav-cta {
  padding: 0.45rem 1.1rem !important;
  border: 1px solid rgba(184, 145, 106, 0.45) !important;
  color: var(--c-copper) !important;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease) !important;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: var(--c-copper) !important;
  border-color: var(--c-copper) !important;
  color: #fff !important;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--c-hero-text);
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  transform-origin: center;
}
.nav.is-light .nav-toggle span { background-color: var(--c-ink); }

/* Open state */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  background-color: var(--c-bg-dark);
  display: flex;
  align-items: center;
  padding-block-start: var(--nav-h);
  overflow: hidden;
}

/* Subtle gradient atmosphere */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 45%, rgba(45, 74, 107, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(184, 145, 106, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(17, 24, 32, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

/* Thin copper bottom border */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--c-copper) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: var(--s-12) var(--s-4) var(--s-16);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-12);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-bottom: var(--s-3);
}

.hero-name {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 6.5vw, 5.75rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--c-hero-text);
  margin-bottom: var(--s-4);
}

/* Three pillars */
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin-bottom: var(--s-6);
}
.hero-pillars span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-hero-muted);
}
.pillar-sep { color: var(--c-copper) !important; opacity: 0.6; }

.hero-lead {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--c-hero-text);
  max-width: 560px;
  margin-bottom: var(--s-3);
}

.hero-sub {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--c-hero-text);
  max-width: 520px;
  margin-bottom: var(--s-3);
}

.hero-proof {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--c-hero-muted);
  max-width: 480px;
  margin-bottom: var(--s-6);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* Portrait area */
.hero-portrait { display: flex; justify-content: flex-end; }

.portrait-wrap {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
}

/* Actual portrait image — used when assets/michael-portrait.jpg is added */
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder (remove when real portrait is ready) */
.portrait-placeholder {
  background-color: var(--c-bg-dark-2);
  border: 1px solid var(--c-rule-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portrait-placeholder::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-copper), transparent 50%);
}
.portrait-placeholder-inner {
  text-align: center;
  user-select: none;
}
.portrait-initials {
  display: block;
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(237, 233, 226, 0.1);
  letter-spacing: 0.15em;
  margin-bottom: var(--s-2);
}
.portrait-hint {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(237, 233, 226, 0.18);
  font-family: 'Courier New', monospace;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-copper), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80%  { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ============================================================
   BRAND EXPERIENCE SECTION
   Centered header · horizontal brand wall · icon index strip.
   Reference: logo-section-reference.png
   ============================================================ */
.logos-section {
  background-color: var(--c-bg);
  padding-block: var(--s-16) var(--s-12);
  border-bottom: 1px solid var(--c-rule);
}

/* ── Centered editorial header ──────────────────────────────── */
.logos-header {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: var(--s-12);
}

.logos-headline {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-top: var(--s-2);
  margin-bottom: 0;
}

/* Thin copper accent line below headline, centred */
.logos-accent-line {
  width: 44px;
  height: 1px;
  background-color: var(--c-copper);
  opacity: 0.55;
  margin: var(--s-4) auto;
}

.logos-sub {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-ink-mid);
}

.logos-disclaimer {
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--c-ink-quiet);
  font-style: italic;
  text-align: center;
  margin-top: var(--s-4);
}

/* ── Thin horizontal rules framing the brand wall ───────────── */
.brand-wall-rule {
  height: 1px;
  background-color: rgba(180, 165, 140, 0.35);
}

/* ── Brand wall — open horizontal layout ────────────────────── */
.brand-wall {
  display: flex;
  align-items: stretch;
}

.brand-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 16px;
  padding-inline: var(--s-2);
  border-right: 1px solid rgba(180, 165, 140, 0.35);
}
.brand-item:last-child { border-right: none; }

/* Logo frame — open alignment container, no clipping */
.logo-frame {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Flat, monochrome — no shadows, no hover effects */
.logo-img {
  display: block;
  height: auto;
  width: auto;
  max-height: 85px;
  max-width: 250px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.92;
}

/* Per-brand sizing — LEGO/NFB/Demant are 3.33:1, KRUUSE is 0.94:1 (portrait) */
.logo-img--lego    { max-height: 70px;  max-width: 220px; }
.logo-img--nordisk { max-height: 110px; max-width: 150px; }
.logo-img--kruuse  { max-height: 100px; max-width: 220px; }
.logo-img--demant  { max-height: 70px;  max-width: 220px; }

/* Small sub-label below the logo */
.brand-sub {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-ink-quiet);
  text-align: center;
  line-height: 1.5;
  opacity: 0.7;
  text-transform: uppercase;
}

/* ── Industry icon strip ─────────────────────────────────────── */
.industry-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0;
  margin-bottom: var(--s-4);
}

.industry-cell {
  border-right: 1px solid rgba(180, 165, 140, 0.35);
  padding: var(--s-6) var(--s-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.industry-cell:first-child { border-left: none; }
.industry-cell:last-child { border-right: none; }

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PNG icon assets — explicit size, consistent B&W treatment */
.industry-icon-img {
  display: block;
  width: 54px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.88;
}

.industry-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-ink-mid);
  text-align: center;
}


/* ============================================================
   PHILOSOPHY / APPROACH
   ============================================================ */
.philosophy {
  padding-block: var(--s-20);
  background-color: var(--c-bg);
}

.philosophy-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-ink);
  max-width: 680px;
  margin-bottom: var(--s-4);
}

.philosophy-intro {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--c-ink-mid);
  max-width: 600px;
  margin-bottom: var(--s-12);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-rule);
}

.principle {
  padding-block: var(--s-8);
  padding-inline: var(--s-6);
  border-right: 1px solid var(--c-rule);
}
.principle:last-child { border-right: none; }

.principle-top {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.principle-num {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--c-copper);
  opacity: 0.6;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.principle-title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.2;
}
.principle-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--c-ink-mid);
}


/* ============================================================
   VALUE — WHAT I HELP WITH
   ============================================================ */
.value {
  background-color: var(--c-bg-alt);
  padding-block: var(--s-20);
}

.value-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: var(--s-12);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--c-rule);
}

.value-card {
  background-color: var(--c-bg-alt);
  padding: var(--s-8);
  transition: background-color var(--t-fast) var(--ease);
}
.value-card:hover { background-color: var(--c-bg); }

.value-num {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-copper);
  margin-bottom: var(--s-3);
}
.value-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: var(--s-2);
}
.value-text {
  font-size: 0.865rem;
  line-height: 1.72;
  color: var(--c-ink-mid);
}


/* ============================================================
   SITUATIONS — WHEN TO REACH OUT
   ============================================================ */
.situations {
  padding-block: var(--s-20);
  border-block: 1px solid var(--c-rule);
  background-color: var(--c-bg);
}

.situations-headline {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  color: var(--c-ink);
  max-width: 640px;
  margin-bottom: var(--s-12);
}

.situations-list {
  max-width: 820px;
  border-top: 1px solid var(--c-rule);
}

.situation {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--c-rule);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-ink);
  transition: color var(--t-fast) var(--ease);
}
.situation:hover { color: var(--c-blue); }

.situation-mark {
  color: var(--c-copper);
  flex-shrink: 0;
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.6;
}


/* ============================================================
   EXPERIENCE PROOF POINTS
   ============================================================ */
.experience {
  padding-block: var(--s-20);
  background-color: var(--c-bg);
}

.experience-headline {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--c-ink);
  max-width: 720px;
  margin-bottom: var(--s-12);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--c-rule);
}

.exp-card {
  background-color: var(--c-bg);
  padding: var(--s-8);
  transition: background-color var(--t-fast) var(--ease);
}
.exp-card:hover { background-color: var(--c-bg-alt); }

.exp-card-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: var(--s-3);
}
.exp-card-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--c-ink-mid);
}


/* ============================================================
   MATURITY CTA — dark section
   ============================================================ */
.maturity {
  background-color: var(--c-bg-dark);
  padding-block: var(--s-20);
  position: relative;
  overflow: hidden;
}
.maturity::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(45, 74, 107, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(184, 145, 106, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.maturity-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.maturity-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--c-hero-text);
  margin-bottom: var(--s-4);
}
.maturity-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-hero-muted);
  margin-bottom: var(--s-8);
}


/* ============================================================
   COLLABORATION FORMATS
   ============================================================ */
.formats {
  background-color: var(--c-bg);
  padding-block: var(--s-20);
  border-bottom: 1px solid var(--c-rule);
}

.formats-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: var(--s-12);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--c-rule);
}

.format-card {
  background-color: var(--c-bg);
  padding: var(--s-8);
  transition: background-color var(--t-fast) var(--ease);
}
.format-card:hover { background-color: var(--c-bg-alt); }

.format-num {
  display: block;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 400;
  color: var(--c-copper);
  margin-bottom: var(--s-3);
  letter-spacing: 0.04em;
}
.format-title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.35;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background-color: var(--c-bg);
  padding-block: var(--s-20);
}

.contact-inner { max-width: 660px; }

.contact-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--c-ink);
  margin-bottom: var(--s-3);
}
.contact-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink-mid);
  margin-bottom: var(--s-8);
}

.contact-links { border-top: 1px solid var(--c-rule); }

.contact-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--c-rule);
  transition: color var(--t-fast) var(--ease);
}
.contact-row:hover { color: var(--c-copper); }

.contact-row-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-quiet);
  width: 80px;
  flex-shrink: 0;
  transition: color var(--t-fast) var(--ease);
}
.contact-row:hover .contact-row-label { color: var(--c-copper); }

.contact-row-value {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--c-ink);
  flex: 1;
  transition: color var(--t-fast) var(--ease);
}
.contact-row:hover .contact-row-value { color: var(--c-copper); }

.contact-row-arrow {
  font-size: 1rem;
  color: var(--c-ink-quiet);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.contact-row:hover .contact-row-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--c-copper);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--c-bg-dark);
  padding-block: var(--s-12) var(--s-6);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--c-rule-dark);
  margin-bottom: var(--s-6);
}

.footer-name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-hero-text);
  margin-bottom: 0.2rem;
}
.footer-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-hero-muted);
  margin-bottom: var(--s-2);
}
.footer-tagline {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(237, 233, 226, 0.28);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-2);
}
.footer-nav a {
  font-size: 0.78rem;
  color: rgba(237, 233, 226, 0.38);
  letter-spacing: 0.04em;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--c-hero-text); }

.footer-bottom { display: flex; }
.footer-copy {
  font-size: 0.7rem;
  color: rgba(237, 233, 226, 0.2);
  letter-spacing: 0.06em;
}


/* ============================================================
   FADE-IN ANIMATION
   Applied via JS; respects prefers-reduced-motion
   ============================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 300px;
    gap: var(--s-8);
    padding-block: var(--s-8) var(--s-12);
  }

  .principles-grid { grid-template-columns: 1fr; }
  .principle {
    border-right: none;
    border-bottom: 1px solid var(--c-rule);
    padding-inline: 0;
    padding-block: var(--s-6);
  }
  .principle:last-child { border-bottom: none; }

  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Industry strip — 3 columns on tablet */
  .industry-strip { grid-template-columns: repeat(3, 1fr); }

  /* Logo section — tablet sizing */
  .logo-frame { height: 105px; }
  .logo-img { max-height: 70px; max-width: 200px; }
  .logo-img--lego    { max-height: 58px; max-width: 190px; }
  .logo-img--nordisk { max-height: 68px; max-width: 200px; }
  .logo-img--kruuse  { max-height: 80px; max-width: 180px; }
  .logo-img--demant  { max-height: 58px; max-width: 190px; }
  .industry-icon-img { width: 44px; }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  :root {
    --s-12: 4rem;
    --s-16: 5rem;
    --s-20: 6rem;
  }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset-block-start: var(--nav-h);
    inset-inline: 0;
    background-color: rgba(17, 24, 32, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-2) var(--s-4) var(--s-4);
    gap: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .nav-links.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links li { border-bottom: 1px solid var(--c-rule-dark); }
  .nav-links a {
    display: block;
    padding-block: var(--s-3);
    font-size: 0.9rem;
    color: rgba(237, 233, 226, 0.7) !important;
  }
  .nav-links a:hover { color: var(--c-hero-text) !important; }
  .nav-cta {
    border: none !important;
    margin-top: var(--s-1);
  }

  /* Hero stacks vertically, portrait first on mobile */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
    padding-block: var(--s-8) var(--s-12);
  }
  .hero-portrait { order: -1; }
  .portrait-wrap { max-width: 220px; margin-inline: auto; }

  /* Sections */
  .value-grid { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: 1fr 1fr; }

  /* Brand wall — stack vertically on mobile */
  .brand-wall { flex-direction: column; }
  .brand-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(180, 165, 140, 0.35);
    padding-block: var(--s-4);
    padding-inline: var(--s-4);
  }
  .brand-item:last-child { border-bottom: none; }
  .brand-sub { opacity: 0.75; }

  /* Logo section — mobile sizing */
  .logo-frame { height: 88px; }
  .logo-img { max-height: 55px; max-width: 165px; }
  .logo-img--lego    { max-height: 48px; max-width: 160px; }
  .logo-img--nordisk { max-height: 38px; max-width: 125px; }
  .logo-img--kruuse  { max-height: 62px; max-width: 150px; }
  .logo-img--demant  { max-height: 48px; max-width: 160px; }
  .industry-icon-img { width: 36px; }

  /* Industry strip — 2 columns on mobile */
  .industry-strip { grid-template-columns: repeat(2, 1fr); }
  .industry-cell { border-right: 1px solid rgba(180, 165, 140, 0.35); }
  .industry-cell:nth-child(even) { border-right: none; }

  .footer-top { flex-direction: column; }
  .footer-nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }

  /* Situations */
  .situation { font-size: 0.95rem; }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .hero-pillars { flex-direction: column; align-items: flex-start; gap: var(--s-1); }
  .pillar-sep { display: none; }

  .formats-grid { grid-template-columns: 1fr; }

  .contact-row-label { width: 60px; }
  .contact-row-value { font-size: 0.9rem; }
}
