/* ==========================================================================
   Rivet & Grain Brewing Co. - shared styles for every page
   --------------------------------------------------------------------------
   REBRANDING: change the custom properties in :root below.
   - --iron-*     dark backgrounds (near-black to steel)
   - --amber      main accent (buttons, highlights, prices)
   - --copper     second accent (tags, rules)
   - --foam / --malt   light text colors on the dark background
   - --font-display / --font-body  heading and body fonts. If you change them,
     also update the Google Fonts <link> in the <head> of every page.
   Keep text/background pairs at 4.5:1 contrast or better.
   ========================================================================== */
:root {
  --iron-950: #110e0c;
  --iron-900: #18130f;
  --iron-850: #1f1914;
  --iron-800: #29211b;
  --iron-700: #3a3027;
  --iron-600: #54463a;
  --amber: #f0a637;
  --amber-hot: #ffbf5e;
  --copper: #d9784a;
  --foam: #f6ecdc;
  --malt: #c9b8a0;
  --muted: #a8977f;
  --ok: #8fd19e;
  --error: #ff9b85;
  --error-bg: #3a1d17;

  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4.5vw, 2.5rem);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rivet: radial-gradient(circle at 50% 40%, #8a7663 0 1.5px, #3a3027 2px 3.4px, transparent 3.6px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--iron-900); color: var(--malt); font-family: var(--font-body); font-size: 1.05rem; line-height: 1.65; overflow-x: hidden; }
svg { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: .2em; }
a:hover { color: var(--amber-hot); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: .95; margin: 0 0 .5em; text-transform: uppercase; color: var(--foam); letter-spacing: .01em; }
h1 { font-size: clamp(3.4rem, 12vw, 8.5rem); font-weight: 900; }
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h3 { font-size: 1.7rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--amber); color: var(--iron-950); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--amber); color: var(--iron-950); padding: .7rem 1.1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; color: var(--iron-950); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--iron-850); border-block: 1px solid var(--iron-700); }
.stencil { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font: 700 1rem/1 var(--font-display); letter-spacing: .28em; text-transform: uppercase; color: var(--copper); }
.stencil::before { content: ""; width: 2.2rem; height: 2px; background: var(--copper); }
.lead { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--malt); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head-row .section-head { margin-bottom: 0; }
.amber { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .7rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius); font: 800 1.15rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-amber { background: var(--amber); color: var(--iron-950); box-shadow: 0 0 0 0 rgba(240, 166, 55, 0); }
.btn-amber:hover { background: var(--amber-hot); color: var(--iron-950); box-shadow: 0 8px 30px -6px rgba(240, 166, 55, .55); }
.btn-ghost { background: transparent; color: var(--foam); border-color: var(--iron-600); }
.btn-ghost:hover { color: var(--foam); border-color: var(--amber); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17, 14, 12, .94); border-bottom: 1px solid var(--iron-700); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--foam); text-decoration: none; }
.logo:hover { color: var(--foam); }
.logo-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.logo-text { font: 900 clamp(1.25rem, 4.6vw, 1.55rem)/.85 var(--font-display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.logo-text small { display: block; font: 600 .62rem/1 var(--font-body); letter-spacing: .3em; color: var(--amber); margin-top: .35rem; }
.header-right { display: flex; align-items: center; gap: .6rem; }
.open-sign { display: none; align-items: center; gap: .5rem; padding: .35rem .75rem; border: 1px solid var(--iron-600); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--malt); white-space: nowrap; }
.open-sign::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--iron-600); }
.open-sign.is-open { color: var(--ok); border-color: rgba(143, 209, 158, .45); }
.open-sign.is-open::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.open-sign.is-closed::before { background: var(--copper); }
@media (min-width: 560px) { .open-sign { display: inline-flex; } }
.nav-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .45rem .95rem; background: transparent; color: var(--foam); border: 1px solid var(--iron-600); border-radius: var(--radius); font: 800 1rem var(--font-display); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--iron-950); border-bottom: 1px solid var(--iron-700); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.4rem; }
.site-nav a { display: block; padding: .9rem 0; color: var(--foam); text-decoration: none; font: 800 1.6rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--iron-800); }
.site-nav a[aria-current="page"] { color: var(--amber); }
.site-nav .nav-cta { margin-top: 1rem; border: 0; text-align: center; background: var(--amber); color: var(--iron-950); border-radius: var(--radius); }
.site-nav .nav-cta[aria-current="page"] { color: var(--iron-950); background: var(--amber-hot); }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; margin-left: auto; }
  .site-nav ul { display: flex; align-items: center; gap: 1.8rem; padding: 0; }
  .site-nav a { padding: .35rem 0; border: 0; font-size: 1.15rem; letter-spacing: .16em; position: relative; white-space: nowrap; }
  .site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .25s var(--ease); }
  .site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0; padding: .65rem 1.15rem; }
  .site-nav .nav-cta:hover { background: var(--amber-hot); color: var(--iron-950); }
  .header-right { order: 3; }
  .header-inner { gap: 1.8rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 0; background:
  radial-gradient(ellipse 60% 55% at 78% 30%, rgba(240, 166, 55, .22), transparent 70%),
  linear-gradient(180deg, var(--iron-950), var(--iron-900)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 120px); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: end; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 2px var(--amber); }
.hero .lead { max-width: 34rem; margin-bottom: 2rem; color: var(--malt); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-visual { position: relative; }
.hero-visual .ph { min-height: clamp(300px, 42vw, 520px); border-radius: 220px 220px 0 0; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero-copy { padding-bottom: 4.5rem; } }
.gauge { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--iron-700); }
.gauge div { padding: 1.4rem 1rem 1.6rem; border-right: 1px solid var(--iron-700); border-bottom: 1px solid var(--iron-700); }
.gauge div:nth-child(2n) { border-right: 0; }
.gauge strong { display: block; font: 900 clamp(2.4rem, 6vw, 3.4rem)/1 var(--font-display); color: var(--amber); }
.gauge span { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) { .gauge { grid-template-columns: repeat(4, 1fr); } .gauge div { border-bottom: 0; } .gauge div:nth-child(2n) { border-right: 1px solid var(--iron-700); } .gauge div:last-child { border-right: 0; } }

/* ---------- Image placeholders ---------- */
.ph { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 240px; border: 1px solid var(--iron-700); border-radius: var(--radius); color: var(--amber); background:
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 12px),
  radial-gradient(circle at 50% 120%, rgba(240, 166, 55, .35), transparent 65%), linear-gradient(180deg, #2a221c, #15110e); }
.ph.ph-copper { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 12px), radial-gradient(circle at 30% 20%, rgba(217, 120, 74, .4), transparent 60%), linear-gradient(180deg, #2b1f19, #15100d); color: var(--copper); }
.ph-art { width: 32%; max-width: 140px; opacity: .85; }
.ph-label { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); max-width: calc(100% - 2rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .35rem .8rem; border: 1px solid var(--iron-600); background: rgba(17, 14, 12, .85); color: var(--foam); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Beer swatch ---------- */
.glass { width: 2.6rem; height: 3.4rem; flex: none; }
.glass .beer { fill: var(--srm, #e0a23a); }

/* ---------- Tap preview cards ---------- */
.tap-cards { display: grid; gap: 1px; background: var(--iron-700); border: 1px solid var(--iron-700); grid-template-columns: 1fr; }
@media (min-width: 640px) { .tap-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .tap-cards { grid-template-columns: repeat(4, 1fr); } }
.tap-card { position: relative; background: var(--iron-900); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .75rem; transition: background-color .25s; }
.tap-card:hover { background: var(--iron-850); }
.tap-card .no { position: absolute; top: 1.2rem; right: 1.3rem; font: 800 1rem var(--font-display); letter-spacing: .14em; color: var(--muted); }
.tap-card h3 { margin: .25rem 0 0; }
.tap-card .style { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.tap-card p { margin: 0; font-size: .95rem; }
.specs { display: flex; gap: 1.1rem; margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--iron-600); font-size: .85rem; color: var(--muted); }
.specs b { color: var(--foam); font: 800 1.2rem/1 var(--font-display); margin-right: .2rem; }

/* ---------- Split / features ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.split .ph { min-height: 420px; }
.ticks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .8rem; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: .55rem; height: .55rem; background: var(--amber); transform: rotate(45deg) translateY(-2px); }

/* ---------- Events ---------- */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--iron-700); }
.event { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem 1.4rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--iron-700); }
.event-date { display: grid; place-items: center; text-align: center; width: 4.6rem; height: 4.6rem; border: 1px solid var(--iron-600); background: var(--iron-850); background-image: var(--rivet), var(--rivet), var(--rivet), var(--rivet); background-size: 10px 10px; background-repeat: no-repeat; background-position: 3px 3px, calc(100% - 3px) 3px, 3px calc(100% - 3px), calc(100% - 3px) calc(100% - 3px); }
.event-date span { display: block; font: 700 .8rem/1 var(--font-display); letter-spacing: .2em; color: var(--copper); text-transform: uppercase; }
.event-date strong { display: block; font: 900 2.1rem/1 var(--font-display); color: var(--foam); }
.event h3 { font-size: 1.55rem; margin: 0 0 .2rem; }
.event p { margin: 0; font-size: .95rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .4rem; font-size: .85rem; color: var(--muted); }
.event-type { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--iron-950); background: var(--copper); padding: .18rem .5rem; border-radius: 2px; }
.event-type.t-music { background: var(--amber); }
.event-type.t-trivia { background: #9cc4b2; }
.event-type.t-food { background: #e6c79a; }
.event-type.t-release { background: var(--copper); }
.event .btn { grid-column: 2; justify-self: start; min-height: 2.6rem; padding: .5rem 1rem; font-size: 1rem; }
@media (min-width: 760px) { .event { grid-template-columns: 5.2rem 1fr auto; } .event .btn { grid-column: auto; } .event-date { width: 5.2rem; height: 5.2rem; } }

/* ---------- Filter controls ---------- */
.filters { display: grid; gap: 1.25rem; padding: 1.4rem; margin-bottom: 1.75rem; background: var(--iron-850); border: 1px solid var(--iron-700); }
@media (min-width: 960px) { .filters { grid-template-columns: 1fr auto auto; align-items: end; } }
.filter-label { display: block; margin-bottom: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-btn { min-height: 2.6rem; padding: .45rem .95rem; background: transparent; color: var(--foam); border: 1px solid var(--iron-600); border-radius: 999px; font: 600 .92rem var(--font-body); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip-btn:hover { border-color: var(--amber); }
.chip-btn[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--iron-950); }
.abv-control { min-width: 15rem; }
.abv-control input { width: 100%; accent-color: var(--amber); height: 2rem; }
.abv-control output { color: var(--foam); font-weight: 700; }
.sort-control select { min-height: 2.75rem; padding: .5rem 2.2rem .5rem .8rem; background: var(--iron-900); color: var(--foam); border: 1px solid var(--iron-600); border-radius: var(--radius); font: inherit; font-size: .95rem; }
.result-count { margin: 0 0 1rem; font-size: .92rem; color: var(--muted); }
.result-count strong { color: var(--foam); }

/* ---------- Tap board (taps.html) ---------- */
.tap-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--iron-700); border: 1px solid var(--iron-700); }
.tap { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.1rem; align-items: start; padding: 1.4rem 1.25rem; background: var(--iron-900); }
.tap:hover { background: var(--iron-850); }
.tap-main h3 { margin: 0; font-size: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; }
.tap-num { font: 800 .95rem var(--font-display); letter-spacing: .16em; color: var(--muted); }
.badge-new { font: 700 .66rem/1 var(--font-body); letter-spacing: .14em; color: var(--iron-950); background: var(--amber); padding: .28rem .45rem; border-radius: 2px; }
.tap-main .style { margin: .2rem 0 .45rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.tap-main p { margin: 0; font-size: .97rem; }
.tap-nums { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding-top: .6rem; font-size: .85rem; color: var(--muted); }
.tap-nums b { font: 800 1.35rem/1 var(--font-display); color: var(--foam); margin-right: .25rem; }
.tap-nums .pour b { color: var(--amber); }
@media (min-width: 820px) { .tap { grid-template-columns: auto 1fr auto; align-items: center; padding: 1.4rem 1.75rem; } .tap-nums { grid-column: auto; justify-content: flex-end; padding: 0; min-width: 17rem; } }
.empty { padding: 2rem; text-align: center; border: 1px dashed var(--iron-600); color: var(--malt); }

/* ---------- Hours / visit ---------- */
.visit-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr 1.2fr; } }
.plate { background: var(--iron-850); border: 1px solid var(--iron-700); padding: 1.75rem; background-image: var(--rivet), var(--rivet), var(--rivet), var(--rivet); background-size: 12px 12px; background-repeat: no-repeat; background-position: 6px 6px, calc(100% - 6px) 6px, 6px calc(100% - 6px), calc(100% - 6px) calc(100% - 6px); }
.plate h2, .plate h3 { font-size: 1.8rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--iron-600); }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: var(--amber); font-weight: 700; }
.hours li.is-today span:first-child::after { content: " \2022 today"; font-size: .78rem; letter-spacing: .08em; }
.visit-grid .ph { min-height: 100%; }
address { font-style: normal; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.25rem, 5vw, 3.5rem); background: radial-gradient(ellipse 50% 80% at 85% 0%, rgba(240, 166, 55, .18), transparent 70%), var(--iron-950); border-bottom: 1px solid var(--iron-700); }
.page-hero h1 { font-size: clamp(3rem, 10vw, 6.5rem); }
.page-hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--amber); }
.page-hero .lead { max-width: 42rem; margin: 0; }

/* ---------- Hire spaces ---------- */
.spaces { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .spaces { grid-template-columns: repeat(3, 1fr); } }
.space { background: var(--iron-850); border: 1px solid var(--iron-700); display: flex; flex-direction: column; }
.space .ph { min-height: 200px; border: 0; border-bottom: 1px solid var(--iron-700); border-radius: 0; }
.space-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.space h3 { margin: 0; }
.space .cap { display: flex; gap: 1.25rem; font-size: .88rem; color: var(--muted); margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--iron-600); }
.space .cap b { color: var(--foam); font: 800 1.25rem/1 var(--font-display); margin-right: .2rem; }

/* ---------- Forms ---------- */
.hire-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .hire-grid { grid-template-columns: 1fr 1.35fr; align-items: start; } }
.form-panel { background: var(--iron-850); border: 1px solid var(--iron-700); border-top: 3px solid var(--amber); padding: clamp(1.4rem, 4vw, 2.25rem); }
.form-grid { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--foam); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .85rem; background: var(--iron-950); color: var(--foam); border: 1px solid var(--iron-600); border-radius: var(--radius); font: inherit; font-size: 1rem; color-scheme: dark; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; }
.field-error:empty { display: none; }
.form-alert { margin: 0 0 1.25rem; padding: .85rem 1rem; background: var(--error-bg); border: 1px solid var(--error); color: var(--error); }
.form-alert:empty { display: none; }
.form-note { margin: .9rem 0 0; font-size: .88rem; color: var(--muted); }
.form-done { text-align: center; padding: 2rem 1rem; }
.form-done svg { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; color: var(--amber); }
.check { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: 1.1rem; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--amber); flex: none; }

/* ---------- Age / CTA band ---------- */
.band { position: relative; overflow: hidden; background: var(--amber); color: var(--iron-950); }
.band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(17, 14, 12, .06) 0 14px, transparent 14px 28px); }
.band-inner { position: relative; display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.band h2 { color: var(--iron-950); margin-bottom: .3rem; }
.band p { margin: 0; color: #3a2a12; max-width: 38rem; font-weight: 500; }
.band .btn-dark { background: var(--iron-950); color: var(--foam); }
.band .btn-dark:hover { background: var(--iron-800); color: var(--foam); }
.band .btn-line { border-color: var(--iron-950); color: var(--iron-950); background: transparent; }
.band .btn-line:hover { background: rgba(17, 14, 12, .08); color: var(--iron-950); }
.band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 860px) { .band-inner { grid-template-columns: 1.4fr 1fr; } .band-actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--iron-950); padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; border-top: 1px solid var(--iron-700); font-size: .97rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.25rem; letter-spacing: .14em; color: var(--amber); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-tag { margin: 1rem 0 0; max-width: 22rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--iron-800); font-size: .86rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
