/* TheBlock:Domino marketing site. One stylesheet, no build step.
   Palette from the approved brand art (emerald sign, gold trim, cream letters, purple pips). */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07110c;
  --bg-2: #0b1a13;
  --surface: #10241a;
  --surface-2: #163122;
  --emerald: #0e4a32;
  --emerald-bright: #1f8a5a;
  --gold: #e6c35c;
  --gold-deep: #b8902c;
  --gold-soft: rgba(230, 195, 92, 0.16);
  --cream: #f6ecc9;
  --text: #f4f0e6;
  --muted: #b7c3ba;
  --purple: #7b3fe4;
  --purple-soft: #b49bff;
  --line: rgba(230, 195, 92, 0.28);
  --danger: #ff9a7a;
  --display: "Anton", "Impact", "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -5%, rgba(230, 195, 92, 0.14), transparent 60%),
    radial-gradient(700px 480px at 95% 8%, rgba(123, 63, 228, 0.16), transparent 60%),
    linear-gradient(180deg, #0a1a12 0%, var(--bg) 40%);
  background-repeat: no-repeat;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

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

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--cream); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 1.05; margin: 0 0 0.5em; color: var(--cream); }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { margin: 0 0 0.4em; font-size: 1.1rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

.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: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--gold); color: #1a1405; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Street-sign motif: eyebrow labels styled as small sign plates */
.sign-tag {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.3em 0.9em;
  background: var(--emerald);
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.9rem;
  white-space: nowrap;
}
@media (max-width: 420px) { .sign-tag { font-size: 0.82rem; letter-spacing: 0.1em; padding-inline: 0.7em; } }
.sign-tag::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--purple-soft); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-gold { background: linear-gradient(180deg, #f0d273, var(--gold) 55%, var(--gold-deep)); color: #1a1405; border-color: #f7e09a; box-shadow: 0 8px 24px rgba(230, 195, 92, 0.25); }
.btn-gold:hover { color: #1a1405; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(230, 195, 92, 0.35); }
.btn-outline { background: rgba(255, 255, 255, 0.04); color: var(--cream); border-color: var(--line); }
.btn-outline:hover { color: var(--cream); border-color: var(--gold); transform: translateY(-2px); }
.btn-lg { font-size: 1.15rem; min-height: 56px; padding: 0.8em 1.8em; }
.btn:active { transform: translateY(0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 17, 12, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(230, 195, 92, 0.18); }
.header-bar { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--cream); text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.02em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.brand-colon { color: var(--gold); }
.nav-toggle { margin-left: auto; display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.8rem; background: transparent; color: var(--cream); border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle-bars { position: relative; width: 20px; height: 2px; background: currentColor; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.2rem; }
.nav-list a { display: inline-block; padding: 0.55rem 0.7rem; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold); background: rgba(230, 195, 92, 0.08); }
.btn-nav-play { min-height: 44px; padding: 0.55em 1.2em; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0.6rem; padding: 0.8rem var(--gutter) 1.2rem; background: rgba(7, 17, 12, 0.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { display: block; padding: 0.8rem 0.6rem; font-size: 1.1rem; }
  .btn-nav-play { width: 100%; min-height: 50px; }
  .site-nav:not(.is-open) { }
  html:not(.js) .site-nav { position: static; display: flex; flex-wrap: wrap; width: 100%; }
}

/* Sections */
.section { padding: clamp(3.2rem, 8vw, 6rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head .lead { font-size: 1.15rem; color: var(--muted); }
.section-tight { padding-top: 1.25rem; }
.rules-more { margin-top: 1rem; }
.section-alt { background: linear-gradient(180deg, rgba(14, 74, 50, 0.22), rgba(14, 74, 50, 0)); border-top: 1px solid rgba(230, 195, 92, 0.12); }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1rem; }
.hero-note { font-size: 0.95rem; color: var(--muted); max-width: 560px; }
.store-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.4rem; }
.store-badge img { height: 48px; width: auto; }
.coming-soon { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.9em; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 63, 228, 0.35), rgba(230, 195, 92, 0.12) 55%, transparent 75%); filter: blur(20px); pointer-events: none; }
.hero-phone { position: relative; width: min(300px, 70vw); border-radius: 26px; box-shadow: var(--shadow), 0 0 0 1px rgba(230, 195, 92, 0.35); transform: rotate(-3deg); }
.hero-sign { position: absolute; left: 0; bottom: -4%; width: min(190px, 42vw); filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55)); transform-origin: 50% 100%; }
@media (min-width: 900px) { .hero-sign { left: -6%; width: 230px; } .hero-phone { width: 330px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-sign { animation: sway 7s ease-in-out infinite; }
  @keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
}

/* Cards */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.card { position: relative; padding: 1.5rem 1.4rem 1.4rem; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid rgba(230, 195, 92, 0.2); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover { border-color: rgba(230, 195, 92, 0.5); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-4px); } }
.card h3 { font-size: 1.35rem; margin-bottom: 0.35em; }
.card p { color: var(--muted); font-size: 1rem; }
.card .pip-tile { margin-bottom: 0.9rem; }

/* A domino tile drawn in CSS: two halves with pip counts set by data attributes */
.pip-tile { display: inline-grid; grid-template-columns: 1fr 1fr; width: 64px; height: 34px; background: var(--cream); border-radius: 7px; border: 2px solid #d8c88e; box-shadow: 0 3px 0 #b39e58, 0 6px 14px rgba(0, 0, 0, 0.4); overflow: hidden; }
.pip-tile span { position: relative; display: block; }
.pip-tile span + span { border-left: 2px solid #b39e58; }
.pip-tile span::before { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; }
.pip-tile [data-pips="1"]::before { background-image: radial-gradient(circle, var(--purple) 3px, transparent 3.6px); background-position: center; }
.pip-tile [data-pips="2"]::before { background-image: radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px); background-size: 10px 10px; background-position: 4px 4px, calc(100% - 4px) calc(100% - 4px); }
.pip-tile [data-pips="3"]::before { background-image: radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px); background-size: 10px 10px; background-position: 4px 4px, center, calc(100% - 4px) calc(100% - 4px); }
.pip-tile [data-pips="4"]::before { background-image: radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px); background-size: 10px 10px; background-position: 4px 4px, calc(100% - 4px) 4px, 4px calc(100% - 4px), calc(100% - 4px) calc(100% - 4px); }
.pip-tile [data-pips="5"]::before { background-image: radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px); background-size: 10px 10px; background-position: 4px 4px, calc(100% - 4px) 4px, center, 4px calc(100% - 4px), calc(100% - 4px) calc(100% - 4px); }
.pip-tile [data-pips="6"]::before { background-image: radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px), radial-gradient(circle, var(--purple) 3px, transparent 3.6px); background-size: 10px 10px; background-position: 4px 3px, 4px center, 4px calc(100% - 3px), calc(100% - 4px) 3px, calc(100% - 4px) center, calc(100% - 4px) calc(100% - 3px); }

/* How to play */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 0 0 2.2rem; padding: 0; list-style: none; }
.steps li { position: relative; padding: 1.4rem 1.3rem 1.3rem 1.3rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(230, 195, 92, 0.2); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 0.4rem; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: 1rem; }
.rules-grid { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 900px) { .rules-grid { grid-template-columns: 1.3fr 0.9fr; } }
.rules { padding: 1.6rem 1.5rem; background: linear-gradient(180deg, rgba(14, 74, 50, 0.45), rgba(14, 74, 50, 0.15)); border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), var(--shadow); }
.rules h3 { margin-bottom: 0.8rem; }
.rules dl { margin: 0; display: grid; gap: 0.7rem; }
.rules dt { font-weight: 700; color: var(--gold); }
.rules dd { margin: 0 0 0.2rem; color: var(--text); }
.taxman { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding: 1.1rem; background: linear-gradient(135deg, rgba(123, 63, 228, 0.22), rgba(230, 195, 92, 0.08)); border: 1px solid rgba(180, 155, 255, 0.35); border-radius: var(--radius); }
.taxman img { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.taxman h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.taxman p { font-size: 0.98rem; color: var(--muted); }
@media (max-width: 480px) { .taxman { grid-template-columns: 1fr; } .taxman img { width: 100%; height: auto; aspect-ratio: 1; } }

/* Gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery figure { margin: 0; }
.shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid rgba(230, 195, 92, 0.25); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); background: var(--bg-2); transition: transform 0.2s ease, border-color 0.2s ease; }
.shot:hover { border-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .shot:hover { transform: translateY(-4px); } }
.shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.gallery figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: var(--muted); line-height: 1.35; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 520px); max-height: 96vh; }
.lightbox::backdrop { background: rgba(3, 8, 6, 0.9); }
.lightbox-inner { position: relative; }
.lightbox img { width: 100%; max-height: 90vh; object-fit: contain; border-radius: 18px; }
.lightbox-close { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7, 17, 12, 0.85); color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lightbox-caption { margin: 0.6rem 0 0; color: var(--cream); text-align: center; }
.video-wrap { margin-top: 2rem; }
.video-wrap video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }

/* Platforms */
.platforms { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.platform { padding: 1.5rem 1.4rem; border-radius: var(--radius); border: 1px solid rgba(230, 195, 92, 0.22); background: linear-gradient(180deg, var(--surface), var(--bg-2)); display: flex; flex-direction: column; gap: 0.6rem; }
.platform h3 { margin: 0; }
.platform p { color: var(--muted); font-size: 1rem; flex: 1; }
.platform .btn { align-self: flex-start; }
.platform-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--emerald); border: 1px solid var(--gold); color: var(--cream); }
.platform-icon svg { width: 24px; height: 24px; fill: currentColor; }
.install-note { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: rgba(230, 195, 92, 0.06); border-radius: 0 10px 10px 0; color: var(--muted); font-size: 0.98rem; }

/* FAQ */
.faq { display: grid; gap: 0.7rem; max-width: 860px; }
.faq details { border: 1px solid rgba(230, 195, 92, 0.22); border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.6rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid rgba(230, 195, 92, 0.15); }
.faq .answer { padding: 0.9rem 1.2rem 1.2rem; color: var(--muted); }
.faq .answer p { margin-bottom: 0.7em; }

/* Final CTA */
.cta-panel { position: relative; overflow: hidden; padding: clamp(2.2rem, 6vw, 4rem) clamp(1.3rem, 5vw, 3.5rem); border: 2px solid var(--gold); border-radius: 24px; background: linear-gradient(135deg, #0e4a32, #0a2a1c 60%, #140b2a); box-shadow: var(--shadow); text-align: center; }
.cta-panel::before { content: ""; position: absolute; inset: -40% -20%; background: radial-gradient(closest-side, rgba(230, 195, 92, 0.22), transparent 70%); pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel h2 { margin-bottom: 0.3em; }
.cta-panel .lead { color: var(--cream); max-width: 620px; margin-inline: auto; }
.cta-panel .hero-actions { justify-content: center; }
.cta-panel .store-row { justify-content: center; }
.cta-panel .disclosure { margin-top: 1.4rem; }

/* Generic content pages (support, legal) */
.page-hero { padding: clamp(2.4rem, 6vw, 4rem) 0 1rem; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 720px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45em; }
.notice { padding: 1rem 1.2rem; border: 1px solid rgba(180, 155, 255, 0.4); background: rgba(123, 63, 228, 0.12); border-radius: 12px; color: var(--text); }
.notice p { margin: 0; }
.contact-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 1.6rem 0 2.4rem; }

/* Form */
.form { max-width: 640px; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; }
.field .hint { font-size: 0.92rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(230, 195, 92, 0.35); border-radius: 10px; }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { color: #111; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.95rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(230, 195, 92, 0.08); }
.alert-ok { border-color: rgba(31, 138, 90, 0.7); background: rgba(31, 138, 90, 0.16); }
.alert-error { border-color: rgba(255, 154, 122, 0.6); background: rgba(255, 154, 122, 0.12); }
.alert ul { margin: 0.5em 0 0; padding-left: 1.2em; }

/* Footer */
.site-footer { margin-top: clamp(2rem, 6vw, 4rem); padding: 3rem 0 2.2rem; border-top: 1px solid rgba(230, 195, 92, 0.18); background: linear-gradient(180deg, rgba(14, 74, 50, 0.18), rgba(7, 17, 12, 1)); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand img { width: 110px; height: auto; margin-bottom: 0.8rem; }
.footer-powered { color: var(--muted); }
.footer-heading { font-family: var(--body); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-nav a { color: var(--text); text-decoration: none; display: inline-block; padding: 0.3rem 0; min-height: 32px; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.disclosure { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(230, 195, 92, 0.14); color: var(--muted); font-size: 0.92rem; }
.copyright { color: var(--muted); font-size: 0.92rem; }

/* Reveal on scroll (JS adds .reveal; reduced motion skips it) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
