/* ============================================================
   THAT ELLINGHAM CO. — "The Abduction" brand system
   Void #0B0B0B · Bone #F2EFE3 · Slime #B7D929
   ============================================================ */

:root {
  --void: #0B0B0B;
  --void-2: #141412;
  --bone: #F2EFE3;
  --bone-dim: rgba(242, 239, 227, 0.64);
  --bone-faint: rgba(242, 239, 227, 0.16);
  --slime: #B7D929;
  --slime-dim: rgba(183, 217, 41, 0.55);
  --display: 'Bangers', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--slime); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
  background: transparent;
}

.brand-logo { height: 72px; width: auto; }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-shadow: 0 1px 12px rgba(11,11,11,0.9);
}
.site-nav a:hover { color: var(--slime); text-decoration: none; }

/* ---------- Hero: layered scene ---------- */

.hero { max-width: none; padding: 0; }

.hero-scene {
  /* Craft = saucer + beam glued together, centered over Aiden (55% of plate) */
  --craft-x: 62%;   /* craft horizontal center — over Aiden */
  --craft-y: -4%;   /* craft top (scene-height %) */
  --craft-w: 26%;   /* craft width */

  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--void);
}

.scene-plate {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Transparent team cutout — sits ABOVE the beam so light never paints over people */
.scene-team {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* same intrinsic ratio as plate → stays registered on crop */
  z-index: 2;
  pointer-events: none;
}

/* Saucer + beam move as ONE unit — cannot drift apart */
.scene-craft {
  position: absolute;
  left: calc(var(--craft-x) - var(--craft-w) / 2);
  top: var(--craft-y);
  width: var(--craft-w);
  aspect-ratio: 1 / 1.71;
  z-index: 1;
  pointer-events: none;
}

.scene-ufo, .scene-beam {
  position: absolute;
  /* true alpha now — no blend mode needed */
}

.scene-ufo {
  left: 13.5%; top: 0;
  width: 73%;
}

.scene-beam {
  left: 3.8%; top: 18.9%;
  width: 92.2%;
  /* beam tip tucks behind the saucer */
}

/* Bottom melt into the void */
.hero-scene::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--void) 92%);
  z-index: 3;
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 4;
  text-align: center;
  padding: clamp(96px, 11vh, 132px) 24px 0;
  pointer-events: none;
}
.hero-copy a, .hero-copy p { pointer-events: auto; }

.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slime);
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(11,11,11,0.9);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--bone);
  text-shadow: 0 0 32px rgba(183,217,41,0.14), 0 3px 24px rgba(11,11,11,0.85);
}

.hero-sub {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--bone);
  font-size: 17px;
  text-shadow: 0 2px 16px rgba(11,11,11,0.95);
}

/* ---------- Team pose swap ---------- */

.pose-wrap { position: relative; }
.pose-wrap img { width: 100%; }
.pose-alt {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.team-card:hover .pose-alt,
.team-card:focus-within .pose-alt { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pose-alt { transition: none; }
}

/* ---------- Halftone dot divider ---------- */

.dot-divider {
  max-width: var(--maxw);
  margin: 64px auto;
  height: 22px;
  background-image: radial-gradient(circle, var(--bone-faint) 1.5px, transparent 1.6px);
  background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
          mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

/* ---------- Sections ---------- */

section { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slime);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  margin-bottom: 28px;
}

/* ---------- Mission ---------- */

.mission {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.mission-copy p { color: var(--bone-dim); margin-bottom: 18px; max-width: 52ch; }
.mission-copy .section-title { color: var(--bone); }
.mission-copy .mono { font-family: var(--mono); font-size: 0.9em; color: var(--bone); }
.mission-copy .wink { color: var(--slime-dim); font-style: italic; }

/* ---------- Comic panels ---------- */

.panel {
  background: var(--void-2);
  border: 1px solid var(--bone-faint);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 18px 40px rgba(0,0,0,0.45);
}

.panel img { width: 100%; }

.panel-caption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bone-dim);
  padding: 10px 14px;
  border-top: 1px solid var(--bone-faint);
}
.panel-caption span { color: var(--slime); margin-right: 8px; }

.mission-panel { transform: rotate(1.2deg); }

/* ---------- Card grids ---------- */

.panel-grid { display: grid; gap: 28px; margin-top: 36px; }
.panel-grid.two { grid-template-columns: repeat(2, 1fr); }
.panel-grid.three { grid-template-columns: repeat(3, 1fr); }

.card-body { padding: 22px 22px 26px; border-top: 1px solid var(--bone-faint); }

.card-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.02em;
  color: var(--bone);
}

.card-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slime);
  margin: 4px 0 12px;
}

.card-text { color: var(--bone-dim); font-size: 15.5px; margin-top: 8px; }

.badge {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--slime);
  padding: 6px 12px;
  border-radius: 2px;
}

/* ---------- Footer ---------- */

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 56px;
  text-align: center;
}

.footer-hello { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); }
.footer-hello a { color: var(--bone); }
.footer-hello a:hover { color: var(--slime); text-decoration: none; }

.footer-line { color: var(--bone-dim); margin-top: 16px; }

.footer-fine {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(242, 239, 227, 0.38);
  margin-top: 10px;
}

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

@media (max-width: 900px) {
  .mission { grid-template-columns: 1fr; gap: 36px; }
  .panel-grid.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-scene { aspect-ratio: 4 / 3; }
  .hero-title { font-size: clamp(30px, 9vw, 44px); }
  .hero-sub { font-size: 15.5px; }
  .brand-logo { height: 56px; }
  .panel-grid.two, .panel-grid.three { grid-template-columns: 1fr; }
  .site-header { padding: 16px 20px; }
  .site-nav { gap: 18px; }
  .dot-divider { margin: 48px auto; }
}
