/* Guyed — "Canvas & guy lines": canvas khaki, forest green, hi-vis guy-line orange, with diagonal guy lines running
   from a pole down to pegs as the motif (header strip, section marks, card corners, footer ground line).
   Fonts: Oswald (display) + Mukta (text), self-hosted, SIL OFL (see /assets/fonts/OFL.txt). */
@font-face { font-family: "Oswald"; src: url(/assets/fonts/oswald.woff2) format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Mukta"; src: url(/assets/fonts/mukta-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mukta"; src: url(/assets/fonts/mukta-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --forest: #1D4631; --forest-2: #2A5E43; --forest-deep: #12291C;
  --canvas: #EFE8D6; --canvas-2: #E4DABF; --paper: #FBF8F0; --khaki: #C9B98C; --khaki-deep: #6E6440; --khaki-hi: #E8D9A8;
  --hv: #E8641B; --hv-ink: #A33D06; --hv-soft: #FBE3D2;
  --ink: #1B2117; --muted: #4D5243; --line: #D3C7A6;
  --card: var(--paper); --focus: #0B57D0;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --text: "Mukta", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px; --radius: 6px;
  --guy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Cpath d='M14 1 2 17M14 1l12 16' stroke='%23E8641B' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='14' cy='2' r='2' fill='%231D4631'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-wrap: anywhere;
  background-image: repeating-linear-gradient(0deg, rgba(60, 50, 20, .028) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(60, 50, 20, .022) 0 1px, transparent 1px 4px); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--forest-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--hv-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; color: var(--forest-deep); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hv); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 4px; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; vertical-align: -.22em; flex: none; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.kicker { font: 500 .95rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--khaki-deep); margin: 0 0 .7em; display: flex; align-items: center; gap: 8px; }

/* ---------- header: forest bar, mast mark, guy-line strip */
.site-head { background: var(--forest); color: #F3ECD9; --paper: var(--forest); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #F3ECD9; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { color: #F3ECD9; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.brand-sub { font: 400 .78rem/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--khaki-hi); margin-top: 5px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 7px 13px; color: #F3ECD9; text-decoration: none; font: 500 1.02rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .08em; border-radius: 3px; }
.site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-nav a[aria-current] { background: var(--hv); color: var(--ink); }
.site-nav a:focus-visible, .brand:focus-visible { outline-color: var(--khaki-hi); }
.guylines { height: 18px; background-color: var(--forest-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='18' viewBox='0 0 72 18'%3E%3Cpath d='M36 0v4' stroke='%23F3ECD9' stroke-width='3'/%3E%3Cpath d='M36 2 4 18M36 2l32 16M36 2 22 18M36 2l14 16' stroke='%23E8641B' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-size: 72px 18px; background-position: center top; border-bottom: 3px solid var(--forest-deep); }

/* ---------- buttons */
.btn-hv, .btn-line, .btn-amz, .btn-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 4px; font: 600 1rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; text-align: center; }
.btn-hv, .btn-amz { background: var(--hv); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.btn-hv:hover, .btn-amz:hover { background: #F07A36; color: var(--ink); }
.btn-line { color: var(--forest-deep); box-shadow: inset 0 0 0 2px var(--forest); background: transparent; }
.btn-line:hover { background: var(--forest); color: #F3ECD9; }
.btn-more { color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); background: var(--paper); }
.btn-more:hover { background: var(--forest); color: #F3ECD9; }
.btn-amz.big { min-height: 52px; font-size: 1.12rem; width: 100%; }

/* ---------- hero */
.hero { background: var(--canvas-2); border-bottom: 1px solid var(--line); padding: 34px 0 40px;
  background-image: repeating-linear-gradient(0deg, rgba(60, 50, 20, .04) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(60, 50, 20, .03) 0 1px, transparent 1px 4px); }
.hero-in { display: grid; gap: 22px; align-items: center; }
@media (min-width: 880px) { .hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); text-transform: uppercase; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--hv-ink); box-shadow: inset 0 -.16em 0 var(--hv-soft); }
.lede { font-size: 1.16rem; color: var(--ink); max-width: 46em; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0 0; }
.hero-art { justify-self: center; }
.hero-art svg { display: block; width: min(360px, 100%); height: auto; }
@media (max-width: 879px) { .hero-art svg { width: 240px; } .hero-in { gap: 8px; } }

/* ---------- sections */
.band { padding-top: 34px; padding-bottom: 10px; }
.band-canvas { background: var(--canvas-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-top: 18px; }
.sec-h { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .04em; }
.sec-h::before { content: ""; flex: none; width: 28px; height: 18px; background: var(--guy) no-repeat center / contain; }
.sec-h .icon { color: var(--forest); }
.empty { padding: 18px; background: var(--paper); border: 2px dashed var(--line); border-radius: var(--radius); }

/* type tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ic name" "ic n"; column-gap: 12px; align-items: center; height: 100%; padding: 14px 16px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; overflow: hidden; }
.tile::after { content: ""; position: absolute; right: -14px; top: 13px; width: 28px; height: 2px; background: var(--hv); transform-origin: 0 50%; transform: rotate(-42deg); }
.tile::before { content: ""; position: absolute; right: 9px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 2px, #6E736A 2.5px); z-index: 1; }
.tile:hover { border-color: var(--forest); box-shadow: 0 4px 0 var(--forest); color: var(--ink); }
.tile-ic { grid-area: ic; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: #F3ECD9; --paper: var(--forest); }
.tile-name { grid-area: name; font: 600 1.15rem/1.15 var(--display); color: var(--forest-deep); }
.tile-n { grid-area: n; font-size: .9rem; color: var(--muted); }
.tiles.big .tile { grid-template-areas: "ic name" "ic n" "intro intro"; }
.tile-intro { grid-area: intro; margin-top: 10px; font-size: .95rem; color: var(--muted); }

/* set-up list */
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.picks a { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 12px 14px; background: var(--paper); border-left: 5px solid var(--hv); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); text-decoration: none; }
.picks a:hover { background: #fff; box-shadow: 0 2px 0 var(--line); }
.picks .icon { color: var(--forest); margin-top: 2px; }
.picks strong { display: block; font: 600 1.08rem/1.2 var(--display); color: var(--forest-deep); }
.picks small { display: block; font-size: .92rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* guide list */
.guide-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.guide-list a { display: block; height: 100%; padding: 14px 16px 14px 46px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; position: relative; }
.guide-list a::before { content: ""; position: absolute; left: 12px; top: 16px; width: 24px; height: 16px; background: var(--guy) no-repeat center / contain; }
.guide-list a:hover { border-color: var(--forest); }
.guide-list strong { display: block; font: 600 1.12rem/1.25 var(--display); color: var(--forest-deep); margin-bottom: 4px; }
.guide-list span { display: block; font-size: .95rem; color: var(--muted); line-height: 1.45; }
/* guide cards with a photo: the photo sits across the top of the card above a hi-vis "guy line", the guy-line mark moves
   next to the title, and the photo credit sits under the card (outside the link). Cards without a photo look as before. */
.guide-list li { display: flex; flex-direction: column; min-width: 0; }
.guide-list li > a { flex: 1 1 auto; height: auto; }
.guide-list .has-photo > a { padding-top: 0; overflow: hidden; }
.guide-list .has-photo > a::before { display: none; }
.guide-list .gl-thumb { display: block; width: calc(100% + 62px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  margin: 0 -16px 12px -46px; border-bottom: 3px solid var(--hv); background: var(--canvas-2); }
.guide-list .has-photo strong { position: relative; }
.guide-list .has-photo strong::before { content: ""; position: absolute; left: -34px; top: 3px; width: 24px; height: 16px; background: var(--guy) no-repeat center / contain; }
.guide-list .gl-credit { margin: 5px 4px 0; font-size: .78rem; line-height: 1.35; color: var(--muted); }
.guide-list .gl-credit span { display: inline; font-size: inherit; line-height: inherit; }
.guide-list .gl-credit a { display: inline; height: auto; padding: 0; background: none; border: 0; border-radius: 0; position: static; color: var(--forest-2); text-decoration: underline; }
.guide-list .gl-credit a::before { content: none; }

/* FAQ */
.faq { display: grid; gap: 8px; margin-bottom: 1em; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; position: relative; padding: 12px 16px 12px 42px; font: 500 1.08rem/1.35 var(--display); color: var(--forest-deep); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; position: absolute; left: 14px; top: 9px; width: 20px; text-align: center; font: 700 1.35rem/1.2 var(--display); color: var(--hv-ink); }
.faq details[open] summary::before { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px dashed var(--line); }
.faq .prose { padding: 12px 16px 4px; }

/* ---------- inner pages */
.page { padding-top: 22px; padding-bottom: 46px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.jump ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jump a { display: inline-block; padding: 5px 12px; border: 1px solid var(--khaki); border-radius: 3px; background: var(--paper); text-decoration: none; font: 500 .95rem/1.3 var(--display); color: var(--forest-deep); text-transform: uppercase; letter-spacing: .04em; }
.jump a:hover { border-color: var(--forest); }
.group { padding-top: 18px; }
.h-ic { display: flex; align-items: center; gap: 12px; }
.h-icon { color: var(--forest); }
.chips { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips a { display: inline-block; padding: 4px 11px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: .95rem; }
.warn-line { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--ink); background: var(--hv-soft); border-left: 4px solid var(--hv-ink); padding: 8px 12px; border-radius: 0 4px 4px 0; }
.warn-line .icon { color: var(--hv-ink); margin-top: 2px; }

/* ---------- kit tags (product cards) */
.tags { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); margin: 6px 0 12px; }
.tag-wrap { display: flex; }
.tag-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 16px 18px 16px; background: var(--card); border: 2px solid var(--khaki); border-radius: var(--radius); overflow: hidden; }
.tag-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--forest); }
.tag-card::after { content: ""; position: absolute; top: 21px; right: -12px; width: 34px; height: 2px; background: var(--hv); transform-origin: 0 50%; transform: rotate(-40deg); }
.tag-card:hover { border-color: var(--forest); }
.eyelet { position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, var(--canvas) 0 3px, #8A8F86 3.5px 6px, #5E635A 6.5px); box-shadow: 0 1px 0 rgba(0, 0, 0, .15); z-index: 1; }
.tag-type { display: flex; align-items: center; gap: 6px; font: 500 .82rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--khaki-deep); margin: 4px 36px 8px 0; }
.tag-type .icon { color: var(--forest); }
.tag-name { font: 600 1.22rem/1.2 var(--display); margin: 0 0 6px; padding-right: 26px; }
.tag-name a { color: var(--forest-deep); text-decoration: none; }
.tag-name a:hover { color: var(--hv-ink); text-decoration: underline; }
.tag-spec { font-size: .92rem; color: var(--muted); margin: 0 0 6px; }
.tag-for { font-size: .95rem; margin: 0 0 8px; }
.tag-for span { font-weight: 700; color: var(--forest-2); }
.tag-sum { font-size: .97rem; line-height: 1.5; margin: 0 0 14px; }
.tag-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; }
.tag-acts a { flex: 1 1 auto; font-size: .92rem; padding: 8px 12px; }
.amz-note { font-size: .9rem; color: var(--muted); margin: 6px 0 18px; }

/* ---------- product page */
.product { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1fr) 340px; } }
.facts { display: grid; gap: 0; margin: 0 0 1.4em; border-top: 2px solid var(--forest); background: var(--paper); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .92rem/1.4 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--khaki-deep); }
.facts dd { margin: 0; }
.buy-box { position: relative; padding: 30px 20px 14px; background: var(--forest); color: #F3ECD9; border-radius: var(--radius); box-shadow: 0 6px 0 var(--forest-deep); }
@media (min-width: 900px) { .buy-box { position: sticky; top: 16px; } }
.buy-box .eyelet { background: radial-gradient(circle, var(--forest) 0 3px, #C9CCC4 3.5px 6px, #8A8F86 6.5px); }
.buy-box a:not(.btn-amz) { color: var(--khaki-hi); }
.buy-h { font: 600 1.25rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.buy-box .small { color: #E6DEC8; }
.callout { background: var(--paper); border-left: 5px solid var(--forest); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1em; }
.callout p { margin: 0; }
.callout p + p { margin-top: .6em; }
.callout.safe p, .callout.danger p { display: flex; gap: 10px; align-items: flex-start; }
.callout.safe { border-left-color: var(--khaki-deep); }
.callout.safe .icon { color: var(--khaki-deep); margin-top: 3px; }
.callout.danger { background: var(--hv-soft); border-left-color: var(--hv-ink); }
.callout.danger .icon { color: var(--hv-ink); margin-top: 3px; }
.sources-box { margin-top: 1.6em; padding: 14px 18px; background: var(--paper); border: 2px dashed var(--khaki); border-radius: var(--radius); }
.sources-box h2 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 0; }
.sources { margin: 0 0 .6em; padding-left: 1.2em; }
.sources li { margin-bottom: 4px; }
.checked, .checked-top { font-size: .9rem; color: var(--muted); }
.checked-top { display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }

/* shelf searches */
.shelf { margin: 26px 0 8px; padding: 16px 18px 6px; background: var(--canvas-2); border-radius: var(--radius); border: 1px solid var(--line); }
.shelf h2 { font-size: 1.3rem; }
.shelf-links { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shelf-links a { display: inline-block; padding: 7px 13px; border-radius: 4px; background: var(--paper); border: 2px solid var(--hv); color: var(--ink); text-decoration: none; font: 500 .98rem/1.3 var(--display); }
.shelf-links a:hover { background: var(--hv); }

/* prose */
.prose { max-width: 46em; }
.guide .prose, .prose-page .prose { max-width: 44em; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose .callout { margin: 1.2em 0; }
.guide h1 { max-width: 22em; }
.prose-page h1 { margin-bottom: .6em; }
.photo { margin: 1.2em 0; }
.photo img { border-radius: var(--radius); display: block; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.guide-photo { max-width: 760px; }
.guide-photo img { width: auto; max-width: 100%; max-height: min(75vh, 620px); }
.nf { text-align: left; }
.nf-links { font-size: 1.1rem; }

/* ---------- footer: ground line with pegs */
.site-foot { margin-top: 30px; background: var(--forest-deep); color: #E9E1C9; --paper: var(--forest-deep); }
.ground { height: 22px; background-color: var(--canvas);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M0 0 30 16M96 0 66 16' stroke='%23E8641B' stroke-width='1.6'/%3E%3Cpath d='M27 12h7l-3.5 8zM62 12h7l-3.5 8z' fill='%2312291C'/%3E%3C/svg%3E");
  background-size: 96px 22px; border-bottom: 4px solid var(--forest-deep); }
.foot-in { display: grid; gap: 22px 40px; padding-top: 26px; padding-bottom: 16px; }
@media (min-width: 820px) { .foot-in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.site-foot .foot-name { display: flex; align-items: center; gap: 8px; font: 700 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: #F3ECD9; }
.site-foot p { font-size: .95rem; }
.site-foot a { color: var(--khaki-hi); }
.site-foot a:hover { color: #fff; }
.site-foot :focus-visible { outline-color: var(--khaki-hi); }
.foot-safe { display: flex; gap: 8px; align-items: flex-start; }
.foot-safe svg { flex: none; margin-top: 3px; color: var(--hv); }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-nav li { margin-bottom: 6px; }
.copy { font-size: .9rem; padding-top: 12px; padding-bottom: 22px; border-top: 1px solid rgba(233, 225, 201, .2); color: #D9D0B5; }

/* ---------- cookie choice (5od) */
.cookie-bar[hidden] { display: none !important; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--forest-deep); color: #F3ECD9; border-top: 6px solid var(--hv); box-shadow: 0 -6px 24px rgba(0, 0, 0, .25); padding: 14px 0 16px; max-height: 80vh; overflow-y: auto; }
.cookie-in { display: grid; gap: 12px 32px; align-items: center; }
@media (min-width: 860px) { .cookie-in { grid-template-columns: minmax(0, 1fr) auto; } }
.cookie-h { font: 600 1.4rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: #F3ECD9; margin: 0 0 6px; }
.cookie-txt p { margin: 0 0 6px; font-size: .97rem; }
.cookie-txt a { color: var(--khaki-hi); }
.cookie-now { font-weight: 700; color: var(--khaki-hi); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn { flex: 1 1 12rem; min-height: 48px; padding: 10px 20px; border: 0; border-radius: 4px; background: var(--hv); color: var(--ink); font: 600 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.cookie-btn.alt { background: transparent; color: #F3ECD9; box-shadow: inset 0 0 0 2px #F3ECD9; }
.cookie-btn:hover { background: #F07A36; color: var(--ink); }
.cookie-h:focus { outline: none; }
.cookie-h:focus-visible, .cookie-bar :focus-visible { outline: 3px solid var(--khaki-hi); }
@media (prefers-reduced-motion: no-preference) { .cookie-bar { animation: cookie-up .25s ease-out; } .tile, .tag-card, .btn-amz, .btn-hv, .btn-more, .btn-line { transition: background-color .15s, box-shadow .15s, border-color .15s; } }
@keyframes cookie-up { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- small screens */
@media (max-width: 560px) {
  .brand-name { font-size: 1.7rem; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 2px; }
  .site-nav a { padding: 6px 9px; font-size: .95rem; }
  .facts > div { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 22px; }
}

/* ---------- print */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-nav, .guylines, .ground, .cookie-bar, .hero-art, .tag-acts, .skip, .foot-nav, .jump, .buy-box .btn-amz, .shelf, .eyelet { display: none !important; }
  .site-head, .site-foot { background: none; color: #000; }
  .brand, .brand-mark, .site-foot a, .foot-name { color: #000; }
  .tag-card, .callout, .sources-box, .facts { border-color: #999; background: none; break-inside: avoid; }
  .buy-box { background: none; color: #000; box-shadow: none; border: 1px solid #999; }
  .buy-box .small, .buy-box a:not(.btn-amz) { color: #000; }
  a { color: #000; }
  .prose a[href^="/"]::after { content: " (guyed.co.uk" attr(href) ")"; font-size: .85em; }
}

/* Floating banner (bottom centre). Restyle colours/radius to suit the site; keep the mechanics:
   - visibility (not display) hides it until 5od fills it, so t.js can still measure the width and see it;
   - inner width = up to 728px, so t.js picks 728x90 / 468x60 / 320x50 by the space available;
   - its z-index stays BELOW the cookie bar's (the bar must always cover it when reopened). */
.ad-float[hidden] { display: none !important; }
.ad-float { position: fixed; left: 50%; bottom: 0; z-index: 35; box-sizing: border-box; width: 100%; max-width: 760px;
  padding: 8px 16px 6px; background: var(--paper, #FBF8F0); border-top: 4px solid var(--hv, #E8641B); border-radius: 8px 8px 0 0;
  box-shadow: 0 -8px 28px rgba(18, 41, 28, .28); transform: translate(-50%, 0); visibility: visible; }
.ad-float:not(:has(ins.fiveod[data-fiveod="filled"])) { visibility: hidden; transform: translate(-50%, 110%); box-shadow: none; }
.ad-float-in { width: 100%; }
.ad-float-x { position: absolute; top: -16px; right: 10px; width: 32px; height: 32px; padding: 0; border-radius: 50%;
  border: 2px solid var(--paper, #FBF8F0); background: var(--forest, #1D4631); color: #F3ECD9; font: 700 18px/1 system-ui, sans-serif;
  cursor: pointer; display: grid; place-items: center; }
.ad-float-x:hover { background: var(--hv-ink, #A33D06); }
.ad-float-x:focus-visible { outline: 3px solid var(--focus, #0B57D0); outline-offset: 2px; }
body:has(.ad-float:not([hidden]) ins.fiveod[data-fiveod="filled"]) { padding-bottom: 130px; }
@media (max-width: 759px) { body:has(.ad-float:not([hidden]) ins.fiveod[data-fiveod="filled"]) { padding-bottom: 92px; } }
@media (prefers-reduced-motion: no-preference) { .ad-float { transition: transform .3s ease-out, visibility 0s; } }
@media print { .ad-float { display: none !important; } }
