/* ═══════════════════════════════════════════════════════════════
   Koipond — A GitHub Pages site in the spirit of _why
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  /* Colors — from the pond */
  --pond-depths: #1a2f38;
  --moonlit-water: #2d4a54;
  --reflected-sky: #4a7c8c;
  --kohaku-orange: #e07f4f;
  --tancho-red: #c04c38;
  --shiro-white: #f5f0e8;
  --lily-pad: #5a7d5a;
  --wet-stone: #3a4548;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-slow: 400ms ease;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--shiro-white);
  background-color: var(--pond-depths);
  overflow-x: hidden;
}

/* ── Skip Link ─────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: var(--kohaku-orange);
  color: var(--pond-depths);
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* ── Typography ────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-sm) 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
  margin: 0 0 var(--space-sm) 0;
}

a {
  color: var(--kohaku-orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--tancho-red);
}

a:focus-visible {
  outline: 2px solid var(--kohaku-orange);
  outline-offset: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--wet-stone);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-lg) 0;
}

/* ── Box-Drawing Frame ─────────────────────────────────────────── */
.box-frame {
  border: 2px solid var(--reflected-sky);
  border-radius: 4px;
  padding: var(--space-md);
  position: relative;
  background: var(--moonlit-water);
}

.box-frame::before {
  content: "╔═══════════════════════════════════════════════════════════╗";
  position: absolute;
  top: -1.5em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--reflected-sky);
  opacity: 0.6;
  white-space: nowrap;
  overflow: hidden;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: var(--space-xl) var(--space-md);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: var(--space-xs);
}

.hero-emoji {
  display: inline-block;
  animation: swim 4s ease-in-out infinite;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-style: italic;
  color: var(--reflected-sky);
  max-width: 32rem;
  margin: var(--space-md) auto 0;
}

/* ── The Stone — Interactive Element ───────────────────────────── */
.stone-trigger {
  display: inline-block;
  position: relative;
  color: var(--shiro-white);
  font-style: normal;
  font-weight: 600;
  cursor: pointer;
  padding: 0.1em 0.4em;
  margin: 0 0.1em;
  background: linear-gradient(
    135deg,
    var(--wet-stone) 0%,
    #4a5558 50%,
    var(--wet-stone) 100%
  );
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center bottom;
}

.stone-trigger::before {
  content: "🪨";
  position: absolute;
  left: -1.5em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.3s ease;
}

.stone-trigger:hover,
.stone-trigger:focus {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  color: var(--kohaku-orange);
  outline: none;
}

.stone-trigger:hover::before,
.stone-trigger:focus::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-3px);
}

.stone-trigger:active {
  transform: translateY(0) rotate(0deg);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Stone throw animation - triggered by class */
.stone-trigger.thrown {
  animation: throw-stone 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes throw-stone {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  30% {
    transform: translateY(-20px) rotate(-15deg) scale(1.1);
    opacity: 1;
  }
  60% {
    transform: translateY(10px) rotate(5deg) scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: translateY(30px) rotate(0deg) scale(0.3);
    opacity: 0;
  }
}

/* Ripple burst when stone is thrown */
.ripple-container.burst .ripple {
  animation: ripple-burst 2s ease-out forwards;
}

@keyframes ripple-burst {
  0% {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    border-width: 2px;
  }
  100% {
    width: 1000px;
    height: 1000px;
    opacity: 0;
    border-width: 1px;
  }
}

/* Stagger the burst ripples */
.ripple-container.burst .ripple:nth-child(1) {
  animation-delay: 0s;
}
.ripple-container.burst .ripple:nth-child(2) {
  animation-delay: 0.15s;
}
.ripple-container.burst .ripple:nth-child(3) {
  animation-delay: 0.3s;
}
.ripple-container.burst .ripple:nth-child(4) {
  animation-delay: 0.45s;
}
.ripple-container.burst .ripple:nth-child(5) {
  animation-delay: 0.6s;
}

/* Tagline parts for staggered reveal */
.tagline-watch {
  display: inline-block;
  opacity: 0.7;
  transition:
    opacity 0.5s ease,
    color 0.5s ease;
}

.hero.rippling .tagline-watch {
  opacity: 1;
  color: var(--shiro-white);
}

/* Splash droplets when stone enters */
.stone-trigger.thrown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--reflected-sky);
  border-radius: 50%;
  animation: splash-drops 0.6s ease-out 0.5s forwards;
  opacity: 0;
  box-shadow:
    -8px -12px 0 var(--reflected-sky),
    8px -10px 0 var(--reflected-sky),
    -4px -18px 0 var(--reflected-sky),
    12px -14px 0 var(--reflected-sky),
    -12px -8px 0 var(--reflected-sky);
}

@keyframes splash-drops {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.5);
  }
  20% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(-15px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px) scale(0.3);
  }
}

/* Subtle pulse hint that stone is interactive */
@keyframes stone-hint {
  0%,
  100% {
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.3),
      inset 0 1px 2px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.3),
      inset 0 1px 2px rgba(255, 255, 255, 0.1),
      0 0 0 3px rgba(224, 127, 79, 0.15);
  }
}

.stone-trigger {
  animation: stone-hint 3s ease-in-out 2s 3;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--reflected-sky);
  opacity: 0.8;
  margin-top: var(--space-sm);
}

/* ── Ripple Animation ──────────────────────────────────────────── */
.ripple-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 1px solid var(--reflected-sky);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: ripple 6s ease-out infinite;
}

.ripple:nth-child(2) {
  animation-delay: 2s;
}
.ripple:nth-child(3) {
  animation-delay: 4s;
}

@keyframes ripple {
  0% {
    width: 20px;
    height: 20px;
    opacity: 0.4;
  }
  100% {
    width: 800px;
    height: 800px;
    opacity: 0;
  }
}

@keyframes swim {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(3px) rotate(2deg);
  }
  75% {
    transform: translateX(-3px) rotate(-2deg);
  }
}

/* ── Terminal Demo ─────────────────────────────────────────────── */
.terminal {
  background: var(--wet-stone);
  border-radius: 8px;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow-x: auto;
}

.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--moonlit-water);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot--red {
  background: #ff5f56;
}
.terminal-dot--yellow {
  background: #ffbd2e;
}
.terminal-dot--green {
  background: #27ca40;
}

.terminal pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal .prompt {
  color: var(--lily-pad);
}
.terminal .output {
  color: var(--shiro-white);
  opacity: 0.9;
}
.terminal .emoji {
}

/* ── Architecture Diagram ──────────────────────────────────────── */
.architecture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.arch-item {
  text-align: center;
  padding: var(--space-md);
  background: var(--moonlit-water);
  border-radius: 8px;
  border: 1px solid var(--reflected-sky);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.arch-item:hover {
  transform: translateY(-2px);
  border-color: var(--kohaku-orange);
}

.arch-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.arch-name {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.arch-desc {
  font-size: 0.85rem;
  color: var(--reflected-sky);
}

.arch-ruby {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lily-pad);
  margin-top: var(--space-xs);
}

/* ── Ruby Tour (Accordion) ─────────────────────────────────────── */
.ruby-tour {
  margin: var(--space-md) 0;
}

.ruby-tour details {
  margin-bottom: var(--space-sm);
  background: var(--moonlit-water);
  border-radius: 8px;
  border: 1px solid var(--wet-stone);
  overflow: hidden;
}

.ruby-tour summary {
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: background var(--transition-fast);
}

.ruby-tour summary::-webkit-details-marker {
  display: none;
}

.ruby-tour summary::before {
  content: "▸";
  transition: transform var(--transition-fast);
  color: var(--kohaku-orange);
}

.ruby-tour details[open] summary::before {
  transform: rotate(90deg);
}

.ruby-tour summary:hover {
  background: var(--wet-stone);
}

.ruby-tour summary:focus-visible {
  outline: 2px solid var(--kohaku-orange);
  outline-offset: -2px;
}

.ruby-tour .tour-content {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.95rem;
}

.ruby-tour .tour-content p {
  color: var(--shiro-white);
  opacity: 0.9;
}

/* ── Code Blocks ───────────────────────────────────────────────── */
pre {
  background: var(--wet-stone);
  padding: var(--space-sm);
  border-radius: 6px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: var(--space-sm) 0;
}

pre code {
  background: none;
  padding: 0;
}

/* ── Why Tribute ───────────────────────────────────────────────── */
.why-tribute {
  background: var(--moonlit-water);
  border-left: 3px solid var(--kohaku-orange);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0 8px 8px 0;
}

.why-tribute blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1.1rem;
}

.why-tribute cite {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--reflected-sky);
}

/* ── Get Started ───────────────────────────────────────────────── */
.get-started {
  background: var(--moonlit-water);
  padding: var(--space-lg);
  border-radius: 12px;
  text-align: center;
}

.get-started h2 {
  margin-bottom: var(--space-md);
}

.get-started .install-command {
  display: inline-block;
  background: var(--wet-stone);
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  font-family: var(--font-mono);
  margin: var(--space-sm) 0;
}

.get-started .aside {
  font-size: 0.9rem;
  color: var(--reflected-sky);
  font-style: italic;
  margin-top: var(--space-md);
}

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  padding: var(--space-lg) 0;
  text-align: center;
  border-top: 1px solid var(--wet-stone);
}

footer blockquote {
  font-style: italic;
  margin: 0 0 var(--space-md) 0;
  color: var(--reflected-sky);
}

footer cite {
  font-size: 0.9rem;
}

.footer-links {
  margin-top: var(--space-md);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ── Floating Koi ──────────────────────────────────────────────── */
.koi-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.koi {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.15;
  animation: drift 60s linear infinite;
}

.koi:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
  animation-duration: 45s;
}

.koi:nth-child(2) {
  top: 60%;
  animation-delay: -20s;
  animation-duration: 55s;
}

@keyframes drift {
  0% {
    left: -5%;
    transform: scaleX(1);
  }
  49.9% {
    transform: scaleX(1);
  }
  50% {
    left: 105%;
    transform: scaleX(-1);
  }
  99.9% {
    transform: scaleX(-1);
  }
  100% {
    left: -5%;
    transform: scaleX(1);
  }
}

/* ── Lily Pad Blobs ────────────────────────────────────────────── */
.lily-pads {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.lily-pad {
  position: absolute;
  background: var(--lily-pad);
  opacity: 0.03;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.lily-pad:nth-child(1) {
  width: 300px;
  height: 250px;
  top: 10%;
  right: -50px;
}

.lily-pad:nth-child(2) {
  width: 200px;
  height: 180px;
  bottom: 20%;
  left: -30px;
}

.lily-pad:nth-child(3) {
  width: 150px;
  height: 130px;
  top: 50%;
  right: 10%;
}

/* ── Easter Egg: Ripple Word Wave ─────────────────────────────── */
.ripple-word {
  display: inline-block;
}

.ripple-word.waving {
  animation: word-wave 0.6s ease-in-out;
}

@keyframes word-wave {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-2px);
  }
}

/* ── Easter Egg: Surfacing Koi ────────────────────────────────── */
.koi-surface {
  position: absolute;
  font-size: 2rem;
  opacity: 0;
  pointer-events: none;
  left: calc(50% + 60px);
  top: 55%;
  transform: translateY(20px);
}

.koi-surface.surfacing {
  animation: koi-rise 2s ease-out forwards;
}

@keyframes koi-rise {
  0% {
    opacity: 0;
    transform: translateY(30px) rotate(-10deg);
  }
  30% {
    opacity: 0.8;
    transform: translateY(-10px) rotate(5deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-15px) rotate(0deg);
  }
  70% {
    opacity: 0.8;
    transform: translateY(-10px) rotate(-5deg);
  }
  100% {
    opacity: 0;
    transform: translateY(30px) rotate(10deg);
  }
}

/* ── Easter Egg: Hidden Quote ─────────────────────────────────── */
.hidden-quote {
  display: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--reflected-sky);
  opacity: 0;
  margin-top: var(--space-sm);
  transition: opacity 1s ease;
}

.hidden-quote.visible {
  display: block;
  opacity: 0.6;
}

/* ── Easter Egg: Reset Link ───────────────────────────────────── */
.reset-link {
  display: none;
  font-size: 0.8rem;
  color: var(--reflected-sky);
  opacity: 0.5;
  margin-top: var(--space-md);
  transition: opacity var(--transition-fast);
}

.reset-link.visible {
  display: inline-block;
}

.reset-link:hover {
  opacity: 1;
  color: var(--kohaku-orange);
}

/* ── Morphing Text — Crossfade for Narrative Mode ─────────────── */
.morphing-text {
  position: relative;
  display: inline;
}

.text-before,
.text-after {
  transition: opacity 0.8s ease;
}

.text-after {
  position: absolute;
  left: 0;
  opacity: 0;
}

/* When in narrative mode, crossfade the text */
.narrative-mode .text-before {
  opacity: 0;
}

.narrative-mode .text-after {
  opacity: 1;
  position: relative;
}

/* Subtitle morphing text needs block display */
.hero-subtitle.morphing-text .text-after {
  display: block;
}

.narrative-mode .hero-subtitle.morphing-text .text-before {
  position: absolute;
}

/* ── Easter Egg: Narrative Mode (Throw 5+) ────────────────────── */
/* Ripples persist longer, slower and more meditative */
.narrative-mode .ripple {
  animation-duration: 10s;
}

/* Floating koi more visible */
.narrative-mode .koi {
  opacity: 0.25;
  transition: opacity 0.8s ease;
}

/* Stone button gets activated glow */
.narrative-mode .stone-trigger {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    0 0 12px rgba(224, 127, 79, 0.3);
}

/* ── Easter Egg: Poignant Mode (Throw 10) ─────────────────────── */
.poignant-mode {
  --pond-depths: #2a1f1a;
  --moonlit-water: #3d2f28;
  --reflected-sky: #8c6a5a;
  --kohaku-orange: #e8a060;
}

.poignant-mode h2::before {
  content: "🐟 ";
}

.poignant-mode::after {
  content: "🦊";
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.7;
  animation: fox-peek 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fox-peek {
  0%,
  100% {
    transform: translateY(10px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(0);
    opacity: 0.8;
  }
}

/* ── Layer 1: Water Level Rise ────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(26, 47, 56, 0.4), transparent);
  pointer-events: none;
  z-index: -3;
  transition: height 1s ease;
}

.narrative-mode::before {
  height: 15vh;
}

.poignant-mode::before {
  height: 25vh;
}

/* ── Layer 2: Organic Shoreline ───────────────────────────────── */
.shoreline {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--lily-pad);
  opacity: 0;
  pointer-events: none;
  z-index: -2;
  clip-path: polygon(
    0% 100%,
    5% 70%,
    12% 85%,
    20% 60%,
    30% 80%,
    40% 55%,
    50% 75%,
    60% 50%,
    70% 70%,
    80% 45%,
    88% 65%,
    95% 50%,
    100% 100%
  );
  transition:
    opacity 0.8s ease,
    height 0.8s ease;
}

.narrative-mode .shoreline {
  opacity: 0.1;
}

.poignant-mode .shoreline {
  opacity: 0.18;
  height: 60px;
}

/* ── Layer 3: Tide Marks ──────────────────────────────────────── */
.tide-marks {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tide-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size, 300px);
  height: var(--size, 300px);
  border: 1px solid var(--reflected-sky);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: tide-lifecycle 30s ease forwards;
}

@keyframes tide-lifecycle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  3% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    opacity: 0.15;
  }
  100% {
    opacity: 0;
  }
}

/* ── Reduced Motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-emoji,
  .ripple,
  .koi,
  .stone-trigger,
  .ripple-word.waving,
  .koi-surface.surfacing,
  .poignant-mode::after,
  .tide-mark {
    animation: none;
  }

  .ripple {
    display: none;
  }

  .stone-trigger {
    cursor: default;
  }

  .stone-trigger:hover,
  .stone-trigger:focus {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  /* Still show static easter egg elements */
  .hidden-quote.visible {
    opacity: 0.6;
  }

  /* Instant swap for morphing text (no animation) */
  .text-before,
  .text-after {
    transition: none;
  }

  .koi {
    transition: none;
  }

  /* Instant opacity for evolving layers */
  .shoreline,
  body::before {
    transition: none;
  }

  /* Static tide marks */
  .tide-mark {
    opacity: 0.15;
  }
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  section {
    padding: var(--space-md) 0;
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-lg) var(--space-sm);
  }

  .architecture {
    grid-template-columns: 1fr 1fr;
  }

  .terminal {
    font-size: 0.8rem;
    padding: var(--space-sm);
  }

  .get-started {
    padding: var(--space-md);
  }

  .box-frame::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .architecture {
    grid-template-columns: 1fr;
  }
}
