:root {
  --ink: #1d1914;
  --muted: #6a6258;
  --paper: #f6efe4;
  --panel: #fffaf2;
  --line: rgba(69, 54, 39, 0.16);
  --olive: #506447;
  --olive-dark: #263525;
  --copper: #b56439;
  --gold: #d6a654;
  --cream: #fff7ea;
  --good: #2f6b4a;
  --warn: #8a6331;
  --maybe: #675a98;
  --shadow: 0 24px 70px rgba(45, 32, 18, 0.14);
  --selector-glow: 0 34px 100px rgba(181, 100, 57, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Avenir Next, Segoe UI, system-ui, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
}
.site-header.scrolled {
  background: rgba(29, 25, 20, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand span:last-child { display: grid; gap: 1px; }
.brand small { color: rgba(255, 255, 255, 0.7); font-size: 0.75rem; }
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.5);
  background: linear-gradient(145deg, var(--olive), var(--copper));
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 14px;
  border: 2px solid #fff7ea;
  border-radius: 999px 999px 5px 5px;
  transform: rotate(26deg);
}
.nav-links { display: flex; gap: 24px; font-weight: 800; font-size: 0.92rem; }
.nav-links a { opacity: .86; }
.nav-links a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.14);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #fff; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 72px;
}
.hero img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 20, 15, .88), rgba(18, 20, 15, .56) 44%, rgba(18, 20, 15, .18)),
    linear-gradient(0deg, rgba(18, 20, 15, .78), rgba(18, 20, 15, .04) 46%);
}
.hero-content { position: relative; z-index: 1; width: min(820px, 100%); color: #fff; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero .eyebrow { color: #f4c88f; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(3rem, 7.4vw, 6.9rem);
  line-height: .92;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 0;
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 1.18rem; }
.hero p { max-width: 720px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions, .status-row, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}
.button.primary, .button-primary { background: var(--copper); color: #fff; }
.button.secondary { border-color: rgba(255,255,255,.48); color: #fff; }
.button.ghost, .button-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.trust-strip, .finder-section, .results-section, .best-section, .reviews-section, .learn-section, .site-footer {
  padding-inline: clamp(20px, 5vw, 72px);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--olive-dark);
  color: #fff;
}
.trust-strip div { padding: 28px; background: var(--olive-dark); }
.trust-strip strong { display: block; margin-bottom: 6px; color: #f4c88f; }
.trust-strip span { color: rgba(255,255,255,.72); }
.finder-section, .best-section, .reviews-section, .learn-section { padding-top: 92px; padding-bottom: 92px; }
.finder-section {
  background:
    linear-gradient(135deg, rgba(38, 53, 37, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.88), rgba(246, 239, 228, 0.98)),
    repeating-linear-gradient(135deg, rgba(80, 100, 71, 0.08) 0 1px, transparent 1px 18px);
}
.results-section { padding-bottom: 92px; }
.section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 34px;
  align-items: start;
}
.section-heading.compact { display: block; margin-bottom: 22px; }
.finder-layout, .review-grid, .guide-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.55fr);
  gap: 24px;
}
.panel, .result-card, .pick-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.selector-panel, .method-panel, .table-panel, .panel { padding: 26px; }
.selector-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 3px solid rgba(181, 100, 57, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 1), rgba(255, 236, 204, 0.98)),
    var(--panel);
  box-shadow: var(--selector-glow);
}
.selector-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--copper), var(--gold), var(--olive));
}
.selector-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin: -12px -12px 22px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(38, 53, 37, 0.96), rgba(29, 25, 20, 0.94)),
    var(--olive-dark);
  color: #fff;
}
.selector-header h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1;
}
.selector-header .eyebrow {
  color: #f4c88f;
}
.selector-badge {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(244, 200, 143, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #f4c88f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
label {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(69, 54, 39, 0.14);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(45, 32, 18, 0.08);
}
label span {
  display: flex;
  align-items: center;
  gap: 8px;
}
label b {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--olive-dark);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}
.search-label { grid-column: 1 / -1; }
.search-label b {
  min-width: auto;
  padding: 0 10px;
  background: var(--copper);
}
select, input {
  width: 100%;
  min-height: 64px;
  border: 2px solid rgba(69, 54, 39, 0.22);
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
  font-size: 1.04rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(45, 32, 18, 0.06);
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position: calc(100% - 22px) 28px, calc(100% - 14px) 28px;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}
select:focus,
input:focus {
  outline: 3px solid rgba(214, 166, 84, 0.34);
  border-color: var(--copper);
}
select:disabled {
  opacity: .58;
  box-shadow: none;
}
.status-row { justify-content: space-between; margin-top: 18px; }
.status-row p {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  margin-bottom: 0;
  padding: 12px 16px;
  border-left: 6px solid var(--copper);
  background: rgba(80, 100, 71, 0.13);
  color: var(--olive-dark);
  font-weight: 900;
}
.method-panel {
  align-self: start;
  border-color: rgba(80, 100, 71, 0.28);
}
.share-box {
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.share-box span { display: block; margin-top: 5px; color: var(--muted); word-break: break-all; }
.method-panel ol { margin: 0; padding-left: 22px; color: var(--muted); }
.method-panel li + li { margin-top: 12px; }

#results-groups, .table-panel, .pick-grid {
  max-width: 1180px;
  margin: 0 auto;
}
.result-group + .result-group { margin-top: 24px; }
.group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.group-heading h3 { margin-bottom: 0; font-family: Georgia, Times New Roman, serif; font-size: 2rem; }
.group-tag, .status-pill, .badge, .award {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.tag-best, .status-best { background: rgba(47,107,74,.14); color: var(--good); }
.tag-caveat, .status-caveat { background: rgba(138,99,49,.16); color: var(--warn); }
.tag-maybe, .status-maybe { background: rgba(103,90,152,.15); color: var(--maybe); }
.cards { display: grid; gap: 14px; }
.possible-knife-panel {
  margin-bottom: 24px;
}
.possible-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
}
.possible-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
.possible-heading span {
  flex: 0 0 auto;
  color: var(--copper);
  font-weight: 900;
}
.possible-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.possible-knife {
  display: flex;
  width: 100%;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.possible-knife:hover {
  border-color: rgba(181, 100, 57, 0.6);
  box-shadow: 0 12px 28px rgba(45, 32, 18, 0.1);
}
.possible-knife small,
.possible-specs {
  display: block;
  color: var(--muted);
}
.possible-specs {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 900;
}
.selected-knife {
  margin-bottom: 24px;
  padding: 24px;
}
.selected-share {
  margin-top: 16px;
}
.knife-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: var(--line);
  border: 1px solid var(--line);
}
.knife-spec-grid div {
  background: #fff;
  padding: 12px;
  color: var(--muted);
}
.knife-spec-grid strong {
  display: block;
  color: var(--ink);
}
.result-card { padding: 22px; }
.result-top {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: start;
}
.product-art { width: 74px; aspect-ratio: 1; background: linear-gradient(145deg, var(--olive), var(--copper)); position: relative; }
.product-art::after { content: ""; position: absolute; inset: 17px 26px; border: 2px solid #fff7ea; border-radius: 999px 999px 5px 5px; transform: rotate(28deg); }
.subline, .fit-note, .empty-state, .guide-grid p, .review-grid p, .pick-card p { color: var(--muted); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge { background: #fff; border: 1px solid var(--line); color: var(--muted); text-transform: none; }
.fit-note { margin: 16px 0; }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.mini-grid div { background: #fff; padding: 12px; color: var(--muted); }
.mini-grid strong { display: block; color: var(--ink); }
.cta-row { margin-top: 16px; }
.table-panel { margin-top: 24px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pick-card { padding: 22px; min-height: 330px; display: flex; flex-direction: column; }
.pick-card .award { margin-bottom: 18px; background: rgba(181,100,57,.14); color: var(--copper); width: max-content; }
.pick-card ul { margin: 8px 0 18px; padding-left: 18px; color: var(--muted); }
.pick-card .button { margin-top: auto; width: max-content; }
.reviews-section { background: #ebe2d6; }
.review-grid { grid-template-columns: repeat(2, 1fr); }
.pros-cons { display: grid; gap: 10px; margin: 18px 0; }
.pros-cons div { padding: 12px; background: #fff; border: 1px solid var(--line); }
.pros-cons span { display: block; color: var(--muted); }
.text-link { color: var(--copper); font-weight: 900; }
.learn-section { background: var(--olive-dark); color: #fff; }
.learn-section .eyebrow { color: #f4c88f; }
.guide-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid article { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.guide-grid p { color: rgba(255,255,255,.72); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: #17130f;
  color: rgba(255,255,255,.72);
}
.site-footer p { margin-bottom: 0; max-width: 760px; }

@media (max-width: 880px) {
  .site-header { padding: 14px 18px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    right: 18px;
    display: none;
    width: min(280px, calc(100vw - 36px));
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(29,25,20,.96);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  .hero { min-height: 90vh; padding-top: 116px; padding-bottom: 52px; }
  .section-heading, .finder-layout, .selector-grid, .mini-grid, .knife-spec-grid, .possible-list, .pick-grid, .review-grid, .guide-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    padding: 14px 18px;
    gap: 8px;
  }
  .trust-strip div {
    display: grid;
    grid-template-columns: minmax(128px, 0.42fr) 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .trust-strip div:last-child {
    border-bottom: 0;
  }
  .trust-strip strong {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.25;
  }
  .trust-strip span {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .finder-section, .best-section, .reviews-section, .learn-section { padding-top: 52px; padding-bottom: 68px; }
}

@media (max-width: 540px) {
  .brand small { display: none; }
  h1 { font-size: 3rem; }
  .hero-actions .button, .status-row .button { width: 100%; }
  .finder-section {
    padding-top: 18px;
  }
  .trust-strip {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .trust-strip div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 0;
  }
  .trust-strip span {
    font-size: 0.88rem;
  }
  .selector-panel {
    padding: 16px;
  }
  .selector-header {
    display: block;
    margin: -4px -4px 16px;
    padding: 18px;
  }
  .selector-header h3 {
    font-size: 1.65rem;
    line-height: 1.05;
  }
  .selector-badge {
    width: max-content;
    max-width: 100%;
    white-space: normal;
  }
  .result-top { grid-template-columns: 1fr; }
  .possible-knife {
    display: grid;
  }
  .site-footer { display: block; }
}
