/*
Theme Name: Dark Prism
Theme URI: https://darkprism.com
Author: Dark Prism Studio
Author URI: https://darkprism.com
Description: A Dark Side of the Moon inspired WordPress theme for Dark Prism — featuring a starfield hero, animated SVG prism with spectrum light rays, and a full-featured creative studio layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darkprism
Tags: dark, creative, portfolio, one-page, custom-menu, featured-images, full-width-template
*/

/* ═══════════════════════════════════════════════
   DARK PRISM — Inspired by Dark Side of the Moon
   Black void → prism → spectrum of light
═══════════════════════════════════════════════ */

:root {
  --void: #000000;
  --near-black: #050508;
  --deep: #0a0a14;
  --prism-glass: rgba(255,255,255,0.04);
  --prism-edge: rgba(255,255,255,0.15);
  --text: #e8e4dc;
  --text-dim: rgba(232,228,220,0.45);
  --text-ghost: rgba(232,228,220,0.12);

  /* Spectrum colors */
  --red:    #ff2020;
  --orange: #ff6a00;
  --yellow: #ffd700;
  --green:  #00ff7a;
  --cyan:   #00e5ff;
  --blue:   #4d79ff;
  --violet: #bf40ff;

  --spectrum: linear-gradient(90deg,
    var(--red), var(--orange), var(--yellow),
    var(--green), var(--cyan), var(--blue), var(--violet)
  );

  --spectrum-glow: linear-gradient(135deg,
    #ff202022, #ffd70022, #00ff7a22, #00e5ff22, #bf40ff22
  );
}

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

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--void);
  color: var(--text);
  overflow-x: hidden;
  cursor: crosshair;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--spectrum);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: transform 0.08s;
}
.cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(.23,1,.32,1), width 0.2s, height 0.2s;
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  left: 0; top: 0;
  height: 2px;
  background: var(--spectrum);
  z-index: 999;
  transform-origin: left;
  transform: scaleX(0);
}

/* ─── NAV ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4rem;
}
#site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  z-index: -1;
}

.site-logo-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-prism { width: 20px; height: 18px; display: inline-block; }
.nav-logo-prism svg { width: 100%; height: 100%; }

/* WordPress nav menu */
#site-navigation { display: flex; align-items: center; }
#primary-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0; padding: 0;
}
#primary-menu li a {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
#primary-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--spectrum);
  transform: scaleX(0);
  transition: transform 0.3s;
}
#primary-menu li a:hover { color: var(--text); }
#primary-menu li a:hover::after { transform: scaleX(1); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--text-ghost);
  color: var(--text);
  padding: 0.5rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  cursor: pointer;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.prism-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.prism-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
.prism-svg {
  width: 260px;
  filter: drop-shadow(0 0 60px rgba(100,100,255,0.15));
}
.beam-in {
  position: absolute;
  right: calc(50% + 0px);
  top: 50%;
  width: 600px;
  height: 2px;
  background: linear-gradient(to left, rgba(255,255,255,0.9), rgba(255,255,255,0));
  transform-origin: right center;
  transform: translateY(-50%) rotate(-15deg);
  mix-blend-mode: screen;
  filter: blur(0.5px);
  animation: pulse-beam 4s ease-in-out infinite;
}
@keyframes pulse-beam {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}
.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 2.5rem;
  animation: fadeUp 1.4s 0.2s both;
}
.hero-title {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.9;
  mix-blend-mode: screen;
  animation: fadeUp 1.4s 0.4s both;
}
.hero-title .word-dark  { display: block; color: var(--text); }
.hero-title .word-prism {
  display: block;
  background: var(--spectrum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(191,64,255,0.4));
}
.hero-sub {
  font-style: italic;
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  color: var(--text-dim);
  margin-top: 2.5rem;
  letter-spacing: 0.05em;
  animation: fadeUp 1.4s 0.6s both;
}
.hero-cta {
  margin-top: 4rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeUp 1.4s 0.8s both;
  pointer-events: all;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── BUTTONS ─── */
.btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2.5rem;
  border: 1px solid var(--prism-edge);
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  align-items: center;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--spectrum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.23,1,.32,1);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { border-color: transparent; color: #000; }
.btn-ghost { border-color: var(--text-ghost); color: var(--text-dim); }
.btn-ghost:hover { color: #000; }

/* ─── SPECTRUM DIVIDER ─── */
.spectrum-line {
  height: 1px;
  background: var(--spectrum);
  opacity: 0.6;
  position: relative;
}
.spectrum-line::after {
  content: '';
  position: absolute;
  inset: -4px 0;
  background: var(--spectrum);
  filter: blur(8px);
  opacity: 0.3;
}

/* ─── SECTION COMMON ─── */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 1.5rem;
}

/* ─── ABOUT ─── */
#about-section {
  padding: 10rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.about-visual { position: relative; }
.ring-container {
  width: 380px; height: 380px;
  position: relative;
  margin: 0 auto;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}
.ring-1 { border-color: rgba(255,32,32,0.3);   animation: spin 20s linear infinite; }
.ring-2 { inset: 20px; border-color: rgba(255,215,0,0.3);  animation: spin 15s linear infinite reverse; }
.ring-3 { inset: 40px; border-color: rgba(0,255,122,0.3);  animation: spin 25s linear infinite; }
.ring-4 { inset: 60px; border-color: rgba(0,229,255,0.3);  animation: spin 18s linear infinite reverse; }
.ring-5 { inset: 80px; border-color: rgba(191,64,255,0.3); animation: spin 30s linear infinite; }
.ring-center {
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.about-text h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.about-text h2 em {
  font-style: italic;
  background: var(--spectrum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* ─── MARQUEE ─── */
.marquee-wrapper {
  overflow: hidden;
  padding: 3rem 0;
  border-top: 1px solid var(--text-ghost);
  border-bottom: 1px solid var(--text-ghost);
  background: var(--void);
}
.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding: 0 3rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-ghost);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--spectrum);
  background-size: 200%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SERVICES ─── */
#services-section {
  background: var(--near-black);
  padding: 10rem 4rem;
}
.services-inner { max-width: 1400px; margin: 0 auto; }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}
.services-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--prism-edge);
}
.card {
  background: var(--near-black);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: pointer;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--spectrum);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(.23,1,.32,1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { background: var(--deep); }
.card-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
  margin-bottom: 2.5rem;
}
.card-icon { width: 48px; height: 48px; margin-bottom: 2rem; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.6rem; font-weight: 300; margin-bottom: 1rem; letter-spacing: -0.01em; }
.card p  { font-size: 0.9rem; color: var(--text-dim); line-height: 1.8; }
.card-arrow {
  position: absolute;
  bottom: 3rem; right: 3rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-ghost);
  transition: color 0.3s, transform 0.3s;
}
.card:hover .card-arrow { color: var(--text); transform: translate(4px, -4px); }

/* ─── PORTFOLIO ─── */
#work-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10rem 4rem;
}
.work-header { margin-bottom: 5rem; }
.work-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; }
.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: var(--text-ghost);
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--deep);
}
.portfolio-item:first-child { grid-row: 1 / 3; }
.portfolio-visual { height: 100%; min-height: 280px; position: relative; overflow: hidden; }
.portfolio-item:first-child .portfolio-visual { min-height: 560px; }
.portfolio-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(.23,1,.32,1);
}
.portfolio-item:hover .portfolio-bg { transform: scale(1.05); }
.bg-1 { background: radial-gradient(ellipse at 30% 40%, rgba(255,32,32,0.2), rgba(191,64,255,0.15), transparent 70%); }
.bg-2 { background: radial-gradient(ellipse at 60% 30%, rgba(0,229,255,0.2), rgba(0,255,122,0.1), transparent 70%); }
.bg-3 { background: radial-gradient(ellipse at 50% 60%, rgba(255,215,0,0.2), rgba(255,106,0,0.15), transparent 70%); }
.portfolio-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.portfolio-cat {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
  margin-bottom: 0.5rem;
}
.portfolio-title { font-size: 1.4rem; font-weight: 300; }

/* ─── TESTIMONIALS ─── */
#testimonials-section {
  background: var(--near-black);
  padding: 10rem 4rem;
  text-align: center;
}
.testimonials-inner { max-width: 900px; margin: 0 auto; }
.quote-mark {
  font-size: 8rem;
  line-height: 0.5;
  color: var(--text-ghost);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  margin-bottom: 2rem;
}
blockquote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 3rem;
}
.quote-author {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
}
.quote-stars { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.star {
  width: 8px; height: 8px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ─── CONTACT ─── */
#contact-section {
  padding: 10rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.contact-left h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 2rem;
}
.contact-left h2 span {
  background: var(--spectrum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-left p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.8; margin-bottom: 3rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.contact-detail-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}
.form-group input,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--text-ghost);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  padding: 1rem 1.25rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--text-dim); }
.form-group textarea { height: 140px; }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; }

/* CF7 submit button */
.wpcf7-submit {
  width: 100%;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  border: 1px solid var(--prism-edge);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

/* ─── FOOTER ─── */
#colophon {
  background: var(--void);
  padding: 5rem 4rem 3rem;
  border-top: 1px solid var(--text-ghost);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
}
.footer-brand { max-width: 300px; }
.footer-brand-name {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  background: var(--spectrum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-ghost); line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.85rem; }
.footer-col ul a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--text-ghost);
}
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--text-ghost);
}

/* ─── WORDPRESS CORE ─── */
.wp-block-image img { border-radius: 0; }
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { margin: 0 auto; display: block; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

/* ─── SINGLE / ARCHIVE POSTS ─── */
.site-main { padding: 10rem 4rem 6rem; max-width: 900px; margin: 0 auto; }
.entry-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; margin-bottom: 2rem; line-height: 1.1; }
.entry-content p { color: var(--text-dim); line-height: 1.9; font-size: 1.1rem; margin-bottom: 1.5rem; }
.entry-content h2, .entry-content h3 { font-weight: 300; margin: 2.5rem 0 1rem; }
.entry-content a { color: var(--cyan); }
.entry-content a:hover { color: var(--violet); }
.entry-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-ghost);
  margin-bottom: 3rem;
}

/* ─── 404 ─── */
.error-404 .page-title {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 300;
  background: var(--spectrum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  #site-header { padding: 1.5rem 2rem; }
  .menu-toggle { display: block; }
  #primary-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.97);
    padding: 2rem;
    gap: 2rem;
    border-bottom: 1px solid var(--text-ghost);
  }
  #primary-menu.is-open { display: flex; }

  #about-section { grid-template-columns: 1fr; gap: 4rem; padding: 6rem 2rem; }
  .about-visual { display: none; }
  #services-section { padding: 6rem 2rem; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-row: auto; }
  #contact-section { grid-template-columns: 1fr; gap: 4rem; padding: 6rem 2rem; }
  #work-section { padding: 6rem 2rem; }
  #testimonials-section { padding: 6rem 2rem; }
  .footer-top { flex-direction: column; gap: 3rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  #colophon { padding: 4rem 2rem 2rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 6rem); }
  .site-main { padding: 8rem 2rem 4rem; }
}

/* ─── SCROLL FADE-IN (JS adds .is-visible) ─── */
.fade-target {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.23,1,.32,1), transform 0.8s cubic-bezier(.23,1,.32,1);
}
.fade-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}
