:root {
  --paper: #f3ece0;
  --paper-deep: #e8dfcf;
  --card: #fffaf1;
  --ink: #171513;
  --ink-soft: #3c3832;
  --muted: #6a645b;
  --line: #d4cbb8;
  --red: #d61f26;
  --red-dark: #a8161c;
  --navy: #1c2430;
  --cream-ink: #f6f0e4;
  --shadow: 0 18px 50px rgba(28, 22, 12, 0.12);
  --radius: 1.25rem;
  --max: 72rem;
  --header: 4.25rem;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(214, 31, 38, 0.08), transparent 50%),
    var(--paper);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-dark); }

a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 80;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 236, 224, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover { color: var(--ink); }

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: var(--navy);
  position: relative;
  flex: 0 0 auto;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0.42rem auto auto 50%;
  transform: translateX(-50%);
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 31, 38, 0.25);
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.42rem;
  transform: translateX(-50%);
  width: 0.95rem;
  height: 0.7rem;
  border-radius: 0.15rem;
  background:
    linear-gradient(#f3ece0 0 0) 0 0 / 40% 40%,
    linear-gradient(#f3ece0 0 0) 100% 0 / 40% 40%,
    linear-gradient(#f3ece0 0 0) 0 100% / 100% 28%;
  background-repeat: no-repeat;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: 1.05rem;
}

.logo-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.18rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--red); }

.hero {
  position: relative;
  min-height: min(86vh, 46rem);
  display: grid;
  align-items: end;
  color: var(--cream-ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 38%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 12, 10, 0.5) 0%, rgba(16, 12, 10, 0.12) 62%),
    linear-gradient(180deg, rgba(16, 12, 10, 0.28) 0%, rgba(16, 12, 10, 0.4) 40%, rgba(16, 12, 10, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #ffd6d6;
}

.eyebrow::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(214, 31, 38, 0.28);
}

.hero h1,
.page-hero h1,
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0.4rem 0 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.4rem);
  max-width: 12ch;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.hero .lede,
.hero .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  max-width: 38rem;
  color: #efe6d7;
  margin: 0 0 1.6rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); color: inherit; }

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-ink {
  background: var(--navy);
  color: #fff;
}

.btn-ink:hover { background: #10161f; color: #fff; }

.btn-outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.section { padding: 4.5rem 0; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 0.75rem;
}

.kicker {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.45rem;
}

.muted { color: var(--muted); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pillar img {
  width: 100%;
  height: auto;
  display: block;
  background: #1c1914;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 0.7rem;
  align-items: start;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #111;
}

.gallery .main {
  grid-row: span 2;
  background: #0d0d0d;
  border-radius: 1rem;
  padding: 1rem;
}

.gallery .main img {
  border: 0;
  background: transparent;
}

.pillar-body { padding: 1.2rem 1.25rem 1.4rem; }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.45rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.1rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.product-card .photo {
  background: #111;
  min-height: 16rem;
  display: grid;
  place-items: center;
  padding: 1.4rem;
}

.product-card .photo img {
  max-height: 15rem;
  width: auto;
}

.product-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.product-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: 1.45rem;
  margin: 0;
  line-height: 1.1;
}

.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 a:hover { color: var(--red); }

.tag {
  display: inline-flex;
  width: fit-content;
  background: #f7dfe0;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.specs li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-photo {
  border-radius: calc(var(--radius) + 0.3rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.feature-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.split-dark {
  background: var(--navy);
  color: var(--cream-ink);
}

.split-dark .muted { color: #c9c0b2; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

details p { margin: 0.7rem 0 0.2rem; }

.page-hero {
  padding: 3.2rem 0 1.5rem;
}

.page-hero p { max-width: 42rem; }

.crumbs {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.crumbs a { color: inherit; }

.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.product-stage {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.product-stage img {
  width: 100%;
  height: auto;
  display: block;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.thumb-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: #111;
}

.checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 0.55rem 0 0.55rem 1.7rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.checklist li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0.2rem;
  top: 0.9rem;
}

.fine {
  font-size: 0.92rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.search-bar {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem;
}

.search-bar input {
  flex: 1 1 16rem;
  min-height: 3.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  background: var(--card);
}

.letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.letters button {
  min-width: 2.2rem;
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.letters button[aria-pressed="true"],
.letters button:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.code-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--paper-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody th {
  font-weight: 800;
  white-space: nowrap;
}

.codes { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.video {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.video .caption { padding: 0.9rem 1rem 1.1rem; }

.legal { max-width: 46rem; }

.legal h2 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  margin-top: 2rem;
}

.site-footer {
  background: var(--navy);
  color: #d7d0c4;
  padding: 3rem 0 1.6rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }

.tiny {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.note {
  background: #fff4d6;
  border: 1px solid #ead59a;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

@media (max-width: 900px) {
  .pillars,
  .product-grid,
  .feature-row,
  .feature-row.reverse,
  .product-hero,
  .video-grid,
  .footer-grid,
  .two-col,
  .stat-row {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
    flex-direction: column;
  }

  .site-nav.open { display: flex; }

  .hero { min-height: 34rem; }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(16, 12, 10, 0.42) 0%, rgba(16, 12, 10, 0.58) 38%, rgba(16, 12, 10, 0.92) 100%);
  }

  .gallery { grid-template-columns: 1fr; }
  .thumb-row { grid-template-columns: 1fr 1fr; }

  .gallery .main { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
