:root {
  --bg: #18181d;
  --bg-soft: #0c0c10;
  --fg: #f2f2ee;
  --fg-dim: #8a8a85;
  --fg-faint: #4a4a47;
  --accent: #e11d36;
  --accent-soft: rgba(225, 29, 54, 0.14);
  --accent-glow: rgba(225, 29, 54, 0.55);
  --highlight: #f0e6d2;
  --highlight-soft: rgba(240, 230, 210, 0.10);
  --copper: #c08552;
  --copper-soft: rgba(192, 133, 82, 0.16);
  --copper-glow: rgba(192, 133, 82, 0.55);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --max-w: 1200px;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

/* When JS-driven cursor is active, hide native cursor (progressive enhancement) */
@media (hover: hover) and (pointer: fine) {
  body.cursor-active,
  body.cursor-active a,
  body.cursor-active button { cursor: none; }
}

a { color: inherit; text-decoration: none; }

/* ============ Cursor effects ============ */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 54, 0.12) 0%, rgba(225, 29, 54, 0.05) 28%, transparent 60%);
  transform: translate(-50%, -50%);
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: 0;
  transition: opacity 0.4s ease;
  filter: blur(22px);
}

/* Tiny precise dot at exact cursor position */
.cursor-dot {
  position: fixed;
  pointer-events: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow), 0 0 28px var(--accent-glow);
  transform: translate(-50%, -50%);
  left: var(--dx, 50%);
  top: var(--dy, 50%);
  z-index: 9999;
  transition: opacity 0.3s ease;
  will-change: transform;
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow, .cursor-dot { display: none; }
}

/* ============ Background photo (Mogollon Rim) ============ */
.photo-bg {
  position: fixed;
  inset: -8% -4% -4% -4%; /* slight overscan room for parallax/scale */
  background-image: url('assets/MogollonRim.jpg');
  background-size: cover;
  background-position: center 28%;
  opacity: 0.55;
  filter: saturate(0.95) contrast(1.02);
  pointer-events: none;
  z-index: 0;
  /* Fades from very visible at top to invisible deep down */
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0) 88%);
  mask-image: linear-gradient(180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0) 88%);
  /* Scroll-reactive: subtle scale + downward drift */
  transform:
    translate3d(0, calc(var(--scroll-y, 0) * -0.12px), 0)
    scale(calc(1 + var(--scroll-y, 0) * 0.00018));
  transform-origin: center 35%;
  will-change: transform;
}

/* Soft vignette + warm wash over the photo for cohesion */
.photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(24, 24, 29, 0.25) 65%, rgba(24, 24, 29, 0.7) 100%),
    linear-gradient(180deg, rgba(225, 29, 54, 0.035) 0%, transparent 35%);
  pointer-events: none;
}


main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem max(2rem, calc((100vw - var(--max-w)) / 2 + 2rem));
  background: rgba(15, 15, 20, 0.62);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              backdrop-filter 0.4s ease;
}

/* Header lifts away on scroll, scroll rail takes over navigation */
body.is-scrolled .site-header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Mobile (no scroll rail) — header stays visible so nav is always reachable */
@media (max-width: 760px) {
  body.is-scrolled .site-header {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Top spacer so content doesn't sit under the fixed header at rest */
main { padding-top: 4rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.brand-mark {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: var(--accent-soft);
}

.brand-divider {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}

.brand-name {
  color: var(--fg);
  font-weight: 400;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--fg);
  font-weight: 400;
}

.site-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--fg); }

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after { width: 100%; }

/* ============ Scroll rail (right side, replaces nav on scroll) ============ */
.scroll-rail {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-scrolled .scroll-rail {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.rail-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rail-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  text-transform: uppercase;
  padding: 0.25rem 0;
  position: relative;
}

.rail-marker {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.35s ease;
  flex-shrink: 0;
  order: 3;
}

.rail-num {
  color: var(--copper);
  order: 2;
  min-width: 18px;
  text-align: right;
}

.rail-label {
  order: 1;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.rail-item:hover .rail-label,
.rail-item.is-active .rail-label {
  opacity: 1;
  transform: translateX(0);
}

.rail-item:hover { color: var(--fg); }
.rail-item:hover .rail-marker { width: 32px; }

.rail-item.is-active {
  color: var(--highlight);
}
.rail-item.is-active .rail-marker {
  width: 40px;
  background: var(--highlight);
  box-shadow: 0 0 8px rgba(240, 230, 210, 0.6);
}
.rail-item.is-active .rail-num { color: var(--highlight); }

@media (max-width: 760px) {
  .scroll-rail { display: none; }
}

/* ============ Watermarks (Jesus + Arizona, bottom-right) ============ */
.watermarks {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  pointer-events: none;
  opacity: 0.65;
  color: var(--copper);
  filter: drop-shadow(0 0 10px rgba(192, 133, 82, 0.3));
  transition: opacity 0.4s ease;
}

.watermark { display: block; }

.watermark--az {
  width: 88px;
  height: 88px;
  /* Calibrated filter chain that converts the PNG's black lines to copper (#c08552) */
  filter: brightness(0) saturate(100%) invert(57%) sepia(44%) saturate(700%) hue-rotate(348deg) brightness(91%) contrast(85%);
}

.watermark--jesus {
  /* SVG viewBox 145 0 460 1024 — figure is taller than wide */
  width: 44px;
  height: 96px;
}

@media (max-width: 760px) {
  .watermarks { bottom: 1rem; right: 1rem; gap: 0.6rem; }
  .watermark--az { width: 60px; height: 60px; }
  .watermark--jesus { width: 30px; height: 66px; }
}

/* ============ Section heads ============ */
.section-head {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding: 0 2rem;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--highlight);
  letter-spacing: 0.12em;
  position: relative;
  padding-left: 1.25rem;
}

.section-num::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--highlight);
  transform: translateY(-50%);
  animation: section-pulse 2.6s ease-in-out infinite;
}

@keyframes section-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(240, 230, 210, 0.85),
                0 0 30px rgba(240, 230, 210, 0.4);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 5px rgba(240, 230, 210, 0.35),
                0 0 12px rgba(240, 230, 210, 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-num::before { animation: none; }
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--fg-dim);
  font-size: 0.95rem;
  margin-left: auto;
}

/* ============ Portfolio cards ============ */
.portfolio {
  padding: 6rem 0 6rem;
}

.cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg-soft);
  border: 1px solid rgba(0, 0, 0, 0.5);
  /* Punched-out feel: inner shadow at top simulates a recessed pocket;
     1px rim light at bottom hints at the surrounding page edge catching light */
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.55),
    inset 0 8px 16px rgba(0, 0, 0, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  cursor: pointer;
  isolation: isolate;
}

.card:hover {
  transform: translateY(3px) scale(0.994);
  border-color: rgba(0, 0, 0, 0.95);
  /* Multi-layer inset to really sell the cutout depth.
     Light source convention: upper-left → upper-left edges glint, lower-right interior is darkest. */
  box-shadow:
    /* === Top wall (deepest shadow — cutout's overhang) === */
    inset 0  2px 1px  rgba(0, 0, 0, 0.95),         /* hard razor edge */
    inset 0  6px 8px  rgba(0, 0, 0, 0.70),         /* near falloff */
    inset 0 14px 24px rgba(0, 0, 0, 0.50),         /* mid depth */
    inset 0 30px 56px rgba(0, 0, 0, 0.28),         /* deep ambient */

    /* === Right wall (light from upper-left → right side darker) === */
    inset -2px 0 14px rgba(0, 0, 0, 0.40),
    inset -1px 0 0    rgba(0, 0, 0, 0.60),

    /* === Left wall (lit edge — subtle highlight catching upper-left light) === */
    inset  2px 0 8px  rgba(0, 0, 0, 0.18),
    inset  1px 0 0    rgba(255, 255, 255, 0.06),

    /* === Bottom wall (floor of the cutout — slight darkness + lit lip) === */
    inset 0 -10px 22px rgba(0, 0, 0, 0.28),
    inset 0  -1px 0    rgba(255, 255, 255, 0.12),

    /* === Bottom-right corner ambient occlusion (deepest pool) === */
    inset -8px -8px 28px rgba(0, 0, 0, 0.22);
}

/* Content sinks slightly faster than the frame — parallax adds depth */
.card-inner {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .card-inner {
  transform: translateY(2px);
}

/* Register the angle property so it animates smoothly (otherwise it jumps) */
@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Comet beam that travels around the card border on hover */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: var(--radius);
  background: conic-gradient(
    from var(--beam-angle),
    rgba(255, 255, 255, 1)    0deg,
    rgba(255, 220, 220, 0.95) 4deg,
    rgba(225, 29, 54, 1)      8deg,
    rgba(225, 29, 54, 0.7)    25deg,
    rgba(225, 29, 54, 0.35)   60deg,
    rgba(225, 29, 54, 0.1)    100deg,
    transparent               140deg,
    transparent               360deg
  );
  /* Mask everything except the 1.5px ring */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 4;
}

.card:hover::before {
  opacity: 1;
  animation: card-beam 5s linear infinite;
}

@keyframes card-beam {
  to { --beam-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover::before { animation: none; }
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    400px circle at var(--card-mx, 50%) var(--card-my, 50%),
    rgba(225, 29, 54, 0.20),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover .card-glow { opacity: 1; }


.card-inner {
  position: relative;
  z-index: 3;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  min-height: 280px;
}

.card-logo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  flex-shrink: 0;
  overflow: hidden;
  transition: filter 0.45s ease;
}

/* For logos that have a dark/black background baked into the image
   (e.g. Argano) — match container to the card body so it reads seamless */
.card-logo--dark {
  background: var(--bg-soft);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Logo panel dims slightly when card is recessed — less light reaches it */
.card:hover .card-logo {
  filter: brightness(0.88) contrast(0.97);
}

.card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-sector {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-name {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.card-tidbit {
  color: var(--fg-dim);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.card-url {
  text-transform: lowercase;
  transition: color 0.3s ease;
}

.card:hover .card-url { color: var(--fg); }

.card-arrow {
  color: var(--fg-faint);
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1rem;
}

.card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ============ About ============ */
.about {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.about-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-portrait {
  position: relative;
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 60px rgba(0, 0, 0, 0.25);
  background: var(--bg-soft);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

/* Faint warm rim glow that pulses subtly — ties to highlight color */
.about-portrait::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(240, 230, 210, 0.18) 60deg,
    transparent 140deg,
    transparent 220deg,
    rgba(225, 29, 54, 0.16) 280deg,
    transparent 360deg
  );
  opacity: 0.7;
  z-index: -1;
  filter: blur(8px);
}

.about-content { min-width: 0; }

.about-blurb {
  color: var(--fg-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.about-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.about-link {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, background 0.3s ease;
  position: relative;
}

.about-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.about-link:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, var(--accent-soft) 0%, transparent 60%);
}

.about-link:hover::before { width: 2px; }

.link-kind {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--highlight);
  text-transform: uppercase;
}

.link-label {
  color: var(--fg);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.link-arrow {
  color: var(--fg-faint);
  font-size: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-link:hover .link-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

@media (max-width: 760px) {
  .about { padding: 2rem 1.25rem; }
  .about-inner {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: start;
  }
  .about-portrait { width: 140px; }
  .about-link {
    grid-template-columns: 1fr auto;
    gap: 0.4rem 1rem;
  }
  .link-kind { grid-column: 1 / -1; }
}

/* ============ Contact ============ */
.contact {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
  text-align: center;
}

.contact-line {
  color: var(--fg-dim);
  margin: 2rem 0 1rem;
  font-size: 1rem;
}

.contact-email {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.contact-email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-email:hover { color: var(--accent); }
.contact-email:hover::after { transform: scaleX(1); }

/* ============ Footer ============ */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-meta {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 2rem 2rem;
  display: flex;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Live marquee — DITAT DEUS · ESTABLISHED IN ARIZONA · ... */
.marquee {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.18) 0%,
    transparent 8%,
    transparent 92%,
    rgba(0,0,0,0.18) 100%
  );
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

.copper-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 8px var(--copper-glow), 0 0 16px var(--copper-soft);
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause on hover for readability */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .site-header { padding: 1.25rem; }
  .brand-name { display: none; }
  .hero { padding: 5rem 1.25rem 4rem; }
  .section-head { padding: 0 1.25rem; }
  .section-sub { margin-left: 0; width: 100%; }
  .cards { padding: 0 1.25rem; }
  .site-footer { padding: 1.5rem 1.25rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cursor-glow { display: none; }
}
