/* ═══════════════════════════════════════════════════════════════
   KODO — A space, not a website

   One thought per room. The emptiness is the architecture.
   Every room is a different shape.
   ═══════════════════════════════════════════════════════════════ */


/* ─── Tokens ──────────────────────────────────────────────── */

:root {
  --bg:           #FCFAF2;
  --ink:          #1C1B19;
  --ink-soft:     #3A3835;
  --gray:         #6B6A64;
  --gray-mid:     #8A8983;
  --gray-light:   #A8A7A2;
  --gray-ghost:   #C8C7C1;
  --tea:          #707C74;
  --serif:        'Cormorant Garamond', 'Georgia', serif;
  --sans:         'Inter', -apple-system, 'Helvetica Neue', sans-serif;
}


/* ─── Reset ───────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300;
  line-height: 1.7; overflow-x: hidden;
}
::selection { background: rgba(112, 124, 116, 0.12); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }


/* ─── Grain ───────────────────────────────────────────────── */

.grain {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 10000; pointer-events: none;
  opacity: 0.024; mix-blend-mode: multiply;
}


/* ═══════════════════════════════════════════════════════════════
   ENTRY
   ═══════════════════════════════════════════════════════════════ */

#entry-screen {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
#entry-screen.dissolved { opacity: 0; pointer-events: none; }
.entry-content { display: flex; flex-direction: column; align-items: center; }
.entry-name {
  font-family: var(--sans);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--ink); padding-left: 0.45em;
}
.entry-sub {
  margin-top: 40px; font-family: var(--serif);
  font-size: 16px; font-weight: 300; font-style: italic;
  color: var(--gray); letter-spacing: 0.02em;
}
.entry-enter {
  position: absolute; bottom: 64px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.3em; color: var(--gray-light);
  padding: 12px 24px;
  transition: color 1s cubic-bezier(0.25, 0, 0.15, 1);
}
.entry-enter:hover { color: var(--ink-soft); }


/* ═══════════════════════════════════════════════════════════════
   SPACE
   ═══════════════════════════════════════════════════════════════ */

#space { opacity: 0; transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s; }
#space.visible { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

#hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 28px;
}
.orb {
  width: 220px; height: 220px; border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 40% 34%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 52% 50%,
      rgba(112,124,116,0.07) 0%, rgba(112,124,116,0.12) 26%,
      rgba(112,124,116,0.09) 50%, rgba(112,124,116,0.03) 76%, transparent 100%),
    radial-gradient(ellipse at 60% 58%,
      rgba(112,124,116,0.03) 0%, rgba(112,124,116,0.05) 36%, transparent 64%);
  box-shadow:
    0 0 80px 40px rgba(112,124,116,0.04),
    0 0 200px 100px rgba(112,124,116,0.015);
  animation: breathe 20s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.03); }
}
.hero-whisper {
  margin-top: 80px; font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.25em; color: var(--gray-light);
}


/* ═══════════════════════════════════════════════════════════════
   ROOMS
   ═══════════════════════════════════════════════════════════════ */

.room {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 160px 28px;
}

/* Tight room — less breathing, for couplets */
.room--tight { padding: 80px 28px; }

/* Vast room — enormous space, for confrontation moments */
.room--vast { padding: 240px 28px; }


/* ─── Breath — the doorway between wings ──────────────────── */

.breath {
  border: none;
  width: 40px;
  height: 1px;
  background: var(--gray-ghost);
  opacity: 0.4;
  margin: 80px auto;
}


/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY — every scale is a different voice
   ═══════════════════════════════════════════════════════════════ */

/* ─── Massive — confrontation, one word fills the room ────── */

.massive {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.massive-unit {
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray);
  vertical-align: baseline;
  margin-left: 2px;
}

/* ─── Label ───────────────────────────────────────────────── */

.label {
  font-family: var(--sans);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gray-light); padding-left: 0.35em;
  margin-bottom: 56px;
}

/* Label alone in room (no content after) — no margin */
.room > .label:only-child { margin-bottom: 0; }

/* ─── Display ─────────────────────────────────────────────── */

.display {
  font-family: var(--serif);
  font-size: 28px; font-weight: 300;
  color: var(--ink); max-width: 580px; line-height: 1.4;
}

.display--soft { color: var(--gray); }

/* ─── Body ────────────────────────────────────────────────── */

.body {
  font-family: var(--serif);
  font-size: 19px; font-weight: 300;
  color: var(--ink-soft); max-width: 480px; line-height: 1.9;
}

/* ─── Detail ──────────────────────────────────────────────── */

.detail {
  font-family: var(--sans);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.03em; color: var(--gray);
  line-height: 2.6;
}

/* ─── Quiet ───────────────────────────────────────────────── */

.quiet {
  font-family: var(--serif);
  font-size: 18px; font-weight: 300; font-style: italic;
  color: var(--gray); max-width: 440px; line-height: 1.9;
}

/* ─── Thesis — the company speaks, not the poet ──────────── */

.thesis {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.01em;
  max-width: 520px;
}


/* ─── Manifesto — unapologetic, the founder speaks ───────── */

.manifesto {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1;
  letter-spacing: -0.005em;
  padding: 10px 0;
}
.manifesto--last {
  color: var(--ink);
  padding-top: 28px;
}


/* ─── Constellation — objects as a horizon ────────────────── */

.constellation {
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  word-spacing: 0.3em;
}


/* ═══════════════════════════════════════════════════════════════
   SCALE STACK — the market, escalating
   ═══════════════════════════════════════════════════════════════ */

.scale-stack {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
}
.scale-stack li {
  font-family: var(--serif);
  font-size: 28px; font-weight: 300;
  color: var(--ink-soft);
  line-height: 2.2;
}
.scale-stack li:last-child {
  color: var(--ink);
}


/* ═══════════════════════════════════════════════════════════════
   SEQUENCE — 300ms vertical breakdown
   ═══════════════════════════════════════════════════════════════ */

.sequence {
  display: flex; flex-direction: column;
  align-items: center; width: 100%; max-width: 260px;
}
.sequence li {
  display: flex; justify-content: space-between;
  align-items: center; width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid rgba(112,124,116,0.06);
}
.sequence li:last-child { border-bottom: none; }
.seq-step {
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--gray);
}
.seq-time {
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.08em; color: var(--gray-light);
}


/* ═══════════════════════════════════════════════════════════════
   PIPELINE — the execution flow, large and centered
   ═══════════════════════════════════════════════════════════════ */

.pipeline {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
}

.pipeline li {
  font-family: var(--serif);
  font-size: 24px; font-weight: 300;
  color: var(--ink-soft);
  padding: 12px 0;
  line-height: 1;
}

/* Arrow between pipeline steps */
.pipeline li + li::before {
  content: '↓';
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray-ghost);
  padding-bottom: 12px;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════════════
   EXECUTIONS
   ═══════════════════════════════════════════════════════════════ */

.execution {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 220px 28px;
}
.ex-context {
  font-family: var(--serif);
  font-size: 18px; font-weight: 300;
  color: var(--gray); max-width: 400px;
}
.ex-command {
  margin-top: 56px; font-family: var(--serif);
  font-size: 26px; font-weight: 300; font-style: italic;
  color: var(--ink); max-width: 520px; line-height: 1.4;
}
.ex-states {
  margin-top: 72px;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.ex-states li {
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.15em; color: var(--gray-light);
  transition: color 0.6s;
}
.ex-states li:last-child { color: var(--gray-mid); }


/* ═══════════════════════════════════════════════════════════════
   TERMINAL DEMO — the actual surface, alive
   ═══════════════════════════════════════════════════════════════ */

#terminal-demo {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 200px 28px;
}
#terminal-demo .label { margin-bottom: 72px; }

/* ─── Device frame ───────────────────────────────────────── */

.device {
  width: 280px; height: 480px;
  border-radius: 32px;
  background: var(--bg);
  border: 1px solid rgba(112,124,116,0.1);
  box-shadow:
    0 2px 40px rgba(28,27,25,0.04),
    0 0 0 1px rgba(112,124,116,0.03);
  overflow: hidden;
  position: relative;
}
.device-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
}

/* ─── Demo orb ───────────────────────────────────────────── */

.demo-orb {
  position: relative;
  width: 80px; height: 80px;
}
.demo-orb-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--tea);
  opacity: 0.12;
  animation: demo-breathe 5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transition: opacity 200ms ease, transform 200ms ease, background 600ms ease;
}
.demo-orb-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--tea);
  opacity: 0;
  pointer-events: none;
}

@keyframes demo-breathe {
  0%, 100% { transform: scale(1.00); opacity: 0.12; }
  50%      { transform: scale(1.03); opacity: 0.16; }
}

/* ─── Demo states ────────────────────────────────────────── */

.demo-orb.is-tapped .demo-orb-inner {
  opacity: 0.28;
  transform: scale(1.0);
  animation: none;
}
.demo-orb.is-resolving .demo-orb-inner {
  opacity: 0.2;
  transform: scale(1.02);
  animation: none;
}
.demo-orb.is-success .demo-orb-inner {
  background: #898A74;
  animation: demo-success 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.demo-orb.is-success .demo-orb-pulse {
  animation: demo-pulse-out 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes demo-success {
  0%   { transform: scale(1.02); opacity: 0.25; }
  35%  { transform: scale(1.08); opacity: 0.20; }
  100% { transform: scale(1.00); opacity: 0.12; }
}
@keyframes demo-pulse-out {
  0%   { transform: scale(1.0); opacity: 0.2; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ─── Demo text ──────────────────────────────────────────── */

.demo-message {
  position: absolute;
  top: calc(50% + 64px);
  font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 280ms ease, transform 280ms ease;
}
.demo-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.demo-message.is-fading {
  opacity: 0;
  transform: translateY(-4px);
  transition-duration: 800ms;
}
.demo-nudge {
  position: absolute;
  top: calc(50% + 64px);
  font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 14px; font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 280ms ease;
}
.demo-nudge.is-visible { opacity: 1; }

/* ─── Caption ────────────────────────────────────────────── */

.demo-caption {
  margin-top: 48px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gray-light);
}


/* ═══════════════════════════════════════════════════════════════
   THE OBJECT
   ═══════════════════════════════════════════════════════════════ */

#object {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 320px 28px;
}
.ring-orb {
  width: 160px; height: 160px; border-radius: 50%;
  pointer-events: none; background: transparent;
  border: 1px solid rgba(112,124,116,0.1);
  box-shadow:
    0 0 50px 25px rgba(112,124,116,0.015),
    inset 0 0 30px 10px rgba(112,124,116,0.008);
  animation: breathe-ring 24s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  margin-bottom: 80px;
}
@keyframes breathe-ring {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.015); }
}
.object-line {
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.06em; color: var(--gray);
  line-height: 2.6;
}
.object-line--space { margin-top: 28px; }
.object-close {
  margin-top: 72px; font-family: var(--serif);
  font-size: 20px; font-weight: 300; font-style: italic;
  color: var(--ink-soft);
}


/* ═══════════════════════════════════════════════════════════════
   SYSTEM · PHILOSOPHY · CLOSE
   ═══════════════════════════════════════════════════════════════ */

#system {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 320px 28px; gap: 44px;
}
.system-line {
  font-family: var(--serif);
  font-size: 24px; font-weight: 300;
  color: var(--ink); line-height: 1;
}

#philosophy {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 320px 28px; gap: 40px;
}
.phil-line {
  font-family: var(--serif);
  font-size: 22px; font-weight: 300; font-style: italic;
  color: var(--ink-soft); max-width: 480px;
}

#close {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 320px 28px 160px; gap: 0;
}
.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.25em; text-transform: lowercase;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 48px;
  border: 1px solid var(--ink);
  background: none; cursor: pointer;
  transition: background 0.8s cubic-bezier(0.25, 0, 0.15, 1),
              color 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}
.cta:hover {
  background: var(--ink);
  color: var(--bg);
}
.close-mark {
  margin-top: 120px;
  font-family: var(--sans);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.45em; color: var(--gray-ghost);
  padding-left: 0.45em;
}


/* ═══════════════════════════════════════════════════════════════
   768px
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .entry-name  { font-size: 16px; letter-spacing: 0.5em; }
  .entry-sub   { margin-top: 48px; font-size: 18px; }
  .entry-enter { bottom: 80px; font-size: 12px; }

  .orb { width: 300px; height: 300px; }
  .hero-whisper { margin-top: 96px; font-size: 12px; }

  .room       { padding: 200px 64px; }
  .room--tight { padding: 100px 64px; }
  .room--vast  { padding: 300px 64px; }
  .breath { width: 50px; margin: 100px auto; }

  .massive { font-size: 72px; }
  .label { margin-bottom: 64px; }
  .display { font-size: 36px; }
  .body { font-size: 22px; max-width: 520px; }
  .detail { font-size: 14px; }
  .quiet { font-size: 22px; }
  .thesis { font-size: 20px; }
  .manifesto { font-size: 26px; }
  .manifesto--last { padding-top: 36px; }
  .constellation { font-size: 13px; letter-spacing: 0.18em; }

  .scale-stack li { font-size: 36px; }

  .sequence { max-width: 300px; }
  .sequence li { padding: 18px 0; }

  .pipeline li { font-size: 30px; padding: 14px 0; }
  .pipeline li + li::before { padding-bottom: 14px; }

  .execution { padding: 280px 64px; }
  .ex-context { font-size: 22px; }
  .ex-command { margin-top: 64px; font-size: 32px; }
  .ex-states  { margin-top: 88px; gap: 20px; }
  .ex-states li { font-size: 12px; }

  #terminal-demo { padding: 260px 64px; }
  .device { width: 320px; height: 540px; border-radius: 36px; }
  .demo-orb { width: 90px; height: 90px; }
  .demo-message { font-size: 18px; top: calc(50% + 72px); }
  .demo-nudge { font-size: 15px; top: calc(50% + 72px); }
  .demo-caption { margin-top: 56px; font-size: 13px; }

  #object { padding: 400px 64px; }
  .ring-orb { width: 200px; height: 200px; margin-bottom: 100px; }
  .object-line { font-size: 13px; }
  .object-close { margin-top: 88px; font-size: 24px; }

  #system { padding: 400px 64px; gap: 52px; }
  .system-line { font-size: 34px; }
  #philosophy { padding: 400px 64px; gap: 48px; }
  .phil-line { font-size: 28px; }
  #close { padding: 500px 64px 200px; }
  .cta { font-size: 13px; padding: 20px 56px; }
  .close-mark { margin-top: 140px; }
}


/* ═══════════════════════════════════════════════════════════════
   1200px
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 1200px) {
  .entry-name { font-size: 18px; letter-spacing: 0.55em; }
  .entry-sub  { margin-top: 56px; font-size: 20px; }

  .orb { width: 380px; height: 380px; }

  .room       { padding: 260px 64px; }
  .room--tight { padding: 120px 64px; }
  .room--vast  { padding: 380px 64px; }
  .breath { width: 60px; margin: 120px auto; }

  .massive { font-size: 96px; }
  .label { margin-bottom: 72px; }
  .display { font-size: 44px; }
  .body { font-size: 24px; max-width: 560px; }
  .detail { font-size: 15px; }
  .thesis { font-size: 22px; }
  .manifesto { font-size: 32px; }
  .manifesto--last { padding-top: 44px; }
  .quiet { font-size: 26px; }
  .constellation { font-size: 14px; letter-spacing: 0.22em; }

  .scale-stack li { font-size: 44px; }

  .sequence { max-width: 340px; }

  .pipeline li { font-size: 38px; padding: 16px 0; }
  .pipeline li + li::before { padding-bottom: 16px; font-size: 12px; }

  .execution { padding: 360px 64px; }
  .ex-context { font-size: 26px; }
  .ex-command { margin-top: 72px; font-size: 38px; }
  .ex-states  { margin-top: 100px; gap: 22px; }

  #terminal-demo { padding: 340px 64px; }
  .device { width: 360px; height: 600px; border-radius: 40px; }
  .demo-orb { width: 100px; height: 100px; }
  .demo-message { font-size: 19px; top: calc(50% + 80px); }
  .demo-nudge { font-size: 15px; top: calc(50% + 80px); }
  .demo-caption { margin-top: 64px; }

  #object { padding: 480px 64px; }
  .ring-orb { width: 260px; height: 260px; margin-bottom: 120px; }
  .object-line { font-size: 14px; }
  .object-close { margin-top: 100px; font-size: 28px; }

  #system { padding: 480px 64px; gap: 60px; }
  .system-line { font-size: 44px; }
  #philosophy { padding: 480px 64px; gap: 56px; }
  .phil-line { font-size: 34px; }
  #close { padding: 600px 64px 240px; }
  .cta { font-size: 13px; padding: 22px 64px; }
  .close-mark { margin-top: 160px; }
}


/* ═══════════════════════════════════════════════════════════════
   ENTRY FLOW — the system opens
   ═══════════════════════════════════════════════════════════════ */

.entry-flow {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.entry-flow.is-open {
  opacity: 1; pointer-events: auto;
}

.ef-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 28px;
  animation: ef-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ef-step[hidden] { display: none; }

@keyframes ef-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ef-mark {
  font-family: var(--sans);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--ink); padding-left: 0.45em;
  margin-bottom: 80px;
}

.ef-options {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
}
.ef-option {
  font-family: var(--sans);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-light);
  padding: 20px 0;
  transition: color 0.6s cubic-bezier(0.25, 0, 0.15, 1);
}
.ef-option:hover { color: var(--ink); }

.ef-heading {
  font-family: var(--serif);
  font-size: 28px; font-weight: 300;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 24px;
}
.ef-sub {
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gray-light);
}

.ef-form {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  width: 240px;
}
.ef-input {
  width: 100%;
  background: none; border: none;
  border-bottom: 1px solid rgba(112,124,116,0.12);
  font-family: var(--sans);
  font-size: 14px; font-weight: 400;
  color: var(--ink);
  padding: 16px 0;
  outline: none;
  text-align: center;
  letter-spacing: 0.02em;
  transition: border-color 0.4s ease;
}
.ef-input::placeholder {
  color: var(--gray-light);
  letter-spacing: 0.06em;
}
.ef-input:focus {
  border-color: rgba(112,124,116,0.3);
}
.ef-submit {
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.25em; text-transform: lowercase;
  color: var(--ink);
  padding: 18px 48px;
  border: 1px solid var(--ink);
  transition: background 0.8s cubic-bezier(0.25, 0, 0.15, 1),
              color 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}
.ef-submit:hover {
  background: var(--ink);
  color: var(--bg);
}

@media (min-width: 768px) {
  .ef-mark { font-size: 16px; letter-spacing: 0.5em; margin-bottom: 96px; }
  .ef-option { font-size: 14px; padding: 24px 0; }
  .ef-heading { font-size: 36px; margin-bottom: 32px; }
  .ef-sub { font-size: 13px; }
  .ef-form { width: 280px; }
  .ef-input { font-size: 15px; padding: 18px 0; }
  .ef-submit { font-size: 13px; padding: 20px 56px; }
}

@media (min-width: 1200px) {
  .ef-mark { font-size: 18px; letter-spacing: 0.55em; }
  .ef-heading { font-size: 44px; }
  .ef-form { width: 320px; }
  .ef-input { font-size: 16px; padding: 20px 0; }
  .ef-submit { padding: 22px 64px; }
}


/* ─── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .ring-orb { animation: none; opacity: 0.9; }
  #entry-screen, #space { transition-duration: 0ms; }
}
