/* ============================================================
   SECRET GARDEN LAB — Dexter's Laboratory Inspired Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

:root {
  --red:     #e50000;
  --blue:    #003fcc;
  --white:   #f0f0f0;
  --black:   #0a0a0e;
  --dark:    #0e0e18;
  --panel:   #111128;
  --accent:  #00ffaa;
  --yellow:  #ffee00;
  --orange:  #ff6600;
  --purple:  #aa00ff;
  --pink:    #ff00aa;
  --font-head: 'Orbitron', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --border: 3px solid var(--red);
  --glow-green: 0 0 8px #00ffaa, 0 0 20px #00ffaa88;
  --glow-red:   0 0 8px var(--red), 0 0 20px #e5000088;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-mono);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---- SCANLINES ---- */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
}

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  overflow: hidden;
  padding: 5px 0;
  white-space: nowrap;
  border-bottom: 2px solid #ff4444;
}
.ticker {
  display: inline-block;
  animation: ticker 32s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- HEADER ---- */
.lab-header {
  background: var(--black);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(229,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-icon {
  font-size: 2rem;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1; filter:drop-shadow(0 0 4px var(--accent));} 50%{opacity:0.7; filter:none;} }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-top {
  font-family: var(--font-head);
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 0.4em;
  font-weight: 700;
}
.logo-main {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px var(--red);
}
.logo-sub {
  font-size: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-top: 2px;
}
.lab-nav {
  display: flex;
  gap: 0.3rem;
}
.lab-nav a {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.lab-nav a:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(229,0,0,0.1);
  text-shadow: var(--glow-red);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,63,204,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,63,204,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-scroll 20s linear infinite;
}
@keyframes grid-scroll { from { background-position: 0 0; } to { background-position: 0 48px; } }

/* Radial vignette over grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, var(--dark) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}
.warning-badge {
  display: inline-block;
  background: repeating-linear-gradient(45deg, var(--yellow), var(--yellow) 8px, var(--black) 8px, var(--black) 16px);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  padding: 4px 20px;
  margin-bottom: 1.5rem;
  border: 3px solid var(--yellow);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title span {
  display: block;
  color: var(--red);
  text-shadow: 0 0 20px rgba(229,0,0,0.7), 0 0 60px rgba(229,0,0,0.3);
  position: relative;
}
.hero-title span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--red);
  animation: glitch 3.5s infinite;
  clip-path: polygon(0 30%,100% 30%,100% 50%,0 50%);
  opacity: 0.6;
}
@keyframes glitch {
  0%,90%,100% { transform: none; opacity: 0; }
  92% { transform: translateX(-3px); opacity: 0.6; }
  94% { transform: translateX(3px); opacity: 0.6; }
  96% { transform: none; opacity: 0; }
}
.hero-sub {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border: 3px solid;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 16px rgba(229,0,0,0.5);
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 0 30px rgba(229,0,0,0.6);
}
.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-secondary:hover {
  background: rgba(0,255,170,0.12);
  box-shadow: var(--glow-green);
}

/* Dials */
.hero-dials {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.dial svg { width: 72px; height: 72px; }
.dial span {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
}
.dial-ring  { fill: none; stroke: #333; stroke-width: 3; }
.dial-inner { fill: var(--panel); stroke: var(--red); stroke-width: 2; }
.dial-needle {
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--accent));
  animation: needle-spin 4s ease-in-out infinite alternate;
}
@keyframes needle-spin {
  from { transform: rotate(calc(var(--pct,0.5) * 270deg - 135deg)); }
  to   { transform: rotate(calc((var(--pct,0.5) + 0.15) * 270deg - 135deg)); }
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--black);
  border-top: var(--border);
  border-bottom: var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: var(--glow-green);
}
.stat-label {
  font-size: 0.6rem;
  color: #777;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.stat-sep {
  color: var(--red);
  font-size: 1.5rem;
  opacity: 0.4;
}

/* ---- SECTIONS ---- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  color: var(--red);
  letter-spacing: 0.4em;
  margin-bottom: 0.5rem;
  padding-left: 2px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: var(--border);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--accent);
  box-shadow: var(--glow-green);
}

/* ---- RESEARCH CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.lab-card {
  background: var(--panel);
  border: 2px solid #222244;
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.lab-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}
.lab-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 24px rgba(229,0,0,0.2);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.card-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-head);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--black);
}
.card-badge--yellow { background: var(--yellow); }
.card-badge--red    { background: var(--red); color: #fff; }
.lab-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.lab-card p {
  font-size: 0.82rem;
  color: #999;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.progress-bar {
  height: 6px;
  background: #222;
  border: 1px solid #333;
  margin-bottom: 0.4rem;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: var(--w, 0%);
  background: var(--accent);
  box-shadow: var(--glow-green);
  animation: fill-in 1.5s ease-out forwards;
}
.progress-fill--red { background: var(--red); box-shadow: var(--glow-red); }
@keyframes fill-in { from { width: 0; } to { width: var(--w); } }
.progress-label {
  font-size: 0.6rem;
  color: #666;
  letter-spacing: 0.15em;
}

/* ---- SPECIMENS ---- */
.specimens-section { background: var(--black); max-width: 100%; padding: 5rem 0; }
.specimens-section .section-label,
.specimens-section .section-title { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }
.specimens-section .section-title { margin-left: auto; margin-right: auto; }
.specimen-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.specimen-card {
  background: var(--panel);
  border: 2px solid #1a1a3a;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.specimen-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}
.specimen-jar {
  position: relative;
  width: 80px;
  height: 100px;
  margin: 0 auto 1rem;
  border: 3px solid #444;
  border-radius: 4px 4px 14px 14px;
  overflow: hidden;
  background: #050510;
}
.jar-liquid {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: var(--h, 60%);
  background: var(--col, var(--accent));
  opacity: 0.6;
  filter: blur(1px);
  animation: bubble 3s ease-in-out infinite;
}
@keyframes bubble {
  0%,100% { height: var(--h, 60%); }
  50% { height: calc(var(--h, 60%) + 6px); }
}
.jar-specimen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}
.specimen-id {
  font-family: var(--font-head);
  font-size: 0.6rem;
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 0.3rem;
}
.specimen-name {
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.specimen-status {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 2px 8px;
  background: rgba(0,255,170,0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.specimen-status--warn { color: var(--orange); border-color: var(--orange); background: rgba(255,102,0,0.1); }
.specimen-status--red  { color: var(--red); border-color: var(--red); background: rgba(229,0,0,0.1); }

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--panel);
  border: 2px solid #222244;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,63,204,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.team-avatar {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px var(--blue));
}
.team-name {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.team-role {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.team-clearance {
  font-family: var(--font-head);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--red);
  padding: 3px 10px;
  border: 1px solid var(--red);
  display: inline-block;
}

/* ---- CONTACT ---- */
.contact-box {
  background: var(--panel);
  border: 2px solid #222244;
  padding: 3rem;
  max-width: 720px;
}
.contact-sub {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lab-input, .lab-textarea {
  background: var(--dark);
  border: 2px solid #2a2a4a;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.lab-input:focus, .lab-textarea:focus { border-color: var(--red); }
.lab-input::placeholder, .lab-textarea::placeholder { color: #555; }
.lab-textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { align-self: flex-start; }

/* ============================================================
   LAB FLOOR — SILHOUETTE SCENE
   ============================================================ */
.lab-floor {
  position: relative;
  width: 100%;
  height: 140px;
  background: var(--black);
  border-top: 4px solid var(--red);
  overflow: hidden;
  flex-shrink: 0;
}
.floor-bg {
  position: absolute;
  inset: 0;
  /* Deep shadow ground beneath scientists */
  background:
    linear-gradient(to top, #000 0%, #07070f 40%, transparent 100%);
}

/* Floor decorations */
.floor-plant, .floor-equipment {
  position: absolute;
  bottom: 0;
  font-size: 1.8rem;
  z-index: 2;
  animation: sway 3s ease-in-out infinite;
}
.floor-plant { filter: brightness(0.3) saturate(0.5); }
.floor-equipment { filter: brightness(0.25); animation: float-eq 4s ease-in-out infinite; }
.plant-1 { left: 3%;  bottom: 0; }
.plant-2 { left: 18%; bottom: 2px; animation-delay: 0.5s; }
.plant-3 { left: 55%; bottom: 0; animation-delay: 1s; }
.plant-4 { left: 72%; bottom: 2px; animation-delay: 1.5s; }
.plant-5 { left: 92%; bottom: 0; animation-delay: 0.8s; }
.eq-1 { left: 8%;  bottom: 2px; font-size: 2.2rem; }
.eq-2 { left: 42%; bottom: 2px; font-size: 2rem; animation-delay: 2s; }
.eq-3 { left: 80%; bottom: 2px; font-size: 2.2rem; animation-delay: 1s; }
@keyframes sway { 0%,100%{transform:rotate(-3deg);} 50%{transform:rotate(3deg);} }
@keyframes float-eq { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-3px);} }

/* ---- SCIENTIST SILHOUETTES ---- */
.scientist {
  position: absolute;
  bottom: 0;
  z-index: 3;
  will-change: transform;
}
.sci-svg {
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,255,170,0.25));
}
/* Glowing liquids in flasks */
.flask-glow {
  animation: flask-pulse 1.8s ease-in-out infinite alternate;
  filter: blur(0.5px);
}
@keyframes flask-pulse {
  from { opacity: 0.7; filter: blur(0.5px); }
  to   { opacity: 1.0; filter: blur(0px) drop-shadow(0 0 4px currentColor); }
}

/* Leg walk animation */
.leg-l { animation: leg-walk-l 0.55s ease-in-out infinite alternate; transform-origin: bottom; }
.leg-r { animation: leg-walk-r 0.55s ease-in-out infinite alternate; transform-origin: bottom; }
.arm-swing { animation: arm-sw 0.55s ease-in-out infinite alternate; transform-origin: top; }
@keyframes leg-walk-l { from{transform:rotate(-18deg);} to{transform:rotate(18deg);} }
@keyframes leg-walk-r { from{transform:rotate(18deg);}  to{transform:rotate(-18deg);} }
@keyframes arm-sw     { from{transform:rotate(-14deg);} to{transform:rotate(14deg);} }

/* Each scientist has a unique size and running speed/direction */
.sci-1 {
  width: 56px;
  animation: run-right 12s linear infinite;
}
.sci-2 {
  width: 52px;
  animation: run-left 9s linear infinite;
  transform: scaleX(-1); /* flip to run left */
}
.sci-3 {
  width: 48px;
  animation: run-right 16s linear infinite;
  animation-delay: -4s;
}
.sci-4 {
  width: 58px;
  animation: run-left 11s linear infinite;
  animation-delay: -2s;
  transform: scaleX(-1);
}
.sci-5 {
  width: 50px;
  animation: run-right 8s linear infinite;
  animation-delay: -6s;
}

@keyframes run-right {
  0%   { left: -80px; }
  100% { left: calc(100% + 80px); }
}
@keyframes run-left {
  0%   { right: -80px; }
  100% { right: calc(100% + 80px); }
}

/* Stagger vertical position slightly so they don't all sit at same y */
.sci-1 { bottom: 6px; }
.sci-2 { bottom: 2px; }
.sci-3 { bottom: 8px; }
.sci-4 { bottom: 0px; }
.sci-5 { bottom: 4px; }

/* ---- FOOTER ---- */
.lab-footer {
  background: var(--black);
  border-top: var(--border);
  padding: 1.2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-head);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: #555;
}
.footer-inner span:nth-child(2) { color: var(--red); opacity: 0.7; }

/* ---- RELIGIOUS EXPERIENCE ---- */
.religious-section {
  max-width: 1200px;
  margin: 0 auto;
}
.religious-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: #bbb;
  max-width: 820px;
  margin-bottom: 3rem;
  border-left: 3px solid var(--purple);
  padding-left: 1.5rem;
}
.religious-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
.religious-card {
  display: flex;
  gap: 2rem;
  background: var(--panel);
  border: 2px solid #1e1e3a;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.religious-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}
.religious-card:hover { border-color: var(--purple); }
.rcard-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--purple));
  padding-top: 0.2rem;
}
.rcard-content { flex: 1; display: flex; flex-direction: column; gap: 0.8rem; }
.rcard-author {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.rcard-work {
  font-size: 0.7rem;
  color: var(--purple);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rcard-quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--yellow);
  border-left: 3px solid var(--yellow);
  padding: 0.8rem 1.2rem;
  background: rgba(255,238,0,0.04);
  line-height: 1.7;
  margin: 0.4rem 0;
}
.rcard-body {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.75;
}

/* Thesis box */
.religious-thesis {
  background: linear-gradient(135deg, #0e0e20 0%, #14142a 100%);
  border: 2px solid var(--purple);
  box-shadow: 0 0 30px rgba(170,0,255,0.12);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.thesis-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--purple);
  text-align: center;
  text-shadow: 0 0 10px var(--purple);
  margin-bottom: 0.5rem;
}
.religious-thesis p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #ccc;
}
.religious-thesis em  { color: var(--accent); font-style: normal; }
.religious-thesis strong { color: var(--white); }

.contact-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a4a;
  flex-wrap: wrap;
}
.contact-cta-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #888;
  white-space: nowrap;
}
.contact-cta-note {
  font-size: 0.72rem;
  color: #666;
  line-height: 1.5;
  font-style: italic;
}
.contact-cta-note::before { content: '— '; }

/* ---- DISCLAIMER ---- */
.disclaimer-section {
  background: var(--black);
  max-width: 100%;
  padding: 5rem 0;
}
.disclaimer-section .section-label,
.disclaimer-section .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.disclaimer-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--panel);
  border: 2px solid var(--yellow);
  box-shadow: 0 0 24px rgba(255,238,0,0.08);
  padding: 2.5rem;
}
.disclaimer-icon {
  font-size: 3.5rem;
  color: var(--yellow);
  text-shadow: 0 0 12px rgba(255,238,0,0.6);
  flex-shrink: 0;
  line-height: 1;
  animation: warn-pulse 2s ease-in-out infinite;
}
@keyframes warn-pulse {
  0%,100% { opacity: 1; text-shadow: 0 0 12px rgba(255,238,0,0.6); }
  50%      { opacity: 0.6; text-shadow: none; }
}
.disclaimer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.disclaimer-main {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #ccc;
}
.disclaimer-main strong {
  color: var(--white);
  font-weight: normal;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}
.disclaimer-divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0px, var(--yellow) 8px, transparent 8px, transparent 14px);
  opacity: 0.35;
}
.disclaimer-ai {
  font-size: 0.82rem;
  color: #aaa;
  line-height: 1.6;
}
.disclaimer-ai strong { color: var(--accent); }
.ai-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  margin-bottom: 0.5rem;
}
.prompt-quote {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--yellow);
  border-left: 3px solid var(--yellow);
  padding: 0.8rem 1.2rem;
  background: rgba(255,238,0,0.04);
  line-height: 1.65;
  font-style: italic;
}
.disclaimer-credit {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: #555;
}
.disclaimer-credit strong { color: #888; }
.disclaimer-credit a {
  color: var(--accent);
  text-decoration: none;
}
.disclaimer-credit a:hover {
  text-shadow: var(--glow-green);
}

/* ---- RESPONSIVE ---- */

/* Tablet (≤900px) */
@media (max-width: 900px) {
  .hero-dials { display: none; }

  .religious-card {
    flex-direction: column;
    gap: 1rem;
  }
  .rcard-icon { font-size: 2rem; padding-top: 0; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {

  /* --- Header --- */
  .header-inner {
    padding: 0.6rem 1rem;
    gap: 0.6rem;
  }
  .logo-icon:last-of-type { display: none; }
  .logo-main { font-size: 1.1rem; }
  .logo-sub  { display: none; }

  /* Nav: scrollable single row */
  .lab-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    border-top: 1px solid #1a1a1a;
    padding-top: 0.4rem;
  }
  .lab-nav::-webkit-scrollbar { display: none; }
  .lab-nav a {
    font-size: 0.58rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* --- Hero --- */
  .hero {
    min-height: 70vh;
    padding: 3rem 1.2rem 2.5rem;
  }
  .hero-sub { font-size: 0.88rem; }

  /* --- Stats bar --- */
  .stats-bar {
    gap: 1rem 1.5rem;
    padding: 1rem 1.2rem;
  }
  .stat-sep { display: none; }
  .stat-num { font-size: 1.6rem; }

  /* --- Sections --- */
  .section { padding: 3rem 1.2rem; }

  .specimens-section { padding: 3rem 0; }
  .specimens-section .section-label,
  .specimens-section .section-title { padding-left: 1.2rem; padding-right: 1.2rem; }
  .specimen-grid { padding: 0 1.2rem; }

  .disclaimer-section { padding: 3rem 0; }
  .disclaimer-section .section-label,
  .disclaimer-section .section-title { padding-left: 1.2rem; padding-right: 1.2rem; }

  /* --- Card grid min-width guard --- */
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  }
  .specimen-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }

  /* --- Contact --- */
  .contact-box { padding: 1.5rem 1.2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* --- Religious Experience --- */
  .religious-intro { font-size: 0.88rem; padding-left: 1rem; }
  .religious-thesis { padding: 1.5rem 1.2rem; }
  .thesis-label { letter-spacing: 0.15em; font-size: 0.6rem; }
  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .contact-cta-label { white-space: normal; }
  .contact-cta-note::before { content: ''; }
  .contact-cta-note { padding-top: 0.2rem; }

  /* --- Disclaimer --- */
  .disclaimer-box {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 1.2rem;
    margin: 0 1.2rem;
  }
  .disclaimer-icon { font-size: 2.5rem; }

  /* --- Footer --- */
  .footer-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.5rem;
  }
}

/* Small mobile (≤420px) */
@media (max-width: 420px) {
  .logo-main { font-size: 0.95rem; }
  .logo-top  { font-size: 0.55rem; letter-spacing: 0.2em; }
  .logo-icon { font-size: 1.5rem; }

  .warning-badge { font-size: 0.6rem; padding: 4px 12px; letter-spacing: 0.15em; }

  .btn { font-size: 0.7rem; padding: 0.75rem 1.4rem; letter-spacing: 0.12em; }

  .section-title { font-size: clamp(1.2rem, 7vw, 1.8rem); margin-bottom: 2rem; }

  .rcard-quote { font-size: 0.85rem; padding: 0.6rem 0.8rem; }
  .rcard-body  { font-size: 0.8rem; }

  .prompt-quote { font-size: 0.75rem; }

  /* Floor is fine as-is at small sizes */
}
