/* Rel8r — Diorama Display Case World */
/* The entire page IS a physical diorama display case.
   All content lives on physical signs, props, and labels within the miniature world.
   No flat web UI. Everything has thickness, shadow, and material presence. */

:root {
  /* The display case exterior */
  --case-cream: #f5f0e8;
  --case-beige: #e8e0d0;
  --case-shadow: rgba(0,0,0,0.15);

  /* The diorama interior walls and floor */
  --wall-dark: #1a1a1a;
  --wall-charcoal: #242424;
  --wall-concrete: #3a3a3a;
  --floor: #1e1e1e;
  --floor-tile: #252525;

  /* Sign materials */
  --sign-pink: #ff2d78;
  --sign-pink-dark: #cc0044;
  --sign-red: #e04545;
  --sign-red-dark: #b03030;
  --sign-teal: #4a7c7e;
  --sign-teal-dark: #3a5e5f;
  --sign-grey: #5a5a5a;
  --sign-grey-light: #777777;
  --sign-black: #1a1a1a;
  --sign-white: #f5f0e8;
  --sign-cream: #e8ddd0;

  /* Text */
  --text-on-dark: #f0ece4;
  --text-on-light: #1a1a1a;
  --text-secondary: #a09890;
  --text-muted-dark: #5a5550;
  --text-muted: #5a5550;

  /* Typography */
  --font-body: 'Atkinson Hyperlegible', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Physical depth system */
  --depth-sign: 0 3px 0 var(--shadow-below), 0 6px 12px rgba(0,0,0,0.4);
  --depth-sign-hover: 0 5px 0 var(--shadow-below), 0 10px 20px rgba(0,0,0,0.5);
  --depth-card: 0 4px 0 rgba(0,0,0,0.3), 0 8px 16px rgba(0,0,0,0.3);
  --depth-inset: inset 0 2px 8px rgba(0,0,0,0.5);
  --shadow-below: rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

/* === THE DISPLAY CASE === */
body {
  font-family: var(--font-body);
  background: var(--wall-dark);
  color: var(--text-on-dark);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;

  /* The outer cream frame of the display case */
  padding: 24px;
  min-height: 100vh;
}

/* The diorama world — everything lives inside here */
.diorama-world {
  background: var(--wall-dark);
  border: 12px solid var(--case-cream);
  border-radius: 8px;
  /* Inner shadow = looking through glass into the case */
  box-shadow:
    inset 0 0 80px rgba(0,0,0,0.6),
    inset 0 0 20px rgba(0,0,0,0.3),
    0 20px 60px rgba(0,0,0,0.3);
  overflow: visible;
  position: relative;
}

/* Subtle floor texture */
.diorama-world::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--floor) 0%, transparent 100%);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 24px;
  background: var(--sign-pink);
  color: var(--text-on-light);
  padding: 8px 16px;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: var(--depth-sign);
}

.skip-link:focus { top: 24px; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 36px;
  left: 36px;
  right: 36px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.site-nav .nav-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  pointer-events: auto;
  text-decoration: none;
  padding: 8px 12px;
  background: rgba(26,26,26,0.85);
  border: 1px solid var(--wall-concrete);
  border-radius: 3px;
  backdrop-filter: blur(4px);
  transition: color 150ms ease-out, border-color 150ms ease-out;
}

.site-nav .nav-brand:hover {
  color: var(--sign-pink);
  border-color: var(--sign-pink);
}

.site-nav .nav-links {
  display: flex;
  gap: 4px;
  pointer-events: auto;
  background: rgba(26,26,26,0.85);
  border: 1px solid var(--wall-concrete);
  border-radius: 3px;
  padding: 4px;
  backdrop-filter: blur(4px);
}

.site-nav .nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 2px;
  transition: color 150ms ease-out, background 150ms ease-out;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a:focus {
  color: var(--text-on-dark);
  background: var(--wall-concrete);
}

/* === UTILITY SPACING === */
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 48px; }

/* === ADHDWORKS BADGE === */
.adhdworks-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--wall-concrete);
  border-radius: 999px;
  background: var(--wall-charcoal);
  font: 500 12px/1 var(--font-mono);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.adhdworks-badge .badge-diamond {
  color: var(--sign-pink);
}

.adhdworks-badge a {
  color: var(--text-on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--wall-concrete);
  transition: border-color 0.15s;
}

.adhdworks-badge a:hover {
  border-color: var(--sign-pink);
}

/* === HERO DIORAMA SCENE === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* The hero is a room within the diorama */
  background: var(--wall-charcoal);
  border-bottom: 3px solid var(--wall-concrete);
}

/* The scene sits inside the room */
.hero-scene {
  position: absolute;
  inset: 16px;
  border: 3px solid var(--wall-concrete);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/approved/heroes/rel8r-sales-hero-premium-approved-2026-06-11.png') center 20% / cover no-repeat;
  background: image-set(
    url('../assets/approved/heroes/rel8r-sales-hero-premium-approved-2026-06-11.webp') type('image/webp'),
    url('../assets/approved/heroes/rel8r-sales-hero-premium-approved-2026-06-11.png') type('image/png')
  ) center 20% / cover no-repeat;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.8) 50%, var(--wall-dark) 100%);
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
  padding: 48px 40px 56px;
}

/* Logo — a physical sign in the diorama */
.hero-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* Main headline — big physical sign */
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-wrap: balance;
}

.hero h1 .accent { color: var(--sign-pink); }

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* === PHYSICAL SIGNS = BUTTONS === */
/* Primary CTA = pink sign on a stand */
.cta {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--sign-pink);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  /* Physical sign thickness */
  box-shadow: 0 4px 0 var(--sign-pink-dark), 0 6px 12px rgba(0,0,0,0.4);
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--sign-pink-dark), 0 10px 20px rgba(0,0,0,0.5);
}

.cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--sign-pink-dark), 0 2px 4px rgba(0,0,0,0.3);
}

/* Secondary CTA = dark sign with border */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--sign-black);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--wall-concrete);
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,0.4);
  transition: transform 120ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}

.cta-secondary:hover {
  border-color: var(--sign-pink);
  color: var(--sign-pink);
  transform: translateY(-1px);
}

.cta-secondary:active {
  transform: translateY(2px);
}

a:focus-visible {
  outline: 2px solid var(--sign-pink);
  outline-offset: 3px;
}

/* === DIORAMA SECTIONS === */
/* Each section is a different area of the diorama room */
section {
  padding: 0;
  position: relative;
}

section .container {
  padding: 56px 32px;
}

/* Section alternates — subtle texture shift for visual rhythm */
.section-alt {
  background: var(--wall-charcoal);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,45,120,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(74,124,126,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-alt .container {
  position: relative;
  z-index: 1;
}


/* Main section heading — big physical sign style */
section h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 520px;
  color: var(--text-on-dark);
}

.lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 14px;
}

section p {
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 14px;
}

/* === STEPS = PHYSICAL SIGNS ON STANDS === */
.steps {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

/* Each step is a physical sign leaning against the wall */
.step {
  background: var(--sign-white);
  color: var(--text-on-light);
  border: 2px solid var(--wall-concrete);
  border-radius: 4px;
  padding: 28px;
  position: relative;
  /* Sign thickness and shadow */
  box-shadow: 0 5px 0 var(--wall-concrete), 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--wall-concrete), 0 14px 28px rgba(0,0,0,0.35);
}

/* Small label on each step */
.step-number {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #b02050;
  margin-bottom: 12px;
  display: inline-block;
  padding: 3px 10px;
  background: rgba(176,32,80,0.12);
  border: 1px solid rgba(176,32,80,0.35);
  border-radius: 2px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-on-light);
}

.step p {
  font-size: 15px;
  color: #444;
  max-width: 680px;
  margin-bottom: 10px;
}

.step p:last-child { margin-bottom: 0; }

/* === DELIVERABLES = SMALL SIGNS === */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.deliverable {
  background: var(--sign-cream);
  color: var(--text-on-light);
  border: 2px solid var(--wall-concrete);
  border-radius: 3px;
  padding: 22px;
  box-shadow: 0 4px 0 var(--wall-concrete), 0 6px 16px rgba(0,0,0,0.25);
  transition: transform 150ms ease-out;
}

.deliverable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--wall-concrete), 0 10px 24px rgba(0,0,0,0.3);
}

.deliverable h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-on-light);
}

.deliverable p {
  font-size: 14px;
  color: var(--text-on-light);
  opacity: 0.8;
  max-width: none;
}

/* === COMPARISON = TWO SIDE-BY-SIDE SIGNS === */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

/* Line generators = grey concrete sign */
.comparison-card {
  background: var(--sign-grey);
  color: var(--text-on-dark);
  border: 2px solid var(--wall-concrete);
  border-radius: 3px;
  padding: 28px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.3), 0 6px 16px rgba(0,0,0,0.2);
}

.comparison-card.featured {
  /* Rel8r = pink sign */
  background: var(--sign-pink);
  color: var(--text-on-light);
  border-color: var(--sign-pink-dark);
  box-shadow: 0 4px 0 var(--sign-pink-dark), 0 8px 20px rgba(0,0,0,0.3);
}

.comparison-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.comparison-card.featured h3 {
  color: var(--text-on-light);
}

.comparison-card ul {
  list-style: none;
  padding: 0;
}

.comparison-card li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-card.featured li {
  border-bottom-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.8);
}

.comparison-card li:last-child { border-bottom: none; }

/* === PANEL GRID = FRAMED SCENES IN THE DIORAMA === */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

/* Each panel is a framed scene with the cream outer border */
.panel {
  background: var(--case-cream);
  color: var(--text-on-light);
  border: 3px solid var(--case-beige);
  border-radius: 6px;
  overflow: hidden;
  /* The glass case look */
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.1),
    0 6px 0 rgba(0,0,0,0.2),
    0 10px 24px rgba(0,0,0,0.3);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.panel:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.1),
    0 10px 0 rgba(0,0,0,0.15),
    0 18px 36px rgba(0,0,0,0.35);
}

.panel .panel-frame {
  position: relative;
  padding: 8px;
  background: var(--case-cream);
}

.panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Caption is a small label like in the diorama */
.panel-caption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-on-light);
  line-height: 1.5;
  background: var(--case-cream);
}

.panel-caption .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  margin-bottom: 6px;
  background: var(--sign-pink);
  color: var(--text-on-light);
  border-radius: 2px;
  font-weight: 600;
}

/* === PRICING = PRICE TAG SIGNS === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--sign-white);
  color: var(--text-on-light);
  border: 2px solid var(--wall-concrete);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  box-shadow: 0 5px 0 var(--wall-concrete), 0 8px 20px rgba(0,0,0,0.25);
}

.pricing-card.featured {
  background: var(--sign-pink);
  color: var(--text-on-light);
  border-color: var(--sign-pink-dark);
  box-shadow: 0 5px 0 var(--sign-pink-dark), 0 10px 24px rgba(0,0,0,0.3);
}

/* Badge = a little flag/tag on the sign */
.pricing-card .badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--sign-red);
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  font-weight: 600;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 3px 0 var(--sign-red-dark), 0 4px 8px rgba(0,0,0,0.2);
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: 6px;
}

.pricing-card.featured .price {
  color: var(--text-on-light);
}

.pricing-card .price span {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-sub {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 0;
}

.pricing-card ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.pricing-card li {
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pricing-card.featured li {
  border-bottom-color: rgba(0,0,0,0.15);
}

.pricing-card li:last-child { border-bottom: none; }

.pricing-card .cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.pricing-card.featured .cta {
  background: var(--text-on-light);
  color: var(--sign-pink);
  box-shadow: 0 4px 0 rgba(0,0,0,0.3);
}

/* === STATUS WELL = SMALL CONSOLE DISPLAY === */
.status-well {
  background: var(--sign-black);
  border: 2px solid var(--wall-concrete);
  border-radius: 3px;
  padding: 16px 20px;
  margin-top: 32px;
  max-width: 480px;
  box-shadow: var(--depth-inset);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.status-well .timestamp { color: var(--sign-teal); }
.status-well .level-info { color: var(--sign-teal); }

/* === LOG LINES = OLD MONITOR DISPLAY === */
.log-lines {
  background: var(--sign-black);
  border: 2px solid var(--wall-concrete);
  border-radius: 3px;
  padding: 18px;
  margin-top: 28px;
  max-width: 600px;
  overflow-x: auto;
  box-shadow: var(--depth-inset);
}

.log-lines pre {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted-dark);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-lines .timestamp { color: var(--sign-grey-light); }
.log-lines .level-info { color: var(--sign-teal); }
.log-lines .level-warn { color: var(--text-on-dark); }
.log-lines .level-pink { color: var(--sign-pink); }

/* === MANIFESTO === */
#manifesto .accent { color: var(--sign-pink); }

/* === FOOTER = BOTTOM LABEL === */
footer {
  padding: 28px 40px;
  border-top: 2px solid var(--wall-concrete);
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--wall-charcoal);
}

footer .left {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

footer .right {
  font-size: 12px;
  color: var(--text-secondary);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease-out;
}

footer a:hover { color: var(--sign-pink); }

/* === ENTRANCE ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  opacity: 0;
  animation: fadeUp 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero h1 {
  opacity: 0;
  animation: fadeUp 500ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.hero-sub {
  opacity: 0;
  animation: fadeUp 500ms cubic-bezier(0.22, 1, 0.36, 1) 240ms forwards;
}

.hero-actions {
  opacity: 0;
  animation: fadeUp 500ms cubic-bezier(0.22, 1, 0.36, 1) 360ms forwards;
}

.panel {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 60ms),
              transform 400ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 60ms);
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  body { padding: 12px; }
  .hero { min-height: 85vh; }
  .hero h1 { font-size: clamp(26px, 6vw, 42px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-content { padding: 32px 20px 40px; }
  .hero-scene { inset: 8px; }
  .cta, .cta-secondary { width: 100%; justify-content: center; }
  section .container { padding: 40px 20px; }
  section h2 { font-size: 22px; }
  .pricing-card .price { font-size: 32px; }
  .panel-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
