/* Minimal fallback rules for every class in the shared contract.
 *
 * Always prepended to the model-generated stylesheet, which overrides it via the normal
 * later-wins cascade. This exists because the stylesheet and the pages are generated by
 * separate model calls, so the stylesheet can omit a contract class -- which used to fail
 * the whole build (a real business, find-dog, died on a missing `btn-primary`). With this
 * in place a missed rule degrades to plain-but-styled instead of destroying the build.
 *
 * Keep these deliberately neutral and low-specificity: they are a safety net, not a design.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* Owner-uploaded pictures. Without explicit sizing an <img> renders at its natural size,
 * so a phone photo used as a logo would fill the whole header. */
.logo-mark { height: 2.5rem; width: auto; object-fit: contain; }
.hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: .5rem; }
.gallery-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.about-image { width: 100%; max-width: 420px; border-radius: .5rem; }

.site-header { padding: 1rem 0; }
.header-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; }
.logo-text { font-weight: 700; }
.main-nav { display: block; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.nav-link { text-decoration: none; }
.nav-link:hover, .nav-link:focus { text-decoration: underline; }
.is-current { font-weight: 700; }

.hero, .page-hero { padding: 3rem 0; }

/* A photo sitting BEHIND the hero text instead of above it. The picture itself is set as
 * an inline `background-image` on the element, because it is per-business data the
 * stylesheet cannot know; these rules supply the darkening overlay and the stacking that
 * keep the heading readable over any photo, light or dark.
 *
 * Exists because an owner asked twice for exactly this and there was no way to express
 * it -- the only picture vocabulary was `.hero-image`, an <img> in the normal page flow. */
.hero-bg { position: relative; background-size: cover; background-position: center;
  padding: 5rem 0; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero-bg > * { position: relative; z-index: 1; }
.hero-bg .hero-title, .hero-bg .hero-subtitle { color: #fff; }
.hero-inner { display: flex; flex-direction: column; gap: 1rem; }
.hero-title { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
.hero-subtitle { margin: 0; font-size: 1.125rem; }

.section { padding: 3rem 0; }
.section-alt { padding: 3rem 0; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-intro { margin: 0 0 1.5rem; max-width: 60ch; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card { padding: 1.25rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.card-title { margin: 0 0 .5rem; font-size: 1.125rem; }
.card-text { margin: 0; }

.steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid currentColor; font-weight: 700; }
.step-title { margin: 0 0 .25rem; font-size: 1.05rem; }
.step-text { margin: 0; }

/* FAQ items are <details>/<summary>: they expand on click with no JavaScript. */
html { scroll-behavior: smooth; }
.faq-list { display: grid; gap: 1rem; margin: 0; padding: 0; }
.faq-item { padding: 1rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.faq-question { margin: 0; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-weight: 700; flex: 0 0 auto; }
details[open] > .faq-question::after { content: "\2212"; }
.faq-answer { margin: .75rem 0 0; }

.cta-band { padding: 3rem 0; text-align: center; }
.cta-title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.cta-text { margin: 0 0 1.25rem; }

.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: .4rem; text-decoration: none;
  border: 1px solid currentColor; cursor: pointer; }
.btn:hover, .btn:focus { opacity: .85; }
.btn-primary { font-weight: 600; }
.btn-secondary { font-weight: 500; background: transparent; }

.contact-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.contact-item { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-label { font-weight: 600; }
.contact-value { }

.site-footer { padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.footer-col { }
.footer-title { margin: 0 0 .5rem; font-size: 1rem; }
.footer-note { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .step { flex-direction: column; }
}

/* ---- generated ---- */
:root {
  --font-display: "Unbounded", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --color-bg: #0a0a0f;
  --color-surface: #15151c;
  --color-ink: #f2f2f5;
  --color-muted: #8a8a8e;
  --color-border: #2d2d31;
  --color-accent: #ccff00;
  --color-accent-ink: #111111;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
}

h1, h2, h3,
.hero-title, .section-title, .card-title, .cta-title, .step-title, .footer-title, .logo-text {
  font-family: var(--font-display);
}

/* ============================================================
   NFT GALLERY — shared stylesheet
   Dark screen-glow gallery floor · acid-lime terminal accents
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --bg: #0a0a0f;
  --surface: #15151c;
  --surface-deep: #101016;
  --text: #f2f2f5;
  --muted: #8a8a8e;
  --border: #2d2d31;
  --accent: #ccff00;
  --accent-dim: rgba(204, 255, 0, 0.14);
  --accent-glow: rgba(204, 255, 0, 0.35);
  --accent-ink: #111111;

  /* type */
  --font-display: "Unbounded", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;

  /* fluid type scale */
  --fs-hero: clamp(2.75rem, 7.5vw, 5.75rem);
  --fs-page-hero: clamp(2.25rem, 5.5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.45rem);
  --fs-body: clamp(1rem, 1.05vw, 1.075rem);
  --fs-small: 0.875rem;
  --fs-numeral: clamp(4.5rem, 13vw, 10rem);

  /* space */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: clamp(5rem, 10vw, 8.5rem);

  /* shape + depth — deliberately sharp, gallery-crate edges */
  --radius: 2px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
  --shadow-accent: 0 0 0 1px var(--accent), 0 14px 44px -14px var(--accent-glow);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 300ms;

  --container: 1180px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: #e6ff66;
}

p {
  max-width: 68ch;
}

strong {
  color: var(--text);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--space-xxl);
}

.section-alt {
  position: relative;
  padding-block: var(--space-xxl);
  background: var(--accent);
  color: var(--accent-ink);
}

/* the signature slice: a hairline of terminal green above every alt band */
.section-alt::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-ink) 0 26px,
    transparent 26px 40px
  );
  opacity: 0.55;
}

.section-alt p,
.section-alt .section-intro {
  color: var(--accent-ink);
  opacity: 0.82;
}

.section-alt a:not(.btn) {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-alt a:not(.btn):hover {
  opacity: 0.7;
}

/* cards sitting on the lime band flip to black crates */
.section-alt .card {
  background: var(--accent-ink);
  color: var(--text);
  border-color: rgba(17, 17, 17, 0.35);
}

.section-alt .card:hover {
  box-shadow: 0 22px 50px -18px rgba(17, 17, 17, 0.65);
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin-top: var(--space-sm);
}

.section-title {
  font-size: var(--fs-h2);
  text-transform: uppercase;
}

/* signature device — oversized outlined section numerals */
.section-numeral {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-numeral);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  user-select: none;
  pointer-events: none;
  margin-bottom: calc(-0.28 * var(--fs-numeral));
  position: relative;
  z-index: 0;
}

.section-alt .section-numeral {
  -webkit-text-stroke-color: var(--accent-ink);
}

@supports not (-webkit-text-stroke: 2px black) {
  .section-numeral {
    color: var(--accent);
  }
  .section-alt .section-numeral {
    color: var(--accent-ink);
  }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--accent);
  box-shadow: 0 10px 30px -18px var(--accent-glow);
}

.header-inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 76px;
  flex-wrap: wrap;
  padding-block: var(--space-xs);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.logo:hover {
  color: var(--accent);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color var(--t-fast) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link.is-current {
  color: var(--accent);
}

.nav-link.is-current::after {
  transform: scaleX(1);
}

/* mobile nav enhancement states (JS-toggled; nav already works without them) */
.main-nav.is-open .nav-list {
  display: flex;
}

/* ---------- Heroes ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}

.hero {
  padding-block: clamp(5rem, 13vw, 10rem);
}

.page-hero {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      105deg,
      rgba(10, 10, 15, 0.96) 0%,
      rgba(10, 10, 15, 0.82) 46%,
      rgba(10, 10, 15, 0.55) 100%
    );
}

.hero-inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  align-items: end;
  gap: var(--space-lg);
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-title em,
.hero-subtitle em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  margin-top: var(--space-md);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 52ch;
}

.hero .btn-row,
.page-hero .btn-row {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* asymmetric kicker above hero title */
.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.hero-kicker::before,
.page-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 34px -14px var(--accent-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e0ff4d;
  color: var(--accent-ink);
  box-shadow: 0 16px 44px -12px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.section-alt .btn-secondary {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.section-alt .btn-secondary:hover {
  background: rgba(17, 17, 17, 0.08);
  box-shadow: inset 0 0 0 1px var(--accent-ink);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}

/* corner tick — every crate gets a lit edge */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
  transition: width var(--t-med) var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(204, 255, 0, 0.55);
  box-shadow: var(--shadow-accent);
}

.card:hover::before {
  width: 100%;
}

.card-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.card-text {
  color: var(--muted);
  font-size: 0.98rem;
}

.section-alt .card-text {
  color: rgba(242, 242, 245, 0.72);
}

/* price / stat emphasis variant */
.card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  margin-top: var(--space-sm);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  border-top: 1px solid var(--border);
  transition: border-color var(--t-med) var(--ease);
}

.step:hover {
  border-top-color: var(--accent);
}

.step-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: var(--space-sm);
  transition: color var(--t-med) var(--ease);
}

.step:hover .step-number {
  color: var(--accent);
}

@supports not (-webkit-text-stroke: 1.5px black) {
  .step-number {
    color: var(--accent);
  }
}

.step-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
}

.step-text {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--border);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background var(--t-fast) var(--ease);
}

.faq-item[open] {
  background: var(--surface);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-sm);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.35;
  color: var(--text);
  transition: color var(--t-fast) var(--ease);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--t-med) var(--ease);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 var(--space-sm) var(--space-md);
  color: var(--muted);
  max-width: 64ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--accent);
  color: var(--accent-ink);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -32%;
  width: 46%;
  aspect-ratio: 1;
  border: 2px solid rgba(17, 17, 17, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: var(--fs-h2);
  text-transform: uppercase;
  color: var(--accent-ink);
  max-width: 22ch;
}

.cta-text {
  margin-top: var(--space-sm);
  color: var(--accent-ink);
  opacity: 0.8;
  max-width: 56ch;
}

.cta-band .btn-primary {
  background: var(--accent-ink);
  color: var(--accent);
  box-shadow: none;
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: #000000;
  color: var(--accent);
  box-shadow: 0 14px 36px -14px rgba(17, 17, 17, 0.7);
}

.cta-band .btn-secondary {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.cta-band .btn-secondary:hover {
  background: rgba(17, 17, 17, 0.08);
}

.cta-band .container > .btn,
.cta-band .btn-row {
  margin-top: var(--space-lg);
}

.cta-band .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ---------- Contact details ---------- */
.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.contact-item:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.contact-label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
}

.contact-value a {
  color: inherit;
}

.contact-value a:hover {
  color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-deep);
  padding-block: var(--space-xl) var(--space-lg);
  margin-top: 0;
}

.footer-inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-col .logo-text {
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-col p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-col ul a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-note {
  width: min(var(--container), 100% - 3rem);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--fs-small);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- Motion: scroll-reveal & state hooks ----------
   Elements are fully visible by default. Hiding only happens once
   JS opts an element in with .will-reveal; .is-visible plays it in. */
.will-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.is-visible {
  animation: reveal-rise 550ms var(--ease) both;
}

@keyframes reveal-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* tabs / carousel dots */
.is-active {
  color: var(--accent);
  border-color: var(--accent);
}

/* subtle terminal pulse for live/accent badges */
.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-glow 2.2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%      { box-shadow: 0 0 0 7px rgba(204, 255, 0, 0); }
}

/* ---------- Responsive ---------- */

/* Large screens: tighten the container rhythm */
@media (min-width: 1400px) {
  :root {
    --container: 1280px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding-block: var(--space-sm);
  }

  .nav-list {
    gap: 0.4rem 1.25rem;
  }

  .nav-link {
    padding: 0.3rem 0;
  }

  .section,
  .section-alt {
    padding-block: var(--space-xl);
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding-inline: var(--space-xs);
  }

  .faq-answer {
    padding-inline: var(--space-xs);
  }

  .contact-item {
    padding: var(--space-sm);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-note {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .btn-row .btn,
  .hero .btn-row .btn,
  .page-hero .btn-row .btn,
  .cta-band .btn-row .btn {
    width: auto;
    flex: 1 1 auto;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner,
  .footer-note {
    width: calc(100% - 2rem);
  }

  .hero-title {
    letter-spacing: -0.01em;
  }

  .section-numeral {
    -webkit-text-stroke-width: 1.5px;
  }

  .cta-band::after {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }

  .pulse-dot {
    animation: none;
  }
}