/* Hidden Door theme: "Neon Night". One hand-written file, no build step.
   Tokens first. Every text/background pair is checked to WCAG 2.2 AA by tests/test-css.php.
   Neon headlines are white glyphs with a coloured glow: contrast comes from the white, never the glow. */

@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --hd-bg: #050507;        /* page */
  --hd-surface: #0d0c12;   /* strips, cards, dialog */
  --hd-raise: #17151f;     /* inputs, flyer tiles before their image loads */
  --hd-ink: #f5f2ff;       /* body text */
  --hd-muted: #a9a3b8;     /* secondary text */
  --hd-pink: #ff2bd6;      /* eyebrows, primary buttons, glow */
  --hd-cyan: #22e4ff;      /* links, day labels, glow */
  --hd-lime: #c6ff3d;      /* the open badge and hours only */
  --hd-on-pink: #12000f;   /* text on pink buttons */
  --hd-error: #ff8fb8;     /* form errors */
  --hd-focus: #ffffff;     /* focus ring */
  --hd-line: rgba(255, 255, 255, .12);
  --hd-line-strong: rgba(255, 255, 255, .34);
  --hd-font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --hd-font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hd-step--1: clamp(.83rem, .8rem + .15vw, .9rem);
  --hd-step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --hd-step-1: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --hd-step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --hd-step-3: clamp(2.2rem, 1.6rem + 3vw, 3.5rem);
  --hd-step-4: clamp(3rem, 1.8rem + 6vw, 6.5rem);
  --hd-radius: 6px;
  --hd-wrap: 1200px;
  --hd-gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --hd-glow-pink: 0 0 6px var(--hd-pink), 0 0 18px var(--hd-pink), 0 0 42px rgba(255, 43, 214, .6);
  --hd-glow-cyan: 0 0 6px var(--hd-cyan), 0 0 18px var(--hd-cyan), 0 0 42px rgba(34, 228, 255, .6);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--hd-bg); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:has(dialog[open]), html.hd-nav-open { overflow: hidden; }
body { margin: 0; background: var(--hd-bg); color: var(--hd-ink); font: 400 var(--hd-step-0)/1.6 var(--hd-font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--hd-cyan); text-underline-offset: .2em; }
a:hover { color: var(--hd-ink); }
:focus-visible { outline: 3px solid var(--hd-focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hd-skip { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .75rem 1rem; border-radius: var(--hd-radius); background: var(--hd-ink); color: var(--hd-bg); font-weight: 700; }
.hd-skip:focus { top: 1rem; }
.hd-main:focus { outline: none; }
.hd-wrap { width: min(100% - 2 * var(--hd-gutter), var(--hd-wrap)); margin-inline: auto; }
.hd-display { font-family: var(--hd-font-display); font-weight: 400; letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
.hd-eyebrow { margin: 0 0 .5rem; color: var(--hd-pink); font-size: var(--hd-step--1); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hd-neon { display: inline-block; color: #fff; }
.hd-neon--pink { text-shadow: var(--hd-glow-pink); }
.hd-neon--cyan { text-shadow: var(--hd-glow-cyan); }
.hd-section { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hd-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.hd-section-title { margin: 0; font-size: var(--hd-step-3); }

/* ---------- buttons ---------- */
.hd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 4px; font-size: var(--hd-step--1); font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: box-shadow .2s, border-color .2s, color .2s; }
.hd-btn--primary { background: var(--hd-pink); color: var(--hd-on-pink); box-shadow: 0 0 24px rgba(255, 43, 214, .4); }
.hd-btn--primary:hover { color: var(--hd-on-pink); box-shadow: 0 0 34px rgba(255, 43, 214, .7); }
.hd-btn--ghost { border-color: var(--hd-line-strong); color: var(--hd-ink); }
.hd-btn--ghost:hover { border-color: var(--hd-cyan); color: var(--hd-ink); box-shadow: 0 0 18px rgba(34, 228, 255, .35); }

/* ---------- header and nav ---------- */
.hd-header { position: relative; z-index: 20; border-bottom: 1px solid var(--hd-line); background: var(--hd-bg); }
.hd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.hd-logo { display: inline-flex; border-radius: 4px; }
.hd-logo img { width: 122px; height: 60px; border-radius: 4px; }   /* fits the 72px phone header */
@media (min-width: 960px) {
  .hd-header__inner { min-height: 96px; }
  .hd-logo img { width: 164px; height: 80px; }
}
.hd-menu-toggle { display: none; align-items: center; gap: .6rem; min-width: 44px; min-height: 44px; padding: .5rem .9rem; border: 1px solid var(--hd-line-strong); border-radius: 4px; background: transparent; color: var(--hd-ink); font: 700 var(--hd-step--1)/1 var(--hd-font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.hd-menu-toggle__bars, .hd-menu-toggle__bars::before, .hd-menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; transition: transform .2s; }
.hd-menu-toggle__bars { position: relative; }
.hd-menu-toggle__bars::before { position: absolute; top: -6px; }
.hd-menu-toggle__bars::after { position: absolute; top: 6px; }
.hd-nav-open .hd-menu-toggle__bars { background: transparent; }
.hd-nav-open .hd-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.hd-nav-open .hd-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.hd-nav { display: flex; align-items: center; gap: 1.5rem; }
.hd-nav__list { display: flex; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.hd-nav__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--hd-ink); font-size: var(--hd-step--1); font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.hd-nav__link:hover { color: #fff; text-shadow: var(--hd-glow-pink); }
.hd-nav__link[aria-current="page"] { color: #fff; text-decoration: underline 2px var(--hd-pink); text-underline-offset: .5em; }

@media (max-width: 959px) {
  .hd-menu-ready .hd-menu-toggle { display: inline-flex; }
  .hd-menu-ready .hd-nav { display: none; }
  .hd-menu-ready.hd-nav-open .hd-nav { position: fixed; inset: 72px 0 0 0; z-index: 30; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; padding: 2rem var(--hd-gutter); overflow-y: auto; background: var(--hd-bg); }
  .hd-menu-ready.hd-nav-open .hd-nav__list { flex-direction: column; gap: .5rem; }
  .hd-menu-ready.hd-nav-open .hd-nav__link { font-family: var(--hd-font-display); font-size: var(--hd-step-3); font-weight: 400; letter-spacing: .02em; }
  html:not(.hd-menu-ready) .hd-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.hd-menu-ready) .hd-nav, html:not(.hd-menu-ready) .hd-nav__list { flex-wrap: wrap; gap: .25rem 1.25rem; }
  .hd-nav .hd-badge { display: none; }
  .hd-menu-ready.hd-nav-open .hd-nav .hd-badge { display: inline-flex; }
}

/* ---------- hours badge ---------- */
.hd-badge { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .45rem .8rem; border: 1px solid rgba(198, 255, 61, .45); border-radius: 999px; color: var(--hd-lime); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hd-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hd-lime); box-shadow: 0 0 10px var(--hd-lime); }
.hd-badge.is-closed { border-color: var(--hd-line-strong); color: var(--hd-ink); }
.hd-badge.is-closed .hd-badge__dot { background: var(--hd-muted); box-shadow: none; }

/* ---------- hero ---------- */
.hd-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 8vw, 8rem) clamp(3rem, 2rem + 5vw, 6rem); }
.hd-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hd-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(5, 5, 7, .72) 0%, rgba(5, 5, 7, .86) 60%, var(--hd-bg) 100%), radial-gradient(60% 80% at 80% 20%, rgba(255, 43, 214, .25), transparent 70%), radial-gradient(50% 70% at 10% 90%, rgba(34, 228, 255, .2), transparent 70%); }
.hd-hero__badge { margin-bottom: 1.25rem; }
.hd-hero__title { margin: .25rem 0 1.25rem; font-family: var(--hd-font-display); font-size: var(--hd-step-4); font-weight: 400; line-height: .92; text-transform: uppercase; }
.hd-hero__title .hd-neon { display: block; }
.hd-hero__lede { max-width: 34rem; color: #e4dff0; font-size: var(--hd-step-1); line-height: 1.5; }
.hd-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
@media (max-width: 599px) { .hd-hero__actions .hd-btn { flex: 1 1 100%; } }
@media (min-width: 960px) { .hd-hero__badge { display: none; } }

/* ---------- weekly lineup ---------- */
.hd-lineup { border-block: 1px solid var(--hd-line); background: var(--hd-surface); }
.hd-lineup__title { padding-top: 1.25rem; }
.hd-lineup__list { display: grid; gap: 1px; margin: 0 0 1.25rem; padding: 0; overflow: hidden; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); background: var(--hd-line); list-style: none; }
.hd-lineup__item { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem; background: var(--hd-surface); }
.hd-lineup__days { color: var(--hd-cyan); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hd-lineup__name { font-weight: 700; }
.hd-lineup__note { color: var(--hd-muted); font-size: var(--hd-step--1); }
@media (min-width: 600px) and (max-width: 959px) { .hd-lineup__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  /* Home strip: one row of five equal columns, day over name, hairline dividers. */
  .hd-lineup--strip .hd-wrap { display: flex; align-items: center; gap: 2.5rem; padding-block: 1.35rem; }
  .hd-lineup--strip .hd-lineup__title { flex: none; margin: 0; padding: 0; white-space: nowrap; }
  .hd-lineup--strip .hd-lineup__list { display: grid; flex: 1; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0; margin: 0; border: 0; border-radius: 0; background: none; }
  .hd-lineup--strip .hd-lineup__item { gap: .35rem; padding: .2rem 1.25rem; border-left: 1px solid var(--hd-line); background: none; }
  .hd-lineup--strip .hd-lineup__name { line-height: 1.25; text-wrap: balance; }
  .hd-lineup--strip .hd-lineup__note { display: none; }
  .hd-lineup--grid .hd-lineup__list { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 960px) and (max-width: 1199px) {   /* narrow desktop: title above the row, so the names get the width */
  .hd-lineup--strip .hd-wrap { flex-direction: column; align-items: stretch; gap: .9rem; }
  .hd-lineup--strip .hd-lineup__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- flyer grid ---------- */
.hd-flyers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .hd-flyers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hd-flyers__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.hd-flyer__link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); background: var(--hd-raise); color: var(--hd-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hd-flyer__link:hover { border-color: var(--hd-pink); color: var(--hd-ink); box-shadow: 0 0 22px rgba(255, 43, 214, .35); }
.hd-flyer__img { width: 100%; height: 100%; object-fit: cover; }
.hd-flyer__textcard { display: flex; align-items: center; height: 100%; padding: 1rem 1rem 3rem; overflow: hidden; overflow-wrap: anywhere; background: radial-gradient(80% 60% at 20% 10%, rgba(255, 43, 214, .22), transparent 70%), radial-gradient(70% 60% at 90% 90%, rgba(34, 228, 255, .18), transparent 70%), var(--hd-raise); font-family: var(--hd-font-display); font-size: var(--hd-step-1); line-height: 1.1; text-transform: uppercase; }
.hd-flyer__meta { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: .5rem; padding: 1.75rem .65rem .55rem; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); color: var(--hd-ink); font-size: .78rem; }
.hd-flyer__video { color: var(--hd-cyan); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hd-fbcard { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid rgba(255, 43, 214, .4); border-radius: 8px; background: linear-gradient(135deg, rgba(255, 43, 214, .1), transparent 60%), var(--hd-surface); }
.hd-fbcard__title { margin: 0 0 .5rem; font-size: var(--hd-step-2); }

/* ---------- flyer dialog ---------- */
.hd-dialog { width: min(100% - 2rem, 960px); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--hd-line-strong); border-radius: 8px; background: var(--hd-surface); color: var(--hd-ink); }
.hd-dialog::backdrop { background: rgba(0, 0, 0, .82); }
.hd-dialog__inner { display: grid; gap: 1rem; padding: 1rem; }
@media (min-width: 800px) { .hd-dialog__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 1.25rem; } }
.hd-dialog__close { grid-column: 1 / -1; justify-self: end; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--hd-line-strong); border-radius: 4px; background: transparent; color: var(--hd-ink); font: 700 var(--hd-step--1)/1 var(--hd-font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.hd-dialog__figure { margin: 0; }
.hd-dialog__figure img { width: 100%; max-height: 75dvh; object-fit: contain; border-radius: var(--hd-radius); background: #000; }
.hd-dialog__title { font-size: var(--hd-step-1); }
.hd-dialog__meta { color: var(--hd-muted); font-size: var(--hd-step--1); }
.hd-dialog__caption { max-height: 45dvh; overflow-y: auto; overflow-wrap: anywhere; white-space: pre-line; }

/* ---------- Loft teaser ---------- */
.hd-loft-teaser__inner { display: grid; align-items: center; gap: 1.5rem; padding: clamp(1rem, .5rem + 2vw, 1.75rem); border: 1px solid rgba(34, 228, 255, .3); border-radius: 8px; background: linear-gradient(135deg, rgba(34, 228, 255, .08), transparent 60%); }
@media (min-width: 800px) { .hd-loft-teaser__inner { grid-template-columns: 1.1fr 1fr; } }
.hd-loft-teaser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--hd-radius); }
.hd-loft-teaser .hd-eyebrow { color: var(--hd-cyan); }
.hd-loft-teaser__title { margin-bottom: .75rem; font-size: var(--hd-step-3); }

/* ---------- visit ---------- */
.hd-visit__inner { display: grid; align-items: start; gap: 2rem; }
@media (min-width: 900px) { .hd-visit__inner { grid-template-columns: 1fr 1.2fr; } }
.hd-facts { display: grid; gap: .75rem; margin: 1.25rem 0 1.5rem; }
.hd-facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.hd-facts dt { padding-top: .2em; color: var(--hd-muted); font-size: var(--hd-step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hd-facts dd { margin: 0; }
.hd-facts__hours { color: var(--hd-lime); }
.hd-map { margin: 0; }
.hd-map__frame { position: relative; overflow: hidden; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); }
.hd-map__link { display: block; }
.hd-map img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
/* Over the Mosaic Center pin + label in map.webp (box printed by tools/static-map.html, padded for touch). */
.hd-map__spot { position: absolute; left: 23%; top: 62%; width: 30.5%; height: 10.5%; border-radius: 6px; }
.hd-map__spot:hover { outline: 2px solid var(--hd-cyan); outline-offset: 2px; }
.hd-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-top: .5rem; }
.hd-map__near { font-size: var(--hd-step--1); }
.hd-map__credit { color: var(--hd-muted); font-size: .78rem; }

/* ---------- inner pages ---------- */
.hd-pagehead { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2rem, 1.5rem + 3vw, 3.5rem); border-bottom: 1px solid var(--hd-line); }
.hd-pagehead__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hd-pagehead--photo::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(5, 5, 7, .7), rgba(5, 5, 7, .9) 70%, var(--hd-bg)); }
.hd-pagehead__title { margin: 0 0 1rem; font-size: var(--hd-step-4); }
.hd-pagehead__lede { max-width: 40rem; margin: 0; color: #e4dff0; font-size: var(--hd-step-1); }
.hd-prose { max-width: 44rem; }
.hd-prose h2 { margin-top: 2rem; font-family: var(--hd-font-display); font-size: var(--hd-step-2); font-weight: 400; text-transform: uppercase; }
.hd-prose h3 { margin-top: 1.5rem; font-size: var(--hd-step-1); }
.hd-prose ul, .hd-prose ol { padding-left: 1.25rem; }
.hd-split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .hd-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.hd-callout { padding: 1.25rem 1.5rem; border: 1px solid rgba(34, 228, 255, .3); border-radius: 8px; background: var(--hd-surface); }
.hd-callout .hd-eyebrow { color: var(--hd-cyan); }
.hd-callout__title { margin: 0 0 .5rem; font-size: var(--hd-step-2); }

/* ---------- forms (Contact Form 7 and the job application plugin) ---------- */
.hd-form { max-width: 44rem; }
.hd-form label { display: block; margin-bottom: .35rem; font-weight: 600; }
.hd-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), .hd-form select, .hd-form textarea { width: 100%; min-height: 44px; padding: .6rem .75rem; border: 1px solid var(--hd-line-strong); border-radius: 4px; background: var(--hd-raise); color: var(--hd-ink); font: inherit; }
.hd-form textarea { min-height: 8rem; }
.hd-form input:focus-visible, .hd-form select:focus-visible, .hd-form textarea:focus-visible { border-color: var(--hd-cyan); outline: 3px solid var(--hd-focus); outline-offset: 1px; }
.hd-form input[type="checkbox"], .hd-form input[type="radio"] { width: 1.2rem; height: 1.2rem; accent-color: var(--hd-pink); }
.hd-form input[type="submit"], .hd-form button[type="submit"], .hd-form button[type="button"] { min-height: 44px; padding: .8rem 1.4rem; border: 0; border-radius: 4px; background: var(--hd-pink); color: var(--hd-on-pink); font: 800 var(--hd-step--1)/1 var(--hd-font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.hd-form ::placeholder { color: var(--hd-muted); opacity: 1; }
.hd-form .wpcf7-not-valid-tip { color: var(--hd-error); font-size: var(--hd-step--1); }
.hd-form .wpcf7-response-output { margin: 1rem 0 0; padding: .75rem 1rem; border: 1px solid var(--hd-line-strong); border-radius: 4px; }
.hd-form-missing { padding: 1rem; border: 1px dashed var(--hd-line-strong); border-radius: var(--hd-radius); }

/* Jobs: the hd-job-application plugin prints its own light CSS (#f9f9f9 form, #fff entries, #f6fff6 thank-you with inline style=), unreadable on dark. Scoped to .hd-form; !important only against inline style=. */
.hd-form .hidden-door-form { max-width: none; margin: 2rem 0; padding: clamp(1rem, .6rem + 2vw, 2rem); background: var(--hd-surface); color: var(--hd-ink); border: 1px solid var(--hd-line); border-radius: var(--hd-radius); box-shadow: none; }
.hd-form .hidden-door-form[style] { max-width: none !important; margin: 2rem 0 !important; background: var(--hd-surface) !important; color: var(--hd-ink) !important; border: 1px solid var(--hd-line-strong) !important; }
.hd-form .hidden-door-form h2 { margin: 1.5rem 0 1rem; color: var(--hd-ink); }
.hd-form .hidden-door-form h2:first-child { margin-top: 0; }
.hd-form .hidden-door-form small { color: var(--hd-muted); font-weight: 400; }
.hd-form .hidden-door-form .hd-employer-entry { background: var(--hd-raise); color: var(--hd-ink); border: 1px solid var(--hd-line); }
.hd-form .hidden-door-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .hd-form .hidden-door-form select, .hd-form .hidden-door-form textarea { background: var(--hd-bg); color: var(--hd-ink); border: 1px solid var(--hd-line-strong); }
.hd-form .hidden-door-form button, .hd-form .hidden-door-form button:hover { min-height: 44px; background: var(--hd-pink); color: var(--hd-on-pink); border: 0; border-radius: 4px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hd-form .hidden-door-form button:hover { box-shadow: 0 0 24px rgba(255, 43, 214, .7); }
.hd-form .hidden-door-form button:focus-visible { outline: 3px solid var(--hd-focus); outline-offset: 3px; }

/* ---------- footer ---------- */
.hd-footer { margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-block: 2.5rem; border-top: 1px solid var(--hd-line); color: var(--hd-muted); font-size: var(--hd-step--1); }
.hd-footer__inner { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .hd-footer__inner { grid-template-columns: 1.2fr 1.5fr 1fr; align-items: start; } }
.hd-footer__name { margin: 0 0 .25rem; color: var(--hd-ink); font-size: var(--hd-step-2); }
.hd-footer address { font-style: normal; line-height: 1.8; }
.hd-footer a { color: var(--hd-ink); }
.hd-footer__social { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hd-footer__social a { display: inline-flex; align-items: center; min-height: 44px; }
.hd-footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid var(--hd-line); }

/* ---------- 404 ---------- */
.hd-404 { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.hd-404 h1 { margin-bottom: 1rem; font-size: var(--hd-step-4); }
.hd-404__links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }

/* ---------- motion: one soft glow-in on load, never a flicker; none at all under reduced motion ---------- */
@keyframes hd-glow-in { from { opacity: .35; text-shadow: none; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hd-js .hd-neon { animation: hd-glow-in .9s ease-out both; }
  .hd-js .hd-neon + .hd-neon { animation-delay: .15s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
