/* ==========================================================================
   Drinking and HOAing — site styles
   Dark, video-first. One stylesheet for the whole site.
   ========================================================================== */

:root{
  --bg:        #0d1117;
  --bg-2:      #151b23;
  --bg-3:      #1c242e;
  --line:      #2a3441;
  --text:      #e6edf3;
  --muted:     #9aa7b4;
  --accent:    #d9534f;   /* citation red - borders, glows, large display text */
  /* White text on #d9534f is only 3.96:1, under the 4.5 WCAG needs for normal
     text. This darker red measures 5.07:1 and is used ONLY where white text sits
     on top of it (buttons, badges, the nav CTA, the skip link).
     Darkening --accent itself would have been the wrong fix: the same red is also
     used as TEXT on the dark background, where #d9534f already passes at 4.78:1
     and the darker value would FAIL at 3.73:1. Two tokens, two jobs. */
  --accent-btn: #c3413d;
  /* And the red used as small text on the raised --bg-2 panels, where the base
     accent lands at 4.37:1 - just under. This one is 5.57:1. */
  --accent-ink: #e0716d;
  --accent-2:  #f0ad4e;   /* warning amber */
  --gold:      #ffc857;
  --green:     #4caf50;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 8px 28px rgba(0,0,0,.45);
  --wrap:      1180px;
  --font:      'Segoe UI', Tahoma, Geneva, Verdana, system-ui, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  /* the header is sticky - keep anchored sections clear of it */
  scroll-padding-top:86px;
}
@media (max-width:940px){ html{ scroll-padding-top:76px; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img,video{ max-width:100%; display:block; }

a{ color:var(--accent-2); text-decoration:none; }
a:hover,a:focus{ color:var(--gold); text-decoration:underline; }

h1,h2,h3,h4{ line-height:1.2; margin:0 0 .5em; }
h1{ font-size:clamp(1.9rem,4.4vw,3rem); letter-spacing:-.01em; }
h2{ font-size:clamp(1.4rem,2.6vw,2rem); }
h3{ font-size:1.15rem; }

p{ margin:0 0 1em; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 20px; }
.narrow{ max-width:820px; }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--accent-btn); color:#fff;
  padding:10px 16px; z-index:200;
}
.skip-link:focus{ left:8px; top:8px; }

/* ---------- Header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(13,17,23,.92);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  max-width:var(--wrap); margin:0 auto; padding:10px 20px;
  display:flex; align-items:center; gap:18px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  color:var(--text); font-weight:700; font-size:1.08rem; text-decoration:none; white-space:nowrap;
}
.brand:hover{ color:var(--text); text-decoration:none; }
.brand img{ border-radius:8px; }
.brand-text em{ color:var(--accent-2); font-style:normal; }
/* Trade mark superscript - header wordmark and the home page H1 */
.tm{
  font-size:.5em; font-weight:600; line-height:1;
  vertical-align:super; margin-left:2px; letter-spacing:0;
  color:var(--muted);
}
h1 .tm{ font-size:.34em; margin-left:4px; vertical-align:super; }

.nav{ margin-left:auto; }
.nav-list{ list-style:none; display:flex; align-items:center; gap:4px; margin:0; padding:0; }
.nav-list > li{ position:relative; }
.nav-list a,
.sub-toggle{
  display:block; padding:9px 12px; border-radius:8px;
  color:var(--text); font-size:.94rem; font-weight:600;
  background:none; border:0; font-family:inherit; cursor:pointer;
}
.nav-list a:hover,.sub-toggle:hover,.sub-toggle[aria-expanded="true"]{
  background:var(--bg-3); color:var(--gold); text-decoration:none;
}
.sub-toggle::after{ content:" ▾"; color:var(--muted); font-size:.8em; }

.sub{
  display:none; position:absolute; top:calc(100% + 6px); left:0; min-width:230px;
  list-style:none; margin:0; padding:6px;
  background:var(--bg-2); border:1px solid var(--line);
  border-radius:var(--radius-sm); box-shadow:var(--shadow);
}
/* ONE rule opens a submenu, and it is the one the markup already declares.
   Neither :hover nor :focus-within appears here, and that is deliberate.

   :focus-within was wrong because Escape sets aria-expanded="false" and returns
   focus to the toggle - which is still inside .has-sub - so the menu stayed
   visible while the markup said closed.

   :hover was wrong for the same reason and a worse one. CSS cannot update
   aria-expanded, so a hover-opened menu was visible while its button still
   reported "collapsed" to a screen reader - a mismatch on EVERY hover, not just
   after Escape. It also meant Escape could not close a menu the pointer was
   sitting on, and a tap on a touch screen could leave a sticky hover.

   site.js opens on click, Enter/Space and ArrowDown, closes on Escape, focusout
   and any click elsewhere on the page. It keeps aria-expanded correct, so
   aria-expanded is the only thing that should drive visibility. The cost is that
   desktop menus now need a click rather than a hover - which is the standard
   menu-button pattern, and the price of the markup and the pixels agreeing. */
.sub-toggle[aria-expanded="true"] + .sub{ display:block; }
.sub a{ font-weight:500; white-space:nowrap; }

/* The Store CTA. This has to be `.nav-list a.nav-cta`, not `.nav-cta`: the
   `.nav-list a` rule above sets `background:none` and outranks a bare class, so
   the CTA has been rendering transparent. Hover is a darker shade rather than
   the same red - --accent-btn is #c3413d, so reusing that value would give no
   hover feedback at all. Both values keep white text above 4.5:1. */
.nav-list a.nav-cta{
  background:var(--accent-btn); color:#fff !important;
}
.nav-list a.nav-cta:hover,
.nav-list a.nav-cta:focus-visible{ background:#a83733; color:#fff !important; }

.nav-toggle{
  display:none; margin-left:auto; background:none; border:1px solid var(--line);
  border-radius:8px; padding:9px 10px; cursor:pointer;
}
.nav-toggle span{ display:block; width:20px; height:2px; background:var(--text); margin:4px 0; }

@media (max-width:940px){
  .nav-toggle{ display:block; min-width:44px; min-height:44px; padding:11px 12px; }
  .nav{ display:none; width:100%; order:3; margin-left:0; }
  .nav.open{ display:block; }
  .site-header .bar{ flex-wrap:wrap; }
  .nav-list{ flex-direction:column; align-items:stretch; gap:0; padding:8px 0 12px; }
  /* Collapsed by default on mobile. The submenu used to be forced visible here
     while its button still reported aria-expanded="false" - the menu said one
     thing and the screen reader heard another, and the nav was needlessly long.
     The existing rule `.sub-toggle[aria-expanded="true"] + .sub{display:block}`
     (further up, unscoped) is what opens it, so no new selector is needed. */
  .sub{ position:static; display:none; border:0; box-shadow:none; background:transparent; padding-left:14px; }

  /* No :hover override needed any more - hover no longer opens anything
     anywhere. Re-assert the aria-driven opener after the .sub reset above
     (equal specificity, so source order decides). */
  .sub-toggle[aria-expanded="true"] + .sub{ display:block; }
  .sub-toggle::after{ content:""; }

  /* 44px minimum tap target - WCAG 2.5.8 / iOS + Android guidance */
  .nav-list a,
  .nav-list .sub-toggle,
  .sub a{
    display:flex; align-items:center;
    min-height:44px; padding-top:6px; padding-bottom:6px;
  }
  .brand{ min-height:44px; display:inline-flex; align-items:center; }
}

/* ---------- Hero ---------- */
.hero{
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(1100px 380px at 15% -10%, rgba(217,83,79,.20), transparent 62%),
    radial-gradient(900px 420px at 88% 0%, rgba(240,173,78,.14), transparent 60%),
    var(--bg);
  padding:44px 0 40px;
}
.hero-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:38px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:26px; } }

.eyebrow{
  display:inline-block; font-size:.74rem; font-weight:800; letter-spacing:.16em;
  text-transform:uppercase; color:var(--accent-2);
  border:1px solid rgba(240,173,78,.4); border-radius:999px; padding:5px 12px; margin-bottom:14px;
}
.hero h1 em{ color:var(--accent-2); font-style:normal; }
.hero .tagline{ color:var(--muted); font-size:1.06rem; max-width:52ch; }
.pronounce{
  margin-top:14px; font-size:.86rem; color:var(--muted);
  border-left:3px solid var(--line); padding-left:12px;
}

.btn{
  display:inline-block; padding:12px 22px; border-radius:999px;
  font-weight:700; font-size:.95rem; border:1px solid transparent; cursor:pointer;
  font-family:inherit;
}
.btn-primary{ background:var(--accent-btn); color:#fff; }
.btn-primary:hover{ background:#c3413d; color:#fff; text-decoration:none; }
.btn-ghost{ border-color:var(--line); color:var(--text); background:var(--bg-2); }
.btn-ghost:hover{ border-color:var(--accent-2); color:var(--gold); text-decoration:none; }
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }

.player-shell{
  background:#000; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow);
}
.player-shell video{ width:100%; aspect-ratio:16/9; object-fit:cover; background:#000; }
.player-note{ font-size:.8rem; color:var(--muted); margin-top:8px; }

/* ---------- Floating sound toggle on the player ----------
   Sits over the video, clear of the native control bar at the bottom. Persistent
   rather than auto-hiding: it stays put as a real toggle, and its label and
   aria-pressed follow the video's actual muted state, including when the visitor
   uses the native speaker control instead. 44px min height for touch. */
.dh-unmute{
  position:absolute; top:12px; right:12px; z-index:3;
  display:inline-flex; align-items:center; gap:7px;
  min-height:44px; padding:8px 15px;
  font:inherit; font-size:.85rem; font-weight:700; color:#fff;
  background:rgba(13,17,23,.72); border:1px solid rgba(255,255,255,.22);
  border-radius:999px; cursor:pointer;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
}
.dh-unmute:hover{ background:rgba(13,17,23,.92); border-color:var(--accent-2); }
.dh-unmute:focus-visible{ outline:2px solid var(--accent-2); outline-offset:2px; }
.dh-unmute:active{ transform:scale(.97); }
.dh-unmute[aria-pressed="true"]{ border-color:rgba(240,173,78,.55); }
.dh-unmute-ico{ font-size:1.05rem; line-height:1; }
@media (max-width:600px){
  .dh-unmute{ top:9px; right:9px; padding:7px 12px; font-size:.78rem; }
}
@media (prefers-reduced-motion:reduce){ .dh-unmute{ transition:none; } }

/* ---------- Sections ---------- */
.section{ padding:46px 0; border-bottom:1px solid var(--line); }
.section.tight{ padding:30px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:20px; flex-wrap:wrap; }
.section-head h2{ margin:0; }
.section-head .blurb{ color:var(--muted); font-size:.92rem; margin:4px 0 0; }
.section-head .more{ font-size:.88rem; font-weight:700; white-space:nowrap; }

/* ---------- Video cards ---------- */
.video-grid{
  display:grid; gap:20px;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
}
.vcard{
  background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .16s ease, border-color .16s ease;
}
.vcard:hover{ transform:translateY(-3px); border-color:var(--accent-2); }
.vcard a{ color:inherit; text-decoration:none; display:flex; flex-direction:column; height:100%; }
.vthumb{ position:relative; aspect-ratio:16/9; background:var(--bg-3); overflow:hidden; }
.vthumb img{ width:100%; height:100%; object-fit:cover; }
.vthumb .play{
  position:absolute; inset:0; display:grid; place-items:center;
  background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  opacity:.92;
}
.vthumb .play span{
  width:48px; height:48px; border-radius:50%; background:rgba(217,83,79,.92);
  display:grid; place-items:center; color:#fff; font-size:1rem; padding-left:3px;
}
.vmeta{ padding:13px 14px 16px; }
.vmeta h3{ font-size:1rem; margin:0 0 5px; }
.vmeta p{ font-size:.84rem; color:var(--muted); margin:0; }
.vtag{
  display:inline-block; font-size:.68rem; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent-2); margin-bottom:6px;
}

/* ---------- Watch page ---------- */
.watch-wrap{ padding:28px 0 10px; }
.watch-grid{ display:grid; grid-template-columns:1fr 330px; gap:30px; align-items:start; }
@media (max-width:1000px){ .watch-grid{ grid-template-columns:1fr; } }
.watch-title{ margin:18px 0 6px; font-size:clamp(1.3rem,2.6vw,1.9rem); }
.watch-sub{ color:var(--muted); font-size:.94rem; }
.watch-actions{ display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 6px; }
.chip{
  display:inline-block; padding:7px 14px; border-radius:999px; font-size:.83rem; font-weight:600;
  border:1px solid var(--line); background:var(--bg-2); color:var(--text);
}
a.chip:hover{ border-color:var(--accent-2); color:var(--gold); text-decoration:none; }
.up-next{ display:flex; flex-direction:column; gap:12px; }
.up-item{ display:flex; gap:11px; align-items:center; color:inherit; text-decoration:none; }
.up-item:hover{ text-decoration:none; }
.up-item:hover h3{ color:var(--gold); }
.up-item img{ width:118px; aspect-ratio:16/9; object-fit:cover; border-radius:8px; flex:none; background:var(--bg-3); }
.up-item h3{ font-size:.9rem; margin:0 0 2px; }
.up-item span{ font-size:.76rem; color:var(--muted); }

.breadcrumb{ font-size:.82rem; color:var(--muted); }
.breadcrumb a{ color:var(--muted); }

/* ---------- Generic content ---------- */
.page-head{
  padding:46px 0 30px;
  background:radial-gradient(900px 300px at 12% -20%, rgba(217,83,79,.16), transparent 60%), var(--bg);
  border-bottom:1px solid var(--line);
}
.page-head .lede{ color:var(--muted); font-size:1.06rem; max-width:62ch; }

.cards{ display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.card{
  background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px;
}
.card h3{ margin-top:0; color:var(--text); }
.card p:last-child{ margin-bottom:0; }
.card.accent{ border-left:4px solid var(--accent); }
.card.amber{ border-left:4px solid var(--accent-2); }
.card.green{ border-left:4px solid var(--green); }

.badge{
  display:inline-block; background:var(--accent-btn); color:#fff;
  padding:3px 9px; font-size:.72rem; font-weight:800; letter-spacing:.06em;
  border-radius:4px; margin-bottom:8px; text-transform:uppercase;
}
.badge.amber{ background:var(--accent-2); color:#20160a; }
.badge.green{ background:var(--green); color:#06210a; }
.badge.grey{ background:var(--bg-3); color:var(--muted); }

.stat-row{ display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); margin:26px 0; }
.stat{ background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius); padding:20px; text-align:center; }
.stat b{ display:block; font-size:1.9rem; color:var(--accent-2); line-height:1.1; }
.stat span{ font-size:.84rem; color:var(--muted); }

table.dh{ width:100%; border-collapse:collapse; font-size:.92rem; }
table.dh th,table.dh td{ padding:11px 12px; border-bottom:1px solid var(--line); text-align:left; }
table.dh th{ color:var(--accent-2); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }
.table-scroll{ overflow-x:auto; }

.callout{
  background:var(--bg-2); border:1px solid var(--line); border-left:4px solid var(--accent-2);
  border-radius:var(--radius); padding:20px 22px; margin:26px 0;
}
.callout p:last-child{ margin-bottom:0; }

ul.ticks{ list-style:none; padding:0; margin:0 0 1em; }
ul.ticks li{ padding-left:26px; position:relative; margin-bottom:9px; }
ul.ticks li::before{ content:"✓"; position:absolute; left:0; color:var(--green); font-weight:800; }

/* ---------- Forms ---------- */
form.dh{ display:grid; gap:16px; max-width:640px; }
form.dh label{ font-size:.86rem; font-weight:700; display:block; margin-bottom:6px; }
form.dh input,form.dh select,form.dh textarea{
  width:100%; padding:11px 13px; border-radius:var(--radius-sm);
  border:1px solid var(--line); background:var(--bg-2); color:var(--text);
  font-family:inherit; font-size:.95rem;
}
form.dh input:focus,form.dh select:focus,form.dh textarea:focus{
  outline:none; border-color:var(--accent-2);
}
form.dh textarea{ min-height:150px; resize:vertical; }
.form-note{ font-size:.8rem; color:var(--muted); }
.form-row{ display:grid; gap:16px; grid-template-columns:1fr 1fr; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }

/* ---------- Citation generator ---------- */
.generator{
  background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; text-align:center;
}
#citation-output{
  margin-top:18px; min-height:4.2rem; font-weight:600; font-size:1.02rem;
  color:var(--accent-2); display:grid; place-items:center;
}

/* ---------- Store ---------- */
.merch-grid{ display:grid; gap:20px; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); }
.merch{
  background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
}
.merch .art{
  aspect-ratio:1/1; display:grid; place-items:center; padding:22px; text-align:center;
  background:linear-gradient(160deg,var(--bg-3),#0f151c);
  border-bottom:1px solid var(--line);
}
.merch .art b{ font-size:1.15rem; letter-spacing:.04em; line-height:1.25; text-transform:uppercase; }
.merch .art small{ display:block; margin-top:8px; color:var(--muted); font-size:.72rem; letter-spacing:.18em; }
.merch .art-photo{ padding:0; position:relative; background:#fff; }
.merch .art-photo picture{ display:block; width:100%; height:100%; }
.merch .art-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.merch .art-flag{
  display:inline-block; margin-bottom:8px;
  background:var(--bg-3); color:var(--accent-2);
  border:1px solid var(--line); border-radius:999px;
  padding:3px 10px; font-size:.62rem; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase;
}
.merch.has-photo{ border-color:var(--accent-2); }
.merch .info{ padding:14px 16px 18px; }
.merch .info h3{ font-size:.98rem; margin:0 0 4px; }
.merch .info p{ font-size:.82rem; color:var(--muted); margin:0; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-2); border-top:1px solid var(--line); padding:44px 0 30px; margin-top:0; }
.foot-grid{ display:grid; gap:28px; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); }
.foot-grid h2{ font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-2); margin-bottom:12px; }
.foot-grid ul{ list-style:none; margin:0; padding:0; }
.foot-grid li{ margin-bottom:8px; }
.foot-grid a{ color:var(--muted); font-size:.88rem; }
.foot-grid a:hover{ color:var(--gold); }
.foot-bottom{ margin-top:36px; padding-top:22px; border-top:1px solid var(--line); }
.foot-brand{ font-weight:700; margin-bottom:4px; }
.foot-brand em{ color:var(--accent-2); font-style:normal; }
.foot-brand span{ font-weight:400; color:var(--muted); font-size:.9rem; }
/* The footer wordmark now links home, and has to keep looking like plain text:
   the global `a` rule would paint the whole thing amber and underline it on
   hover. color:inherit hands it back to .foot-brand, and the two rules that
   colour the parts - .foot-brand em (amber "and") and .tm (muted trademark) -
   still target those elements directly, so they win over inheritance and the
   wordmark keeps its three tones.
   The underline is removed on hover AND focus, so :focus-visible carries the
   keyboard indicator instead - dropping the underline without that would leave
   keyboard users with nothing to see. */
.foot-brand a{ color:inherit; text-decoration:none; }
.foot-brand a:hover,
.foot-brand a:focus{ color:inherit; text-decoration:none; }
.foot-brand a:focus-visible{ outline:2px solid var(--accent-2); outline-offset:3px; border-radius:4px; }
.foot-joke{ color:var(--accent-2); font-size:.86rem; }
.foot-legal,.foot-disclaimer{ color:var(--muted); font-size:.8rem; }
.foot-disclaimer{ margin-top:10px; opacity:.75; }

/* ---------- 404 ---------- */
.err-wrap{ text-align:center; padding:80px 20px 60px; max-width:760px; margin:0 auto; }
.err-code{
  font-size:clamp(4rem,16vw,9rem); font-weight:900; line-height:.9;
  color:var(--accent); margin:0;
}
.err-cite{
  background:var(--bg-2); border:1px solid var(--line); border-left:4px solid var(--accent);
  border-radius:var(--radius); padding:22px; margin:30px 0; text-align:left;
}
.err-cite h2{ color:var(--accent-ink); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; }

/* ---------- "Got Milk? -> Got HOA?" flip card ---------- */
.gothoa{
  position:relative; width:100%; aspect-ratio:4/5;
  border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow); background:#000;
  container-type:inline-size;   /* lets the text scale with the CARD, not the viewport */
}
.gothoa .face{ position:absolute; inset:0; display:grid; place-items:center; text-align:center; }

.gothoa .face-milk{
  background:#fff; color:#111;
  animation:ghMilk 7s infinite;
}
.gothoa .face-milk b{
  font-size:clamp(2.6rem,11vw,5.2rem); font-weight:900; letter-spacing:-.03em; line-height:.95;
  font-family:Georgia,'Times New Roman',serif;
}
.gothoa .face-milk small{
  display:block; margin-top:18px; font-size:.86rem; letter-spacing:.3em;
  text-transform:uppercase; color:#777;
}
/* Scale to the card itself so it matches the poster at every width */
@supports (container-type:inline-size){
  .gothoa .face-milk b{ font-size:20cqw; }
  .gothoa .face-milk small{ font-size:3.6cqw; margin-top:4cqw; }
}

.gothoa .face-hoa{
  background:#000; padding:0;
  animation:ghHoa 7s infinite;
}
.gothoa .face-hoa img{ width:100%; height:100%; object-fit:contain; }

@keyframes ghMilk{
  0%,42%   { opacity:1; }
  50%,92%  { opacity:0; }
  100%     { opacity:1; }
}
@keyframes ghHoa{
  0%,42%   { opacity:0; }
  50%,92%  { opacity:1; }
  100%     { opacity:0; }
}
@media (prefers-reduced-motion:reduce){
  .gothoa .face{ animation:none; }
  .gothoa .face-milk{ display:none; }
  .gothoa .face-hoa{ opacity:1; }
}

/* ---------- Got HOA? two-up: the poster and the shirt ---------- */
.gothoa-split{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px; align-items:start; max-width:900px; margin:0 auto;
}
@media (max-width:720px){ .gothoa-split{ grid-template-columns:1fr; gap:32px; } }
.gh-col{ margin:0; }
.gh-col figcaption{
  margin-top:12px; text-align:center; font-size:.84rem; color:var(--muted);
}
.gh-tee{
  width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:var(--radius);
  border:1px solid var(--line); box-shadow:var(--shadow); background:#fff;
}
.gh-col a:hover .gh-tee{ border-color:var(--accent-2); }
.gothoa .face-hoa{ background:#000; padding:0; }
.gothoa .face-hoa img{ width:100%; height:100%; object-fit:contain; }

/* ---------- Top Videos rank badge ---------- */
.vcard-top .vthumb .vrank{
  position:absolute; top:10px; left:10px; z-index:2;
  min-width:28px; height:28px; padding:0 8px;
  display:grid; place-items:center;
  background:var(--accent-btn); color:#fff;
  font-size:.85rem; font-weight:800; line-height:1;
  border-radius:999px; box-shadow:0 2px 8px rgba(0,0,0,.5);
}
.vcard-top{ border-color:rgba(240,173,78,.38); }

/* ---------- Required consent block on submission forms ---------- */
.consent-box{
  background:var(--bg-2); border:1px solid var(--line);
  border-left:4px solid var(--accent-2);
  border-radius:var(--radius); padding:18px 20px;
}
.consent-label{
  display:flex; gap:11px; align-items:flex-start;
  font-size:.92rem; font-weight:400; margin-bottom:10px; cursor:pointer;
}
.consent-label input[type="checkbox"]{
  width:19px; height:19px; flex:none; margin-top:2px; accent-color:var(--accent);
  cursor:pointer;
}
.consent-list{ margin:0; padding-left:32px; font-size:.86rem; color:var(--muted); }
.consent-list li{ margin-bottom:7px; }
.consent-list li:last-child{ margin-bottom:0; }
.consent-list strong{ color:var(--text); }

/* ---------- Accessibility helpers ---------- */
.visually-hidden{
  position:absolute !important; width:1px; height:1px;
  margin:-1px; padding:0; border:0; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;
}
/* Honeypot: out of the layout, out of the tab order, out of the a11y tree */
.hp{
  position:absolute !important; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}

/* ---------- Reserve the player box before the poster loads (CLS) ---------- */
.player-shell{ position:relative; aspect-ratio:16/9; background:#000; }
.player-shell > video{ width:100%; height:100%; }

/* ---------- Board member "aka" ---------- */
.aka{
  display:block; margin-top:3px;
  font-size:.78rem; font-weight:600; letter-spacing:.02em;
  color:var(--muted); text-transform:none;
}

/* ---------- $0 dues calculator ---------- */
.calc{
  background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px; display:grid; gap:18px;
}
.calc label{ font-size:.86rem; font-weight:700; display:block; margin-bottom:6px; }
.calc input[type="number"], .calc select{
  width:100%; padding:11px 13px; border-radius:var(--radius-sm);
  border:1px solid var(--line); background:var(--bg); color:var(--text);
  font-family:inherit; font-size:1rem;
}
.calc-input{ display:flex; align-items:center; gap:8px; }
.calc-input span{ color:var(--muted); font-size:1.1rem; }
.calc input[type="range"]{ width:100%; accent-color:var(--accent); }
.calc output{ color:var(--accent-2); font-weight:800; }
.calc .stat b{ font-size:1.6rem; }
.calc-line{
  margin:20px 0 0; padding-top:18px; border-top:1px solid var(--line);
  font-size:1.02rem; color:var(--text);
}
.calc-line strong{ color:var(--accent-2); }
.calc-community{ margin:6px 0 0; font-size:.88rem; color:var(--muted); }

/* ---------------------------------------------------------------------------
   HOA directory  (/hoa/, /hoa/tx/, /hoa/tx/city/{c}, /hoa/tx/{slug})
   Added with the Texas directory. Uses the existing tokens — no new colours.
   --------------------------------------------------------------------------- */
.hoa-page { padding: 1.25rem 0 3rem; }
.hoa-page h1 { margin: .35rem 0 .5rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 .35rem; }
.crumbs a { color: var(--accent-ink); }
.hoa-sub { margin: 0 0 1.25rem; color: var(--muted); display: flex; flex-wrap: wrap;
           gap: .5rem; align-items: center; }
.hoa-sub .badge { background: var(--accent-btn); color: #fff; border-radius: 3px;
                  padding: .15rem .5rem; font-size: .72rem; font-weight: 700;
                  letter-spacing: .04em; text-transform: uppercase; }
.hoa-sub .badge-soft { background: transparent; color: var(--accent-ink);
                       border: 1px solid var(--accent-ink); }
.hoa-where { color: var(--muted); }

.hoa-card { background: var(--bg-2); border: 1px solid rgba(255,255,255,.06);
            border-radius: 8px; padding: 1.1rem 1.25rem; margin: 0 0 1rem; }
.hoa-card h2 { margin: 0 0 .6rem; font-size: 1.15rem; }
.hoa-card p { margin: 0 0 .7rem; }
.hoa-card p:last-child { margin-bottom: 0; }
.hoa-card .muted { color: var(--muted); font-size: .88rem; }

/* Facts table: label left, value right, stacked on narrow screens. */
.hoa-facts { display: grid; grid-template-columns: 11rem 1fr; gap: .45rem 1rem; margin: 0; }
.hoa-facts dt { color: var(--muted); font-size: .85rem; text-transform: uppercase;
                letter-spacing: .03em; }
.hoa-facts dd { margin: 0; }
@media (max-width: 620px) {
  .hoa-facts { grid-template-columns: 1fr; gap: .1rem .5rem; }
  .hoa-facts dd { margin: 0 0 .6rem; }
}

.hoa-filter { width: 100%; padding: .6rem .75rem; border-radius: 6px;
              border: 1px solid rgba(255,255,255,.14); background: var(--bg);
              color: inherit; font: inherit; margin: 0 0 .75rem; }
.hoa-filter:focus { outline: 2px solid var(--accent-ink); outline-offset: 1px; }

.hoa-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.hoa-list li { break-inside: avoid; margin: 0 0 .35rem; }
.hoa-list .tag, .hoa-list .zip { font-size: .72rem; color: var(--muted); margin-left: .4rem; }
.hoa-list .tag { text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 720px) { .hoa-list { columns: 1; } }

.hoa-chips { list-style: none; margin: 0 0 .75rem; padding: 0;
             display: flex; flex-wrap: wrap; gap: .4rem; }
.hoa-chips a { display: inline-block; padding: .3rem .6rem; border-radius: 999px;
               background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
               font-size: .85rem; }
.hoa-chips .count { color: var(--muted); font-size: .78rem; margin-left: .3rem; }

.hoa-states { list-style: none; margin: 0 0 .75rem; padding: 0; }
.hoa-states li { padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
                 display: flex; flex-wrap: wrap; gap: .75rem; align-items: baseline; }
.hoa-states li:last-child { border-bottom: 0; }
.hoa-states .count { color: var(--accent-ink); }

.hoa-cta { border-left: 3px solid var(--accent); }
.hoa-source p { font-size: .85rem; }
