/* =============================================================
   906eh — SITE STYLES  ·  "Field Gear" design
   Camo-inspired earth tones + real blaze orange, clean cards,
   gear-tag details, a little handwriting for personality.

   HOW IT'S ORGANIZED
   1. Variables (colors, fonts, sizes) — change the look here first
   2. Base + type
   3. Building blocks: cards, bands, buttons, tags, image slots
   4. Nav, header image, footer
   5. Homepage sections
   6. Sub-pages
   7. Weather page
   8. Responsive (tablet / phone)

   BLAZE ORANGE RULE: blaze is bright, so it's used as a FILL
   (buttons, tags, stripes, underlines) with charcoal text on top
   — never as small text on a light background (hard to read).
   ============================================================= */


/* =============================================================
   1. VARIABLES — edit these first
   ============================================================= */
:root {
  /* --- Palette --------------------------------------------- */
  --canvas:      #e3dbc8;  /* page background (warm khaki-stone) */
  --card:        #fbf8f0;  /* cards / panels */
  --khaki:       #cdbf9b;  /* tan bands */
  --khaki-light: #efe9db;  /* soft alternate panels */
  --line:        #d2c6aa;  /* borders and dividers */
  --coyote:      #8a6a45;  /* brown accent, handwriting */
  --olive:       #545b32;  /* olive drab accent */
  --ranger:      #2f3427;  /* dark green bands */
  --charcoal:    #232420;  /* text, footer */
  --ink-soft:    #5e5f57;  /* secondary text */
  --blaze:       #ff6a13;  /* blaze orange — fills only */
  --blaze-dark:  #ff8a3d;  /* blaze hover (lighter, so dark text stays readable) */
  --cream:       #f4f1e8;  /* text on dark backgrounds */
  --khaki-on-dark: #c9bf9f; /* muted text on dark backgrounds */
  --alert-text:  #9a3a0a;  /* error / warning text on light */

  /* Placeholder boxes */
  --ph-fill:     #e2d9c3;
  --ph-border:   #a99d7f;
  --ph-text:     #5b5544;

  /* --- Type ------------------------------------------------ */
  --font-body:    "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-heading: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-hand:    "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --wide:         115%;   /* Archivo width for big headings */
  --narrow:       78%;    /* Archivo width for nav, buttons, labels */
  --text-base:    1.0625rem;
  --text-small:   0.9rem;
  --text-hand:    1.45rem;
  --title-size:   clamp(1.9rem, 3.6vw, 2.7rem);
  --title-big:    clamp(2.6rem, 6vw, 4.4rem);
  --line-height:  1.6;

  /* --- Layout ---------------------------------------------- */
  --page-max-width: 1180px;
  --hero-max-width: 1366px;
  --page-gutter:    clamp(1rem, 4vw, 2.25rem);

  --space-xs:  0.5rem;
  --space-s:   1rem;
  --space-m:   1.75rem;
  --space-l:   2.75rem;
  --space-xl:  4.5rem;
  --space-xxl: 7rem;

  /* --- Shapes & depth -------------------------------------- */
  --radius:       10px;   /* cards */
  --radius-small: 6px;    /* buttons, images, tags */
  --card-shadow:  rgba(35, 36, 32, 0.16);
  --tilt: 0;              /* kept for Edit Mode; the design doesn't tilt */

  /* --- Nav & logo ------------------------------------------ */
  --nav-bg:      var(--card);
  --nav-text:    var(--charcoal);
  --nav-height:  72px;
  --logo-height: 54px;
  --button-height: 48px;

  /* Header image: hides only the empty transparent space above/below
     the artwork (the file itself is untouched). 0 = full canvas. */
  --hero-trim-top:    -0.0154;
  --hero-trim-bottom: -0.2218;

  /* Card / band shapes. Edit Mode can switch between these. */
  --shape-square: none;
  --shape-notch:  polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  --shape-angle:  polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
  --shape-tag:    polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);

  /* Textures are switched off in this design (kept for Edit Mode) */
  --texture-grain: none;
  --texture-blotch: none;
}


/* =============================================================
   2. BASE + TYPE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p, figure { margin: 0; }
.home { overflow-x: clip; }

:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Section titles: wide, heavy, uppercase, with a blaze bar underneath */
.title {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  padding-bottom: 0.32em;
  font-family: var(--font-heading);
  font-stretch: var(--wide);
  font-weight: 850;
  font-size: var(--title-size);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.title::after {                      /* the blaze bar */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.2em;
  max-width: 100%;
  height: 0.14em;
  min-height: 4px;
  background: var(--title-line, var(--blaze));
  border-radius: 2px;
}
.title--light { color: var(--cream); }
.title--small { font-size: calc(var(--title-size) * 0.72); }
.title--big   { font-size: var(--title-big); }

/* Handwritten notes — the bit of personality we kept */
.scribble {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: var(--text-hand);
  line-height: 1.1;
  color: var(--coyote);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.scribble--light { color: var(--khaki-on-dark); }
.spread .scribble { color: #6b5031; }   /* darker brown on the khaki band */

/* Small mono info line (dates, sources) */
.meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.small { font-size: var(--text-small); color: var(--ink-soft); }


/* =============================================================
   3. BUILDING BLOCKS
   ============================================================= */

/* --- Card (.paper) ------------------------------------------
   The background lives on ::before and the soft shadow on ::after,
   so Edit Mode can change either one on its own.            */
.paper {
  --paper-color: var(--card);
  --paper-edge:  var(--shape-square);
  --paper-border: var(--line);
  position: relative;
  isolation: isolate;
}
.paper::before,
.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  clip-path: var(--paper-edge);
  pointer-events: none;
}
.paper::before {                     /* the card */
  background: var(--paper-color);
  box-shadow: inset 0 0 0 1px var(--paper-border);
  z-index: -1;
}
.paper::after {                      /* soft shadow */
  background: var(--paper-shadow, var(--card-shadow));
  transform: translateY(6px);
  filter: blur(12px);
  z-index: -2;
}
.paper--alt  { --paper-color: var(--khaki-light); --paper-border: transparent; }
.paper--note { --paper-color: var(--card); }
.paper--rust {                       /* dark ranger-green card */
  --paper-color: var(--ranger);
  --paper-border: transparent;
  color: var(--cream);
}
.paper--rust .title,
.paper--rust .fish__title { color: var(--cream); }
.paper--rust a:not(.btn) { color: var(--cream); }
.paper--blaze {                      /* blaze orange card (weather alerts) */
  --paper-color: var(--blaze);
  --paper-border: transparent;
  color: var(--charcoal);
}

/* --- Full-width band (.band) -------------------------------
   ::before = the band color, ::after = an accent stripe.     */
.band {
  --band-color: var(--khaki);
  position: relative;
  isolation: isolate;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--band-color);
  z-index: -1;
}

/* Color variants. Add "band--bleed" to a centered section to stretch its
   color edge to edge without changing its content width. */
.band--olive  { --band-color: var(--olive);  color: var(--cream); }
.band--ranger { --band-color: var(--ranger); color: var(--cream); }
.band--khaki  { --band-color: var(--khaki); }
.band--bleed::before { left: calc(50% - 50vw); right: calc(50% - 50vw); }
.band--olive .title, .band--ranger .title { color: var(--cream); }
.band--olive .section__head .scribble, .band--olive > .scribble,
.band--ranger .section__head .scribble, .band--ranger > .scribble { color: var(--khaki-on-dark); }
.band--olive .paper, .band--ranger .paper { color: var(--charcoal); }
.band--olive .paper--rust, .band--ranger .paper--rust { color: var(--cream); }
.section.band {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.section.band + .section.band { margin-top: 0; }
.section.band--khaki .scribble { color: #6b5031; }

/* --- Offset block behind an image ---------------------------- */
.offset { position: relative; isolation: isolate; }
.offset::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--offset-color, var(--olive));
  border-radius: var(--radius-small);
  transform: translate(12px, 12px);
  z-index: -1;
}
.offset--pine { --offset-color: var(--ranger); }
.sheet > .offset, .card > .offset { margin: 0 12px 12px 0; }   /* room for the block */

/* Tape from the old design — switched off */
.tape::after { content: none; }

/* --- Framed photo -------------------------------------------- */
.polaroid {
  background: var(--frame-color, var(--card));
  padding: 10px 10px 12px;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px var(--card-shadow);
}
.polaroid .slot { border-radius: var(--radius-small); }
.polaroid figcaption { margin-top: 0.6rem; padding: 0 0.25rem; }

/* --- Hang tag ------------------------------------------------
   Small notched label, like the tag on new gear.             */
.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem 0.32rem 1.25rem;
  background: var(--tag-color, var(--blaze));
  color: var(--tag-text, var(--charcoal));
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  clip-path: var(--shape-tag);
  border-radius: 0 4px 4px 0;
}
.tag::before {                        /* the punched hole */
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--canvas);
}
.tag--olive { --tag-color: var(--olive); --tag-text: var(--cream); }
.tag--dark  { --tag-color: var(--charcoal); --tag-text: var(--cream); }

/* --- Image slots + placeholders -------------------------------
   The slot sets the shape; anything inside fills it.        */
.slot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--ph-fill);
}
.slot--16x9 { aspect-ratio: 16 / 9; }
.slot--4x3  { aspect-ratio: 4 / 3; }
.slot--1x1  { aspect-ratio: 1 / 1; }
.slot > img,
.slot > picture,
.slot > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;   /* nudge the crop, e.g. "center 30%" */
}
.slot--contain > img { object-fit: contain; }

.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem;
  text-align: center;
  background: var(--ph-fill);
  border: 2px dashed var(--ph-border);
  border-radius: inherit;
  color: var(--ph-text);
  font-family: var(--font-mono);
  line-height: 1.3;
}
.ph__name  { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ph__size  { font-size: 0.82rem; }
.ph__ratio { font-size: 0.74rem; opacity: 0.8; }
.ph--tiny { gap: 0; padding: 0.25rem; border-width: 1.5px; }
.ph--tiny .ph__name  { font-size: 0.6rem; }
.ph--tiny .ph__size  { font-size: 0.68rem; font-weight: 600; }
.ph--tiny .ph__ratio { font-size: 0.6rem; }

/* Play button on video thumbnails (shows once a real image is in) */
.is-video { position: relative; }
.is-video .slot:has(img)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6.5v11l9-5.5z' fill='%23232420'/></svg>") center / 30px no-repeat,
    var(--blaze);
  box-shadow: 0 6px 18px rgba(35, 36, 32, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* --- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  min-height: var(--button-height);
  padding: 0 1.4rem;
  background: var(--blaze);
  color: var(--charcoal);
  border: 2px solid var(--blaze);
  border-radius: var(--radius-small);
  font-family: var(--font-heading);
  font-stretch: var(--narrow);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn::after {                         /* little arrow */
  content: "→";
  font-family: var(--font-body);
  font-stretch: 100%;
  transition: transform 0.15s ease;
}
.btn:hover { background: var(--blaze-dark); border-color: var(--blaze-dark); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--pine { background: var(--ranger); border-color: var(--ranger); color: var(--cream); }
.btn--pine:hover { background: var(--charcoal); border-color: var(--charcoal); }

.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row .btn { flex: 1 1 8rem; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
}


/* =============================================================
   4. NAV, HEADER IMAGE, FOOTER
   ============================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  color: var(--nav-text);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-nav__brand {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  padding: 6px 0;
}
.site-nav__brand::before,
.site-nav__brand::after { content: none; }
.site-nav__logo {
  height: var(--logo-height);
  width: auto;
  max-width: none;
}

.site-nav__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.site-nav__menu a {
  position: relative;
  display: block;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-heading);
  font-stretch: var(--narrow);
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-small);
}
.site-nav__menu a::after {           /* blaze bar under the active / hovered link */
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--blaze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav__menu a:hover::after,
.site-nav__menu a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__menu a:hover { background: var(--khaki-light); }
@media (prefers-reduced-motion: reduce) { .site-nav__menu a::after { transition: none; } }

.site-nav__toggle {
  display: none;
  width: var(--button-height);
  height: var(--button-height);
  background: none;
  border: 0;
  border-radius: var(--radius-small);
  color: inherit;
  cursor: pointer;
  position: relative;
}
.site-nav__toggle:hover { background: var(--khaki-light); }
.site-nav__toggle-bars,
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2.5px;
  margin-left: -12px;
  border-radius: 2px;
  background: currentColor;
}
.site-nav__toggle-bars { top: 50%; margin-top: -1px; }
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after { content: ""; }
.site-nav__toggle-bars::before { top: -7px; }
.site-nav__toggle-bars::after  { top: 7px; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::before { top: 0; transform: rotate(45deg); background: currentColor; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::after  { top: 0; transform: rotate(-45deg); background: currentColor; }

/* --- Header image band ----------------------------------------
   Eddie's banner sits on a ranger-green band like a cutout.
   The image is shown complete — never cropped.               */
.hero {
  --hero-w: min(100vw, var(--hero-max-width));
  position: relative;
  background: var(--ranger);
  overflow: hidden;
  border-bottom: 6px solid var(--blaze);
}
.hero__inner {
  max-width: var(--hero-max-width);
  margin: 0 auto;
}
.hero__img {
  width: 100%;
  height: auto;
  margin-top: calc(var(--hero-w) * var(--hero-trim-top) + var(--space-xs));
  margin-bottom: calc(var(--hero-w) * var(--hero-trim-bottom) + var(--space-s));
}

/* --- Footer ---------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  color: var(--cream);
  margin-top: var(--space-xl);
  border-top: 6px solid var(--blaze);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--footer-color, var(--charcoal));
  z-index: -1;
}
.site-footer__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--space-l) var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  grid-template-areas:
    "logo  links"
    "note  social"
    "small small";
  gap: var(--space-s) var(--space-l);
  align-items: start;
}
.site-footer__logo { grid-area: logo; height: 64px; width: auto; }
.site-footer__note { grid-area: note; }
.site-footer nav  { grid-area: links; }
.footer-links--social { grid-area: social; }
.site-footer__small {
  grid-area: small;
  padding-top: var(--space-s);
  border-top: 1px solid rgba(244, 241, 232, 0.15);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--khaki-on-dark);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.4rem;
}
.footer-links a {
  display: inline-block;
  padding: 0.45rem 0;
  font-family: var(--font-heading);
  font-stretch: var(--narrow);
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.footer-links--social a { color: var(--khaki-on-dark); }


/* =============================================================
   5. HOMEPAGE
   ============================================================= */

/* --- Latest Video + Browse ----------------------------------- */
.intro { padding: var(--space-xl) var(--page-gutter) 0; }
.intro__inner > .browse.band:last-child { margin-bottom: 0; }
.intro::before,
.intro::after { content: none; }
.intro__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
}

.latest {
  padding: var(--space-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.latest__note { order: -1; }
.latest__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: center;
  margin-top: var(--space-xs);
}
.latest__thumb .tag { position: absolute; top: 14px; left: -6px; z-index: 3; }
.latest__body { display: flex; flex-direction: column; gap: 0.75rem; }
.latest__title {
  font-family: var(--font-heading);
  font-stretch: 100%;
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.1;
}
.latest__body .btn { margin-top: 0.4rem; }

.browse { display: flex; flex-direction: column; gap: var(--space-xs); }
.browse.band { padding: var(--space-xl) 0; }
.browse__note { order: -1; }
.scraps {
  list-style: none;
  margin: var(--space-s) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));   /* three tiles, kept tile-sized */
  gap: var(--space-m);
}
.scrap {                              /* category tile */
  position: relative;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.75rem 0.75rem 1rem;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.scrap::before,
.scrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
}
.scrap::before {
  background: var(--scrap-color, var(--card));
  box-shadow: inset 0 0 0 1px var(--line);
  z-index: -1;
  transition: box-shadow 0.18s ease;
}
.scrap::after {
  background: var(--scrap-shadow, var(--card-shadow));
  transform: translateY(6px);
  filter: blur(12px);
  z-index: -2;
}
.scrap:hover { transform: translateY(-3px); }
.band--olive .scrap::before { box-shadow: none; }
.band--olive .scrap::after { background: rgba(0, 0, 0, 0.28); }
.scrap:hover::before { box-shadow: inset 0 0 0 3px var(--blaze); }
.scrap__img { width: 100%; }
.scrap__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.25rem;
  font-family: var(--font-heading);
  font-stretch: var(--narrow);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.scrap__label::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--khaki-light);
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 1rem;
  transition: background-color 0.18s ease;
}
.scrap:hover .scrap__label::after { background: var(--blaze); }
@media (prefers-reduced-motion: reduce) { .scrap, .scrap::before, .scrap__label::after { transition: none; } }

/* --- Merch + Follow Along (khaki band) ---------------------- */
.spread {
  --band-color: var(--khaki);
  margin-top: 0;
  padding: var(--space-xl) var(--page-gutter);
}
.spread::after { content: none; }
.spread__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: stretch;
}
.merch {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: center;
}
.merch__product { position: relative; }
.merch__product .tag { position: absolute; top: 14px; left: -6px; z-index: 3; }

/* --- Merch slideshow (home page) ------------------------------
   Slides stack in one spot and fade. Only slides with an image
   are shown; the dots and arrows are added by js/main.js.       */
.merch-show { --slide-seconds: 5s; }
.merch-show__track { display: grid; }
.merch-show__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.merch-show__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s;
  z-index: 1;
}
.merch-show__ui {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--charcoal) 78%, transparent);
}
.merch-show__ui[hidden] { display: none; }
.merch-show__arrow,
.merch-show__dot {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--cream);
  background: transparent;
  font: inherit;
}
.merch-show__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}
.merch-show__arrow:hover { background: var(--blaze); color: var(--charcoal); }
.merch-show__dot {
  width: 10px;
  height: 10px;
  margin: 0 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cream) 45%, transparent);
}
.merch-show__dot[aria-current="true"] { background: var(--blaze); }
.merch-show__arrow:focus-visible,
.merch-show__dot:focus-visible { outline: 2px solid var(--blaze); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .merch-show__slide, .merch-show__slide.is-active { transition: none; }
}
.merch__body { display: flex; flex-direction: column; gap: var(--space-s); }
.merch__body p:not(.scribble) { max-width: 34ch; }
.merch__body .scribble { order: -1; }

.follow {
  padding: var(--space-l) var(--space-m);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-s);
}

/* --- About ---------------------------------------------------- */
.about {
  max-width: var(--page-max-width);
  margin: var(--space-xl) auto 0;
  padding: 0 var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: center;
}
.about__body {
  padding: var(--space-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.about__body p { max-width: 62ch; }


/* =============================================================
   6. SUB-PAGES  (Videos, Weather, U.P. Life, Merch, About, Contact)
   ============================================================= */
.sub { padding-bottom: 0; }

/* Page heading: ranger band with a blaze stripe along the bottom */
.page-head {
  --band-color: var(--ranger);
  color: var(--cream);
  padding: var(--space-xl) var(--page-gutter);
  border-bottom: 6px solid var(--blaze);
}
.page-head::after { content: none; }
.page-head__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.page-head .title { font-size: var(--title-big); }
.page-head p:not(.scribble) { max-width: 60ch; color: var(--cream); }

.section {
  max-width: var(--page-max-width);
  margin: var(--space-xl) auto 0;
  padding: 0 var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}
.section__head { display: flex; flex-direction: column; gap: var(--space-xs); }
.section__head .scribble { order: -1; }

/* Feature: big card with image + text */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: center;
  padding: var(--space-l);
}
.feature__body { display: flex; flex-direction: column; gap: 0.75rem; }
.feature__body .btn { margin-top: 0.4rem; }
.feature__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.1;
}

/* Videos page: recent/popular toggle + platform watch-links */
.video-sort-toggle { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.video-sort-toggle .btn { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.video-sort-toggle .btn:not(.is-active) { background: transparent; color: var(--ranger); border-color: var(--ranger); }
.video-sort-toggle .btn:not(.is-active):hover { background: var(--ranger); color: var(--cream); }
.video-platform-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* 2 on tablets, 1 on phones */
  gap: var(--space-m);
}
.card {
  padding: 0.75rem 0.75rem var(--space-m);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card > :not(figure) { margin-left: 0.5rem; margin-right: 0.5rem; }
.card figure { margin-bottom: 0.35rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.15;
}
.card__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  color: var(--olive);
}
.price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--olive);
}

/* Two-column splits */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: start;
}
.split--even  { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--photo { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); align-items: center; }

/* Text panels and notes */
.sheet {
  padding: var(--space-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.sheet p { max-width: 65ch; }
.sheet .btn { margin-top: 0.4rem; }
.note {
  padding: var(--space-l) var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.note--wide { max-width: 680px; }

/* Contact form */
.form { display: flex; flex-direction: column; gap: var(--space-s); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--button-height);
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--charcoal);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ph-border); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--blaze); outline-offset: 1px; border-color: var(--charcoal); }
.form .btn { align-self: flex-start; }
.form__status { font-size: var(--text-small); color: var(--alert-text); min-height: 1.2em; }


/* =============================================================
   7. WEATHER PAGE — compact dashboard (weather.html, js/weather.js)
   A wider page with tight panels: right now + radar on top, then
   hourly and 7 days, a fishing dashboard, and Eddie's update.
   ============================================================= */
.wx { --wx-max: 1320px; --wx-gap: 14px; --wx-pad: 1.1rem 1.25rem; }

/* Slim header bar (replaces the big heading band on this page) */
.wx-top { padding: 1.1rem var(--page-gutter); border-bottom: 5px solid var(--blaze); color: var(--cream); }
.wx-top__inner {
  max-width: var(--wx-max);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}
.wx-top .scribble { font-size: 1.2rem; }
.wx-top__h1 {
  font-family: var(--font-heading);
  font-stretch: var(--wide);
  font-weight: 850;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.wx-top__h1 span {
  margin-left: 0.4rem;
  font-family: var(--font-mono);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--khaki-on-dark);
  white-space: nowrap;
}
.wx-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--khaki-on-dark);
}
.wx-updated::before {                /* live dot */
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--blaze);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.25);
}

/* Dashboard grid */
.wx-dash {
  max-width: var(--wx-max);
  margin: 0 auto;
  padding: var(--wx-gap) var(--page-gutter) 0;
  display: flex;
  flex-direction: column;
  gap: var(--wx-gap);
}
.wx-top-row    { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--wx-gap); align-items: stretch; }
.wx-bottom-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wx-gap); align-items: stretch; }

/* Panels */
.wx-panel { padding: var(--wx-pad); display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.wx-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; }
.wx-panel__title,
.wx-tile__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-stretch: var(--narrow);
  font-weight: 850;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.wx-panel__title::before {           /* small blaze marker */
  content: "";
  width: 4px;
  height: 1em;
  border-radius: 2px;
  background: var(--blaze);
}
.wx-panel .scribble { font-size: 1.2rem; }
.wx-link {
  font-family: var(--font-heading);
  font-stretch: var(--narrow);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--blaze);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.wx-link::after { content: " →"; white-space: pre; }
.wx-loading { color: var(--ink-soft); font-style: italic; }
.wx-error   { color: var(--alert-text); font-size: var(--text-small); }
.wx-error a { color: inherit; }
.wx-icon { width: 30px; height: 30px; flex: none; color: var(--olive); }
.wx-icon--big { width: 84px; height: 84px; }

/* Alert bar */
.wx-alerts__list { display: flex; flex-direction: column; gap: 8px; }
.wx-alert { background: var(--blaze); color: var(--charcoal); border-radius: var(--radius); }
.wx-alert__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  padding: 0.7rem 1.1rem;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
}
.wx-alert__bar::-webkit-details-marker { display: none; }
.wx-alert__kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: var(--charcoal);
  color: var(--cream);
}
.wx-alert__title { font-family: var(--font-heading); font-stretch: var(--narrow); font-weight: 850; font-size: 1.2rem; letter-spacing: 0.03em; text-transform: uppercase; }
.wx-alert__until { font-weight: 600; font-size: 0.92rem; }
.wx-alert__more { margin-left: auto; font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.wx-alert__more::after { content: " ▾"; }
.wx-alert[open] .wx-alert__more::after { content: " ▴"; }
.wx-alert__body { padding: 0 1.1rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.wx-alert__text { white-space: pre-line; max-width: 80ch; font-size: var(--text-small); }
.wx-alert .small { color: var(--charcoal); opacity: 0.8; }

/* Right now */
.wx-now__main { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.wx-now__temp {
  font-family: var(--font-heading);
  font-stretch: var(--wide);
  font-weight: 850;
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.wx-now__sky  { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.wx-now__hilo { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.3rem; }
.wx-now__note { margin-top: auto; font-size: 0.78rem; }

.wx-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}
.wx-stat dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.wx-stat dd {
  margin: 0.1rem 0 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
}
.wx-stat__extra { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; color: var(--olive); }
.wx-stats--inline { border-top: 0; padding-top: 0; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

/* Radar */
.wx-radar__frame {
  position: relative;
  flex: 1;
  min-height: 300px;
  margin: 0;
  border-radius: var(--radius-small);
  overflow: hidden;
  background: var(--ph-fill);
}
.wx-radar__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;   /* leans north toward Daggett */
}
.wx-radar__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: rgba(35, 36, 32, 0.82);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.wx-radar__frame.is-broken .wx-radar__img { display: none; }
.wx-radar__frame.is-broken::before { content: "Radar image unavailable right now — use the full radar link."; position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; color: var(--ink-soft); }

/* Hourly strip */
.wx-hourly__track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  margin: 0 -0.5rem;
  padding: 0 0.5rem 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--khaki) transparent;
}
.wx-hourly__track:focus-visible { outline-offset: -3px; }
.wx-hour {
  flex: 0 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.2rem;
  text-align: center;
  border-radius: var(--radius-small);
}
.wx-hour:first-child { background: var(--khaki-light); }
.wx-hour__time { font-family: var(--font-mono); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; }
.wx-hour:first-child .wx-hour__time { background: var(--blaze); padding: 0 0.4rem; border-radius: 3px; }
.wx-hour__temp { font-family: var(--font-heading); font-stretch: var(--wide); font-weight: 850; font-size: 1.3rem; line-height: 1; }
.wx-hour__pop  { font-family: var(--font-mono); font-size: 0.72rem; color: var(--olive); font-weight: 600; }
.wx-hour__wind { font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-soft); white-space: nowrap; }

/* 7 days: one compact row of tappable days */
.wx-week__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wx-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.4rem;
  font: inherit;
  color: inherit;
  text-align: center;
  background: var(--canvas);
  border: 2px solid transparent;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.wx-day:hover { border-color: var(--khaki); }
.wx-day.is-open { border-color: var(--blaze); background: var(--card); }
.wx-day:first-child .wx-day__name { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.wx-day__name { font-family: var(--font-heading); font-stretch: var(--narrow); font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.wx-day__sky  { font-size: 0.78rem; line-height: 1.25; min-height: 2.5em; color: var(--ink-soft); }
.wx-day__temps { display: flex; gap: 0.4rem; align-items: baseline; }
.wx-day__hi { font-family: var(--font-heading); font-stretch: var(--wide); font-weight: 850; font-size: 1.35rem; line-height: 1; }
.wx-day__lo { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--ink-soft); }
.wx-day__pop { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--olive); }
.wx-day-detail[hidden] { display: none; }
.wx-day-detail {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  background: var(--khaki-light);
  border-left: 4px solid var(--blaze);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (prefers-reduced-motion: reduce) { .wx-day { transition: none; } }

/* Fishing dashboard (one olive panel) */
.wx-fish {
  padding: 1.1rem 1.25rem 1.25rem;
  border-radius: var(--radius);
  background: var(--olive);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: var(--wx-gap);
  scroll-margin-top: calc(var(--nav-height) + 12px);
}
.wx-fish__head { display: flex; align-items: baseline; gap: 0.5rem 1rem; flex-wrap: wrap; }
.wx-fish__title {
  font-family: var(--font-heading);
  font-stretch: var(--wide);
  font-weight: 850;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  text-transform: uppercase;
  line-height: 1;
}
.wx-fish .scribble { font-size: 1.25rem; }
.wx-fish__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.wx-fish__row   { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.wx-tile { padding: 0.95rem 1.05rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; color: var(--charcoal); }
.wx-tile__title { font-size: 1.02rem; }
.wx-tile__title span { font-family: var(--font-mono); font-stretch: 100%; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.wx-tile p { font-size: 0.9rem; }
.wx-callout .btn { margin-top: auto; align-self: flex-start; min-height: 42px; font-size: 0.95rem; padding: 0 1rem; }
.paper--blaze .wx-tile__title { color: var(--charcoal); }

/* Compact label / value rows inside tiles */
.wx-list { margin: 0; display: flex; flex-direction: column; }
.wx-list .wx-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.38rem 0;
  border-bottom: 1px dashed var(--line);
}
.wx-list .wx-stat:last-child { border-bottom: 0; }
.wx-list .wx-stat dd { text-align: right; font-size: 0.95rem; }

/* Solunar timeline */
.solunar-bar__track {
  position: relative;
  height: 26px;
  border-radius: 6px;
  background: var(--canvas);
  overflow: hidden;
}
.solunar-bar__day { position: absolute; top: 0; bottom: 0; background: rgba(255, 255, 255, 0.55); }
.solunar-bar__win { position: absolute; top: 5px; bottom: 5px; border-radius: 4px; z-index: 1; }
.solunar-bar__win--major { background: var(--blaze); }
.solunar-bar__win--minor { background: var(--olive); }
.solunar-bar__now { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--charcoal); z-index: 2; }
.solunar-bar__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-soft);
}
.solunar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.solunar__item {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-small);
  background: var(--canvas);
  border-left: 4px solid var(--olive);
}
.solunar__item--major { border-left-color: var(--blaze); }
.solunar__item.is-now { background: #ffe4d2; }
.solunar__kind { font-family: var(--font-heading); font-stretch: var(--narrow); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.solunar__time { font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; }
.solunar__why  { font-size: 0.74rem; color: var(--ink-soft); }

/* Rivers / bay readouts */
.gauges { display: flex; flex-direction: column; gap: 0.8rem; }
.gauge { display: flex; flex-direction: column; gap: 0.35rem; }
.gauge + .gauge { border-top: 1px dashed var(--line); padding-top: 0.7rem; }
.gauge__name { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; }
.gauge__name span { font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; color: var(--ink-soft); }
.gauge .small { font-size: 0.78rem; }
.gauge a, .wx-sources a { color: var(--charcoal); text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Eddie's update (side by side inside its panel) */
.wx-update { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 1.1rem 1.5rem; align-items: center; }   /* top of the page */
.wx-update__body { display: flex; flex-direction: column; gap: 0.55rem; }
.wx-update__body .scribble { font-size: 1.2rem; }
.wx-update .feature__title { font-size: 1.35rem; }
.wx-update .btn { align-self: flex-start; margin-top: 0.2rem; }

/* Recent posts: three across on wide screens, a compact list on smaller ones */
.wx-posts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (min-width: 901px) {
  .wx-posts__list > .wx-post { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 0; border-bottom: 0; }
}
@media (max-width: 900px) {
  .wx-posts__list { display: flex; flex-direction: column; gap: 0; }
}
.wx-post {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
}
.wx-post:last-child { border-bottom: 0; padding-bottom: 0; }
.wx-post__body { display: flex; flex-direction: column; gap: 0.15rem; }
.wx-post__title { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.wx-post .small { font-size: 0.82rem; }

.wx-sources {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* --- Weather: responsive -------------------------------------- */
@media (max-width: 1100px) {
  .wx-fish__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx-fish__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx-solunar { grid-column: 1 / -1; }
  .wx-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wx-top-row, .wx-bottom-row { grid-template-columns: minmax(0, 1fr); }
  .wx-radar__frame { flex: none; height: clamp(260px, 62vw, 420px); min-height: 0; }
  .wx-day { padding: 0.55rem 0.2rem; }
  .wx-day__sky { font-size: 0.72rem; }
  .wx-day__hi { font-size: 1.15rem; }
  .wx-day__lo { font-size: 0.92rem; }
}
@media (max-width: 640px) {
  .wx { --wx-gap: 12px; --wx-pad: 1rem 1rem; }
  .wx-top { padding: 0.9rem var(--page-gutter); }
  .wx-top__inner { flex-direction: column; align-items: flex-start; }
  .wx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx-icon--big { width: 64px; height: 64px; }
  .wx-fish { padding: 1rem; }
  .wx-fish__tiles, .wx-fish__row { grid-template-columns: minmax(0, 1fr); }
  .solunar { grid-template-columns: minmax(0, 1fr); }
  .solunar__item { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 0.6rem; }
  .solunar__why { flex-basis: 100%; }
  .wx-top__h1 span { display: block; margin: 0.35rem 0 0; }
  .wx-update { grid-template-columns: minmax(0, 1fr); }
  .wx-update .btn { align-self: stretch; }
  .wx-callout .btn { align-self: stretch; }
  .wx-alert__more { margin-left: 0; }
  /* 7 days become a tidy list */
  .wx-week__list { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .wx-day {
    display: grid;
    grid-template-columns: 4.3rem 30px minmax(0, 1fr) auto 2.6rem;
    align-items: center;
    text-align: left;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
  }
  .wx-day__sky { min-height: 0; }
  .wx-day__pop { text-align: right; }
  .wx-post { grid-template-columns: 96px minmax(0, 1fr); }
}


/* =============================================================
   8. RESPONSIVE
   ============================================================= */

/* --- Tablet (≤ 1000px) ---------------------------------------- */
@media (max-width: 1000px) {
  .scraps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spread__inner { grid-template-columns: minmax(0, 1fr); }
}

/* --- Nav collapses (≤ 960px) ---------------------------------- */
@media (max-width: 960px) {
  :root { --nav-height: 64px; --logo-height: 46px; }
  .site-nav__toggle { display: block; }
  .site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(35, 36, 32, 0.12);
    padding: 0.5rem var(--page-gutter) 1rem;
  }
  .site-nav__menu.is-open { display: block; }
  .site-nav__menu ul { flex-direction: column; gap: 0; }
  .site-nav__menu a {
    padding: 0 0.75rem;
    min-height: var(--button-height);
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .site-nav__menu li:last-child a { border-bottom: 0; }
  .site-nav__menu a::after { left: 0; right: auto; top: 25%; bottom: 25%; width: 4px; height: auto; transform: scaleY(0); }
  .site-nav__menu a:hover::after,
  .site-nav__menu a[aria-current="page"]::after { transform: scaleY(1); }
}

/* --- Mid (≤ 900px) ---------------------------------------------- */
@media (max-width: 900px) {
  .latest__grid,
  .about,
  .feature,
  .split,
  .split--even,
  .split--photo { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "note" "links" "social" "small";
  }
}

/* --- Phone (≤ 640px) -------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --space-l: 1.75rem;
    --space-xl: 3rem;
    --space-xxl: 4.5rem;
    --title-size: clamp(1.6rem, 7.5vw, 2.1rem);
    --title-big:  clamp(1.9rem, 8.6vw, 2.8rem);   /* long words like CONSTRUCTION still fit */
    --wide: 104%;
  }
  .latest, .feature, .sheet, .about__body { padding: var(--space-l) 1.25rem; }
  .merch { grid-template-columns: minmax(0, 1fr); }
  .merch__product { width: calc(100% - 12px); }
  .scraps { gap: var(--space-s); }
  .scrap__label { font-size: 1.1rem; }
  .scrap__label::after { width: 26px; height: 26px; font-size: 0.9rem; }
  .page-head { padding: var(--space-l) var(--page-gutter); }
  .btn { align-self: stretch; }
  .card .btn, .form .btn { align-self: stretch; }
}
@media (max-width: 480px) {
  .scrap__label { justify-content: center; font-size: 0.95rem; letter-spacing: 0.02em; }
  .scrap__label::after { display: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}

/* When a page ends on a color band, let it meet the footer directly */
main:has(> .section.band:last-child) + .site-footer { margin-top: 0; }

/* =============================================================
   VIDEO SPOTS FILLED FROM THE VIDEO LIST (js/videos.js)
   ============================================================= */
/* Long Facebook titles and posts are trimmed to a few lines */
.is-fed [data-feed-field="title"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.is-fed [data-feed-field="text"]  { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; overflow-wrap: anywhere; }
.wx-post.is-fed [data-feed-field="text"],
.card.is-fed [data-feed-field="title"] { -webkit-line-clamp: 2; line-clamp: 2; }
.is-fed [hidden] { display: none !important; }
/* Click the picture to play the Facebook video right there */
.feed-playable { cursor: pointer; }
.feed-playable:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }
.feed-playable:hover .slot > img { filter: brightness(1.06); }
.slot.is-playing { background: #000; }
.slot > .feed-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.is-video .slot.is-playing::after { content: none; }
/* A reel is filmed vertically (phone, portrait) — playing it in the normal
   wide 16:9 box stretches it sideways and crops off the top/bottom (head
   and feet), leaving just the middle of the shot on screen. Give it a
   tall box instead so the whole video shows, scaled to fit. */
.slot.is-playing.is-reel {
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
  width: auto;
  max-width: min(100%, 420px);
  max-height: 80vh;
  margin: 0 auto;
}
/* A video with no picture: plain dark tile with a play mark */
.slot.feed-nothumb { background: var(--ranger); }
.slot.feed-nothumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(36px, 18%, 64px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6.5v11l9-5.5z' fill='%23232420'/></svg>") center / 50% no-repeat,
    var(--blaze);
}
/* "Show more videos" under the Videos page grid */
.feed-more { display: flex; justify-content: center; margin-top: var(--space-m); }
