/* Wolfetone — new site styles */
@font-face {
  font-family: "Celtic Hand";
  src: url(fonts/CelticHand.ttf) format("truetype");
  font-display: swap;
}
/* Open Sans is served from the theme (no Google round trips). The fallback is Arial resized to Open Sans' metrics so text doesn't jump when it swaps in. */
@font-face {
  font-family: "Open Sans";
  src: url(fonts/OpenSans-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  src: url(fonts/OpenSans-latin-ext.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans Fallback";
  src: local("Arial");
  size-adjust: 105.4%;
  ascent-override: 101.5%;
  descent-override: 27.8%;
  line-gap-override: 0%;
}
:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --panel: #141312;
  --panel-2: #1c1a17;
  --line: #2b2823;
  --cream: #fff1b4;
  --cream-2: #e8d98f;
  --text: #e9e4d6;
  --muted: #a49d8b;
  --accent: #c9a24a;
  --danger: #d9694c;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --display: "Celtic Hand", Georgia, serif;
  --body: "Open Sans", "Open Sans Fallback", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--cream); line-height: 1.15; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cream); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.topbar { background: #000; color: var(--muted); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 18px; justify-content: space-between; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: var(--muted); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 5, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); color: var(--cream); font-size: 1.35rem; }
.brand img { width: 74px; height: auto; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--text); padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--panel-2); color: var(--cream); }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--cream); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--cream); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #070707; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); margin: 0; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-header .wrap { position: relative; }
  .topbar .wrap > span:last-child { display: none; }
  .nav a { padding: 12px; font-size: 1.05rem; }
}

/* ---------- hero ---------- */
/* Moonlit forest band behind the logo, as on the live homepage: the wide image shows whole, then fades into black.
   Band height = logo height (520x263 image) + 60px above and below; the 88% position keeps the moon (86% across the image) in view on phones. */
.hero { --band: calc(min(520px, 82vw) * 263 / 520 + 120px); position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; height: var(--band); background: url(img/forest.webp) 88% center/cover no-repeat; z-index: -3; will-change: transform;
	-webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
/* Phones only see the moon end of the band, so they get a 1100px crop of it (x 1460–2560 of the original) instead of the whole image. */
@media (max-width: 700px) { .hero-bg { background-image: url(img/forest-phone.webp); background-position: 42% center; } }
.fog { position: absolute; inset: auto -20% 0 -20%; height: 45%; z-index: -1; background: radial-gradient(ellipse at 30% 80%, rgba(220, 220, 210, .10), transparent 60%), radial-gradient(ellipse at 75% 90%, rgba(220, 220, 210, .08), transparent 55%); animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.hero-inner { padding: 60px 0 56px; }
.hero-logo { width: min(520px, 82vw); margin: 0 auto 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.8)); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 680px; margin: 0 auto 26px; color: var(--text); }
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--cream); color: var(--cream); background: transparent; font: 600 1rem var(--body); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: rgba(255, 241, 180, .14); color: #fff; transform: translateY(-1px); }
.btn.solid { background: var(--cream); color: #111; }
.btn.solid:hover { background: #fff; color: #000; }
.scroll-cue { display: block; margin-top: 36px; color: var(--muted); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 38px; margin: 8px auto 0; background: linear-gradient(var(--cream), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: scaleY(.2); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; } }

/* ---------- sections ---------- */
section { padding: clamp(48px, 8vw, 96px) 0; }
.eyebrow { color: var(--accent); letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; font-weight: 700; margin-bottom: .6em; display: block; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.page-hero { padding: 56px 0 28px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 241, 180, .07), transparent 60%); }
.page-hero p { color: var(--muted); max-width: 720px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cream); }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .25s, border-color .25s; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: saturate(.9) brightness(.8); }
.cat-card:hover img { transform: scale(1.07); filter: none; }
.cat-card:hover { border-color: var(--cream); }
.cat-card .label { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.cat-card .label h3 { margin: 0; font-size: 1.6rem; }
.cat-card .label span { color: var(--muted); font-size: .9rem; }

/* ---------- product grid ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 7px 14px; border-radius: 999px; cursor: pointer; font: 500 .9rem var(--body); transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--cream-2); }
.chip[aria-pressed="true"] { background: var(--cream); color: #111; border-color: var(--cream); }
.field { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 9px 16px; font: 1rem var(--body); }
.field:focus { border-color: var(--cream); outline: none; }
.toolbar .field[type="search"] { flex: 1 1 220px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: #4a4434; box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 4 / 3; background: #0b0b0b; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 1.3rem; margin: 0; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; color: var(--muted); font-size: .9rem; }
.price { color: var(--cream); font-weight: 700; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(0,0,0,.75); color: var(--cream); border: 1px solid #4a4434; border-radius: 999px; font-size: .75rem; padding: 3px 10px; }
.compare-toggle { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.compare-toggle input { accent-color: var(--cream); }
.stars { color: var(--cream); letter-spacing: 1px; font-size: .9rem; white-space: nowrap; }
.stars .off { color: #4a4434; }
.empty { color: var(--muted); padding: 30px 0; }

/* compare tray */
.tray { position: fixed; left: 50%; bottom: 18px; translate: -50% 140%; z-index: 60; background: #0f0e0c; border: 1px solid var(--cream); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); transition: translate .3s; max-width: calc(100% - 24px); }
.tray.show { translate: -50% 0; }
.tray span { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: #0b0b0b; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--cream); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 90px; }
.buy .price { font-size: 1.6rem; }
.buy .intro { color: var(--text); }
.opt { margin: 16px 0; }
.opt h3 { font: 700 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.config { background: var(--panel); border: 1px dashed #4a4434; border-radius: 12px; padding: 12px 14px; margin: 18px 0; font-size: .95rem; }
.config strong { color: var(--cream); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: .9rem; list-style: none; padding: 0; }
.trust li::before { content: "✦ "; color: var(--accent); }
.prose { max-width: 760px; }
.prose p { color: var(--text); }
.prose h2, .prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.specs { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 34%; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 14px; font: 600 1rem var(--body); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--cream); border-color: var(--cream); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.video { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000 center/cover no-repeat; cursor: pointer; border: 0; width: 100%; padding: 0; display: block; }
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); transition: opacity .3s; }
.yt:hover::before { opacity: .4; }
.yt .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid var(--cream); display: grid; place-items: center; transition: transform .25s, background .25s; }
.yt:hover .play { transform: scale(1.1); background: rgba(255,241,180,.2); }
.yt .play::after { content: ""; border-left: 20px solid var(--cream); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { padding: 12px 14px 14px; font-size: .92rem; color: var(--text); }
.video figcaption b { display: block; color: var(--cream); font-weight: 600; margin-bottom: 2px; }
.video figcaption a { font-size: .85rem; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; }
.review p { font-size: .95rem; }
.review footer { color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 8px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 16px; width: max-content; animation: scroll 80s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .review { width: 340px; flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }
.rating-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rating-summary .big { font-family: var(--display); font-size: 2.4rem; color: var(--cream); }

/* ---------- misc blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
.callout { background: linear-gradient(135deg, #1d1a12, #0e0d0a); border: 1px solid #4a4434; border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.callout code { background: #000; color: var(--cream); padding: 3px 10px; border-radius: 6px; font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; text-align: center; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stats b { display: block; font-family: var(--display); font-size: 2rem; color: var(--cream); }
.stats span { color: var(--muted); font-size: .9rem; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { vertical-align: bottom; }
.compare-table img { border-radius: 10px; margin-bottom: 8px; }
.scroll-x { overflow-x: auto; }

/* ---------- modal / search ---------- */
dialog { border: 1px solid var(--line); background: #0b0b0a; color: var(--text); border-radius: 18px; padding: 0; width: min(920px, 94vw); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(4px); }
.dlg-head { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.dlg-head input { flex: 1; border: 0; background: transparent; color: var(--text); font: 1.1rem var(--body); padding: 8px; outline: none; }
.results { max-height: 60vh; overflow: auto; padding: 8px; }
.results a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--text); }
.results a:hover, .results a.active { background: var(--panel-2); }
.results img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.results small { color: var(--muted); display: block; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox .yt { aspect-ratio: 16 / 9; }

/* ---------- footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--line); padding: 48px 0 24px; color: var(--muted); font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #b9b19c; }
.site-footer a:hover { color: var(--cream); }
.legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.config-note { color: var(--muted); font-size: .9rem; margin: 10px 0 0; min-height: 1.2em; }
/* Compare: equal columns, every photo in the same 4:3 frame (whole photo shown) */
.compare-table { table-layout: fixed; }
.compare-table thead th:first-child, .compare-table tbody th { width: 130px; }
.compare-table thead img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #0b0b0b; border: 1px solid var(--line); }
