/* Antheta: clean white, near-black type, one typeface (Instrument Sans), burgundy used sparingly. */
:root {
  --wine: #6b1a2c;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 64px;
  --radius: 14px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --fast: 140ms;
  --base: 200ms;
}

:root, [data-tone="light"] {
  --bg: #ffffff;
  --surface: #f6f6f5;
  --fg: #111111;
  --fg-2: #555555;
  --fg-3: #737373;
  --rule: rgba(17, 17, 17, .1);
  --btn-bg: #111111;
  --btn-fg: #ffffff;
  --focus: var(--wine);
}
[data-tone] { background: var(--bg); color: var(--fg); }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { min-height: 100vh; display: flex; flex-direction: column; background: #fff; color: var(--fg); font: 400 17px/1.5 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
input { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
kbd { font: 500 11px/1 var(--sans); letter-spacing: .02em; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--rule); color: var(--fg-3); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 10px 14px; border-radius: 10px; background: #111; color: #fff; transform: translateY(-160%); transition: transform var(--base) var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.display { font-size: clamp(46px, 7.6vw, 112px); font-weight: 500; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.display--md { font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; }
.display--page { font-size: clamp(42px, 6vw, 84px); line-height: 1; letter-spacing: -.04em; }
.h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.h3 { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.lede { max-width: 54ch; margin-top: 20px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--fg-2); text-wrap: pretty; }
.note { font-size: 14px; color: var(--fg-3); }
.copy { max-width: 62ch; display: flex; flex-direction: column; gap: 14px; color: var(--fg-2); }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg); font-size: 15px; font-weight: 500; transition: opacity var(--fast) ease-out, transform var(--fast) ease-out; }
.button:hover { opacity: .88; }
.button:active { transform: scale(.98); }
.button[data-variant="quiet"] { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .22); }
.button[data-variant="quiet"]:hover { opacity: 1; box-shadow: inset 0 0 0 1px var(--fg); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--fg); }
.link .arrow { width: 15px; height: 15px; transition: transform var(--fast) ease-out; }
.link:hover .arrow { transform: translateX(3px); }
.link--back { min-height: 0; margin-bottom: 20px; color: var(--fg-3); }
.link--back::before { content: ""; width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 2px; }
.link--back:hover { color: var(--fg); }

/* ---------- Top bar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); color: var(--fg); transition: background-color var(--base) ease-out, box-shadow var(--base) ease-out, color var(--base) ease-out; }
.nav.is-scrolled, body.search-open .nav { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--rule); }
body.search-open .nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.nav__inner { height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--fg); }
.brand__mark { width: auto; height: 23px; }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: 4px; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color var(--fast) ease-out; }
.nav__links a:hover { color: var(--fg); }
.nav__links a[aria-current] { color: var(--fg); }
/* the underline is its own element so it can slide between links (see Page transitions) */
.nav__current { position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: currentColor; }
.nav__search { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; color: var(--fg-2); transition: color var(--fast) ease-out; }
.nav__search:hover, .nav__search[aria-expanded="true"] { color: var(--fg); }
.nav__search svg { width: 17px; height: 17px; }

/* Search: a white panel that drops from the bar, the page dims and blurs behind it */
.search-panel { position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; box-shadow: 0 1px 0 var(--rule); opacity: 0; transform: translateY(-6px); transition: opacity var(--base) var(--ease-out), transform var(--base) var(--ease-out); }
.search-panel.is-open { opacity: 1; transform: none; }
.search-panel__inner { max-width: calc(760px + var(--gutter) * 2); margin: 0 auto; padding: 28px var(--gutter) 56px; }
.search-panel__field { display: flex; align-items: center; gap: 14px; color: var(--fg-3); }
.search-panel__field > svg { width: 22px; height: 22px; flex: none; }
.search-panel__field input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; outline: none; font-size: clamp(22px, 3vw, 28px); font-weight: 500; letter-spacing: -.02em; color: var(--fg); }
.search-panel__field input::placeholder { color: #a3a3a3; }
.search-panel__field input::-webkit-search-cancel-button { display: none; }
.search-panel__close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--fg-3); }
.search-panel__close:hover { color: var(--fg); }
.search-panel__close svg { width: 16px; height: 16px; }
.search-panel__label { margin: 28px 0 10px; font-size: 13px; color: var(--fg-3); }
.search-panel__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; font-size: 16px; font-weight: 500; color: var(--fg); }
.search-panel__links .arrow { width: 14px; height: 14px; color: var(--fg-3); transition: transform var(--fast) ease-out, color var(--fast) ease-out; }
.search-panel__links a:hover .arrow { transform: translateX(3px); color: var(--fg); }
.search-panel__links a:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.scrim { position: fixed; inset: 0; z-index: 95; background: rgba(250, 250, 250, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity var(--base) ease-out; }
.scrim.is-open { opacity: 1; }
.nav__menu { display: none; min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 500; }

/* Phone menu: a full sheet of large links */
.menu { position: fixed; inset: 0; z-index: 90; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; background: #fff; color: var(--fg); opacity: 0; transition: opacity var(--base) ease-out; }
.menu.is-open { opacity: 1; }
.menu li { border-bottom: 1px solid var(--rule); }
.menu a { display: block; padding: 14px 0; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.menu a[aria-current] { color: var(--wine); }
.menu__search { margin-top: auto; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 12px; color: var(--fg-3); }
.menu__search svg { width: 17px; height: 17px; }
body.menu-open .nav { background: #fff; box-shadow: none; backdrop-filter: none; }

/* ---------- Product panels (home lineup and product heroes) ---------- */
.panel { position: relative; overflow: hidden; }
.panel--stage { padding: calc(var(--nav-h) + clamp(40px, 7vh, 96px)) 0 clamp(56px, 7vw, 96px); }
.panel__text { position: relative; z-index: 2; }
.panel__text .display { max-width: 12.5ch; font-size: clamp(46px, min(7.6vw, 11vh), 112px); }
.panel__meta { margin-top: clamp(20px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.panel__name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.panel__name--top { margin-bottom: 18px; color: var(--fg-2); font-weight: 500; }
.panel__lede { max-width: 44ch; margin-top: 6px; font-size: 17px; line-height: 1.5; color: var(--fg-2); }
.panel__meta > .panel__lede { margin-top: 0; }
.panel__render { position: relative; z-index: 1; margin-top: clamp(8px, 2vh, 32px); }
.render { position: relative; width: 100%; }
/* sized by height as well as width, so the whole product fits in the first screen */
.render--hero { width: min(1240px, 96vw, 48vh * 2.43); max-width: none; left: 50%; transform: translateX(-50%); }
.render--tall { width: min(520px, 80vw, 56vh * .77); }
.render--set { width: min(1320px, 96vw, 52vh * 2.54); }
.panel__text--center { text-align: center; }
.panel__text--center .display { margin: 0 auto; }
.panel__meta--center { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.panel__meta--center .actions { justify-content: center; }

/* One authored reveal: the product rises into place once, on load. */
@media (prefers-reduced-motion: no-preference) {
  .render--hero { animation: rise 1s .08s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateX(-50%) translateY(22px) scale(.985); } }
}

/* ---------- Home (coming soon): the name, big, on white, and Be on the lookout ---------- */
.launch { min-height: 100vh; min-height: 100svh; padding: var(--nav-h) var(--gutter) clamp(32px, 6vh, 64px); display: grid; place-content: center; justify-items: center; gap: clamp(24px, 5vh, 48px); background: #fff; color: var(--fg); text-align: center; }
.launch__brand { display: inline-flex; align-items: center; gap: .2em; font-size: clamp(60px, 13vw, 200px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.launch__mark { width: auto; height: 1.06em; }
.launch .posted { justify-items: center; }
.launch .posted__open { justify-self: center; }
/* the field opens from the middle outward */
.launch .posted__field { clip-path: inset(0 50% 0 50%); }
.launch .posted__note { justify-self: center; text-align: center; }

/* Keep me posted: a text link that opens into an email field in the same spot */
.posted { display: grid; width: min(380px, 100%); color: var(--fg); }
.posted__open, .posted__field { grid-area: 1 / 1; }
.posted__open { justify-self: start; position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; letter-spacing: -.01em; transition: opacity 200ms ease-out, transform 360ms var(--ease-out); }
/* the underline sits under the words, not the glasses */
.posted__open span { position: relative; }
.posted__open span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; opacity: .6; transition: opacity var(--fast) ease-out; }
.posted__open:hover span::after { opacity: 1; }
.posted__open .lookout { width: 1.8em; height: .9em; flex: none; transition: transform 260ms var(--ease-out); }
.posted__open:hover .lookout { transform: translateY(-2px); }
.posted__field { display: flex; align-items: center; gap: 6px; min-height: 48px; box-shadow: inset 0 -1px 0 rgba(17, 17, 17, .45); clip-path: inset(0 100% 0 0); opacity: 0; transition: clip-path 520ms var(--ease-out), opacity 160ms ease-out, box-shadow var(--fast) ease-out; }
.posted[data-state="open"] .posted__field { clip-path: inset(0 0 0 0); opacity: 1; }
.posted[data-state="open"] .posted__open { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.posted__field:focus-within { box-shadow: inset 0 -2px 0 var(--fg); }
.posted__field input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; outline: none; font-size: clamp(17px, 1.4vw, 19px); caret-color: var(--fg); }
.posted__field input:focus-visible { outline: none; }
.posted__field input::placeholder { color: var(--fg-3); }
.posted__send { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border-radius: 50%; transition: background-color var(--fast) ease-out, transform var(--fast) ease-out; }
.posted__send:hover { background: var(--surface); }
.posted__send:active { transform: scale(.94); }
.posted__send .arrow { width: 17px; height: 17px; }
.posted__note { grid-area: 2 / 1; margin-top: 10px; max-width: 38ch; font-size: 14px; color: var(--fg-2); }
.posted__note:empty { display: none; }


.panel--split { padding: clamp(80px, 11vw, 150px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.split__media img { width: 100%; max-width: 520px; margin: 0 auto; }
.split__text .panel__name { margin-top: 28px; }
.split__text .actions { margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding-top: 8px; }
.section--first { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); }
/* hairline drawn inside the gutters, not across them */
.section--rule > .wrap, .sitemap { background-image: linear-gradient(var(--rule), var(--rule)); background-size: calc(100% - var(--gutter) * 2) 1px; background-position: top center; background-repeat: no-repeat; }
.section--rule > .wrap { padding-top: clamp(40px, 5vw, 64px); }
.section--rule { padding-top: 0; }
.page-head { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head .note { margin-bottom: 16px; }

/* Home story: text, then the product big underneath */
.story { padding: clamp(72px, 9vw, 136px) 0 0; }
.story__text { max-width: 720px; }
.story__img { display: block; width: auto; max-width: min(100%, 1100px); max-height: 70vh; margin: clamp(28px, 4vw, 56px) auto 0; }
.specs__img { width: min(100%, 620px); margin: 0 auto clamp(24px, 3vw, 40px); }
.next { grid-template-columns: minmax(0, 1fr); }
.next > div { max-width: 640px; }

/* Product page features */
.feature { padding: clamp(72px, 9vw, 128px) 0 clamp(24px, 3vw, 40px); }
.feature__text { max-width: 760px; }
.feature__img { width: auto; max-width: 100%; max-height: 68vh; margin: clamp(24px, 4vw, 48px) auto 0; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.point { padding-top: 0; }
.point h3 { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.point p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--fg-2); }

.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px clamp(32px, 5vw, 80px); }
.specs .note { margin-top: 10px; max-width: 30ch; }
.spec-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.spec-list > div:first-child { padding-top: 0; }
.spec-list dt { color: var(--fg-3); font-size: 15px; }
.spec-list dd { font-size: 16px; font-variant-numeric: tabular-nums; }

.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.next .note { margin-top: 10px; }
.next .actions { margin-top: 24px; }
.next__card { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding: 24px; border-radius: 20px; background: var(--surface); transition: transform var(--base) var(--ease-out); }
.next__card:hover { transform: translateY(-2px); }
.next__card img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; margin-bottom: 12px; }
.next__label { grid-column: 1 / -1; font-size: 14px; color: var(--fg-3); }
.next__name { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.next__name .arrow { width: 18px; height: 18px; transition: transform var(--fast) ease-out; }
.next__card:hover .arrow { transform: translateX(3px); }

/* ---------- Values: five words, one to a line, quieter than the title ---------- */
.beliefs li { padding: clamp(16px, 2vw, 26px) 0; border-top: 1px solid var(--rule); font-size: clamp(34px, 4vw, 58px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; color: var(--fg-2); }

/* ---------- Legal and site map ---------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; scrollbar-width: none; }
.toc__label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500; list-style: none; pointer-events: none; }
.toc__label::-webkit-details-marker { display: none; }
.toc__list a { display: block; padding: 5px 0; font-size: 13px; line-height: 1.35; color: var(--fg-3); transition: color var(--fast) ease-out; }
.toc__list a:hover, .toc__list a.is-active { color: var(--fg); }
.legal { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--fg-2); }
.legal h2 { margin-top: 32px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--fg); }
.legal h2:first-child { margin-top: 0; }
.legal ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: disc; }
.legal strong { font-weight: 600; color: var(--fg); }
.legal__caps { font-size: 13px; line-height: 1.55; letter-spacing: .01em; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); padding-top: 32px; }
.sitemap ul { margin-top: 14px; }
.sitemap a { display: inline-block; padding: 5px 0; color: var(--fg-2); }
.sitemap a:hover { color: var(--fg); }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 88px) 0 28px; border-top: 1px solid var(--rule); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__brand p { margin-top: 12px; max-width: 28ch; color: var(--fg-2); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer__cols h2 { font-size: 13px; font-weight: 500; color: var(--fg-3); margin-bottom: 12px; }
.footer__cols a { display: inline-block; padding: 5px 0; color: var(--fg-2); transition: color var(--fast) ease-out; }
.footer__cols a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.footer__soon { padding: 5px 0; color: var(--fg-3); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--fg-3); }
.footer__legal ul { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--fg); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav__inner { gap: 8px; }
  .nav__links { display: none; }
  .nav__search { margin-left: auto; }
  .search-panel { height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
  .search-panel__inner { padding-top: 16px; }
  .nav__menu { display: inline-flex; align-items: center; }
  .panel__meta { align-items: flex-start; }
  .render--hero:not(.render--tall) { width: 118vw; }
  .render--hero.render--set { width: 96vw; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .points { grid-template-columns: 1fr; gap: 28px; }
  .specs, .next { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--rule); }
  .toc__label { margin: 0; pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; }
  .toc__label::after { content: "+"; color: var(--fg-3); }
  .toc[open] .toc__label::after { content: "\2212"; }
  .toc[open] .toc__list { margin-top: 10px; }
  .sitemap { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- Page transitions ----------
   Native cross-document view transitions; browsers without them change page instantly, as before.
   The bar holds still and only the page changes: the old page fades out quickly, then the new one
   fades in, so the two never sit on top of each other. The underline under the current section
   slides to the new one (or fades, going to or from a page without one). Pages opened from search
   skip the fade and appear straight away, as before (main.js); they still make their entrance. */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
.nav__current { view-transition-name: nav-current; }
::view-transition-group(*) { animation-duration: 320ms; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation: 100ms ease-out both page-out; }
::view-transition-new(root) { animation: 220ms 80ms ease-out both page-fade; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-fade { from { opacity: 0; } }

/* Every page makes the same entrance, whether it's the first page you open, one you click to, or
   one you come Back to (main.js replays it): the title rises into place, and the rest of the page
   follows a beat later. On the home page that's the name, then Be on the lookout. Only the page
   transition's fade sits around it, so nothing moves twice. */
@media (prefers-reduced-motion: no-preference) {
  main h1 { animation: enter 1s 50ms var(--ease-out) both; }
  .page-head > :not(h1), main > :not(.page-head, .launch), .launch .posted { animation: enter 1s 200ms var(--ease-out) both; }
  @keyframes enter { from { opacity: 0; transform: translateY(16px); } }
}
/* Reduced motion: the same fade, nothing moves. (The rule below doesn't reach the transition's
   pseudo-elements, so they're handled here.) */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) { animation: none; }
  ::view-transition-new(root) { animation: 160ms 60ms ease-out both page-fade; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
