:root {
  --bg: #0a0d12;
  --bg-2: #0f141b;
  --card: #121922;
  --line: #1f2a36;
  --text: #e6edf3;
  --muted: #8b98a5;
  --accent: #3ee6b0;
  --accent-2: #4cc9f0;
  --accent-soft: rgba(62, 230, 176, 0.12);
  --radius: 14px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* background */
.grid-bg {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.glow {
  position: fixed; z-index: -1; width: 700px; height: 700px; border-radius: 50%;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(62,230,176,.18), rgba(76,201,240,.08) 40%, transparent 70%);
  filter: blur(20px);
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 13, 18, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; }
.logo .prompt { color: var(--accent); }
.caret { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
.nav-links { display: flex; gap: 28px; font-size: .92rem; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font-family: var(--mono); font-size: .82rem; cursor: pointer;
  background: var(--card); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.lang .sep { margin: 0 4px; opacity: .5; }
.lang [data-lang].on { color: var(--accent); font-weight: 600; }
.menu-btn { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: .3s; }
.menu-btn span:first-child { top: 13px; }
.menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 17px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 17px; transform: rotate(-45deg); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
  min-height: calc(100vh - 68px); padding: 48px 0;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted);
  border: 1px solid var(--line); background: rgba(18,25,34,.6); padding: 6px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; flex: none; }
h1 { font-size: clamp(3rem, 8vw, 5.6rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 24px 0 18px; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typed { color: var(--text); font-size: clamp(.95rem, 2vw, 1.15rem); min-height: 1.8em; }
.typed .gt { color: var(--accent); }
.cursor { color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 2px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 18px 0 32px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn.primary { background: var(--accent); color: #04130e; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: min(340px, 80vw); aspect-ratio: 1; border-radius: 28px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  padding: 3px; display: grid; place-items: center;
}
.photo-frame::before { content: ""; position: absolute; inset: 3px; border-radius: 25px; background: var(--bg-2); }
.photo-frame img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.initials { position: absolute; z-index: 1; font-family: var(--mono); font-size: 5rem; font-weight: 600; color: var(--accent); opacity: .8; }
.code-card {
  position: absolute; left: -36px; bottom: -36px; z-index: 3;
  background: rgba(15,20,27,.94); border: 1px solid var(--line); border-radius: 12px;
  font-size: .78rem; min-width: 250px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}
.code-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.code-head i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.code-head i:nth-child(2) { background: #febc2e; }
.code-head i:nth-child(3) { background: #28c840; }
.code-head span { margin-left: 8px; }
.code-card pre { padding: 14px 16px; color: var(--text); white-space: pre; }
.k { color: #c792ea; } .s { color: var(--accent); } .n { color: #f78c6c; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18,25,34,.5); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding: 110px 0 20px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 12px; max-width: 320px; }
.section-title.center { justify-content: center; }
.section-title.center::after { display: none; }
.section-title .num { color: var(--accent); font-size: .6em; font-weight: 500; }
.section-sub { color: var(--muted); margin: -20px 0 36px; font-size: .88rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.about-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
blockquote { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; color: var(--text); font-style: italic; }
.pillars { list-style: none; display: grid; gap: 14px; }
.pillars li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.pillars li:hover { border-color: var(--accent); transform: translateX(4px); }
.pillars .ic { color: var(--accent); font-size: .8rem; margin-top: 4px; }
.pillars h3 { font-size: 1rem; }
.pillars p { color: var(--muted); font-size: .9rem; }

/* timeline */
.timeline { list-style: none; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--line) 60%); }
.tl-item { position: relative; padding: 24px 26px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); transition: border-color .25s; }
.tl-item:hover { border-color: rgba(62,230,176,.5); }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.tl-item.current::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.badge { color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; font-size: .72rem; }
.tl-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.tl-item ul { list-style: none; display: grid; gap: 6px; }
.tl-item ul li { color: var(--muted); padding-left: 20px; position: relative; font-size: .96rem; }
.tl-item ul li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { font-family: var(--mono); font-size: .72rem; color: var(--accent-2); border: 1px solid rgba(76,201,240,.25); padding: 3px 10px; border-radius: 6px; }

/* skills */
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill-card { padding: 26px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); }
.skill-card h3 { color: var(--accent); font-size: .95rem; font-weight: 500; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .88rem; transition: .2s; }
.chips span:hover { border-color: var(--accent); color: var(--accent); }

/* education */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.edu-card { padding: 24px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); position: relative; overflow: hidden; }
.edu-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.edu-card .small { color: var(--muted); font-size: .78rem; }
.edu-card h3 { font-size: 1.05rem; margin: 8px 0 6px; line-height: 1.35; }
.edu-card p { color: var(--muted); font-size: .9rem; }

/* contact */
.contact { text-align: center; padding-bottom: 80px; }
.contact-lead { color: var(--muted); max-width: 560px; margin: 0 auto 32px; font-size: 1.08rem; }
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: .25s; }
.contact-btn svg { width: 20px; height: 20px; color: var(--accent); }
.contact-btn:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 30px -15px var(--accent); }

.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,230,176,.6); } 70% { box-shadow: 0 0 0 10px rgba(62,230,176,0); } 100% { box-shadow: 0 0 0 0 rgba(62,230,176,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 0 80px; gap: 64px; }
  .hero-visual { order: -1; }
  .photo-frame { width: min(240px, 60vw); }
  .code-card { left: auto; right: 0; bottom: -40px; min-width: 0; font-size: .7rem; }
  .about-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10,13,18,.97); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .skill-grid { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .tl-item { padding: 20px; }
  .code-card { display: none; }
  .section-title::after { display: none; }
}

/* ===================== ANIMAÇÕES ===================== */
/* barra de progresso de leitura */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%; transform: scaleX(0); }

/* rede de partículas */
#net { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .55; }

/* brilho que segue o mouse */
.cursor-glow { position: fixed; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(62,230,176,.10), transparent 60%);
  transition: opacity .4s; opacity: 0; }
body.has-mouse .cursor-glow { opacity: 1; }

/* entrada do hero */
.hero-text > * { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-text > :nth-child(1) { animation-delay: .1s; }
.hero-text > :nth-child(2) { animation-delay: .25s; }
.hero-text > :nth-child(3) { animation-delay: .55s; }
.hero-text > :nth-child(4) { animation-delay: .7s; }
.hero-text > :nth-child(5) { animation-delay: .85s; }
.split .word { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(8px);
  animation: wordIn 1s cubic-bezier(.2,.7,.2,1) forwards; }
.split .word:nth-of-type(1) { animation-delay: .3s; }
.split .word:nth-of-type(2) { animation-delay: .5s; }
.accent { background-size: 200% auto; animation: wordIn 1s cubic-bezier(.2,.7,.2,1) .5s forwards, shine 6s linear 1.5s infinite; }

.hero-visual { opacity: 0; animation: pop 1s cubic-bezier(.2,.7,.2,1) .4s forwards; }
.photo-frame { animation: float 6s ease-in-out infinite; }
.photo-frame { background: conic-gradient(from var(--ang, 0deg), var(--accent), var(--accent-2), #7c5cff, var(--accent)); animation: float 6s ease-in-out infinite, spin 8s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.photo-frame::after { content: ""; position: absolute; inset: -18px; border-radius: 40px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), var(--accent), transparent 30%, var(--accent-2), transparent 70%);
  filter: blur(28px); opacity: .45; }

/* código digitando linha por linha */
.code-card { animation: floatAlt 7s ease-in-out infinite; }
.code-card .ln { opacity: 0; display: inline; }
.code-card .ln.show { opacity: 1; transition: opacity .25s; }
.f { color: #82aaff; } .v { color: #ffcb6b; } .c { color: #546e7a; font-style: italic; }
.code-card pre::after { content: "▋"; color: var(--accent); animation: blink 1s steps(1) infinite; }

/* botões com brilho */
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
  animation: sweep 3.5s ease-in-out 2s infinite; }

/* cards com tilt 3D (via JS) */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .15s ease-out, border-color .25s; }
.tilt .shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(62,230,176,.12), transparent 45%); }
.tilt:hover .shine { opacity: 1; }
.skill-card, .edu-card, .pillars li, .tl-item { position: relative; }

/* reveal com variações */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.in.from-left, .reveal.in.from-right { transform: none; }

/* linha do tempo que se desenha */
.timeline::before { transform-origin: top; transform: scaleY(var(--tl, 0)); transition: transform .1s linear; }
.tl-item.current::before { animation: ping 2.2s ease-out infinite; }

/* chips entrando em cascata */
.chips span { opacity: 0; transform: translateY(12px) scale(.9); }
.skill-card.in .chips span { animation: chipIn .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 60ms + .2s); }

/* título de seção com sublinhado animado */
.section-title::after { transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.7,.2,1) .3s; }
.section-title.in::after { transform: scaleX(1); }

/* contato pulsando */
.contact-btn svg { transition: transform .3s; }
.contact-btn:hover svg { transform: scale(1.2) rotate(-8deg); }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatAlt { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes spin { to { --ang: 360deg; } }
@keyframes sweep { 0% { left: -120%; } 40%,100% { left: 160%; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62,230,176,.55); } 80%,100% { box-shadow: 0 0 0 14px rgba(62,230,176,0); } }
@keyframes chipIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-text > *, .split .word, .hero-visual, .chips span, .code-card .ln { opacity: 1 !important; transform: none !important; filter: none !important; }
  .timeline::before, .section-title::after { transform: none !important; }
  #net, .cursor-glow { display: none; }
}
@media (max-width: 760px) { .cursor-glow { display: none; } #net { opacity: .35; } }

/* ajuste do card de código */
.code-card { left: -70px; bottom: -110px; background: #0f141b; backdrop-filter: blur(6px); }
@media (max-width: 1100px) { .code-card { left: -20px; } }

/* tablet e celular: card de código abaixo da foto */
@media (max-width: 900px) {
  .hero-visual { flex-direction: column; align-items: center; gap: 28px; }
  .code-card { display: block; position: relative; left: auto; right: auto; bottom: auto; width: min(420px, 100%); font-size: .72rem; animation: none; }
  .code-card pre { white-space: pre-wrap; word-break: break-word; }
}

/* evita rolagem lateral durante animações */
html, body { overflow-x: clip; }
main { overflow-x: clip; }

/* tablet/celular: foto → texto → card de código */
@media (max-width: 900px) {
  .hero { gap: 40px; }
  .hero-visual { display: contents; }
  .photo-frame { order: -1; justify-self: center; }
  .hero-text { order: 0; }
  .code-card { order: 1; justify-self: center; opacity: 0; animation: pop 1s cubic-bezier(.2,.7,.2,1) .8s forwards; }
}

/* ===================== v3 ===================== */
html { scroll-behavior: auto; }

/* indicador deslizante no menu */
@media (min-width: 761px) { .nav-links { position: relative; } }
.nav-links a { position: relative; overflow: hidden; }
@media (min-width: 761px) { .nav-links a { padding: 6px 0; } }
.nav-indicator { position: absolute; left: 0; bottom: -2px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent);
  transition: transform .55s cubic-bezier(.65,0,.35,1), width .55s cubic-bezier(.65,0,.35,1), opacity .3s; pointer-events: none; }
.nav-links a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav-links a:hover::before { transform: scaleX(1); transform-origin: left; }
.ripple { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none;
  background: var(--accent); transform: translate(-50%, -50%) scale(0); opacity: .6; animation: ripple .7s ease-out forwards; }

/* chegada na seção */
section.arrive .section-title { animation: titleArrive 1.1s cubic-bezier(.2,.7,.2,1); }
section.arrive .section-title .num { animation: numFlash 1.1s ease; }
section.arrive::before { content: ""; position: absolute; left: 50%; top: 60px; width: 60vw; height: 260px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(62,230,176,.16), transparent 70%); pointer-events: none; z-index: -1;
  animation: arriveGlow 1.6s ease-out forwards; }
.section { position: relative; }
body.is-scrolling .progress { box-shadow: 0 0 14px var(--accent); }

/* disponibilidade */
.availability { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 auto 34px; max-width: 980px; text-align: left; }
.av-card { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); position: relative; overflow: hidden; }
.av-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(62,230,176,.08), transparent 70%);
  transform: translateX(-100%); animation: cardSweep 5s ease-in-out infinite; }
.av-card:nth-child(2)::before { animation-delay: 1.2s; }
.av-card:nth-child(3)::before { animation-delay: 2.4s; }
.av-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.av-ic svg { width: 22px; height: 22px; }
.av-card:first-child .av-ic svg { animation: spinSlow 12s linear infinite; }
.av-card h3 { font-size: 1rem; margin-bottom: 4px; }
.av-card p { color: var(--muted); font-size: .88rem; }
.clock-row { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; }
.clock-row span { display: flex; flex-direction: column; }
.clock-row small { color: var(--muted); font-size: .7rem; }
.clock-row b { font-size: 1.3rem; color: var(--accent); font-weight: 600; }
.clock-row .clk-sep { color: var(--accent-2); font-size: 1.1rem; animation: pulseX 2s ease-in-out infinite; }
.small-note { font-size: .78rem !important; }

@keyframes ripple { to { transform: translate(-50%, -50%) scale(18); opacity: 0; } }
@keyframes titleArrive { 0% { letter-spacing: .25em; opacity: .2; filter: blur(6px); } 100% { letter-spacing: -.02em; opacity: 1; filter: none; } }
@keyframes numFlash { 0%,100% { text-shadow: none; } 40% { text-shadow: 0 0 18px var(--accent); } }
@keyframes arriveGlow { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cardSweep { 0%,60%,100% { transform: translateX(-100%); } 85% { transform: translateX(100%); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseX { 0%,100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }

@media (max-width: 900px) { .availability { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  section.arrive .section-title, section.arrive::before, .av-card::before, .av-card svg, .clk-sep { animation: none !important; }
}
