/* STÖLWERK static site — no Next.js */
:root {
  --ink: #171714;
  --muted: #6d6b64;
  --paper: #f4f1eb;
  --paper-2: #ebe7df;
  --line: rgba(23,23,20,.15);
  --white: #fff;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
#production, #how, #portfolio, #contact { scroll-margin-top: var(--header-h); }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-h);
  color: #fff;
  background: linear-gradient(180deg, rgba(15,15,13,.48), rgba(15,15,13,0));
  pointer-events: none;
}
.header-inner {
  width: min(1440px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  pointer-events: auto;
}
.logo-link { margin-right: auto; }
.logo-link img { width: 188px; height: auto; filter: brightness(0) invert(1); }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.desktop-nav a, .header-contact { opacity: .9; transition: opacity .25s ease; }
.desktop-nav a:hover, .header-contact:hover { opacity: 1; }
.header-contact {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
}
.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #24231f;
}
.hero-slider, .hero-slide, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1.3s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.04); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(13,13,11,.72) 0%, rgba(13,13,11,.42) 40%, rgba(13,13,11,.08) 72%),
    linear-gradient(0deg, rgba(13,13,11,.38), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-h) + 90px) 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--muted); }
.hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.6vw, 108px);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.045em;
}
.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}
.hero-actions { margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.button:hover { transform: translateY(-1px); }
.button-light { color: #fff; }
.button-light:hover { color: #161613; background: #fff; }

.section {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(90px, 10vw, 160px) 0;
}
.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: clamp(52px, 6vw, 90px);
}
.section-heading h2, .contact-cta h2 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 84px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}
.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics article {
  min-height: 245px;
  padding: 34px 28px 34px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metrics article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.metrics strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 400;
  line-height: 1;
}
.metrics span { max-width: 250px; color: var(--muted); font-size: 15px; line-height: 1.45; }

.process-section { border-top: 1px solid var(--line); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.steps article {
  min-height: 330px;
  padding: 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.step-number { color: var(--muted); font-size: 12px; letter-spacing: .15em; }
.steps h3 {
  margin: auto 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
}
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.portfolio-section { width: 100%; padding-left: 32px; padding-right: 32px; background: #161613; color: #fff; }
.portfolio-section .section-heading { width: min(1376px, 100%); margin-left: auto; margin-right: auto; }
.portfolio-section .eyebrow.dark { color: rgba(255,255,255,.55); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.portfolio-card {
  position: relative;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #2b2a26;
}
.portfolio-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.portfolio-card:hover > img { transform: scale(1.025); }
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.58), transparent 52%);
  pointer-events: none;
}
.portfolio-overlay {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: end;
  gap: 16px;
}
.portfolio-overlay span { font-size: 11px; opacity: .65; }
.portfolio-overlay h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  line-height: 1;
}
.portfolio-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease, background .2s ease;
}
.portfolio-card:hover .portfolio-arrow { opacity: 1; }
.portfolio-arrow:hover { background: rgba(0,0,0,.48); }
.portfolio-arrow-prev { left: 18px; }
.portfolio-arrow-next { right: 18px; }
.portfolio-count {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  font-size: 11px;
}

.contact-cta {
  padding: clamp(90px, 10vw, 160px) max(32px, calc((100vw - 1376px)/2));
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .55fr);
  gap: 80px;
  align-items: end;
  color: #fff;
  background: #59554f;
}
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.contact-actions > a:not(.button) { font-family: Georgia, "Times New Roman", serif; font-size: 25px; }

.site-footer { padding: 50px 32px; color: #d9d5ce; background: #161613; }
.footer-grid {
  width: min(1376px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-grid > div:last-child { justify-self: end; display: flex; flex-direction: column; gap: 7px; text-align: right; }
.footer-grid p { margin: 0; }
.footer-brand { margin-bottom: 8px !important; font-size: 22px; letter-spacing: .12em; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .header-inner { width: calc(100% - 36px); }
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .section { width: calc(100% - 36px); }
  .section-heading.split { grid-template-columns: 1fr; gap: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-cta { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 640px) {
  .header-contact { display: none; }
  .logo-link img { width: 148px; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(0,0,0,.12);
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-nav {
    position: absolute;
    top: 62px;
    right: 18px;
    width: min(300px, calc(100vw - 36px));
    padding: 14px;
    display: none;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: rgba(25,24,21,.96);
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a {
    display: block;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    color: #fff;
  }
  .mobile-nav a:last-child { border-bottom: 0; }

  .hero-content { width: calc(100% - 36px); padding-bottom: 44px; }
  .hero h1 { font-size: clamp(45px, 13.2vw, 66px); }
  .hero-lead { margin-top: 22px; font-size: 16px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .section-heading h2, .contact-cta h2 { font-size: clamp(40px, 11vw, 58px); }

  .metrics { grid-template-columns: 1fr; }
  .metrics article { min-height: 170px; padding: 28px 0; }
  .metrics article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .metrics strong { font-size: 74px; }

  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 250px; }

  .portfolio-section { padding-left: 12px; padding-right: 12px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-card { aspect-ratio: 1 / 1.08; }
  .portfolio-arrow { opacity: 1; }
  .portfolio-overlay { left: 20px; right: 20px; bottom: 20px; }
  .portfolio-overlay h3 { font-size: 36px; }

  .contact-cta { padding-left: 18px; padding-right: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { justify-self: start; text-align: left; }
}

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