/* River Gear Guide — "Field Gauge" (approved 2026-10-15). No framework; mobile first where it matters (tables → cards). */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-soft-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/dm-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --mist: #F2F5F3; --card: #FFFFFF; --ink: #0F1F1C; --slate: #4B5D59; --rule: #D3DDD8; --shallows: #DCEDEA;
  --river: #12545A; --river-deep: #0B3A3F; --line: #D4E157; --line-ink: #1B2410; --sand: #E9E2D0; --r: 10px;
  --f-head: "Fraunces", Georgia, serif; --f-body: "Figtree", system-ui, sans-serif; --f-mono: "DM Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 17px/1.6 var(--f-body); }
a { color: var(--river); text-underline-offset: 3px; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(32px, 6vw, 56px); font-variation-settings: "SOFT" 100; }
h2 { font-size: clamp(23px, 3.2vw, 32px); }
h3 { font-size: 20px; }
.eyebrow { font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0; }
.eyebrow.light { color: #9FC1BB; }
.num { font-family: var(--f-mono); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--line); color: var(--line-ink); padding: 8px 12px; border-radius: 8px; }

/* ---------- header band ---------- */
.top { background: var(--river-deep); color: #E6F0EE; position: relative; overflow: hidden; padding-bottom: 36px; }
.top.tall { padding-bottom: 72px; }
.top svg.contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .2; pointer-events: none; }
.top a { color: #E6F0EE; }
.bar { position: relative; display: flex; align-items: center; gap: 24px; padding: 14px 16px; max-width: 1180px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 21px/1 var(--f-head); }
.logo .mark { width: 30px; height: 30px; border-radius: 50%; background: var(--line); display: grid; place-items: center; flex: none; }
nav.desk { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
nav.desk a { text-decoration: none; }
nav.desk a:hover { color: var(--line); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 6px 14px; font: 500 14px var(--f-body); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 40px; z-index: 5; background: var(--river-deep); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r); padding: 8px; min-width: 220px; display: grid; }
.menu nav a { padding: 8px 10px; text-decoration: none; }
.crumbs { position: relative; max-width: 1180px; margin: 0 auto; padding: 8px 16px 0; font: 500 13px var(--f-mono); color: #B9CEC9; }
.hero, .page-head { position: relative; max-width: 1180px; margin: 0 auto; padding: 22px 16px 0; color: #fff; }
.hero { padding-top: 40px; }
.hero h1 { max-width: 16ch; margin-top: 14px; }
.page-head h1 { margin-top: 10px; max-width: 24ch; }
.hero .lede, .page-head .lede, .brand-head .lede { color: #CFE0DC; font-size: 18px; max-width: 60ch; margin: 16px 0 0; }
.sig { font: italic 500 17px var(--f-head); color: var(--line); margin: 20px 0 0; }
.byline { font: 500 13px var(--f-mono); color: #9FC1BB; margin: 14px 0 0; }
.honest { margin: 14px 0 0; background: rgba(212,225,87,.15); border-left: 3px solid var(--line); padding: 8px 12px; color: #fff; font-weight: 600; max-width: 60ch; }

/* brand header */
.brand-head { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 18px 16px 0; max-width: 1180px; margin: 0 auto; color: #fff; }
.brand-head h1 { margin-top: 10px; }
.plate { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 18px; align-self: start; }
.plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.plate dt { font: 500 12px/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #9FC1BB; }
.plate dd { margin: 0; color: #fff; }
.plate sup a { color: var(--line); text-decoration: none; }
.plate .src { font: 500 12px var(--f-mono); color: #9FC1BB; margin: 12px 0 0; }

/* ---------- hub ---------- */
.water { margin-top: -40px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.water a { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s; }
.water a:hover { border-color: var(--river); transform: translateY(-2px); }
.water .n { font: 500 13px var(--f-mono); color: var(--slate); }
.water strong { font: 600 19px/1.15 var(--f-head); }
.water a.wide { grid-column: span 2; }
.water .gw { margin-top: 8px; width: min(100%, 360px); }
.water .gauge { height: 24px; }
section.block { padding-top: 52px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; }
.sec-head a { font: 500 14px var(--f-mono); }
.lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.list-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; }
.list-card h3 { margin-top: 6px; }
.list-card h3 a { color: var(--ink); text-decoration: none; }
.rule { margin: 12px 0 0; font-size: 14px; color: var(--slate); border-left: 3px solid var(--line); padding-left: 10px; }
.rule b { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: block; }
.rule.big { font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--line); border-radius: 0 var(--r) var(--r) 0; padding: 12px 16px; margin: 24px 0 0; }
.note { background: var(--sand); border-radius: var(--r); padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.note .face { width: 52px; height: 52px; border-radius: 50%; background: var(--river); color: var(--line); display: grid; place-items: center; font: 600 20px var(--f-head); }
.note p { margin: 0; }
.note .by { font: 500 12px var(--f-mono); color: var(--slate); margin-top: 8px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands a, .links a, .subnav a { border: 1px solid var(--rule); background: var(--card); border-radius: 999px; padding: 7px 14px; text-decoration: none; color: var(--ink); font-size: 15px; }
.brands a span, .links a span, .subnav a span { font: 500 12px var(--f-mono); color: var(--slate); margin-left: 6px; }
.brands a:hover, .links a:hover, .subnav a:hover { border-color: var(--river); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.guides a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 500 17px var(--f-head); }
.guides a:hover { color: var(--river); }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bcard { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
a.bcard:hover { border-color: var(--river); }
.bcard strong { font: 600 18px var(--f-head); }
.bcard .n { font: 500 12px var(--f-mono); color: var(--slate); }
.bcard .mk { font-size: 13px; color: var(--slate); }
.bcard.short { background: transparent; }

/* ---------- type / selection / brand ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.tables { padding-top: 26px; }
.disc { font-size: 14px; color: var(--slate); margin: 0 0 12px; }
.tbl-h { font-size: 24px; margin: 30px 0 12px; }
.empty, .todo { color: var(--slate); background: var(--card); border: 1px dashed var(--rule); border-radius: var(--r); padding: 14px 16px; }
.todo { margin-top: 26px; font-style: italic; }
.alt-label { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; padding: 10px 14px; background: var(--sand); border-radius: var(--r); margin: 28px 0 12px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.chip { border: 1px solid var(--rule); background: var(--card); border-radius: 999px; padding: 6px 12px; font: 500 13px var(--f-mono); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: #fff; }
.sel { border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; font: 500 14px var(--f-body); background: var(--card); color: var(--ink); max-width: 100%; }
.count { font: 500 13px var(--f-mono); color: var(--slate); margin-left: auto; }
.more-btn { display: block; margin: 12px auto 0; }
.tbl-wrap { overflow-x: auto; border-radius: var(--r); }
.gear { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); font-size: 15px; }
.gear th, .gear td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.gear tbody tr:last-child td { border-bottom: 0; }
.gear thead th { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); background: var(--shallows); white-space: nowrap; cursor: pointer; user-select: none; }
.gear thead th:first-child { border-top-left-radius: var(--r); }
.gear thead th:last-child { border-top-right-radius: var(--r); cursor: default; }
.gear thead th[aria-sort="ascending"]::after { content: " ↑"; }
.gear thead th[aria-sort="descending"]::after { content: " ↓"; }
.gear tbody tr:hover { background: #F7FAF9; }
.gear .model { display: flex; gap: 12px; align-items: flex-start; min-width: 230px; max-width: 300px; }
.gear .ph img { transition: transform .15s; }
@media (hover: hover) { .gear .ph:hover img { transform: scale(1.08); } }
.zoom[hidden] { display: none; }
.zoom { position: fixed; z-index: 50; width: 300px; height: 300px; object-fit: contain; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.22); padding: 10px; pointer-events: none; }
.gear .ph img, .gear .noimg { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--rule); border-radius: 8px; display: block; }
.gear .name { color: var(--ink); font-weight: 600; text-decoration: none; }
.gear .name:hover { color: var(--river); text-decoration: underline; }
.gear .model small { display: block; font: 500 12px var(--f-mono); color: var(--slate); }
.more { margin-top: 4px; font-size: 13px; }
.more summary { cursor: pointer; color: var(--river); font: 500 12px var(--f-mono); }
.more dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; }
.more dt { color: var(--slate); }
.more dd { margin: 0; }
.more .maker, .more .claim, .more .listing { display: inline; margin-left: 6px; }
.long { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 170px; }
.nc { color: #93A39F; border-bottom: 1px dotted #93A39F; cursor: help; }
.maker, .claim, .listing { font: 500 10px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; display: block; }
.maker { color: var(--river); }
.claim { color: #8A6A1C; }
.listing { color: #56645F; }
.alt-row td { background: #FBFCF4; }
.cp { display: inline-flex; align-items: center; gap: 8px; background: var(--line); color: var(--line-ink); font: 600 14px var(--f-body); padding: 9px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.cp:hover { background: #C3D03F; }
.cp svg { width: 14px; height: 14px; }

/* line-weight gauge */
.gw { display: inline-flex; flex-direction: column; gap: 2px; min-width: 108px; }
.gauge { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; align-items: end; height: 20px; }
.gauge i { display: block; height: 8px; background: var(--rule); border-radius: 1px; }
.gauge i:nth-child(odd) { height: 11px; }
.gauge i.on { background: var(--river); height: 18px; }
.water .gauge i.on { height: 16px; }

/* text */
.prose { margin-top: 30px; }
.fig { margin: 30px 0; max-width: 900px; }
.fig img { width: 100%; height: auto; display: block; border-radius: var(--r); background: var(--shallows); }
.fig-hero { margin: 28px 0 8px; }
.fig-pin { max-width: 340px; margin: 0; }
.prose h2 { margin: 36px 0 12px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { color: #1C2E2A; }
.prose table { border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; }
.next { margin: 30px 0 0; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--line); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; display: grid; gap: 6px; }
.next a { font: 600 18px var(--f-head); text-decoration: none; }
.plain { margin: 0; padding-left: 20px; color: var(--slate); }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { font: 600 18px var(--f-head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-family: var(--f-mono); color: var(--river); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--slate); }
.sources { font-size: 14px; color: var(--slate); padding-left: 22px; }
.sources a { word-break: break-word; }

/* footer */
.foot { margin-top: 72px; background: var(--river-deep); color: #CFE0DC; padding: 40px 0 28px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; }
.foot a { color: #E6F0EE; text-decoration: none; display: block; padding: 3px 0; }
.foot .logo { display: inline-flex; padding: 0; }
.foot .h { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #9FC1BB; margin: 0 0 8px; }
.foot .sig { font-size: 18px; }
.foot .legal { border-top: 1px solid rgba(255,255,255,.15); margin: 28px 0 0; padding-top: 16px; font-size: 13px; color: #9FC1BB; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 860px) {
  nav.desk { display: none; }
  .menu { display: block; }
  .water { grid-template-columns: repeat(2, 1fr); }
  .lists, .guides { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .brand-head { grid-template-columns: 1fr; gap: 18px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .hero .lede, .page-head .lede, .brand-head .lede { font-size: 17px; }
  .count { margin-left: 0; width: 100%; }
  /* table rows become gear cards */
  .tbl-wrap { overflow: visible; }
  .gear, .gear tbody, .gear tr, .gear td { display: block; width: 100%; }
  .gear { border: 0; background: none; }
  .gear thead { display: none; }
  .gear tr { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); margin-bottom: 12px; padding: 6px 0; }
  .gear tr.alt-row { background: #FBFCF4; }
  .gear td { border: 0 !important; padding: 6px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; background: none !important; }
  .gear td[data-l]::before { content: attr(data-l); font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); text-align: left; flex: none; }
  .gear td > .v { text-align: right; }
  .gear td > .v .maker, .gear td > .v .claim, .gear td > .v .listing { display: block; }
  .gear td.first { display: block; text-align: left; border-bottom: 1px solid var(--rule) !important; padding-bottom: 12px; }
  .gear td.buy { display: block; padding-top: 10px; }
  .gear td.buy .cp { width: 100%; justify-content: center; padding: 12px; }
  .gear .model { min-width: 0; }
  .gw { min-width: 140px; }
  .long { -webkit-line-clamp: unset; max-width: 60%; display: block; }
}
@media (max-width: 420px) {
  .water a.wide { grid-column: span 2; }
  .catalog { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr; }
}

/* hang tags (verdicts) and head-to-head blocks */
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tag { background: var(--sand); border-radius: 6px 18px 18px 6px; padding: 18px 18px 18px 34px; position: relative; display: flex; flex-direction: column; }
.tag::before { content: ""; position: absolute; left: 12px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--mist); box-shadow: inset 0 0 0 2px #B9AE92; }
.tag h3 { font-size: 18px; }
.tag .k { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--river); margin-top: 10px; display: block; }
.tag .k.no { color: #8A4B1C; }
.tag p { margin: 2px 0 0; font-size: 15px; }
.cp.small { align-self: flex-start; margin-top: auto; padding: 7px 12px; font-size: 13px; }
.tag .cp.small { margin-top: 14px; }
.vs { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 20px; margin-bottom: 14px; }
.vs .prose { margin-top: 8px; }
@media (max-width: 860px) { .tags { grid-template-columns: 1fr; } }
