/* =============================================================
   1. Tokens
   ============================================================= */
@property --mx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: false; initial-value: 50%; }

:root {
  /* dark (default) */
  --bg:        #0a0a0a;
  --bg-2:      #131313;
  --bg-card:   #161616;
  --ink:       #fafafa;
  --ink-soft:  #d4d4d4;
  --mute:      #8a8a8a;
  --line:      rgba(250,250,250,0.10);
  --line-soft: rgba(250,250,250,0.06);
  --accent:    #22d3ee;
  --accent-ink: #06222a;
  --gradient-1: #22d3ee;
  --gradient-2: #6366f1;
  --gradient-3: #0ea5a5;
  --danger:    #ef4444;
  --ok:        #34d399;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg:        #f7f6f3;
  --bg-2:      #ffffff;
  --bg-card:   #ffffff;
  --ink:       #14151a;
  --ink-soft:  #33343a;
  --mute:      #6b6c73;
  --line:      rgba(20,21,26,0.12);
  --line-soft: rgba(20,21,26,0.06);
  --accent:    #0891a8;
  --accent-ink: #ffffff;
  color-scheme: light;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  transition: color .4s var(--ease-out);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: .6rem; }
.section-head p { color: var(--mute); margin-top: .9rem; font-size: 1.05rem; }
.accent { color: var(--accent); }

/* =============================================================
   4. Typography effects
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split], [data-reveal][data-split] { opacity: 1; transform: none; }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn svg { width: 1em; height: 1em; }

.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform; transition: transform .8s var(--ease-soft);
}

/* Cards (generic) */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), border-color .3s, box-shadow .3s;
}
.has-tilt:hover { transition-duration: .15s; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.has-halo { position: relative; isolation: isolate; }
.has-halo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.has-halo:hover::before { opacity: 1; }

/* Toasts */
.toast-stack {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 9998; display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none; width: min(360px, calc(100vw - 2rem));
}
.toast {
  background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
  padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .88rem; box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  display: flex; align-items: center; gap: .6rem;
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-bounce);
}
.toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* =============================================================
   6. Sections
   ============================================================= */

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: backdrop-filter .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: #06121a; font-family: var(--mono); font-weight: 700; font-size: .82rem;
  overflow: hidden; flex: none;
}
[data-logo-mark] svg { width: 100%; height: 100%; display: block; }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; padding: .25rem 0; font-size: .93rem; font-weight: 500; color: var(--ink-soft); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }

.theme-toggle {
  width: 44px; height: 26px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-card); position: relative; flex: none;
  transition: border-color .3s;
}
.theme-toggle::before {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); transition: transform .4s var(--ease-bounce);
}
:root[data-theme="light"] .theme-toggle::before { transform: translateX(18px); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon {
  position: absolute; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; opacity: .55; pointer-events: none;
}
.theme-toggle .icon-moon { left: 5px; }
.theme-toggle .icon-sun { right: 5px; }

.nav-burger {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg); color: var(--ink);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.nav-mobile a { font-family: var(--display); font-size: 1.8rem; font-weight: 600; }
.nav-mobile-close { position: absolute; top: 1.4rem; right: 1.4rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }

/* Hero */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: clip;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle 620px at var(--mx, 30%) var(--my, 30%), color-mix(in srgb, var(--gradient-1) 55%, transparent) 0%, transparent 55%),
    radial-gradient(circle 720px at calc(var(--mx, 30%) + 20%) calc(var(--my, 30%) + 30%), color-mix(in srgb, var(--gradient-2) 45%, transparent) 0%, transparent 55%),
    radial-gradient(circle 560px at calc(var(--mx, 30%) - 10%) calc(var(--my, 30%) + 50%), color-mix(in srgb, var(--gradient-3) 40%, transparent) 0%, transparent 55%),
    var(--bg);
  filter: blur(60px) saturate(140%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
}
.hero-inner { max-width: 780px; }
.hero-eyebrow { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700;
  max-width: 16ch;
}
.hero-title .line { display: block; }
.hero-sub { margin-top: 1.5rem; max-width: 52ch; font-size: 1.15rem; color: var(--ink-soft); }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .72rem; color: var(--mute); letter-spacing: .08em;
}
.hero-scroll-cue span.bar { width: 1px; height: 30px; background: linear-gradient(var(--accent), transparent); animation: cueMove 1.8s ease-in-out infinite; }
@keyframes cueMove { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Skills */
.skills-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }
.skill-card { padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.skill-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.skill-icon svg { width: 22px; height: 22px; }
.skill-card h3 { font-size: 1.12rem; }
.skill-card p { color: var(--mute); font-size: .94rem; }

/* Hub / links */
.hub-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-card {
  padding: 1.8rem; display: flex; flex-direction: column; gap: .9rem; position: relative; overflow: hidden;
}
.hub-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.hub-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--accent); flex: none;
}
.hub-icon svg { width: 20px; height: 20px; }
.hub-badge {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 999px; border: 1px solid var(--line); color: var(--mute);
}
.hub-card h3 { font-size: 1.05rem; }
.hub-card p { color: var(--mute); font-size: .9rem; flex: 1; }
.hub-card-cta { display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--accent); }
.hub-card-cta svg { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.hub-card:hover .hub-card-cta svg { transform: translate(3px, -3px); }

/* Blog cards */
.blog-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .72rem; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.post-tag { color: var(--accent); }
.post-card h3 { font-size: 1.08rem; line-height: 1.3; }
.post-card p { color: var(--mute); font-size: .92rem; flex: 1; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.post-read { font-size: .88rem; font-weight: 600; color: var(--accent); }

.reaction-btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); font-size: .82rem; color: var(--mute);
  transition: border-color .3s, color .3s, transform .2s var(--ease-bounce);
}
.reaction-btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease-bounce); }
.reaction-btn:hover { border-color: var(--accent); color: var(--accent); }
.reaction-btn.is-active { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.reaction-btn.is-active svg { transform: scale(1.15); fill: currentColor; }
.reaction-btn.is-pop { animation: reactionPop .4s var(--ease-bounce); }
@keyframes reactionPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* About */
.about { display: grid; gap: 2.6rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 220px 1fr; } }
.about-avatar {
  width: 160px; height: 160px; border-radius: 28px; margin-inline: auto;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  display: grid; place-items: center; font-family: var(--display); font-weight: 700;
  font-size: 2.6rem; color: #06121a; position: relative; overflow: hidden;
}
.about-avatar svg { width: 78%; height: 78%; }
@media (min-width: 860px) { .about-avatar { margin-inline: 0; } }
.about-avatar::after {
  content: ""; position: absolute; inset: -10px; border-radius: 34px;
  border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent);
}
.about-text p { color: var(--ink-soft); font-size: 1.05rem; margin-top: .9rem; }
.about-text p:first-child { margin-top: 0; }
.about-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.tag {
  font-family: var(--mono); font-size: .78rem; padding: .4rem .75rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft);
}

/* Contact */
.contact-grid { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-card { padding: 2rem; }
.contact-email-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-2);
}
.contact-email-row strong { font-family: var(--mono); font-size: .95rem; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--accent); flex: none; }
.copy-btn svg { width: 15px; height: 15px; }
.contact-note { color: var(--mute); font-size: .9rem; margin-top: 1.2rem; }

.field { position: relative; margin-bottom: 1.3rem; }
.field input, .field textarea {
  width: 100%; padding: 1.4rem 1rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); color: var(--ink); font-family: var(--sans); font-size: .98rem;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field label {
  position: absolute; left: 1rem; top: 1.05rem; pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--mute); font-size: .95rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .45rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.cta-form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-form-note { font-size: .82rem; color: var(--mute); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 2.4rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { color: var(--mute); font-size: .88rem; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { color: var(--mute); font-size: .82rem; }
.back-to-top {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: border-color .3s, transform .3s var(--ease-soft);
}
.back-to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* Scroll progress (blog posts) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--line-soft); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2)); transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear; }

/* Article (blog post pages) */
.article-header { padding-top: calc(var(--nav-h) + 2.4rem); padding-bottom: 2rem; }
.article-header .eyebrow { margin-bottom: 1rem; }
.article-title { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; }
.article-meta { display: flex; gap: 1rem; margin-top: 1.2rem; font-family: var(--mono); font-size: .82rem; color: var(--mute); flex-wrap: wrap; }
.article-body { max-width: 68ch; font-size: 1.08rem; color: var(--ink-soft); }
.article-body h2 { color: var(--ink); font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: .9rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul { margin-bottom: 1.2rem; }
.article-body li { padding-left: 1.4rem; position: relative; margin-bottom: .6rem; }
.article-body li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.article-body strong { color: var(--ink); }
.article-back { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); margin-bottom: 2rem; }
.article-cta {
  margin-top: 3rem; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-card); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}

/* CTA band */
.cta-band {
  border-radius: 28px; padding: clamp(2.4rem, 6vw, 4rem); text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--mute); margin-top: 1rem; max-width: 46ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* =============================================================
   7. Effects
   ============================================================= */
@media (min-width: 720px) {
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
}
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: none; mix-blend-mode: difference; opacity: 0; transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--ink); border-radius: 50%; }
.cursor-ring {
  width: 30px; height: 30px; margin: -15px; border: 1px solid var(--ink); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 46px; height: 46px; margin: -23px; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {}
@media (min-width: 720px) {}
@media (min-width: 960px) {}
@media (min-width: 1280px) { .container { padding-inline: 1.5rem; } }

/* =============================================================
   9. Reduced motion — only the truly intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span.bar { animation: none; }
}
