/* ------------------------------------------------------------------ */
/*  Klod typography — variable webfonts                                */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "Klod Sans";
  src: url("/assets/fonts/KlodSans-Roman.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Klod Sans";
  src: url("/assets/fonts/KlodSans-Italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Klod Serif";
  src: url("/assets/fonts/KlodSerif-Roman.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Klod Serif";
  src: url("/assets/fonts/KlodSerif-Italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ------------------------------------------------------------------ */
/*  Design tokens                                                      */
/* ------------------------------------------------------------------ */
:root {
  --bg: #F0EEE5;            /* warm cream */
  --bg-soft: #EAE7DC;       /* card surface, slightly deeper */
  --text: #1F1E1C;          /* near-black warm */
  --text-soft: #6B6A66;     /* secondary text */
  --text-muted: #8E8D88;    /* placeholder, tertiary */
  --accent: #D97757;        /* Claude coral */
  --border: rgba(31, 30, 28, 0.10);
  --border-strong: rgba(31, 30, 28, 0.18);

  --alert-bg: #F4DCD5;
  --alert-bd: #E8B4A4;
  --alert-fg: #B6483A;

  --btn-bg: #1F1E1C;
  --btn-bg-hover: #2A2825;
  --btn-fg: #F5F2EA;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 1px 0 rgba(31, 30, 28, 0.04);

  --font-sans: "Klod Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Klod Serif", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

/* ------------------------------------------------------------------ */
/*  Reset                                                              */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ */
/*  Page logo — premium stacked wordmark (serif + tracked caps tag)    */
/* ------------------------------------------------------------------ */
.page-logo {
  position: absolute;
  top: 30px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  z-index: 10;
  transition: opacity 200ms ease;
}
.page-logo:hover { opacity: 0.78; }
.page-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}
.page-logo__mark {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
}
.page-logo__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.page-logo__wordmark {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 520;
  font-variation-settings: "wght" 520;
  letter-spacing: -0.022em;
  line-height: 0.92;
  color: var(--text);
}
.page-logo__tagline {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1;
  white-space: nowrap;
  transition: color 220ms ease;
}
.page-logo:hover .page-logo__tagline { color: var(--accent); }

/* ------------------------------------------------------------------ */
/*  Main two-column layout                                             */
/* ------------------------------------------------------------------ */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  padding: 24px;
  gap: 24px;
  align-items: stretch;
}

/* ------------------------------------------------------------------ */
/*  Left column — auth                                                 */
/* ------------------------------------------------------------------ */
.auth-column {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
}
.auth-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.auth-title {
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: clamp(54px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
  color: var(--text);
}
.auth-title em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
  display: inline-block;
}

.auth-sub {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  margin: 0 0 36px;
  color: var(--text);
}

/* ------------------------------------------------------------------ */
/*  Auth card                                                          */
/* ------------------------------------------------------------------ */
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Google button */
.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background 120ms ease, border-color 120ms ease;
}
.oauth-btn:hover { background: rgba(31, 30, 28, 0.04); }
.oauth-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.oauth-btn__icon { display: inline-flex; }

/* Alert */
.alert {
  background: var(--alert-bg);
  border: 1px solid var(--alert-bd);
  color: var(--alert-fg);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* Divider */
.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
}
.divider__line {
  height: 1px;
  background: var(--border);
  width: 100%;
}
.divider__text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: uppercase;
}

/* Email form */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.email-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.email-input::placeholder { color: var(--text-muted); }
.email-input:hover { border-color: rgba(31, 30, 28, 0.28); }
.email-input:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(31, 30, 28, 0.08);
}
.email-input.is-invalid {
  border-color: var(--alert-fg);
  box-shadow: 0 0 0 3px rgba(182, 72, 58, 0.12);
}

.email-btn {
  width: 100%;
  height: 50px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: background 140ms ease, transform 80ms ease;
  position: relative;
}
.email-btn:hover { background: var(--btn-bg-hover); }
.email-btn:active { transform: translateY(1px); }
.email-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.email-btn__label { display: inline-block; }
.email-btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(245, 242, 234, 0.4);
  border-top-color: var(--btn-fg);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
  margin-left: 8px;
  vertical-align: -2px;
}
.email-btn.is-loading .email-btn__spinner { display: inline-block; }
.email-btn.is-loading .email-btn__label { opacity: 0.7; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.legal {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}
.legal a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(107, 106, 102, 0.55);
}
.legal a:hover { color: var(--text); text-decoration-color: var(--text); }

/* Desktop CTA */
.desktop-cta {
  margin-top: 28px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 120ms ease;
}
.desktop-cta:hover { background: rgba(31, 30, 28, 0.05); }
.desktop-cta__icon { display: inline-flex; }

/* ------------------------------------------------------------------ */
/*  Right column — brand                                                */
/* ------------------------------------------------------------------ */
.brand-column {
  display: flex;
  align-items: stretch;
}
.brand-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 48px 40px;
  display: grid;
  grid-template-rows: 1fr;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.brand-card__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-card__mark { width: 32px; height: 32px; }
.brand-card__wordmark {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1;
}
.brand-card__headline {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: clamp(52px, 4.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-align: center;
  align-self: center;
  margin: 0 0 22px;
  color: var(--text);
}
.brand-card__headline em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
}
.brand-card__watermark {
  position: absolute;
  bottom: -28px;
  left: -8px;
  font-family: var(--font-serif);
  font-size: clamp(180px, 22vw, 280px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.86;
  color: rgba(31, 30, 28, 0.055);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  animation: brand-watermark-drift 22s ease-in-out infinite;
  will-change: transform;
}
.brand-card__blob {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 50% 50%, rgba(217, 119, 87, 0.55), rgba(217, 119, 87, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
  animation: brand-blob-breath 9s ease-in-out infinite;
  will-change: transform;
}
.brand-card__grid {
  position: absolute;
  inset: 28px;
  z-index: 0;
  pointer-events: none;
  border-radius: 18px;
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.25);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(31, 30, 28, 0.18) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 55%, transparent 95%);
          mask-image: radial-gradient(ellipse at 50% 50%, black 55%, transparent 95%);
}

/* ------------------------------------------------------------------ */
/*  Site footer — legal disclaimer                                     */
/* ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 40px 40px;
  text-align: center;
}
.site-footer p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------------ */
/*  Toast                                                              */
/* ------------------------------------------------------------------ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--btn-fg);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 100;
  max-width: 90vw;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.is-error { background: var(--alert-fg); }
.toast.is-success { background: #2C5C3C; }

/* ------------------------------------------------------------------ */
/*  Brand canvas — dotted grid + chips + animated cursor               */
/* ------------------------------------------------------------------ */
.brand-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  align-self: stretch;
}

.brand-canvas__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(31, 30, 28, 0.04),
    0 14px 40px -22px rgba(31, 30, 28, 0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 560px;
  width: 100%;
  overflow: visible;
}

/* Status — serif-typography, larger, hero-feel */
.canvas-status {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 460;
  line-height: 1;
  letter-spacing: -0.012em;
  color: var(--text);
  align-self: center;
  transition: color 220ms ease;
}
.canvas-status.is-typing  { color: var(--accent); }
.canvas-status.is-running { color: var(--accent); }
.canvas-status__mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
}
.canvas-status__label {
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}
.canvas-status__label.is-changing {
  animation: status-swap 800ms cubic-bezier(0.5, 0.05, 0.25, 1);
}
@keyframes status-swap {
  0%   { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
  40%  { opacity: 0; transform: translateY(-10px) scale(0.96); filter: blur(3px); }
  60%  { opacity: 0; transform: translateY(10px)  scale(0.96); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
}

/* Animated waveform bars */
.thinking-bars {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  height: 22px;
}
.thinking-bar {
  width: 3.5px;
  background: var(--accent);
  border-radius: 2px;
  height: 5px;
  animation: thinking-pulse 1.25s ease-in-out infinite;
  transform-origin: center;
}
.thinking-bar:nth-child(1) { animation-delay: 0s; }
.thinking-bar:nth-child(2) { animation-delay: 0.12s; }
.thinking-bar:nth-child(3) { animation-delay: 0.24s; }
.thinking-bar:nth-child(4) { animation-delay: 0.36s; }
.thinking-bar:nth-child(5) { animation-delay: 0.48s; }

.canvas-status.is-typing  .thinking-bar { animation-duration: 0.85s; }
.canvas-status.is-running .thinking-bar { animation-duration: 0.55s; }

@keyframes thinking-pulse {
  0%, 100% { height: 5px; opacity: 0.55; }
  50%      { height: 20px; opacity: 1; }
}

/* Chip grid (3×2) */
.canvas-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.canvas-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  will-change: transform;
}
.canvas-chip__icon {
  display: inline-flex;
  color: var(--text-soft);
  flex-shrink: 0;
}
.canvas-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.canvas-chip:hover {
  background: rgba(31, 30, 28, 0.04);
  border-color: var(--border-strong);
}
.canvas-chip.is-pressed {
  transform: translateY(1px);
  background: rgba(31, 30, 28, 0.07);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(31, 30, 28, 0.04);
}
.canvas-chip.is-pressed .canvas-chip__icon {
  color: var(--accent);
}

/* Chat-style prompt input */
.canvas-prompt {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 52px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: 0.005em;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.canvas-prompt.is-active {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(31, 30, 28, 0.04);
}
.canvas-prompt__text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.canvas-prompt__caret {
  width: 2px;
  height: 18px;
  background: var(--text);
  display: inline-block;
  margin-left: 2px;
  opacity: 0;
  vertical-align: middle;
}
.canvas-prompt.is-active .canvas-prompt__caret {
  opacity: 1;
  animation: canvas-caret 1.05s steps(2, end) infinite;
}
@keyframes canvas-caret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Actions row */
.canvas-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.canvas-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  will-change: transform;
}
.canvas-pill__icon {
  display: inline-flex;
  color: var(--text-soft);
}
.canvas-pill:hover {
  background: rgba(31, 30, 28, 0.04);
}
.canvas-pill.is-pressed {
  transform: translateY(1px);
  background: rgba(31, 30, 28, 0.06);
}

.canvas-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  will-change: transform;
}
.canvas-icon-btn:hover {
  background: rgba(31, 30, 28, 0.04);
  color: var(--text);
}
.canvas-icon-btn.is-pressed {
  transform: translateY(1px) rotate(45deg);
  background: rgba(31, 30, 28, 0.06);
  color: var(--text);
}

.canvas-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #FBF4EE;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 200ms ease;
  box-shadow: 0 0 0 0 rgba(217, 119, 87, 0);
  will-change: transform;
}
.canvas-cta__icon { display: inline-flex; }
.canvas-cta:hover {
  filter: brightness(1.06);
}
.canvas-cta.is-pressed {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 0 0 6px rgba(217, 119, 87, 0.18);
  filter: brightness(0.94);
}

/* Cursor */
.brand-canvas__cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 24px;
  pointer-events: none;
  z-index: 3;
  transform: translate(40px, 40px);
  transition: transform 1100ms cubic-bezier(0.5, 0.05, 0.25, 1);
  filter: drop-shadow(0 2px 4px rgba(31, 30, 28, 0.2));
  will-change: transform;
}
.brand-canvas__cursor svg {
  display: block;
}

/* Mobile fallback */
@media (max-width: 900px) {
  .canvas-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .canvas-pill__label { display: none; }
}

/* ------------------------------------------------------------------ */
/*  Entrance reveal animations (stagger fade-up)                       */
/* ------------------------------------------------------------------ */
.js-animate .reveal {
  opacity: 0;
  transform: translateY(14px);
}
.js-animate.is-ready .reveal {
  animation: reveal-in 820ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------ */
/*  Loop animations (blob, watermark, caret)                           */
/* ------------------------------------------------------------------ */
@keyframes brand-blob-breath {
  0%, 100% { opacity: 0.95; filter: blur(60px); }
  50%      { opacity: 0.72; filter: blur(72px); }
}
@keyframes brand-watermark-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, -6px); }
}
@keyframes caret-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Mouse parallax — only nudges the blob slightly */
@media (hover: hover) and (pointer: fine) {
  .brand-card { --parallax-x: 0px; --parallax-y: 0px; }
}

/* ------------------------------------------------------------------ */
/*  Motion / a11y                                                      */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
  }
  .js-animate .reveal { opacity: 1; transform: none; }
  .demo-prompt__caret { opacity: 1; }
}

::selection { background: rgba(217, 119, 87, 0.28); color: var(--text); }
