/* ---------- Refract Ventures · Branding ---------- */
:root {
  --bg: #111010;
  --bg-elev: #1a1918;
  --bg-elev-2: #1e1d1c;
  --bg-elev-3: #252423;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8e4df;
  --text-dim: #a8a39e;
  --text-faint: #8a8580;
  --text-quiet: #6f6c68;
  /* Refracted-light accent palette (from the mark) */
  --accent-red: #d9465f;
  --accent-gold: #faaf40;
  --accent-blue: #45abdd;
  --accent-green: #a4ce4a;
  --accent: var(--accent-red);
  --accent-2: var(--accent-gold);
  --accent-glow: rgba(217, 70, 95, 0.35);
  --maxw: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(217, 70, 95, 0.10), transparent 65%),
    radial-gradient(900px 500px at -10% 25%, rgba(69, 171, 221, 0.07), transparent 65%),
    radial-gradient(700px 400px at 50% 110%, rgba(164, 206, 74, 0.05), transparent 70%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--accent-2); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
p { color: var(--text-dim); font-size: 1.02rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-dim); max-width: 60ch; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(17, 16, 16, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px; height: 28px;
  background-image: url("../logos/logo-mark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.32); color: var(--text); }
.btn-primary {
  background: var(--text);
  border-color: transparent;
  color: var(--bg);
  font-weight: 600;
  box-shadow: 0 10px 40px -16px rgba(0, 0, 0, 0.7);
}
.btn-primary:hover { color: var(--bg); background: #f5f1ec; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 720px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 80px;
  position: relative;
}
.hero h1 span.accent {
  background: linear-gradient(120deg, var(--accent-red) 0%, var(--accent-gold) 35%, var(--accent-green) 70%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: var(--text-faint);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
  aspect-ratio: 4 / 3;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.work-card.tall { grid-column: span 6; aspect-ratio: 4 / 5; }
.work-card.wide { grid-column: span 6; aspect-ratio: 16 / 10; }
.work-card.small { grid-column: span 4; aspect-ratio: 1 / 1; }
.work-card .thumb {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-style: italic;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.work-card .meta {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  display: flex; justify-content: space-between; align-items: end;
  z-index: 2;
}
.work-card .meta h3 { font-size: 1.2rem; }
.work-card .meta .tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.work-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}
/* Brand-tinted backgrounds per placeholder, drawn from the refracted-light palette */
.thumb-1 { background: radial-gradient(120% 100% at 0% 0%, rgba(217, 70, 95, 0.35), #111010 65%); }
.thumb-2 { background: radial-gradient(120% 100% at 100% 0%, rgba(250, 175, 64, 0.30), #111010 65%); }
.thumb-3 { background: radial-gradient(120% 100% at 50% 0%, rgba(69, 171, 221, 0.32), #111010 65%); }
.thumb-4 { background: radial-gradient(120% 100% at 0% 100%, rgba(164, 206, 74, 0.30), #111010 65%); }
.thumb-5 { background: radial-gradient(120% 100% at 100% 100%, rgba(217, 70, 95, 0.25), #111010 70%); }
.thumb-6 { background: radial-gradient(120% 100% at 50% 50%, rgba(69, 171, 221, 0.25), #111010 75%); }

/* Real-brand cards: a photo or brand-gradient tile carrying the brand's own mark */
.thumb-photo { background-size: cover; background-position: center; }
.thumb .brandmark { display: block; max-width: 58%; max-height: 44%; filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.55)); }
.thumb .brandmark.wordmark { max-width: 72%; max-height: 34%; }
/* Refract itself — all four prism colors in one wash */
.thumb-refract {
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(217, 70, 95, 0.28), transparent 60%),
    radial-gradient(110% 90% at 100% 100%, rgba(69, 171, 221, 0.24), transparent 60%),
    radial-gradient(90% 80% at 80% 10%, rgba(250, 175, 64, 0.16), transparent 55%),
    #111010;
}
/* aura.refract — its own palette (violet → cyan on near-black), on purpose:
   the point of the card is that its brand is NOT the Refract system */
.thumb-aura {
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(182, 81, 255, 0.30), transparent 65%),
    radial-gradient(120% 100% at 100% 100%, rgba(59, 214, 255, 0.20), transparent 65%),
    #0a0a0f;
}

@media (max-width: 900px) {
  .work-card.tall, .work-card.wide, .work-card.small { grid-column: span 12; aspect-ratio: 4 / 3; }
}

/* ---------- Services / Pricing ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; }
.service-card .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--accent);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1080px) and (min-width: 801px) { .pricing { grid-template-columns: 1fr 1fr; } }

/* ---------- Monthly add-ons strip ---------- */
.addon-head {
  margin-top: 48px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.addon-head .eyebrow { margin: 0; }
.addon-head p { color: var(--text-faint); font-size: 0.95rem; }
.addon-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.addon-item h4 { font-size: 1.1rem; margin: 0 0 6px; }
.addon-item p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.addon-item .addon-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.addon-item .addon-price small { font-size: 0.95rem; color: var(--text-faint); margin-left: 2px; }
@media (max-width: 800px) { .addon-strip { grid-template-columns: 1fr; } }
.price-card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.price-card.featured {
  border-color: rgba(217, 70, 95, 0.35);
  box-shadow: 0 30px 80px -40px var(--accent-glow);
}
.price-card .price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  letter-spacing: -0.03em;
  margin: 12px 0 6px;
}
.price-card .price small { font-size: 1rem; color: var(--text-faint); margin-left: 6px; }
.price-card ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.price-card li {
  color: var(--text-dim);
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.price-card .tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217, 70, 95, 0.14);
  color: var(--accent-red);
  border: 1px solid rgba(217, 70, 95, 0.3);
  margin-bottom: 14px;
}
@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- CTA block ---------- */
.cta {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(217, 70, 95, 0.14), transparent 70%),
    radial-gradient(500px 260px at 20% 100%, rgba(69, 171, 221, 0.08), transparent 70%),
    var(--bg);
  text-align: center;
  padding: 120px 0;
}
.cta h2 { margin-bottom: 18px; }
.cta .lead { margin: 0 auto 30px; }

/* ---------- Contact form area ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-card h3 { margin-bottom: 8px; }
.field-grid { display: grid; gap: 14px; margin-top: 22px; }
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 180ms var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }
.contact-meta dl { display: grid; gap: 22px; }
.contact-meta dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.contact-meta dd { color: var(--text); font-size: 1.05rem; }
.contact-meta dd a { color: var(--accent-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 60px;
  color: var(--text-faint);
  font-size: 0.88rem;
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-elev);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 32s linear infinite;
  white-space: nowrap;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dim);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after {
  content: "◆";
  color: var(--accent-red);
  font-style: normal;
  font-size: 0.7em;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Fade in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Brand kit page ---------- */
.kit-hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.kit-section { padding: 90px 0; border-top: 1px solid var(--border); }
.kit-section .section-head { margin-bottom: 40px; }

/* Logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.logo-tile {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
}
.logo-tile.on-light { background: #E8E4DF; border-color: rgba(0,0,0,0.06); }
.logo-tile.on-light .tile-label { color: #6b6b73; }
.logo-tile.on-light .tile-label small { color: #a1a1a8; }
.logo-preview {
  flex: 1;
  display: grid;
  place-items: center;
}
.logo-preview img { max-height: 110px; width: auto; }
.tile-label {
  display: flex; justify-content: space-between; align-items: end;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tile-label small { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: none; }
.tile-label a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,178,89,0.4);
  padding-bottom: 1px;
}
@media (max-width: 800px) { .logo-grid { grid-template-columns: 1fr; } }

/* Colors */
.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.swatch {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
  background: var(--bg-elev);
}
.swatch:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.swatch .chip { height: 130px; }
.swatch .info {
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.swatch .name { font-size: 0.94rem; font-weight: 500; color: var(--text); }
.swatch .hex {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.swatch .role { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-top: 4px; }
@media (max-width: 900px) { .color-grid { grid-template-columns: repeat(2, 1fr); } }

/* Typography */
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.type-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.type-card .label {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
}
.type-card .family { font-family: "Cormorant Garamond", Georgia, serif; font-size: 4rem; line-height: 1; margin: 14px 0 6px; letter-spacing: -0.02em; }
.type-card.sans .family { font-family: "Inter", sans-serif; font-weight: 500; }
.type-card .desc { color: var(--text-dim); font-size: 0.96rem; margin-top: 12px; }
.type-specimens { display: grid; gap: 8px; margin-top: 26px; }
.type-specimens span { color: var(--text-dim); font-size: 0.92rem; }
.type-specimens .display { font-family: "Cormorant Garamond", Georgia, serif; }
.type-card.sans .type-specimens .display { font-family: "Inter", sans-serif; }
.type-specimens .w400 { font-weight: 400; }
.type-specimens .w500 { font-weight: 500; }
.type-specimens .w600 { font-weight: 600; }
.type-specimens .italic { font-style: italic; }
@media (max-width: 800px) { .type-grid { grid-template-columns: 1fr; } }

/* Icon grid */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.icon-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
  color: var(--text);
}
.icon-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.icon-tile svg { width: 28px; height: 28px; }
.icon-tile .icon-name {
  font-size: 0.74rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.icon-tile .icon-actions {
  position: absolute;
  inset: auto 8px 8px 8px;
  display: flex;
  gap: 6px;
  justify-content: center;
  opacity: 0;
  transition: opacity 180ms var(--ease);
}
.icon-tile:hover .icon-actions { opacity: 1; }
.icon-tile:hover .icon-name { opacity: 0; }
.icon-btn {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.icon-tile.copied { border-color: var(--accent); }
.icon-tile.copied::after {
  content: "Copied";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(232, 228, 223, 0.95);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 1000px) { .icon-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }

/* Voice + Don'ts */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.voice-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.voice-card.good { border-left: 3px solid #5dd39e; }
.voice-card.bad { border-left: 3px solid #e25c5c; }
.voice-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.voice-card.good h4 { color: #5dd39e; }
.voice-card.bad h4 { color: #e25c5c; }
.voice-card ul { list-style: none; display: grid; gap: 10px; }
.voice-card li {
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  font-size: 0.96rem;
}
.voice-card li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--text-faint);
}
@media (max-width: 800px) { .voice-grid { grid-template-columns: 1fr; } }

.toast {
  position: fixed;
  bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
  z-index: 100;
  box-shadow: 0 16px 40px -10px var(--accent-glow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Mobile nav ---------- */
@media (max-width: 720px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.86rem; }
  section { padding: 80px 0; }
  .hero { padding: 80px 0 60px; }
}
@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  /* stack the header: logo on top, links wrap to a full-width row below (no overflow) */
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; row-gap: 12px; }
  .nav-links { width: 100%; gap: 24px; justify-content: flex-start; flex-wrap: wrap; }
  .nav-links a { font-size: 0.92rem; }
}
