:root {
  --bg: #140f0c;
  --bg-2: #1c1510;
  --ink: #f3ebe2;
  --muted: #a89a8c;
  --crema: #e0c4a0;
  --copper: #c47a3a;
  --line: rgba(224, 196, 160, 0.18);
  --font-display: "Literata", Georgia, serif;
  --font-body: "Sora", sans-serif;
  --pad-x: clamp(1rem, 5vw, 6vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 90% 50% at 10% 0%, rgba(196,122,58,.12), transparent 50%),
    linear-gradient(180deg, #140f0c, #100c09 40%, #140f0c);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crema); text-underline-offset: 0.18em; }
a:hover { color: #f0d7b8; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 1rem; top: 1rem; background: #000; padding: .5rem; z-index: 9; }

.site-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: .85rem var(--pad-x); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; backdrop-filter: blur(10px);
  background: rgba(20,15,12,.92); z-index: 5;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(1.15rem, 4vw, 1.35rem); color: var(--ink); text-decoration: none;
  letter-spacing: -0.02em; white-space: nowrap;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--crema);
  padding: .45rem .7rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.site-header nav {
  display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center;
}
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.site-header nav a:hover { color: var(--crema); }

.disclosure {
  margin: 0; padding: .65rem var(--pad-x);
  font-size: .78rem; color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}

.hero {
  min-height: min(92vh, 900px);
  display: grid;
  align-content: end;
  padding: 2rem var(--pad-x) 3.5rem;
  position: relative;
  overflow: hidden;
  animation: rise .9s ease-out both;
}
.hero-photo {
  background-color: #0d0a08;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,9,7,.72) 0%, rgba(12,9,7,.35) 55%, rgba(12,9,7,.15) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}
.brand-mark {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 .75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 5.4rem);
  line-height: .95; margin: 0 0 1rem; max-width: 12ch;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.lede { max-width: 36rem; color: #d7ccc0; font-size: clamp(.98rem, 2.6vw, 1.08rem); margin: 0 0 1.5rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .85rem 1.2rem;
  background: var(--copper); color: #140f0c; text-decoration: none;
  font-weight: 600; border-radius: 2px;
  transition: transform .2s ease, background .2s ease;
  min-height: 44px;
}
.btn:hover { background: #d48945; color: #140f0c; transform: translateY(-1px); }
.btn-ghost {
  background: rgba(20,15,12,.35); color: var(--crema);
  border: 1px solid rgba(224,196,160,.35);
  backdrop-filter: blur(4px);
}

.section { padding: clamp(2.5rem, 6vw, 3.5rem) var(--pad-x); border-top: 1px solid var(--line); }
.section-top { padding-top: 2.5rem; }
.section h1, .section h2, article h1, article h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .75rem;
}
.section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 .5rem;
  color: var(--crema);
}
.section-lede { color: var(--muted); max-width: 42rem; margin: 0 0 1rem; }
.eyebrow { color: var(--copper); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }

.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  max-width: 44rem;
}
.plain-list li { margin: 0 0 .75rem; }
.plain-list strong { color: var(--ink); }

.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.lane-grid > div {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.lane-grid p { color: var(--muted); margin: 0 0 .75rem; font-size: .95rem; }

.prose {
  max-width: 42rem;
  color: var(--muted);
}
.prose p { margin: 0 0 1rem; }
.prose h2 {
  color: var(--ink);
  margin: 2rem 0 .75rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}
.prose ul { padding-left: 1.15rem; margin: 0 0 1.25rem; }
.prose li { margin: 0 0 .5rem; }

.link-list, .product-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.link-list li, .product-list li {
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  display: grid; gap: .35rem;
}
.product-list li { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .35rem 1rem; }
.product-list li a:first-child,
.link-list li a:first-child { font-weight: 600; color: var(--ink); text-decoration: none; }
.product-list li span,
.link-list li span { color: var(--muted); font-size: .9rem; grid-column: 1; }
.product-list .out {
  grid-row: 1 / span 2; align-self: center; font-size: .85rem;
  padding: .55rem .7rem; border: 1px solid var(--line);
  text-decoration: none; white-space: nowrap;
}
.ranked { counter-reset: rank; }
.ranked li { counter-increment: rank; }
.ranked li a:first-child::before {
  content: counter(rank) ". ";
  color: var(--copper); font-family: var(--font-display);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
}
.matrix { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.matrix th, .matrix td {
  text-align: left; padding: .75rem .6rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.matrix th { color: var(--muted); font-weight: 500; position: sticky; top: 0; background: #1a1410; }

.spec-dl { display: grid; gap: .6rem; margin: 1.25rem 0 2rem; }
.spec-dl div {
  display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line);
}
.spec-dl dt { color: var(--muted); margin: 0; }
.spec-dl dd { margin: 0; }

.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin: 1.5rem 0 2rem;
}
.compare-col {
  padding: 1.25rem; border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.compare-col ul { padding-left: 1.1rem; color: var(--muted); }

.site-footer {
  padding: 2.5rem var(--pad-x) 3rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}
.fine { font-size: .78rem; opacity: .85; }
.internal-note { margin-top: 2rem; color: var(--muted); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.section, .section-top { animation: rise .7s ease-out both; animation-delay: .1s; }

@media (max-width: 900px) {
  .lane-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .35rem 0 .5rem;
  }
  .site-header.is-open {
    flex-wrap: wrap;
  }
  .site-header.is-open nav { display: flex; }
  .site-header nav a {
    display: block;
    width: 100%;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    min-height: 78vh;
    padding: 1.5rem var(--pad-x) 2.25rem;
    background-position: 62% center;
  }
  .hero-photo { background-position: 70% center; }
  .hero h1 { max-width: 10ch; }
  .cta-row .btn { flex: 1 1 auto; text-align: center; }
  .product-list li { grid-template-columns: 1fr; }
  .product-list .out {
    grid-row: auto;
    justify-self: start;
    margin-top: .25rem;
  }
  .spec-dl div { grid-template-columns: 1fr; gap: .2rem; }
  .disclosure { font-size: .72rem; line-height: 1.45; }
}
