@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: oklch(0.985 0.004 80);
  --paper-alt: oklch(0.955 0.008 75);
  --ink: oklch(0.21 0.015 55);
  --muted: oklch(0.46 0.02 55);
  --line: oklch(0.87 0.015 70);
  --coral: oklch(0.65 0.19 35);
  --coral-dark: oklch(0.51 0.17 32);
  --violet: oklch(0.47 0.25 295);
  --white: oklch(0.99 0.003 80);
  --max: 1280px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--coral); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 800px); margin-inline: auto; }
.mono {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.accent { color: var(--coral-dark); }
.violet { color: var(--violet); }
.muted { color: var(--muted); }

.announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 6px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-h);
  background: color-mix(in oklch, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: 0 0 auto; }
.brand-name { font-size: 20px; font-weight: 850; letter-spacing: -.04em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease-out;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.menu-toggle svg { width: 26px; height: 26px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  min-height: min(720px, calc(100dvh - 116px));
  border-bottom: 1px solid var(--line);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px max(40px, calc((100vw - var(--max))/2)); padding-right: clamp(40px, 6vw, 96px); }
.hero-copy .mono { margin: 0 0 28px; color: var(--coral-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(54px, 6.6vw, 104px);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .94;
}
.hero-copy h1 span { display: block; color: var(--coral-dark); }
.hero-copy > p:not(.mono) { max-width: 560px; margin-bottom: 36px; font-size: 19px; line-height: 1.6; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-height: 44px;
  font-weight: 750;
  text-decoration: none;
}
.text-link .arrow { transition: transform .2s ease-out; }
.text-link:hover .arrow { transform: translateX(6px); }
.text-link::after { content: ""; position: absolute; }
.hero-media { position: relative; min-height: 460px; overflow: hidden; background: #2b0e06; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 260px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}

.section { padding-block: clamp(72px, 9vw, 128px); border-bottom: 1px solid var(--line); }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); color: var(--white); border-color: oklch(0.35 0.015 55); }
.section-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.section-heading h2, .page-title {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}
.section-heading p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 19px; }
.section-dark .section-heading p { color: oklch(0.8 0.01 70); }

.editorial-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.story { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.story-image { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-alt); }
.story-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease-out; }
.story:hover .story-image img { transform: scale(1.025); }
.story-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.story-body .mono { margin-bottom: 18px; color: var(--coral-dark); }
.story-body h3 { margin-bottom: 14px; font-size: clamp(25px, 2.4vw, 38px); letter-spacing: -.04em; line-height: 1.08; }
.story-body p { margin-bottom: 24px; color: var(--muted); }
.story-body .text-link { margin-top: auto; font-size: 14px; }
.story-wide { grid-row: span 2; }
.story-wide .story-image { aspect-ratio: auto; flex: 1; min-height: 380px; }
.story-wide .story-body h3 { font-size: clamp(34px, 3.4vw, 52px); }

.guide-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 120px); }
.guide-split h2 { margin-bottom: 24px; font-size: clamp(44px, 5.5vw, 78px); letter-spacing: -.055em; line-height: .98; }
.guide-split .lead { color: oklch(0.8 0.01 70); }
.guide-list { border-top: 1px solid oklch(0.38 0.01 55); }
.guide-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 20px; align-items: center; min-height: 108px; border-bottom: 1px solid oklch(0.38 0.01 55); text-decoration: none; }
.guide-item strong { display: block; font-size: 21px; }
.guide-item small { color: oklch(0.76 0.01 70); font-size: 14px; }
.guide-item .arrow { font-size: 28px; transition: transform .2s ease-out; }
.guide-item:hover .arrow { transform: translateX(6px); }

.article-list { border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 32px; align-items: center; padding-block: 30px; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-row .mono { color: var(--coral-dark); }
.article-row h3 { margin: 0; font-size: clamp(23px, 2.2vw, 34px); letter-spacing: -.035em; }
.article-row p { margin: 6px 0 0; color: var(--muted); }
.article-row .arrow { font-size: 28px; transition: transform .2s ease-out; }
.article-row:hover .arrow { transform: translateX(6px); }

.page-hero { padding-block: clamp(72px, 9vw, 124px); border-bottom: 1px solid var(--line); }
.page-hero .mono { margin-bottom: 24px; color: var(--coral-dark); }
.page-hero .page-title { max-width: 1040px; font-size: clamp(56px, 8vw, 116px); }
.page-hero .intro { max-width: 740px; margin: 32px 0 0 auto; font-size: 21px; line-height: 1.55; }
.content-section { padding-block: clamp(64px, 8vw, 104px); }
.prose { max-width: 72ch; }
.prose h2 { margin: 56px 0 18px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 36px 0 12px; font-size: 24px; letter-spacing: -.025em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose a { color: var(--coral-dark); font-weight: 650; }
.callout { margin-block: 32px; padding: 26px 30px; background: oklch(0.94 0.035 45); border-left: 3px solid var(--coral); }
.callout p:last-child { margin-bottom: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background-color .18s ease-out, color .18s ease-out;
}
.filter-button:hover, .filter-button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.model-list { border-top: 1px solid var(--line); }
.model-entry { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); padding-block: 56px; border-bottom: 1px solid var(--line); }
.model-entry[hidden] { display: none; }
.model-photo { min-height: 360px; display: grid; place-items: center; background: var(--paper-alt); overflow: hidden; }
.model-photo img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.model-copy { align-self: center; }
.model-copy .mono { color: var(--coral-dark); }
.model-copy h2 { margin-bottom: 20px; font-size: clamp(40px, 4vw, 62px); letter-spacing: -.05em; line-height: 1; }
.model-copy p { color: var(--muted); }
.model-facts { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.model-facts li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.model-facts strong { font-weight: 750; }
.model-facts span { color: var(--muted); }
.empty-state { padding: 40px 0; color: var(--muted); }

.calculator { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 96px); padding: clamp(32px, 5vw, 64px); background: var(--ink); color: var(--white); }
.calculator h2 { margin-bottom: 16px; font-size: clamp(36px, 4vw, 54px); letter-spacing: -.045em; line-height: 1; }
.calculator p { color: oklch(0.79 0.01 70); }
.size-form { align-self: center; }
.size-form label { display: block; margin-bottom: 10px; font-weight: 700; }
.input-row { display: flex; gap: 12px; }
.size-form input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid oklch(0.6 0.01 70);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
.size-form button { min-height: 54px; padding: 12px 22px; border: 1px solid var(--coral); border-radius: 0; background: var(--coral); color: var(--ink); font-weight: 800; transition: background-color .18s ease-out; }
.size-form button:hover { background: var(--white); border-color: var(--white); }
.form-hint { margin: 10px 0 0; font-size: 13px; }
.size-result { min-height: 68px; margin-top: 22px; padding-top: 20px; border-top: 1px solid oklch(0.4 0.01 70); font-size: 20px; font-weight: 650; }
.size-result[data-state="error"] { color: oklch(0.82 0.12 35); }
.size-table { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

.steps { counter-reset: steps; border-top: 1px solid var(--line); }
.step { counter-increment: steps; display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(steps); color: var(--coral-dark); font-size: 42px; font-weight: 800; letter-spacing: -.05em; }
.step h2 { margin-bottom: 10px; font-size: 28px; letter-spacing: -.035em; }
.step p { max-width: 72ch; margin-bottom: 0; color: var(--muted); }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.material-grid section { padding-top: 20px; border-top: 2px solid var(--ink); }
.material-grid h3 { font-size: 23px; }
.material-grid p { color: var(--muted); font-size: 15px; }

.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 8vw, 112px); }
.about-grid h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; line-height: 1.05; }
.about-grid section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.about-grid p, .about-grid li { color: var(--muted); }
.contact-link { display: inline-block; margin-top: 10px; color: var(--coral-dark); font-size: 21px; font-weight: 750; }

.site-footer { padding-block: 56px 28px; background: var(--ink); color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .brand-name { font-size: 30px; }
.footer-brand p { max-width: 480px; margin-top: 20px; color: oklch(0.76 0.01 70); }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; align-content: start; }
.footer-nav a { min-height: 44px; color: var(--white); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid oklch(0.38 0.01 55); color: oklch(0.74 0.01 70); font-size: 12px; }

.reading-progress { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .main-nav[data-open="true"] { display: grid; }
  .main-nav a { min-height: 48px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--coral-dark); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 64px 24px; }
  .hero-copy h1 { font-size: clamp(54px, 13vw, 86px); }
  .hero-media { min-height: 420px; }
  .section-heading, .guide-split, .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .story-wide { grid-column: span 2; grid-row: auto; }
  .story-wide .story-image { min-height: 300px; aspect-ratio: 16/9; }
  .model-entry { grid-template-columns: 1fr; gap: 28px; }
  .model-photo { min-height: 300px; }
  .calculator { grid-template-columns: 1fr; gap: 24px; }
  .material-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .announcement { font-size: 10px; }
  .brand-name { font-size: 18px; }
  .hero-copy { padding: 48px 20px; }
  .hero-copy h1 { font-size: clamp(50px, 15.5vw, 72px); }
  .hero-copy > p:not(.mono) { font-size: 17px; }
  .hero-media { min-height: 310px; }
  .hero-media figcaption { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading p, .page-hero .intro { font-size: 17px; }
  .editorial-grid { display: block; border-top: 1px solid var(--line); }
  .story-wide .story-image { min-height: 240px; }
  .story-body { padding: 22px; }
  .article-row { grid-template-columns: 1fr auto; gap: 16px; }
  .article-row > .mono { grid-column: 1 / -1; }
  .article-row p { font-size: 14px; }
  .guide-item { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .page-hero { padding-block: 56px; }
  .page-hero .page-title { font-size: clamp(48px, 14vw, 74px); }
  .page-hero .intro { margin-top: 24px; }
  .model-facts li { grid-template-columns: 100px 1fr; gap: 12px; }
  .calculator { padding: 28px 20px; }
  .input-row { flex-direction: column; }
  .size-form button { width: 100%; }
  .step { grid-template-columns: 58px 1fr; gap: 16px; }
  .step::before { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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