/* Whiskey n' Walleye theme: foundation.
   Tokens, reset and accessibility helpers, ported unchanged from the approved
   prototypes (prototype/shared/base.css and prototype/hybrid/hybrid.css).
   Fonts are declared in theme.json, which writes the @font-face rules. */

:root {
  --navy-950: #04111a; --navy-900: #071d2b; --navy-800: #0b2a3c; --navy-700: #0f3a52; --navy-500: #2b6583;
  --lake-300: #9db9c9;
  --gold-600: #b07c2c; --gold-500: #c9963f; --gold-300: #e3bf7c;
  /* Brass for small text on cream: #b07c2c darkened only as far as WCAG AA
     needs (same hue and saturation, lightness 43.1% to 35.6%):
     4.51:1 on cream #f6f1e6, was 3.23:1. Large text and lines keep gold-600. */
  --gold-700: #916624;
  --cream-100: #f6f1e6; --cream-200: #efe7d6; --cream-300: #e3d8c1;
  --leather: #b5632e; --ember: #d9482b;

  --night: #06121b; --deep: #0a2030; --cream: #f6f1e6; --sand: #ece4d3; --card: #e2d8c4;
  --ink: #0a2433; --on-dark: #efe7d6;
  --mute-dark: rgba(239, 231, 214, .66); --mute-light: #56656c;
  --line-dark: rgba(239, 231, 214, .16); --line-light: rgba(10, 36, 51, .15);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tab-h: 62px;
  --hdr-h: 64px;
  --adminbar: 0px;
}
@media (min-width: 1040px) { :root { --hdr-h: 76px; } }
.admin-bar { --adminbar: 46px; }
@media (min-width: 783px) { .admin-bar { --adminbar: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + var(--adminbar) + 20px); scroll-padding-bottom: calc(var(--tab-h) + 20px + env(safe-area-inset-bottom, 0px)); }
/* ":root body" outranks WordPress's own body rule (:root :where(body)). */
:root body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; background: var(--night); color: var(--on-dark); padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
em { font-style: italic; color: var(--gold-300); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: calc(690px + 2 * var(--gutter)); }
/* The n in Whiskey n' Walleye is always lowercase, even inside uppercase labels. */
.n { text-transform: none; }
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Skip link: WordPress adds its own (.skip-link); it gets the approved look. */
.skip, body .skip-link.screen-reader-text { position: absolute; left: 12px; top: -60px; z-index: 100; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; padding: 10px 16px; background: var(--gold-500); color: var(--navy-950); font-weight: 600; border-radius: 4px; transition: top .15s; }
.skip:focus, body .skip-link.screen-reader-text:focus { top: 12px; left: 12px; width: auto; height: auto; margin: 0; clip: auto; }

/* Scroll reveal (subtle; off for reduced motion). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* WordPress wrappers that must not add space of their own. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }

@media (min-width: 1040px) { :root body { padding-bottom: 0; } }
:root body.wnw-no-tabbar { padding-bottom: 0; }
