:root {
  color-scheme: light;
  --paper: #f2eee5;
  --ink: #20201d;
  --muted: #6f6b62;
  --line: rgba(32, 32, 29, 0.2);
  --accent: #b65031;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.48), transparent 35%),
    repeating-linear-gradient(92deg, rgba(60, 49, 34, 0.018) 0, rgba(60, 49, 34, 0.018) 1px, transparent 1px, transparent 5px),
    var(--paper);
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
}

a { color: inherit; }

.masthead,
main,
footer {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 32px 0 22px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.masthead p,
.section-heading span,
footer {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro {
  min-height: 52vh;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(420px, 2fr) minmax(210px, 0.9fr);
  align-items: end;
  gap: 40px;
  padding: 78px 0 62px;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.lede {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
}

.catalogue { padding: 24px 0 90px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.products {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.products li { border-bottom: 1px solid var(--line); }

.products a {
  display: grid;
  grid-template-columns: 92px 1fr 42px;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  text-decoration: none;
  transition: background-color 160ms ease, padding 160ms ease;
}

.products a:hover,
.products a:focus-visible {
  padding-inline: 18px;
  background: rgba(182, 80, 49, 0.065);
  outline: none;
}

.products a:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }

.number {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

.product {
  display: flex;
  align-items: baseline;
  gap: 30px;
}

.product strong {
  min-width: 180px;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.product small {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.arrow { font-size: 1.35rem; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

footer p { margin: 0; }

@media (max-width: 860px) {
  .intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
  }

  .eyebrow { order: 1; }
  h1 { order: 2; }
  .lede { order: 3; max-width: 34rem; }
}

@media (max-width: 600px) {
  .masthead,
  main,
  footer { width: min(100% - 32px, 1180px); }

  .masthead p { display: none; }
  .intro { padding: 52px 0 48px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .section-heading span { display: none; }

  .products a {
    grid-template-columns: 38px 1fr 24px;
    min-height: 104px;
    gap: 8px;
  }

  .product { display: grid; gap: 5px; }
  .product strong { min-width: 0; font-size: 2rem; }
  .product small { line-height: 1.55; }
  footer { gap: 20px; }
  footer p:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .products a { transition: none; }
}

