/* ============================================================
   wshop code — hand-authored stylesheet (no framework)
   Self-hosted fonts, design tokens, component styles.
   ============================================================ */

/* ── Self-hosted fonts ─────────────────────────────────────── */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}

/* ── Tokens ─────────────────────────────────────────────────── */
/* Static tokens: identical in both themes (permanently-dark chrome
   like the nav/footer/social band, and brand colors). */
:root {
  --ink: #0b1220;
  --ink-soft: #131d33;
  --brand: #009ee3;
  --brand-dark: #0089c7;
  --ember: #ff5a36;
  --ember-dark: #e8471f;
  --white: #ffffff;

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1120px;
  --radius: 10px;

  /* Theme-aware tokens — light values (default) */
  --surface: #f7f9fc;
  --surface-alt: #eef2f7;
  --surface-fade: rgba(247, 249, 252, 0);
  --card: #ffffff;
  --text: #0b1220;
  --text-soft: #4b5768;
  --text-mute: #7c8798;
  --border: #e2e8f0;
  --tint: #e3f5ff;
}

/* Theme-aware tokens — dark values */
:root[data-theme="dark"] {
  --surface: #0d1420;
  --surface-alt: #131c2c;
  --surface-fade: rgba(13, 20, 32, 0);
  --card: #161f30;
  --text: #eef1f6;
  --text-soft: #a9b3c6;
  --text-mute: #7c8aa0;
  --border: rgba(255, 255, 255, 0.09);
  --tint: rgba(0, 158, 227, 0.16);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--text); }
p { margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head--center { max-width: 560px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ember);
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--text-mute); font-size: 1.0625rem; line-height: 1.6; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border: 1.5px solid var(--text); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--wide { padding: 14px 42px; }

/* ── Theme toggle ───────────────────────────────────────────── */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ── Preloader ──────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.preloader__mark::after {
  content: '_';
  color: var(--ember);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
}
.nav.is-scrolled { box-shadow: 0 8px 24px rgba(11, 18, 32, 0.18); padding: 12px 0; }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: none; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.78);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}
.nav__link::before { content: '/'; color: var(--ember); margin-right: 5px; opacity: 0.7; }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: flex; color: var(--white); padding: 6px; }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__mobile {
  display: none;
  background: var(--ink-soft);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile.is-open { display: block; }
.nav__mobile-list { display: flex; flex-direction: column; gap: 18px; padding: 20px 24px 26px; }
.nav__mobile-list .nav__link { font-size: 0.8125rem; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile.is-open { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 96px;
  background: var(--surface);
  transition: background-color 0.3s ease;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 620px 420px at 32% 46%, var(--surface) 32%, var(--surface-fade) 78%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 680px; }
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-mute);
}
.hero__eyebrow strong { color: var(--ember); font-weight: 500; }
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 3.75rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

/* ── About band ─────────────────────────────────────────────── */
.about {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.about__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.about__mark {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ember);
}
.about h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 20px; max-width: 480px; }
.about p { color: var(--text-soft); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 16px; }
.about p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

/* ── Services ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease;
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(11, 18, 32, 0.25);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s ease;
}
.service-card:hover .service-card__icon { background: var(--tint); }
.service-card__icon svg { width: 24px; height: 24px; color: var(--brand); }
.service-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.005em; }
.service-card p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-soft); }

/* ── Portfolio ──────────────────────────────────────────────── */
.portfolio { background: var(--surface-alt); transition: background-color 0.3s ease; }
.portfolio-group { margin-bottom: 52px; }
.portfolio-group:last-child { margin-bottom: 0; }
.portfolio-group__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  color: var(--brand);
  margin-bottom: 18px;
  display: block;
}
.portfolio-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  aspect-ratio: 16 / 10;
}
.project-card__media { position: absolute; inset: 0; }
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.project-card:hover .project-card__media img { transform: scale(1.05); opacity: 0.55; }

.project-card__actions {
  position: absolute; top: 0; right: 0; z-index: 3;
  display: flex; gap: 1px; padding: 10px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.project-card:hover .project-card__actions,
.project-card:focus-within .project-card__actions { opacity: 1; transform: translateY(0); }
.project-card__action {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.project-card__action:hover { background: var(--brand); color: var(--white); }
.project-card__action svg { width: 16px; height: 16px; }

.project-card__overlay {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(11,18,32,0.95) 20%, rgba(11,18,32,0.1) 100%);
  transform: translateY(58%);
  transition: transform 0.3s ease;
}
.project-card:hover .project-card__overlay,
.project-card:focus-within .project-card__overlay { transform: translateY(0); }
.project-card__overlay h3 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.project-card__overlay p { color: rgba(255,255,255,0.72); font-size: 0.8125rem; line-height: 1.55; }

/* Creative-coding live thumbnails (no images — CSS/SVG generated) */
.gen-thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gen-thumb--motion { background: linear-gradient(155deg, #0b1220, #1a1030); }
.gen-thumb--particle { background: radial-gradient(circle at 50% 40%, #101c33, #060a12); }
.gen-thumb--crystal { background: linear-gradient(160deg, #0b1220, #05131f); }
.gen-thumb--neural { background: radial-gradient(circle at 50% 50%, #12122a, #05050d); }

.gen-thumb__word {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  animation: motionMorph 3.6s ease-in-out infinite;
}
@keyframes motionMorph {
  0%, 100% { filter: blur(0); transform: translateY(0) scale(1); opacity: 1; }
  45% { filter: blur(3px); transform: translateY(-6px) scale(1.04); opacity: 0.75; }
  70% { filter: blur(0); transform: translateY(2px) scale(0.99); opacity: 1; }
}

.gen-thumb__particles { position: absolute; inset: 0; }
.gen-thumb__particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brand);
  animation: particleDrift 4s ease-in-out infinite;
}
@keyframes particleDrift {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.25; }
  50% { transform: translate(var(--dx, 8px), var(--dy, -10px)) scale(1.6); opacity: 0.95; }
}

.gen-thumb__crystal {
  width: 88px; height: 88px;
  background: conic-gradient(from 0deg, var(--brand), var(--ember), #7c5cff, var(--brand));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: crystalSpin 7s linear infinite;
  opacity: 0.92;
}
@keyframes crystalSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(0.88); }
  100% { transform: rotate(360deg) scale(1); }
}

.gen-thumb__neural circle.node { animation: neuralPulse 2.6s ease-in-out infinite; }
@keyframes neuralPulse {
  0%, 100% { opacity: 0.5; r: 3; }
  50% { opacity: 1; r: 5; }
}
.gen-thumb__neural line { stroke: rgba(0, 158, 227, 0.35); stroke-width: 1; }

/* ── Toolkit accordion ──────────────────────────────────────── */
.accordion { max-width: 700px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.accordion-trigger:hover { color: var(--brand); }
.accordion-trigger svg {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--brand);
  transition: transform 0.25s ease;
}
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel__inner { padding: 0 4px 20px; font-size: 0.9375rem; color: var(--text-soft); line-height: 1.7; }

/* ── Social band ────────────────────────────────────────────── */
.social-band {
  position: relative;
  background: var(--ink);
  padding: 88px 0;
  overflow: hidden;
}
.social-band__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 30%, transparent 80%);
}
.social-band__inner { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; text-align: center; }
.social-band .eyebrow { color: var(--ember); }
.social-band h2 { color: var(--white); font-size: 1.75rem; font-weight: 600; margin-bottom: 10px; }
.social-band p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; margin-bottom: 40px; }
.social-band__links { display: flex; align-items: center; justify-content: center; gap: 20px; }
.social-band__link {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-band__link svg { width: 20px; height: 20px; }
.social-band__link:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 520px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label {
  display: block; font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--text-soft); margin-bottom: 7px; letter-spacing: 0.01em;
}
.form-field input, .form-field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--card);
  transition: border-color 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.75rem; color: var(--text-mute); margin-top: 16px; }

.contact-card {
  border-left: 2px solid var(--brand);
  padding-left: 26px;
}
.contact-card h4 {
  font-size: 0.9375rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 13px 22px;
  border-radius: 8px; font-size: 0.9375rem; font-weight: 600;
  transition: background 0.2s ease;
}
.whatsapp-btn:hover { background: #1db954; }
.whatsapp-btn svg { width: 19px; height: 19px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--ink); padding: 56px 0; }
.footer__inner { max-width: 480px; margin: 0 auto; text-align: center; }
.footer__links { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 30px; }
.footer__links a { color: rgba(255,255,255,0.45); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--brand); }
.footer__links svg { width: 22px; height: 22px; }
.footer p { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.footer a.footer__brand { color: rgba(255,255,255,0.6); }
.footer a.footer__brand:hover { color: var(--brand); }

/* ── Lightbox ───────────────────────────────────────────────── */
dialog#lightbox {
  border: none; padding: 0; border-radius: 10px; overflow: hidden;
  max-width: 92vw; max-height: 92vh;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
dialog#lightbox::backdrop { background: rgba(11,18,32,0.9); }
.lightbox__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(11,18,32,0.7); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: var(--brand); }
.lightbox__close svg { width: 16px; height: 16px; }
#lightbox img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox__caption { padding: 14px 18px; font-size: 0.875rem; font-weight: 600; color: var(--text); background: var(--card); }

/* ── Reveal-on-scroll ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Toast ──────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  max-width: 340px;
  background: var(--card);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 20px 45px -12px rgba(11,18,32,0.35);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast.is-error { border-left-color: var(--ember); }
.toast h5 { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.toast p { font-size: 0.8125rem; color: var(--text-soft); line-height: 1.5; }
