/* Hunting Trip — product page. Deliberately dark: dawn fog over a pine woods.
   Layout: low-res animated woods hero with a blaze-orange trip permit, field notes grid,
   ranger-radio event roller, fog-of-war map, wishlist card. */
:root {
  --night: #121A15;
  --pine: #1E2C24;
  --pine-2: #2A3B31;
  --moss: #5E7465;
  --fog: #C5CEC2;
  --bone: #EFE9DA;
  --paper: #E7E0CB;
  --blaze: #FF6B1A;
  --blaze-deep: #B8470C;
  --stamp: #C0342B;
  --text: #E6E9E1;
  --text-dim: #A4B0A6;

  --display: "Saira Stencil One", Impact, "Arial Black", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hud: "VT323", ui-monospace, "Courier New", monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.woods {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blaze); }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.ht-eyebrow {
  font-family: var(--hud);
  font-size: 1.25rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blaze);
}

/* ---------- Bar ---------- */
.ht-bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(18, 26, 21, .85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--pine-2);
}
.ht-home { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-dim); font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.ht-home:hover { color: var(--text); }
.ht-nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); flex-wrap: wrap; justify-content: flex-end; }
.ht-nav a { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--text); }
.ht-nav a:hover { color: var(--blaze); }
.ht-nav .ht-nav-cta { color: var(--night); background: var(--blaze); padding: 5px 12px; border-radius: 3px; }
.ht-nav .ht-nav-cta:hover { color: var(--night); background: var(--bone); }
@media (max-width: 600px) { .ht-nav a:not(.ht-nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.ht-hero { position: relative; overflow: hidden; border-bottom: 4px solid var(--blaze); }
.woods-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  image-rendering: pixelated; image-rendering: crisp-edges;
  display: block;
}
.ht-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 26, 21, .78) 0%, rgba(18, 26, 21, .35) 55%, rgba(18, 26, 21, .05) 100%);
}
.ht-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin-inline: auto;
  padding: clamp(48px, 8vw, 104px) var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: 1.3fr minmax(0, 360px); gap: clamp(28px, 5vw, 64px); align-items: center;
}
.ht-hero-copy { display: grid; gap: 20px; min-width: 0; }
.ht-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 11vw, 8.4rem);
  line-height: .86;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 4px 0 rgba(0, 0, 0, .45);
}
.ht-lede { font-size: 1.2rem; max-width: 30em; color: var(--text); }
.ht-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.ht-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; padding: 12px 20px; border-radius: 3px; border: 2px solid var(--blaze);
  cursor: pointer; transition: transform .12s, background .12s, color .12s;
}
.ht-btn-blaze { background: var(--blaze); color: var(--night); box-shadow: 0 4px 0 var(--blaze-deep); }
.ht-btn-blaze:hover { transform: translateY(-2px); }
.ht-btn-blaze:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blaze-deep); }
.ht-btn-line { background: rgba(18, 26, 21, .5); color: var(--bone); border-color: var(--bone); }
.ht-btn-line:hover { background: var(--bone); color: var(--night); }
.ht-btn.is-soon { cursor: default; }
.ht-btn.is-soon:hover { transform: none; }

/* Permit tag */
.permit {
  display: grid;
  background: var(--blaze);
  color: var(--night);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transform: rotate(2.5deg);
  max-width: 100%;
  font-family: var(--cond);
}
.permit-main { padding: 18px 20px 14px; display: grid; gap: 12px; }
.permit-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--night); padding-bottom: 8px; gap: 10px; }
.permit-head span:first-child { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.permit-no { font-family: var(--hud); font-size: 1.3rem; }
.permit-rows { margin: 0; display: grid; gap: 6px; }
.permit-rows div { display: grid; grid-template-columns: 6.8em 1fr; gap: 10px; align-items: baseline; }
.permit-rows dt { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.permit-rows dd { margin: 0; font-family: var(--hud); font-size: 1.3rem; line-height: 1.1; border-bottom: 1px dotted rgba(18, 26, 21, .5); }
.stamp {
  display: inline-block; color: var(--stamp); border: 3px solid var(--stamp);
  font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; padding: 0 8px;
  transform: rotate(-7deg); background: rgba(255, 255, 255, .12);
}
.permit-stub {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-top: 2px dashed var(--night);
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
}
.punch { width: 16px; height: 16px; border-radius: 50%; background: var(--night); flex: none; }

/* ---------- Sections ---------- */
.ht-section { max-width: var(--max); margin-inline: auto; padding: clamp(48px, 7vw, 88px) var(--gutter) 0; display: grid; gap: 28px; }
.ht-head { display: grid; gap: 8px; }
.ht-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; line-height: .95; color: var(--bone); }
.ht-sub { color: var(--text-dim); max-width: 40em; font-size: 1.1rem; }

/* Field notes */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.note.note-blaze { border-top-color: var(--blaze); background: linear-gradient(rgba(255, 107, 26, .12) 1px, transparent 1px) 0 0 / 100% 26px, #2B2A1F; }
.note {
  display: grid; gap: 10px; align-content: start;
  padding: 22px 20px 24px;
  background:
    linear-gradient(rgba(94, 116, 101, .18) 1px, transparent 1px) 0 0 / 100% 26px,
    var(--pine);
  border: 1px solid var(--pine-2);
  border-top: 4px solid var(--moss);
  border-radius: 4px;
  transition: transform .15s, border-color .15s;
}
.note:hover { transform: translateY(-4px); border-top-color: var(--blaze); }
.note-tag { font-family: var(--hud); font-size: 1.1rem; text-transform: uppercase; color: var(--fog); letter-spacing: .06em; }
.note h3 { font-family: var(--cond); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; color: var(--bone); }
.note p { color: var(--text-dim); }

/* Event radio */
.radio {
  display: grid; gap: 16px;
  background: linear-gradient(#38463D, #26332B);
  border: 2px solid #46574B;
  border-radius: 14px;
  padding: 18px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), 0 14px 30px rgba(0, 0, 0, .35);
  max-width: 820px;
}
.radio-top { display: flex; align-items: center; gap: 10px; font-family: var(--hud); font-size: 1.2rem; color: var(--fog); text-transform: uppercase; letter-spacing: .06em; }
.radio-led { width: 10px; height: 10px; border-radius: 50%; background: var(--blaze); box-shadow: 0 0 8px var(--blaze); animation: led 1.4s steps(2) infinite; }
@keyframes led { 50% { opacity: .3; } }
.radio-screen {
  font-family: var(--hud);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.12;
  color: #FFB27A;
  background: #0E140F;
  border-radius: 8px;
  padding: 20px 22px;
  min-height: 7.5em;
  display: grid; gap: 4px; align-content: center;
  text-shadow: 0 0 10px rgba(255, 107, 26, .45);
  box-shadow: inset 0 0 0 2px #050805, inset 0 0 30px rgba(0, 0, 0, .8);
}
.radio-screen p { margin: 0; }
.screen-label { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: #7E8C80; text-shadow: none; }
.screen-minor { font-size: .72em; color: #D9C9A8; margin-bottom: 0; }
.screen-major { margin-bottom: 10px !important; }
.radio-screen.scramble p { color: #6F7D72; text-shadow: none; }
.radio-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.weird { display: flex; align-items: center; gap: 12px; }
.weird-label { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--fog); }
.weird-meter { display: flex; gap: 5px; }
.weird-meter i { width: 18px; height: 18px; border-radius: 3px; background: #0E140F; border: 1px solid #46574B; }
.weird-meter i.on { background: var(--blaze); border-color: var(--blaze); }

/* Map */
.map-frame {
  position: relative;
  border: 3px solid var(--paper);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.map-canvas { display: block; width: 100%; aspect-ratio: 16 / 9; cursor: crosshair; }
.map-hint {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--hud); font-size: 1.15rem; text-transform: uppercase;
  background: rgba(18, 26, 21, .8); color: var(--bone); padding: 4px 10px; border-radius: 3px;
  pointer-events: none;
}

/* Story */
.story { gap: 18px; max-width: 900px; margin-inline: auto; }
.story-lead { font-family: var(--cond); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; color: var(--bone); text-wrap: pretty; }
.story-lead strong { color: var(--blaze); font-weight: 800; }
.story-body { color: var(--text-dim); font-size: 1.12rem; max-width: 46em; }

/* Countdown */
.countdown {
  display: grid; justify-items: center; gap: 2px;
  padding: 16px 18px; min-width: 7.5em;
  background: var(--blaze); color: var(--night); border-radius: 6px;
  transform: rotate(-3deg);
}
.count-num { font-family: var(--display); font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.count-unit { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }

/* Wishlist */
.wishlist { padding-bottom: clamp(56px, 8vw, 96px); }
.wish-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 36px);
  padding: clamp(22px, 4vw, 40px);
  background: var(--pine);
  border: 2px solid var(--blaze);
  border-radius: 8px;
}
.wish-copy { display: grid; gap: 8px; min-width: 0; }
.wish-copy h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; color: var(--bone); line-height: 1; }
.wish-copy p { color: var(--text-dim); max-width: 36em; }
.wish-actions { display: grid; gap: 10px; }

/* Footer */
.ht-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; text-align: center;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--pine-2);
  color: var(--text-dim); font-size: .85rem;
}
.ht-footer img { width: 110px; filter: brightness(1.1); background: var(--bone); border-radius: 8px; padding: 8px; }

@media (prefers-reduced-motion: reduce) {
  .radio-led { animation: none; }
  .note:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wish-card { grid-template-columns: auto 1fr; }
  .wish-actions { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 820px) {
  .ht-hero-inner { grid-template-columns: 1fr; }
  .permit { max-width: 380px; transform: rotate(1.5deg); }
  .wish-card { grid-template-columns: 1fr; justify-items: start; }
  .wish-actions { width: 100%; }
}
@media (max-width: 540px) {
  .notes { grid-template-columns: 1fr; }
  .map-canvas { aspect-ratio: 4 / 3; }
}
