/* Jackson Outdoors Co.
   Forest green, map paper and one blaze orange, around the owner's own photographs. Archivo (wide) carries names and interface,
   Newsreader carries reading text and, in italic, the way maps letter water. */

@font-face { font-family: Archivo; src: url('/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --ink: #16281f;
  --paper: #f6f5ee;
  --paper-raised: #fbfaf5;
  --wood: #dbe7c6;
  --wood-deep: #c3d3ae;
  --contour: #a36f42;
  --water: #2f6f8f;
  --blaze: #f0561d;
  --blaze-deep: #d94710;
  --muted: #55645a;
  --rule: rgba(22, 40, 31, .16);
  --sans: Archivo, 'Helvetica Neue', Arial, sans-serif;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }

.shell { width: min(1440px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; font: 600 14px var(--sans); }
.skip-link:focus { top: 12px; }

/* Display type: wide Archivo, set tight. */
h1, h2, .footer-word { font-family: var(--sans); font-stretch: 125%; font-weight: 720; letter-spacing: -.022em; line-height: 1.02; text-wrap: balance; }

/* Interface text */
.btn, .text-link, .main-nav, .mobile-nav, .header-end, .pill, .search-sort, .breadcrumbs, .card-meta, .footer-links, .footer-bottom, .packlist-table, .cart-summary, .cart-controls, .row-price, .toast, .legend-count, .detail-price, .detail-accord summary { font-family: var(--sans); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border: 1.5px solid var(--ink); border-radius: 3px; font-size: 15px; font-weight: 620; font-stretch: 108%; letter-spacing: .005em; text-decoration: none; transition: background-color .15s, color .15s; }
.btn-blaze { background: var(--blaze); color: var(--ink); }
.btn-blaze:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blaze); color: var(--ink); }
.btn-disabled, .btn:disabled { background: transparent; border-color: var(--rule); color: var(--muted); }
.btn.full { width: 100%; }
.text-link { font-size: 15px; font-weight: 560; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--blaze); }

/* Header: the brand bar. The mark is a trail blaze whose lower edge is the ridge from the footer. */
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-inline: var(--gutter); background: var(--ink); color: var(--paper); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 28px; height: 36px; fill: var(--blaze); flex: none; }
.brand-name { font-family: var(--sans); font-stretch: 125%; font-weight: 820; font-size: 14.5px; line-height: 1.06; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.main-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 14.5px; font-weight: 540; }
.main-nav a, .bag-link { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--blaze); }
.header-end { display: flex; align-items: center; gap: 18px; font-size: 14.5px; font-weight: 560; }
.bag-link { display: inline-flex; align-items: center; gap: 8px; }
.bag-link:hover { border-bottom-color: var(--blaze); }
.bag-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding-inline: 6px; background: var(--blaze); color: var(--ink); border-radius: 13px; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; padding: 8px 14px; background: none; color: inherit; border: 1.5px solid var(--paper); border-radius: 3px; font-weight: 600; }
.mobile-nav[hidden] { display: none; }
.mobile-nav { position: absolute; z-index: 9; left: 0; right: 0; display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 560; }
.mobile-nav a { padding: 13px 0; text-decoration: none; border-bottom: 1px solid rgba(246, 245, 238, .18); }

/* Hero: the line on the left, one photograph on the right */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: clamp(520px, 46vw, 760px); background: var(--ink); color: var(--paper); }
.hero-card { align-self: center; padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 80px) max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); }
.hero-card h1 { font-size: clamp(40px, 4.6vw, 80px); font-weight: 760; line-height: .98; letter-spacing: -.028em; }
.hero-card p { margin: clamp(16px, 1.6vw, 24px) 0 clamp(22px, 2.2vw, 32px); max-width: 24em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--wood); }
.hero .btn-blaze { border-color: var(--blaze); }
.hero .btn-blaze:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 8%; }

/* What the shop carries */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px clamp(32px, 6vw, 110px); padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 88px); }
.plan h2 { font-size: clamp(32px, 4.2vw, 62px); }
.plan-body p { max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.plan-body p + p { margin-top: 18px; color: var(--muted); }

.page-photo { margin: 0; height: clamp(200px, 28vw, 420px); overflow: hidden; background: var(--ink); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-photo + .text-page { padding-top: clamp(40px, 5vw, 72px); }

/* Legend: the collections, keyed the way a map keys its symbols */
.legend { padding-block: clamp(48px, 6vw, 88px) 0; }
.legend-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.legend-list a { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; height: 100%; padding: 22px 0 26px; border-top: 1.5px solid var(--ink); text-decoration: none; }
.legend-symbol { grid-row: 1 / 4; width: 44px; height: 36px; margin-top: 2px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.legend-list a:hover .legend-symbol { stroke: var(--blaze); }
.legend-name { font-family: var(--sans); font-stretch: 120%; font-weight: 650; font-size: 21px; letter-spacing: -.012em; line-height: 1.2; }
.legend-note { margin-top: 6px; font-style: italic; font-size: 17px; line-height: 1.4; color: var(--muted); }
.legend-count { margin-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* Section heads and product cards */
.shelf { padding-block: clamp(56px, 7vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 50px); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 26px); }
.card { position: relative; min-width: 0; }
.card-plate { display: block; background: var(--wood); border: 1.5px solid var(--ink); overflow: hidden; }
.card-plate img { width: 100%; transition: transform .35s ease; }
.card:hover .card-plate { background: var(--wood-deep); }
.card:hover .card-plate img { transform: translateY(-6px); }
.card-text { padding-top: 14px; }
.card h3 { font-family: var(--sans); font-stretch: 115%; font-weight: 620; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.01em; line-height: 1.25; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 5px; font-size: 14px; color: var(--muted); }
.card-cat { font-family: var(--serif); font-style: italic; font-size: 16px; }
.card-price { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Pack list */
.packlist { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.1fr); gap: 28px clamp(32px, 6vw, 110px); padding-block: clamp(56px, 7vw, 104px); border-top: 1.5px solid var(--ink); }
.packlist-intro h2 { font-size: clamp(30px, 3.4vw, 50px); }
.packlist-intro p { margin-top: 16px; max-width: 26em; color: var(--muted); }
.packlist-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.packlist-table thead th { padding: 0 0 10px; font-size: 13px; font-weight: 520; color: var(--muted); text-align: left; border-bottom: 1.5px solid var(--ink); }
.packlist-table tbody th, .packlist-table td { padding: 15px 16px 15px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--rule); }
.packlist-table tbody tr:hover { background: var(--paper-raised); }
.packlist-table tbody th a { font-stretch: 112%; font-weight: 620; font-size: 16.5px; text-decoration: none; }
.packlist-table tbody th a:hover { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.packlist-note { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; color: var(--muted); }
.packlist-table .num { text-align: right; padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.packlist-table .soon { color: var(--muted); }

/* A note from the owner */
.note { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 110px); align-items: end; padding-block: clamp(56px, 8vw, 120px); border-top: 1.5px solid var(--ink); }
.note h2 { font-size: clamp(32px, 4.3vw, 64px); }
.note-body p { margin-bottom: 20px; font-size: 19px; color: var(--muted); }

/* Guides */
.guides { padding-bottom: clamp(56px, 8vw, 120px); }
.guides > h2 { margin-bottom: clamp(18px, 2vw, 28px); font-size: clamp(32px, 4.2vw, 62px); }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.guide-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.guide-card-photo { display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; overflow: hidden; background: var(--ink); }
.guide-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guide-card a:hover .guide-card-photo img { transform: scale(1.035); }
.guide-card a:hover .guide-title { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.guide-card .guide-title { margin: 4px 0 8px; font-size: clamp(18px, 1.5vw, 22px); }
.guide-card .guide-summary { font-size: 16.5px; }
.guides-more { padding-top: clamp(40px, 5vw, 64px); border-top: 1.5px solid var(--ink); }
.guides-more > h2 { font-size: clamp(26px, 3vw, 40px); }
.guide-list { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.guide-list a { display: grid; grid-template-columns: 9em minmax(0, 1.1fr) minmax(0, 1fr); gap: 6px clamp(18px, 3vw, 48px); align-items: baseline; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide-list a:hover .guide-title { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.guide-kind { font-family: var(--sans); font-size: 14px; font-weight: 520; color: var(--muted); }
.guide-title { font-family: var(--sans); font-stretch: 118%; font-weight: 660; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -.012em; line-height: 1.2; }
.guide-summary { color: var(--muted); line-height: 1.45; }
.guide-head { padding-block: 24px clamp(26px, 3vw, 40px); }
.guide-head h1 { max-width: 14em; font-size: clamp(36px, 5vw, 76px); }
.guide-lead { margin-top: 18px; max-width: 30em; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; color: var(--muted); }
.guide-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(26px, 3vw, 40px) 0 0; border-block: 1.5px solid var(--ink); }
.guide-stats div { padding: 16px 16px 16px 0; }
.guide-stats div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.guide-stats dt { font-family: var(--sans); font-size: 13.5px; font-weight: 520; color: var(--muted); }
.guide-stats dd { margin: 4px 0 0; font-family: var(--sans); font-stretch: 112%; font-weight: 640; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.guide-map { height: clamp(340px, 46vw, 600px); background: var(--wood); border: 1.5px solid var(--ink); z-index: 0; }
.guide-map-note { margin-top: 10px; max-width: 46em; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.leaflet-container { font-family: var(--sans); }
.leaflet-tooltip.map-label { padding: 4px 9px; background: var(--ink); color: var(--paper); border: 0; border-radius: 2px; box-shadow: none; font-size: 13px; font-weight: 600; }
.leaflet-tooltip.map-label::before { display: none; }
.guide-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.guide-text section + section { margin-top: clamp(30px, 3.4vw, 46px); }
.guide-text h2 { margin-bottom: 12px; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.015em; }
.guide-text p { max-width: 36em; }
.guide-text p + p { margin-top: 14px; }
.guide-items, .guide-links, .guide-sources ul { max-width: 36em; margin: 14px 0 0; padding: 0; list-style: none; }
.guide-items li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--rule); background: linear-gradient(var(--blaze), var(--blaze)) 2px 1.05em / 9px 9px no-repeat; }
.guide-links li, .guide-sources li { padding: 6px 0; }
.guide-text a { text-decoration-color: var(--blaze); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.guide-notes { padding: 22px 26px; background: var(--wood); border-left: 4px solid var(--blaze); }
.guide-notes h2 { font-size: 20px; }
.guide-items li:last-child { border-bottom: 0; }
.guide-sources { padding-top: 22px; border-top: 1.5px solid var(--ink); font-size: 16px; color: var(--muted); }
.guide-sources a { color: var(--ink); }
.guide-sources p { margin-top: 12px; }
.guide-photo { position: sticky; top: 24px; margin: 0; }
.guide-photo img { width: 100%; border: 1.5px solid var(--ink); }
.guide-photo figcaption { margin-top: 8px; font-style: italic; font-size: 16px; color: var(--muted); }

/* Page heads, shop list */
.page-head { padding-block: clamp(44px, 6vw, 84px) clamp(26px, 3vw, 40px); }
.page-head h1 { font-size: clamp(42px, 6vw, 92px); }
.page-head p { margin-top: 16px; max-width: 34em; font-size: 20px; color: var(--muted); }
.shop-list { padding-bottom: clamp(64px, 8vw, 120px); }
.filter-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; margin-bottom: clamp(24px, 3vw, 40px); border-block: 1.5px solid var(--ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 15px; border: 1.5px solid var(--ink); border-radius: 20px; font-size: 14px; font-weight: 540; text-decoration: none; }
.pill span { margin-left: 3px; font-weight: 400; opacity: .65; font-variant-numeric: tabular-nums; }
.pill:hover { background: var(--wood); }
.pill.is-active { background: var(--ink); color: var(--paper); }
.search-sort { display: flex; gap: 8px; font-size: 14px; }
.search-sort input, .search-sort select, .search-sort button { height: 40px; padding: 0 12px; background: var(--paper-raised); border: 1.5px solid var(--ink); border-radius: 3px; }
.search-sort input { width: 170px; }
.search-sort button { background: var(--ink); color: var(--paper); font-weight: 600; }
.search-sort button:hover { background: var(--blaze); color: var(--ink); }
.empty-state { padding: clamp(40px, 6vw, 90px) 0; max-width: 34em; }
.empty-state h2 { font-size: clamp(28px, 3vw, 42px); }
.empty-state p { margin: 14px 0 26px; color: var(--muted); }

/* Trust: how buying works, brands, memberships */
.text-page-short { min-height: 0; padding-bottom: clamp(32px, 4vw, 56px); }
.trust { padding-bottom: clamp(64px, 8vw, 120px); }
.trust h2 { margin-bottom: clamp(18px, 2vw, 28px); font-size: clamp(28px, 3.2vw, 46px); }
.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; counter-reset: trust; }
.trust-list li { counter-increment: trust; padding: 20px 0 26px; border-top: 1.5px solid var(--ink); line-height: 1.5; color: var(--muted); }
.trust-list li::before { content: counter(trust); display: block; margin-bottom: 10px; font-family: var(--sans); font-stretch: 118%; font-weight: 700; font-size: 15px; color: var(--blaze-deep); }
.trust-list strong { display: block; margin-bottom: 6px; font-family: var(--sans); font-stretch: 114%; font-weight: 650; font-size: 19px; line-height: 1.25; color: var(--ink); }
.trust a, .assurances a { color: var(--ink); text-decoration-color: var(--blaze); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.trust-brands { margin-top: clamp(28px, 3vw, 44px); padding: clamp(20px, 2.4vw, 30px); background: var(--wood); border: 1.5px solid var(--ink); }
.trust-brands h3 { margin-bottom: 8px; font-family: var(--sans); font-stretch: 118%; font-weight: 680; font-size: 20px; }
.trust-brands p { max-width: 40em; }
.trust-brands ul { margin: 0; padding: 0; list-style: none; }
.trust-brands li { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 15.5px; }
.trust-brand-name { min-width: 12em; font-stretch: 112%; font-weight: 650; font-size: 17px; }
.card-brand { margin-bottom: 2px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.assurances { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); font-size: 16.5px; line-height: 1.45; }
.assurances li { padding: 11px 0 11px 24px; border-bottom: 1px solid var(--rule); background: linear-gradient(var(--blaze), var(--blaze)) 2px 1.15em / 9px 9px no-repeat; }
.specs { margin: 22px 0 0; border-top: 1.5px solid var(--ink); font-family: var(--sans); font-size: 15px; }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }

/* Product page */
.detail { padding-block: 24px clamp(56px, 7vw, 104px); }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { text-underline-offset: 4px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.detail-plate { background: var(--wood); border: 1.5px solid var(--ink); }
.detail-plate img { width: 100%; }
.detail-copy { max-width: 540px; padding-top: clamp(0px, 2vw, 28px); }
.detail-tag { font-style: italic; font-size: 19px; color: var(--muted); }
.detail-copy h1 { margin-top: 8px; font-size: clamp(38px, 4.4vw, 64px); }
.detail-price { margin-top: 18px; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.detail-intro { margin: 18px 0 28px; font-size: 21px; line-height: 1.5; }
.detail-details { margin-top: 18px; font-size: 16px; color: var(--muted); }
.detail-accord { margin-top: 34px; border-top: 1.5px solid var(--ink); }
.detail-accord details { border-bottom: 1px solid var(--rule); }
.detail-accord summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15.5px; font-weight: 600; list-style: none; cursor: pointer; }
.detail-accord summary::-webkit-details-marker { display: none; }
.detail-accord summary::after { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.detail-accord details[open] summary::after { transform: rotate(45deg); }
.detail-accord details p { padding-bottom: 18px; font-size: 16.5px; color: var(--muted); }
.detail + .shelf { padding-top: 0; }

/* Text pages */
.text-page > h1 { max-width: 11em; }
.text-page { min-height: 56vh; padding-block: clamp(56px, 8vw, 120px) clamp(72px, 10vw, 150px); }
.text-page h1 { font-size: clamp(42px, 6vw, 92px); }
.text-page .lead { margin-top: 28px; max-width: 26em; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; }
.text-page p:not(.lead) { margin-top: 20px; max-width: 36em; color: var(--muted); }
.text-page p a { color: var(--ink); text-decoration-color: var(--blaze); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-page .btn { margin-top: 36px; }
.contact-email { font-family: var(--sans); font-stretch: 112%; font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); }

/* Bag */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: clamp(24px, 5vw, 76px); align-items: start; min-height: 380px; padding-bottom: clamp(72px, 10vw, 150px); }
.cart-row { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 22px 0; border-top: 1.5px solid var(--ink); }
.cart-row img { width: 120px; background: var(--wood); border: 1.5px solid var(--ink); }
.cart-row h3 { font-family: var(--sans); font-stretch: 115%; font-weight: 620; font-size: 20px; letter-spacing: -.01em; }
.cart-row p { font-style: italic; color: var(--muted); }
.row-price { margin-top: 4px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-controls button { width: 32px; height: 32px; background: var(--paper-raised); border: 1.5px solid var(--ink); border-radius: 3px; }
.cart-controls button:disabled { opacity: .35; }
.cart-controls .remove { width: auto; margin-left: 10px; padding: 0; background: none; border: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.cart-summary { padding: clamp(22px, 2.6vw, 34px); background: var(--wood); border: 1.5px solid var(--ink); }
.cart-summary h2 { margin-bottom: 14px; font-size: 22px; }
.cart-total-line, .cart-grand-line { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-grand-line { margin-top: 8px; padding-top: 18px; border-top: 1.5px solid var(--ink); font-size: 17px; }
.cart-grand-line strong { font-size: 20px; }
.fine-print { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.cart-message { margin-bottom: 14px; padding: 12px 14px; background: var(--paper); border: 1.5px solid var(--blaze); font-size: 15.5px; line-height: 1.4; }
.cart-message[hidden] { display: none; }
.continue { display: inline-block; margin-top: 20px; }
.empty-cart { max-width: 30em; padding: 36px 0 60px; border-top: 1.5px solid var(--ink); }
.empty-cart h2 { font-size: clamp(26px, 2.8vw, 38px); }
.empty-cart p { margin: 12px 0 26px; color: var(--muted); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 13px 18px; background: var(--ink); color: var(--paper); border-radius: 3px; font-size: 14.5px; font-weight: 520; }

/* Footer: the hero route's real elevation profile forms the top edge */
.footer-profile { position: relative; margin-bottom: -1px; }
.footer-profile img { width: 100%; height: clamp(70px, 10vw, 160px); }
.footer-body { background: var(--ink) url('/contours.svg') center / cover; color: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 88px); }
.footer-word { display: inline-flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); font-size: clamp(30px, 4vw, 58px); font-weight: 820; line-height: .98; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; }
.footer-word .brand-mark { width: 1.5em; height: 1.93em; }
.footer-word span { white-space: nowrap; }
.footer-brand p { margin-top: 20px; font-style: italic; color: var(--wood); }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; font-size: 15px; }
.footer-links h2 { margin-bottom: 16px; font-size: 13.5px; font-stretch: 100%; font-weight: 520; letter-spacing: 0; line-height: 1.4; color: var(--wood-deep); }
.footer-links a { display: block; width: fit-content; padding: 5px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid rgba(246, 245, 238, .2); font-size: 13.5px; color: var(--wood-deep); }

@media (max-width: 1050px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packlist, .note { grid-template-columns: 1fr; }
  .note { align-items: start; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { min-height: 66px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 3 / 2; }
  .hero-card { padding: 28px var(--gutter) 40px; }
  .hero-card h1 { font-size: clamp(38px, 11vw, 60px); }
  .plan { grid-template-columns: 1fr; }
  .guide-list a { grid-template-columns: 1fr; }
  .guide-stats { grid-template-columns: 1fr 1fr; }
  .guide-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .guide-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .guide-body { grid-template-columns: 1fr; }
  .guide-photo { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid, .cart-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand-name { font-size: 13px; }
  .brand-mark { width: 25px; height: 32px; }
  .header-end { gap: 10px; }
  .legend-list { grid-template-columns: 1fr; }
  .search-sort { width: 100%; }
  .search-sort input { flex: 1; min-width: 0; width: auto; }
  .packlist-table thead th:nth-child(2), .packlist-table td:nth-child(2) { display: none; }
  .cart-row { grid-template-columns: 92px 1fr; gap: 14px; }
  .cart-row img { width: 92px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Catalog proof-of-concept, preserving the established site design. */
.preview-chip { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; color: var(--blaze-deep); }
.detail-preview { display: inline-block; margin-top: 14px; }
.catalog-preview-note { padding: 16px 20px; border-left: 4px solid var(--blaze); background: var(--wood); font-family: var(--sans); font-size: 14.5px; line-height: 1.5; }
.variant-label { display: block; margin: 22px 0 8px; font-family: var(--sans); font-size: 14px; font-weight: 700; }
.variant-select { display: block; width: 100%; min-height: 48px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper-raised); padding: 10px 12px; margin-bottom: 14px; font: 15px var(--sans); }
.variant-select:focus-visible { outline: 3px solid var(--blaze); outline-offset: 2px; }
