/* Tercero — Linear-style system: near-black, hairline borders, Inter, monochrome. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08090a;
  --panel: #0f1011;
  --panel-2: #141516;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f7f8f8;
  --text-2: #b4b8bf;
  --muted: #8a8f98;
  --dim: #62666d;
  --sans: "Inter", -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ── */
.h-display {
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  font-weight: 510;
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.h-section {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 510;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.lede { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
.label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.statement {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 510;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--muted);
  max-width: 34ch;
}
.statement .hi { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 510;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--text); color: #08090a; }
.btn-primary:hover { background: #ffffff; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 0.8125rem; }
.arrow { transition: transform .2s var(--ease); }
a:hover > .arrow { transform: translateX(2px); }

/* ── Header ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 10, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 0.95rem; }
.brand img { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; list-style: none; }
.nav-links a { font-size: 0.8125rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-sep { width: 1px; height: 16px; background: var(--line-2); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  height: 32px; padding: 0 10px;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em;
  color: var(--dim); border: 1px solid var(--line); border-radius: 999px;
}
.lang-toggle .active { color: var(--text); }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ── Hero ── */
.hero { padding: 120px 0 0; position: relative; overflow-x: clip; } /* the showcase fade/glow extend past the edges */
.hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 20px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-new { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--muted); padding-bottom: 6px; }
.hero-new b { color: var(--text); font-weight: 510; }
.hero-new:hover { color: var(--text); }

.showcase { position: relative; margin-top: 72px; height: clamp(300px, 52vw, 640px); }
.showcase::after { /* fade the frames into the page, like Linear's app shot */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; height: 45%;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0) 0%, var(--bg) 92%);
  pointer-events: none; z-index: 3;
}
.showcase::before { /* soft light behind the frames */
  content: ""; position: absolute; inset: -12% -8% 10%;
  background: radial-gradient(ellipse 60% 55% at 50% 30%, rgba(255, 255, 255, 0.07), transparent 70%);
  pointer-events: none;
}
.frame {
  position: absolute;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 80px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.frame-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b2e; }
.frame-url {
  margin: 0 auto; transform: translateX(-24px);
  font-family: var(--mono); font-size: 0.6875rem; color: var(--dim);
  padding: 4px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.04);
}
.frame img { width: 100%; height: auto; }
.frame-main { left: 0; right: 9%; top: 0; z-index: 2; }
.frame-back { left: 18%; right: 0; top: 7%; z-index: 1; opacity: 0.55; filter: saturate(0.85); }

/* ── Clients strip ── */
.clients { padding: 40px 0 0; }
.clients-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px;
  font-size: 1.125rem; font-weight: 590; letter-spacing: -0.015em; color: #d0d3d8;
}
.clients-row span { white-space: nowrap; opacity: 0.85; }
.clients .label { margin-top: 18px; }

/* ── Sections ── */
.section { padding: 140px 0 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head .lede { max-width: 44ch; }
.section-head .label { display: block; margin-bottom: 18px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 0.875rem; color: var(--muted); }
.more:hover { color: var(--text); }

/* FIG panels */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.fig { padding: 28px 28px 8px; border-right: 1px solid var(--line); }
.fig:last-child { border-right: 0; }
.fig svg { display: block; width: 100%; max-width: 230px; height: auto; margin: 36px auto 30px; }
.fig svg * { vector-effect: non-scaling-stroke; }
.fig h3 { font-size: 1rem; font-weight: 510; letter-spacing: -0.01em; }
.fig p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.work-card {
  display: block; position: relative;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  padding: 12px 12px 22px; transition: border-color .25s, transform .4s var(--ease), background .25s;
}
.work-card:hover { border-color: var(--line-2); background: #121314; transform: translateY(-2px); }
.work-card.wide { grid-column: 1 / -1; }
.work-shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 10; }
.work-card.wide .work-shot { aspect-ratio: 16 / 8; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.015); }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 8px 0; }
.work-meta h3 { font-size: 1rem; font-weight: 510; letter-spacing: -0.01em; }
.work-meta p { color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
.work-meta .label { white-space: nowrap; }
.work-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding-left: 8px; font-size: 0.8125rem; color: var(--muted); }
.work-card:hover .work-link { color: var(--text); }

/* Graphics */
.gfx { columns: 4; column-gap: 12px; }
.gfx figure {
  break-inside: avoid; margin: 0 0 12px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel);
}
.gfx img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; }
.gfx figure:hover img { transform: scale(1.02); }
.gfx figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 0.8125rem; color: var(--text-2); border-top: 1px solid var(--line); }
.gfx figcaption .label { font-size: 0.625rem; }

/* Services */
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.svc { padding: 36px; }
.svc + .svc { border-left: 1px solid var(--line); }
.svc h3 { font-size: 1.25rem; font-weight: 510; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.svc > p { color: var(--muted); margin-top: 8px; max-width: 38ch; }
.svc ul { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.svc li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--text-2); }
.svc li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); flex: none; }
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.addon { padding: 24px; border-right: 1px solid var(--line); }
.addon:last-child { border-right: 0; }
.addon h4 { font-size: 0.9375rem; font-weight: 510; margin-top: 10px; letter-spacing: -0.01em; }
.addon p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.tier.featured { border-color: var(--line-2); background: linear-gradient(180deg, #17181a 0%, var(--panel) 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.tier-top { display: flex; justify-content: space-between; align-items: center; }
.badge { font-size: 0.6875rem; font-weight: 510; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }
.tier h3 { font-size: 1.375rem; font-weight: 510; letter-spacing: -0.015em; margin-top: 22px; }
.tier p { color: var(--muted); margin-top: 8px; flex: 1; }
.tier .btn { margin-top: 28px; align-self: flex-start; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; font-size: 1rem; font-weight: 510; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 4px 24px; max-width: 70ch; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.about-text { padding: 44px; }
.about-text .lede { margin-top: 18px; max-width: 42ch; }
.facts { margin-top: 32px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--text-2); text-align: right; }
.about-photo { position: relative; display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; border-left: 1px solid var(--line); background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(255, 255, 255, 0.07), transparent 70%); }
.about-photo img { width: min(100%, 420px); -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); filter: grayscale(1) contrast(1.05); }
.about .socials { display: flex; gap: 10px; margin-top: 28px; }

/* Contact / estimate */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.contact .lede { margin-top: 18px; }
.contact-aside { position: sticky; top: 104px; align-self: start; }
.contact-aside .direct { margin-top: 28px; font-size: 0.875rem; color: var(--muted); }
.contact-aside .direct a { color: var(--text-2); }
.form { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 32px; }
.field { margin-bottom: 20px; }
.field label, .field .q { display: block; font-size: 0.8125rem; font-weight: 510; color: var(--text-2); margin-bottom: 8px; }
.field .req { color: var(--muted); }
.field .opt { color: var(--dim); font-weight: 400; }
.input, .select {
  width: 100%; height: 42px; padding: 0 14px;
  background: #0a0b0c; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 10px;
  font: inherit; font-size: 0.9rem;
  transition: border-color .2s, box-shadow .2s;
}
.select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%238a8f98' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.input::placeholder { color: var(--dim); }
.input:focus, .select:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06); }
.input.invalid { border-color: #e5484d; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.8125rem; color: var(--text-2); transition: all .2s; }
.check input:checked + span { background: var(--text); color: #08090a; border-color: var(--text); }
.check input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn-primary { width: 100%; height: 44px; margin-top: 8px; }
.form .btn-primary[disabled] { opacity: 0.6; cursor: wait; }
.form-error { display: none; margin-top: 12px; font-size: 0.85rem; color: #e5484d; }
.form-error.show { display: block; }
.confirm { display: none; text-align: center; padding: 56px 24px; }
.confirm.visible { display: block; }
.confirm h3 { font-size: 1.5rem; font-weight: 510; letter-spacing: -0.015em; }
.confirm p { color: var(--muted); margin-top: 10px; }
.confirm .check-mark { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }

/* Footer */
.footer { margin-top: 160px; border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font-size: 0.8125rem; font-weight: 510; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 0.8125rem; color: var(--muted); }
.footer li a:hover { color: var(--text); }
.footer .tag { color: var(--muted); font-size: 0.875rem; margin-top: 12px; max-width: 30ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; font-size: 0.75rem; color: var(--dim); }

/* Reveal on scroll (only once JS runs, so no-JS shows everything) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .gfx { columns: 3; }
  .addons { grid-template-columns: repeat(2, 1fr); }
  .addon:nth-child(2) { border-right: 0; }
  .addon:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .nav-sep, .nav-right .btn-primary { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-right { margin-left: auto; }
  .mobile-menu { display: block; position: fixed; inset: 64px 0 auto 0; z-index: 49; background: rgba(8, 9, 10, 0.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
  .nav.open + .mobile-menu { transform: none; opacity: 1; visibility: visible; }
  .mobile-menu a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .mobile-menu .btn { margin-top: 18px; width: 100%; height: 46px; border-bottom: 0; justify-content: center; font-size: 0.95rem; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .showcase { margin-top: 48px; }
  .frame-back { display: none; }
  .frame-main { right: 0; }
  .section { padding-top: 100px; }
  .section-head, .faq-grid, .contact { grid-template-columns: 1fr; gap: 20px; }
  .section-head { margin-bottom: 36px; }
  .contact-aside { position: static; }
  .figs { grid-template-columns: 1fr; }
  .fig { border-right: 0; border-bottom: 1px solid var(--line); }
  .fig svg { max-width: 180px; margin: 24px auto; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.wide .work-shot { aspect-ratio: 16 / 10; }
  .gfx { columns: 2; column-gap: 10px; }
  .gfx figure { margin-bottom: 10px; }
  .svc-cols { grid-template-columns: 1fr; }
  .svc + .svc { border-left: 0; border-top: 1px solid var(--line); }
  .tiers { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-photo { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .svc, .about-text, .form { padding: 24px 20px; }
  .addons { grid-template-columns: 1fr; }
  .addon { border-right: 0; border-bottom: 1px solid var(--line); }
  .addon:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .clients-row { justify-content: flex-start; font-size: 1rem; gap: 12px 24px; }
  .work-meta { flex-direction: column; gap: 6px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Software cards + experience logos ── */
.app-card .tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 8px 0; }
.tag { font-size: 0.6875rem; font-weight: 510; color: var(--text-2); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.app-card .work-meta p { max-width: 52ch; }
.app-card .work-link.label { color: var(--dim); }
.exp { margin-top: 40px; }
.exp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px; margin-top: 20px; }
.exp-logos img { width: auto; filter: brightness(0) invert(1); opacity: 0.72; transition: opacity .2s; }
.exp-logos img:hover { opacity: 1; }
.exp-logos img[src*="ksu-mono"] { filter: none; } /* already one-color white; the silhouette filter would blur the KS monogram */
@media (max-width: 560px) { .exp-logos { gap: 22px 28px; } }

/* ── Hero: big Tercero mark + headline fade-in with a cursor ── */
.hero-mark {
  display: block;
  width: auto;
  height: clamp(84px, 10vw, 132px);
  margin-bottom: 40px;
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.16));
}
.hero h1 .tc { opacity: 0; filter: blur(6px); transition: opacity .55s ease-out, filter .55s ease-out; }
.hero h1 .tc.on { opacity: 1; filter: blur(0); }
/* zero-width so it never reflows the line; the bar is drawn by ::after */
.caret { display: inline-block; width: 0; position: relative; }
.caret::after {
  content: ""; position: absolute; left: 0.06em; top: -0.8em;
  width: 0.06em; height: 0.86em; border-radius: 1px;
  background: var(--text); box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  animation: caret-in .4s ease-out, caret-blink 1.05s steps(1) .4s infinite;
}
@keyframes caret-in { from { opacity: 0; } }
@keyframes caret-blink { 50% { opacity: 0; } }

/* first-screen choreography: mark, then the headline fade, then everything else eases in */
.motion .hero-mark { opacity: 0; transform: translateY(10px) scale(0.96); }
.motion .hero.go .hero-mark { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.motion .hero h1:not(.split) { opacity: 0; } /* hidden until split into letters, so the full line never flashes */
.motion .hero .seq { opacity: 0; transform: translateY(14px); }
.motion .hero.go .seq { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.motion .hero.go .seq-1 { transition-delay: 1.5s; }
.motion .hero.go .seq-2 { transition-delay: 1.75s; }
.motion .hero.go .seq-3 { transition-delay: 1.35s; transition-duration: 1.4s; }

@media (max-width: 860px) { .hero-mark { margin-bottom: 28px; } }
