/* Quacktory — Kononenko-style editorial monochrome system
   Two display modes: light/full-bleed and dark/typographic.
   Type: Playfair Display (serif) + Inter (sans).
   Restrained: tonal contrast only, no saturated accents, no UI shadows. */

:root {
  --bg: #F2F0EB;
  --bg-2: #ECEAE3;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --muted: #6B6660;
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(10, 10, 10, 0.32);
  --on-dark: #F2F0EB;
  --on-dark-muted: rgba(242, 240, 235, 0.62);
  --on-dark-line: rgba(242, 240, 235, 0.18);
  --on-dark-line-strong: rgba(242, 240, 235, 0.36);

  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'ss02' on;
  line-height: 1.55;
  font-size: 15px;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--ink); color: var(--bg); }

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 200;
  transition: top 240ms var(--ease);
}
.skip:focus { top: 16px; }

/* ───────────────── TOPBAR ───────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
  color: var(--on-dark);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__rule {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.18;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wordmark__q { font-style: italic; font-weight: 600; }
.wordmark__rest { font-weight: 500; }

.nav__list {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  color: var(--on-dark);
  opacity: 0.74;
  transition: opacity 280ms var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 420ms var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible { opacity: 1; }
.nav__link:hover::after,
.nav__link:focus-visible::after { width: 100%; }

/* ───────────────── HERO ───────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.92) contrast(1.02);
  animation: heroIn 1400ms var(--ease) both;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(242,240,235,0.10) 0%, rgba(242,240,235,0) 26%, rgba(10,10,10,0.20) 100%);
  pointer-events: none;
}
@keyframes heroIn {
  from { transform: scale(1.05); opacity: 0; }
  to   { transform: scale(1.0);  opacity: 1; }
}

.hero__corners {
  position: absolute;
  z-index: 2;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 96px var(--gutter) 0;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero__meta { opacity: 0.7; }

.hero__title-block {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) clamp(48px, 8vh, 80px);
  max-width: var(--max);
  color: var(--ink);
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 22px;
  opacity: 0.7;
  animation: titleIn 1100ms var(--ease) 100ms both;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  max-width: 18ch;
  animation: titleIn 1100ms var(--ease) 220ms both;
}
.hero__sub {
  font-size: 14px;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 0 32px;
  color: var(--ink-2);
  opacity: 0.78;
  animation: titleIn 1100ms var(--ease) 360ms both;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  transition: gap 360ms var(--ease), opacity 320ms var(--ease);
  animation: titleIn 1100ms var(--ease) 500ms both;
}
.hero__cta-arrow { transition: transform 360ms var(--ease); }
.hero__cta:hover { gap: 22px; opacity: 0.7; }
.hero__cta:hover .hero__cta-arrow { transform: translateX(6px); }

@keyframes titleIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 8vh, 80px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.66;
  animation: titleIn 1100ms var(--ease) 700ms both;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 2000ms ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ───────────────── MANIFESTO (dark) ───────────────── */
.manifesto {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(100px, 16vh, 200px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--on-dark-line);
}
.manifesto__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto auto;
  column-gap: clamp(40px, 8vw, 120px);
  row-gap: 20px;
  align-items: end;
}
.manifesto__num {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--on-dark-muted);
  margin: 0;
}
.manifesto__headline {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 0;
  animation: darkReveal 1200ms var(--ease) 80ms both;
}
@keyframes darkReveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.manifesto__col-r {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.manifesto__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.45;
  margin: 0;
  color: var(--on-dark);
  max-width: 28ch;
  font-weight: 400;
}
.manifesto__rule {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  color: var(--on-dark-muted);
  font-weight: 500;
}

/* ───────────────── CATALOG (dark, tilted) ───────────────── */
.catalog {
  background: var(--ink);
  color: var(--on-dark);
  padding: 0 var(--gutter) clamp(120px, 18vh, 220px);
  position: relative;
}
.catalog::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--on-dark-line);
}
.catalog__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) 0 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.catalog__head-l { display: flex; flex-direction: column; }
.catalog__head-r { display: flex; flex-direction: column; gap: 32px; align-self: end; }
.catalog__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--on-dark-muted);
}
.catalog__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
}
.catalog__intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 48ch;
  margin: 0;
}

.catalog__filter {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line);
}
.filter__btn {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 22px;
  color: var(--on-dark-muted);
  position: relative;
  transition: color 240ms var(--ease);
}
.filter__btn::after {
  content: '';
  position: absolute;
  left: 22px; right: 22px; bottom: -1px;
  height: 1px;
  background: var(--on-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}
.filter__btn:hover { color: var(--on-dark); }
.filter__btn.is-active { color: var(--on-dark); }
.filter__btn.is-active::after { transform: scaleX(1); }
.filter__count { color: var(--on-dark-muted); margin-left: 2px; }

.catalog__grid {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 60px;
  padding: 40px 0 0;
}
.catalog__grid::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
  height: 1px;
  background: var(--on-dark-line);
}

.card {
  --rot: 0deg;
  --delay: 0ms;
  --accent-w: 0.2;
  position: relative;
  transform: rotate(var(--rot));
  animation: cardIn 900ms var(--ease) var(--delay) both;
  z-index: 1;
  transition: transform 520ms var(--ease), z-index 0ms 200ms;
}
.card--01 { grid-column: 1 / span 4; grid-row: 1; }
.card--02 { grid-column: 6 / span 4; grid-row: 1; }
.card--03 { grid-column: 10 / span 3; grid-row: 1; }
.card--04 { grid-column: 3 / span 4; grid-row: 2; }
.card--05 { grid-column: 8 / span 4; grid-row: 2; }

@keyframes cardIn {
  from { opacity: 0; transform: rotate(0deg) translateY(36px); }
  to   { opacity: 1; transform: rotate(var(--rot)) translateY(0); }
}

.card::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px;
  bottom: -22px;
  height: 2px;
  background: var(--on-dark);
  opacity: var(--accent-w);
  transition: opacity 320ms var(--ease), transform 520ms var(--ease);
  transform-origin: left;
}
.card--01 { --accent-w: 0.18; }
.card--02 { --accent-w: 0.32; }
.card--03 { --accent-w: 0.50; }
.card--04 { --accent-w: 0.70; }
.card--05 { --accent-w: 0.95; }

.card:hover { transform: rotate(0deg) translateY(-6px); z-index: 4; transition-delay: 0ms; }
.card:hover::after { opacity: 1; transform: scaleX(1.04); }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__open { opacity: 1; transform: translateY(0); }

.card__link {
  display: block;
  color: inherit;
  padding: 18px;
  border: 1px solid var(--on-dark-line);
  background: rgba(242, 240, 235, 0.02);
  transition: border-color 320ms var(--ease), background 320ms var(--ease);
}
.card:hover .card__link { border-color: var(--on-dark-line-strong); background: rgba(242, 240, 235, 0.05); }

.card__num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}
.card__media {
  margin: 0 0 18px;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 900ms var(--ease);
}
.card__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 4px;
  letter-spacing: -0.012em;
}
.card__meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  margin: 0 0 14px;
}
.card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  border-top: 1px solid var(--on-dark-line);
  padding-top: 12px;
  flex-wrap: wrap;
}
.card__price-fig {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.card__price-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.card__open {
  display: block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

.catalog__foot {
  max-width: var(--max);
  margin: 80px auto 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  text-align: center;
}

/* ───────────────── SCALE (light) ───────────────── */
.scale {
  background: var(--bg);
  padding: clamp(110px, 18vh, 220px) var(--gutter);
}
.scale__inner { max-width: var(--max); margin: 0 auto; }
.scale__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: 100px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.scale__head-l { display: flex; flex-direction: column; }
.scale__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--muted);
}
.scale__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
}
.scale__intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 48ch;
  margin: 0;
  align-self: end;
}

.scale__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 16px;
  position: relative;
  padding: 0 4px;
}
.scale__row::before {
  content: '';
  position: absolute;
  top: 56%;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.scale__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.scale__bar {
  display: block;
  background: var(--ink);
  width: 2px;
  margin: 0 auto;
}
.scale__step--01 .scale__bar { height: 8px; }
.scale__step--02 .scale__bar { height: 38px; }
.scale__step--03 .scale__bar { height: 52px; }
.scale__step--04 .scale__bar { height: 116px; }
.scale__step--05 .scale__bar { height: 230px; }
.scale__value {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.scale__value small {
  font-size: 0.42em;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.scale__name {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 6px;
}
.scale__compare {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
}
.scale__rule {
  margin: 80px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ───────────────── PRODUCTION (light, modular) ───────────────── */
.production {
  background: var(--bg-2);
  padding: clamp(110px, 18vh, 220px) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.production__inner { max-width: var(--max); margin: 0 auto; }
.production__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--muted);
}
.production__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 80px;
  max-width: 22ch;
}
.production__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line-strong);
  counter-reset: prod;
}
.prod {
  grid-column: span 4;
  padding: 36px 32px 44px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.prod:nth-child(3n) { border-right: 0; padding-right: 0; }
.prod__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.prod__h::before {
  content: counter(prod, decimal-leading-zero) " · ";
  counter-increment: prod;
  font-size: 10px;
  font-family: var(--sans);
  letter-spacing: 0.24em;
  color: var(--muted);
  vertical-align: middle;
  margin-right: 4px;
  font-weight: 500;
}
.prod__p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 32ch;
}
.production__foot {
  margin: 60px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.production__url {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  color: var(--ink);
  margin-left: 4px;
}

/* ───────────────── B2B / CUSTOM ───────────────── */
.b2b {
  background: var(--bg);
  padding: clamp(110px, 18vh, 220px) var(--gutter);
}
.b2b__inner { max-width: var(--max); margin: 0 auto; }
.b2b__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.b2b__head-l { display: flex; flex-direction: column; }
.b2b__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--muted);
}
.b2b__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.b2b__intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  align-self: end;
}
.b2b__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Palette */
.palette__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.palette__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.swatch {
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 280ms var(--ease);
  cursor: default;
}
.swatch:hover { background: rgba(10, 10, 10, 0.03); }
.swatch__chip {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}
.swatch__name {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 2px;
}
.swatch__code {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.palette__note {
  margin: 20px 0 0;
  font-size: 12px;
  font-style: italic;
  font-family: var(--serif);
  color: var(--muted);
  line-height: 1.5;
  max-width: 44ch;
}

/* Form */
.form__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}
.form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.form__row:nth-child(2n) { border-right: 0; padding-right: 0; padding-left: 24px; }
.form__row--full {
  grid-column: 1 / -1;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.form__key {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form__input {
  font: inherit;
  font-size: 15px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--ink);
  outline: none;
  border-bottom: 1px solid transparent;
  transition: border-color 280ms var(--ease);
  appearance: none;
  border-radius: 0;
}
.form__input:focus { border-color: var(--ink); }
.form__textarea {
  resize: vertical;
  min-height: 60px;
  font-family: var(--sans);
  line-height: 1.5;
}
select.form__input { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.form__submit {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding: 20px 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 320ms var(--ease), letter-spacing 320ms var(--ease);
}
.form__submit:hover { background: var(--ink-2); letter-spacing: 0.28em; }
.form__submit-arrow { transition: transform 320ms var(--ease); }
.form__submit:hover .form__submit-arrow { transform: translateX(6px); }
.form__small {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--muted);
  margin: 18px 0 0;
  line-height: 1.6;
  font-style: italic;
  font-family: var(--serif);
}

/* ───────────────── FOOTER (dark) ───────────────── */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(80px, 12vh, 140px) var(--gutter) 28px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--on-dark-line);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 36ch; }
.wordmark--footer { color: var(--on-dark); }
.footer__line { margin: 0; font-size: 13px; line-height: 1.6; color: var(--on-dark); }
.footer__line--muted { color: var(--on-dark-muted); }
.footer__col p { margin: 0; }
.footer__h {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13px;
  color: var(--on-dark);
  opacity: 0.78;
  transition: opacity 240ms var(--ease);
}
.footer__col a:hover { opacity: 1; }

.footer__base {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ───────────────── MODAL ───────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms var(--ease);
}
.modal[aria-hidden="false"] { pointer-events: auto; opacity: 1; }
.modal__back {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative;
  width: min(1080px, 92vw);
  max-height: 90vh;
  margin: 5vh auto;
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 520ms var(--ease);
}
.modal[aria-hidden="false"] .modal__panel { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 22px;
  line-height: 1;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  color: var(--muted);
  z-index: 2;
  transition: color 240ms var(--ease);
}
.modal__close:hover { color: var(--ink); }
.modal__body { padding: 56px clamp(28px, 5vw, 56px) 48px; }
.modal__num {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.modal__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin: 0 0 32px;
}
.modal__media {
  margin: 0 0 32px;
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__spec { width: 100%; border-top: 1px solid var(--line-strong); margin: 0 0 24px; }
.modal__spec dt, .modal__spec dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.modal__spec dt { color: var(--muted); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.modal__spec dd { font-family: var(--serif); font-size: 16px; padding-left: 24px; }
.modal__spec dt, .modal__spec dd { display: list-item; }
.modal__spec { display: grid; grid-template-columns: 1fr 1.4fr; }
.modal__spec dt { grid-column: 1; }
.modal__spec dd { grid-column: 2; }
.modal__copy { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ───────────────── RESPONSIVE ───────────────── */
@media (max-width: 1080px) {
  .catalog__grid { column-gap: 16px; row-gap: 50px; }
  .card--01 { grid-column: 1 / span 5; }
  .card--02 { grid-column: 6 / span 5; }
  .card--03 { grid-column: 11 / span 2; }
  .card--04 { grid-column: 2 / span 5; }
  .card--05 { grid-column: 7 / span 5; }
}

@media (max-width: 820px) {
  .topbar { mix-blend-mode: normal; padding: 18px 20px; }
  .nav__list { gap: 14px; }
  .nav__link { font-size: 10px; letter-spacing: 0.16em; color: var(--ink); }

  .hero__corners { padding: 84px 20px 0; font-size: 9px; letter-spacing: 0.18em; }
  .hero__title-block { padding: 0 20px 36px; }
  .hero__title { font-size: clamp(36px, 9vw, 56px); }
  .hero__scroll { display: none; }

  .manifesto__inner,
  .catalog__head,
  .scale__head,
  .b2b__head { grid-template-columns: 1fr; }
  .manifesto__headline { grid-column: 1; grid-row: auto; }
  .manifesto__num { grid-column: 1; grid-row: 1; margin-bottom: 12px; }
  .manifesto__col-r { grid-column: 1; grid-row: auto; }
  .catalog__head-r, .b2b__intro, .scale__intro { align-self: start; }

  .catalog__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .card { transform: none !important; animation: none; opacity: 1; }
  .card--01, .card--02, .card--03, .card--04, .card--05 {
    grid-column: span 1;
    grid-row: auto;
  }

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

  .scale__row { gap: 8px; }
  .scale__step--05 .scale__bar { height: 140px; }
  .scale__step--04 .scale__bar { height: 80px; }
  .scale__step--03 .scale__bar { height: 44px; }

  .production__grid { grid-template-columns: repeat(2, 1fr); }
  .prod { grid-column: span 1; padding-right: 18px; }
  .prod:nth-child(2n) { border-right: 0; padding-right: 0; }
  .prod:nth-child(3n) { border-right: 1px solid var(--line); }

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

  .modal__body { padding: 48px 22px 32px; }
  .modal__spec { grid-template-columns: 1fr; }
  .modal__spec dt, .modal__spec dd { grid-column: 1; padding-left: 0; }
}

@media (max-width: 560px) {
  .topbar { padding: 16px; }
  .nav__list { gap: 10px; }
  .nav__link { font-size: 9px; letter-spacing: 0.12em; }

  .hero__corners { padding-top: 72px; }
  .hero__eyebrow { font-size: 10px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 13px; }

  .manifesto { padding: 80px 20px; }
  .manifesto__headline { font-size: 48px; }
  .manifesto__body { font-size: 18px; }

  .catalog { padding: 0 20px 80px; }
  .catalog__head { padding: 40px 0 40px; }
  .catalog__title { font-size: 40px; }
  .catalog__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .card { transform: none; }
  .catalog__foot { margin-top: 40px; font-size: 10px; }

  .scale, .production, .b2b { padding: 80px 20px; }
  .scale__head, .b2b__head { margin-bottom: 56px; padding-bottom: 28px; }
  .scale__title, .b2b__title, .production__title { font-size: 36px; }
  .scale__row { gap: 4px; padding: 0; }
  .scale__bar { width: 1px; }
  .scale__step--01 .scale__bar { height: 6px; }
  .scale__step--02 .scale__bar { height: 24px; }
  .scale__step--03 .scale__bar { height: 32px; }
  .scale__step--04 .scale__bar { height: 56px; }
  .scale__step--05 .scale__bar { height: 100px; }
  .scale__value { font-size: 22px; }
  .scale__compare { display: none; }
  .scale__rule { margin-top: 48px; padding-top: 24px; font-size: 14px; }

  .production__title { margin-bottom: 48px; }
  .production__grid { grid-template-columns: 1fr; }
  .prod { border-right: 0; padding: 28px 0 32px; }

  .b2b__grid { gap: 48px; }
  .palette__list { grid-template-columns: repeat(3, 1fr); }
  .form { grid-template-columns: 1fr; }
  .form__row { border-right: 0; padding: 16px 0; }
  .form__row:nth-child(2n) { padding: 16px 0; }

  .footer { padding: 64px 20px 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer__base { font-size: 9px; letter-spacing: 0.18em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__media img { transform: none; }
  .card, .card--01, .card--02, .card--03, .card--04, .card--05 { animation: none; opacity: 1; transform: none; }
  .manifesto__headline { clip-path: none; }
  .hero__scroll-line { animation: none; opacity: 0.6; }
}
