/* ===== Arcade86 — Retro Neon Arcade Theme ===== */

:root {
  --bg: #0a0a12;
  --bg-alt: #0d0d16;
  --surface: #12121e;
  --cyan: #00e5ff;
  --magenta: #ff2d95;
  --amber: #ff9f1c;
  --text: #e8e8f0;
  --text-dim: #9a9ab0;
  --font-pixel: "Press Start 2P", monospace;
  --font-body: "Rajdhani", "Inter", sans-serif;
  --header-height: 72px;
  --glow-cyan: 0 0 10px rgba(0, 229, 255, 0.55), 0 0 28px rgba(0, 229, 255, 0.25);
  --glow-magenta: 0 0 10px rgba(255, 45, 149, 0.55), 0 0 28px rgba(255, 45, 149, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ===== Typography helpers ===== */

.section-kicker {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 159, 28, 0.6);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.accent-cyan    { color: var(--cyan);    text-shadow: var(--glow-cyan); }
.accent-magenta { color: var(--magenta); text-shadow: var(--glow-magenta); }
.accent-amber   { color: var(--amber);   text-shadow: 0 0 10px rgba(255, 159, 28, 0.55), 0 0 28px rgba(255, 159, 28, 0.25); }

.section-intro {
  max-width: 620px;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--cyan);
  color: #06121a;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
}
.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.btn-insta { border-color: var(--magenta); }
.btn-insta.btn-primary { background: var(--magenta); box-shadow: 0 0 14px rgba(255, 45, 149, 0.35); }
.btn-insta.btn-primary:hover { box-shadow: 0 0 24px rgba(255, 45, 149, 0.6); }
.btn-insta.btn-outline { color: var(--magenta); }
.btn-insta.btn-outline:hover { background: rgba(255, 45, 149, 0.08); box-shadow: 0 0 20px rgba(255, 45, 149, 0.35); }

/* ===== Header / Nav ===== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--cyan);
  text-decoration: none;
  text-shadow: var(--glow-cyan);
  letter-spacing: 0.05em;
}
.logo-slash { color: var(--magenta); text-shadow: var(--glow-magenta); }

.logo-img {
  display: block;
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.45));
  transform: scale(1.03);
}
@media (max-width: 520px) {
  .logo-img { height: 38px; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
  border-bottom-color: var(--cyan);
}

.nav-cta {
  border: 2px solid var(--magenta);
  border-radius: 4px;
  padding: 0.45rem 1rem;
  color: var(--magenta);
}
.nav-cta:hover,
.nav-cta.active {
  color: #fff;
  border-bottom-color: var(--magenta);
  background: rgba(255, 45, 149, 0.15);
  box-shadow: 0 0 14px rgba(255, 45, 149, 0.4);
  text-shadow: 0 0 8px rgba(255, 45, 149, 0.7);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.7);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 18, 0.72);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.18) 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.hero-kicker {
  font-family: var(--font-pixel);
  font-size: clamp(0.55rem, 1.4vw, 0.75rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 159, 28, 0.7);
  margin-bottom: 1.6rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
  margin-bottom: 1.4rem;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.4rem;
  font-size: 1.2rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cyan);
  text-decoration: none;
  font-size: 1.1rem;
  text-shadow: var(--glow-cyan);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Hero entrance animation */
.hero-content .reveal { opacity: 0; transform: translateY(24px); }
.hero-content .reveal.visible { animation: heroIn 0.9s ease forwards; }
.hero-content .reveal.visible:nth-child(2) { animation-delay: 0.1s; }
.hero-content .reveal.visible:nth-child(3) { animation-delay: 0.2s; }
.hero-content .reveal.visible:nth-child(4) { animation-delay: 0.3s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Stats strip ===== */

.stats {
  background: var(--bg-alt);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  padding: 2.6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 0.7rem;
}

.stat-label {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== Sections (generic) ===== */

.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ===== Gallery ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(0, 229, 255, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item figcaption,
.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: rgba(10, 10, 18, 0.78);
  border-top: 1px solid rgba(0, 229, 255, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover figcaption,
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ===== Lightbox ===== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 12, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4.5rem;
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 6px;
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.3);
  margin: 0 auto;
}

.lightbox-figure figcaption {
  margin-top: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lightbox button {
  position: absolute;
  background: transparent;
  border: none;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.6rem 1rem;
  transition: transform 0.2s ease;
}
.lightbox button:hover { transform: scale(1.15); }

.lightbox-close { top: 1rem; right: 1.2rem; font-size: 2.8rem; }
.lightbox-prev  { left: 0.8rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 0.8rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.15); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.15); }

/* ===== Services ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 8px;
  padding: 2.2rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.service-card h3 { color: var(--text); }

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}

.service-icon {
  width: 56px;
  height: 56px;
  color: var(--magenta);
  filter: drop-shadow(0 0 6px rgba(255, 45, 149, 0.6));
  margin-bottom: 1.3rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.service-card p { color: var(--text-dim); font-size: 1rem; }

/* ===== Process ===== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  list-style: none;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 159, 28, 0.2);
  border-radius: 8px;
  padding: 2.4rem 1.6rem 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
  box-shadow: 0 0 24px rgba(255, 159, 28, 0.25);
}

.process-num {
  display: block;
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 159, 28, 0.6);
  margin-bottom: 1.1rem;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.process-step p { color: var(--text-dim); font-size: 1rem; }

/* ===== About ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media img {
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.18);
}

.about-text p:not(.section-kicker) {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.about-text .btn { margin-top: 0.6rem; }

/* ===== Instagram band ===== */

.insta-band {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 45, 149, 0.3);
  border-bottom: 1px solid rgba(255, 45, 149, 0.3);
  padding: 3.5rem 0;
}

.insta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.insta-inner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(255, 45, 149, 0.35);
  margin-bottom: 0.35rem;
}

.insta-inner p { color: var(--text-dim); }

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 2.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field { margin-bottom: 1.2rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.contact-alt {
  background: var(--surface);
  border: 1px solid rgba(255, 45, 149, 0.25);
  border-radius: 8px;
  padding: 2.2rem;
}

.contact-alt h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.contact-alt p { color: var(--text-dim); margin-bottom: 1.4rem; }

.contact-note { margin-top: 1.4rem; font-size: 0.95rem; }

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  padding: 2rem 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--magenta);
  display: inline-flex;
  transition: filter 0.2s ease;
}
.footer-inner a:hover { filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.8)); }

/* ===== Scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content .reveal.visible { animation: none; opacity: 1; transform: none; }
  .hero-scroll { animation: none; }
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .services-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 18, 0.97);
    border-bottom: 1px solid rgba(0, 229, 255, 0.25);
    padding: 0.8rem 0 1.2rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    text-align: center;
  }
  .nav-menu.open { transform: translateY(0); }

  .nav-menu li { padding: 0.55rem 0; }
  .nav-cta { display: inline-block; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 4.5rem 0; }
  .lightbox { padding: 2.5rem 1rem; }
  .lightbox-prev { left: 0.2rem; }
  .lightbox-next { right: 0.2rem; }
}

@media (max-width: 520px) {
  .gallery-grid,
  .services-grid,
  .process-grid,
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===== Sub-page hero (landing & policy pages) ===== */

.page-hero {
  position: relative;
  min-height: 62vh;
  min-height: 62svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 18, 0.78);
}

.page-hero .hero-scanlines { opacity: 0.4; }

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  max-width: 760px;
}

.page-hero-title {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
  margin-bottom: 1.1rem;
}

.page-hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 600px;
}

/* ===== Breadcrumb ===== */

.breadcrumb {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
}

.breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
  transition: text-shadow 0.2s ease;
}
.breadcrumb a:hover { text-shadow: var(--glow-cyan); }

.breadcrumb .sep { color: var(--magenta); margin: 0 0.5rem; }

/* ===== Feature list (what's included) ===== */

.features-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.features-list li {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  padding: 1.1rem 1.3rem 1.1rem 3rem;
  color: var(--text-dim);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.features-list li::before {
  content: "▸";
  position: absolute;
  left: 1.2rem;
  top: 1.05rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  font-size: 1.1rem;
}

.features-list li:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.22);
  transform: translateX(4px);
}

.features-list li strong {
  display: block;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* ===== Detail image block ===== */

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.detail-media img {
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.18);
  width: 100%;
}

.detail-text p:not(.section-kicker) {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

/* ===== CTA band ===== */

.cta-band {
  background: var(--bg-alt);
  border-top: 1px solid rgba(0, 229, 255, 0.3);
  border-bottom: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 1.8rem;
}

/* ===== Gallery items as links ===== */

a.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.gallery-item::after {
  content: "View page →";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(10, 10, 18, 0.82);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 4px;
  padding: 0.45rem 0.6rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

a.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

/* ===== Policy pages ===== */

.policy-note {
  display: inline-block;
  background: rgba(255, 159, 28, 0.1);
  border: 1px solid rgba(255, 159, 28, 0.5);
  border-radius: 6px;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  margin-top: 1.6rem;
}

.policy-body { max-width: 780px; }

.policy-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
  margin: 2.4rem 0 0.8rem;
}

.policy-body p,
.policy-body li { color: var(--text-dim); }

.policy-body p { margin-bottom: 1rem; }

.policy-body ul,
.policy-body ol {
  margin: 0 0 1.2rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.policy-body li::marker { color: var(--magenta); }

.policy-body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.4);
  transition: text-shadow 0.2s ease;
}
.policy-body a:hover { text-shadow: var(--glow-cyan); }

.policy-updated {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2.8rem;
}

/* Policies hub cards */
.policy-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 8px;
  padding: 2rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}

.policy-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.policy-card p { color: var(--text-dim); font-size: 1rem; margin: 0; }

.policy-card .policy-card-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

/* ===== Footer policies block ===== */

.footer-inner { align-items: flex-start; }

.footer-policies {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 180px;
}

.footer-policies-title {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 159, 28, 0.5);
  margin-bottom: 0.4rem;
}

.footer-policies a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-policies a:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
  filter: none;
}

.footer-brand { max-width: 320px; }

/* ===== Responsive (sub-page additions) ===== */

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 720px) {
  .page-hero { min-height: 52vh; min-height: 52svh; }
  .footer-inner { flex-direction: column; }
}

/* ===== Gallery page (gallery.html) ===== */

/* Square-cropped thumbnails keep mixed photo orientations tidy */
.gallery-grid-square .gallery-item img { aspect-ratio: 1 / 1; }

/* On touch devices there's no hover — keep captions visible */
@media (hover: none) {
  .gallery-item figcaption,
  .gallery-item .gallery-caption { opacity: 1; transform: none; }
}

.gallery-noscript {
  background: var(--surface);
  border: 1px solid rgba(255, 159, 28, 0.5);
  border-radius: 6px;
  color: var(--amber);
  padding: 1.2rem 1.4rem;
  margin-top: 1rem;
}
.gallery-noscript a { color: var(--cyan); }

/* "View the full gallery" link under the home-page builds grid */
.gallery-more {
  margin-top: 2.4rem;
  text-align: center;
}

.gallery-more a {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 229, 255, 0.4);
  padding-bottom: 0.3rem;
  transition: text-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-more a:hover {
  text-shadow: var(--glow-cyan);
  border-bottom-color: var(--cyan);
}
