@charset "UTF-8";

:root {
  color-scheme: dark;
  /* 16px at 1280 CSS px, 20px at 2560, 24px at 3840; respects the browser's font preference. */
  font-size: clamp(100%, calc(75% + .3125vw), 150%);
  --bg: #101426;
  --text: #f4f1ff;
  --muted: #aab2cc;
  --mint: #7de3a5;
  --purple: #b8a4ef;
  --line: #292f46;
  --mono: "Cascadia Code", "Consolas", monospace;
  --gutter: clamp(1.25rem, 5vw, 9rem);
  --header-height: 5.75rem;
  --hero-height: clamp(38rem, calc(100svh - var(--header-height) - 4.75rem), 64rem);
  --body-size: 1rem;
  --small-size: .75rem;
  --label-size: .75rem;
  --section-space: clamp(4.5rem, 7.5vw, 8rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--purple); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button[disabled] { cursor: default; }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
button:focus-visible { outline-offset: -3px; }
.wrap { width: min(100rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; left: 1.25rem; top: -10rem; z-index: 10; background: var(--mint); color: var(--bg); padding: .75rem 1rem; }
.skip-link:focus { top: .75rem; }
.page-progress { position: fixed; z-index: 5; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--mint), var(--purple)); transform: scaleX(var(--page-progress, 0)); transform-origin: left; pointer-events: none; }

.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.5rem; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; line-height: 1.2; }
.brand-mark { color: var(--mint); font: 700 1.5rem var(--mono); letter-spacing: -.09em; }
.brand-dev { font-weight: 400; }
.brand-dot { color: var(--mint); }
nav { display: flex; gap: 2.25rem; align-items: center; margin-left: auto; font-size: .9375rem; font-weight: 550; }
nav a { position: relative; transition: color .2s; }
nav a:hover { color: var(--mint); }
nav a:not(.nav-contact)::after { content: ""; position: absolute; inset: auto 0 -.3rem; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.nav-number { margin-left: .4rem; vertical-align: super; color: #939dbc; font: .625rem var(--mono); }
.nav-contact { border: 1px solid #474d65; border-radius: .3rem; padding: .65rem 1rem; }
.nav-contact span { margin-left: .75rem; color: var(--mint); }
.motion-toggle { background: none; border: 0; min-height: 2.75rem; padding: .5rem 0; display: flex; align-items: center; gap: .5rem; font: .75rem var(--mono); color: var(--muted); }
.motion-toggle:hover { color: var(--mint); }
.motion-icon { color: var(--mint); font-size: 1rem; }

.hero { position: relative; min-height: var(--hero-height); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.scene-layer { position: absolute; inset: -1.5%; transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform-origin: 65% 55%; animation: camera-breathe 24s ease-in-out infinite alternate; animation-play-state: paused; }
.art-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #101426 0%, #101426ee 12%, #101426b0 31%, #10142620 57%, transparent 78%), linear-gradient(0deg, #101426 0%, #10142610 20%, transparent 75%, #10142650); }
.scene-atmosphere { position: absolute; inset: 0; background: radial-gradient(ellipse at 82% 30%, #f3c0aa18, transparent 35%), radial-gradient(ellipse at 70% 70%, #b8a4ef16, transparent 40%); opacity: .45; animation: evening-glow 12s ease-in-out infinite alternate; animation-play-state: paused; pointer-events: none; }
.hero-inner { position: relative; min-height: var(--hero-height); display: flex; align-items: center; }
.hero-copy { padding-block: 2rem 2.5rem; max-width: 51rem; }
.eyebrow, .section-label { font: var(--label-size)/1.6 var(--mono); letter-spacing: .08em; color: var(--mint); }
.eyebrow { display: flex; gap: .65rem; align-items: center; margin: 0 0 2rem; }
.mobile-symbol { width: 1.5rem; height: 1.5rem; flex-shrink: 0; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.status-dot, .small-dot { display: inline-block; width: .375rem; height: .375rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 .75rem #a1ead150; flex-shrink: 0; }
.status-dot { animation: signal-pulse 4s ease-out infinite; animation-play-state: paused; }
h1 { font-size: clamp(3.5rem, calc(1.1rem + 4.8vw), 6.25rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 750; margin: 0; }
h1 span { color: var(--purple); }
@supports (background-clip: text) {
  .hero h1 span { background: linear-gradient(110deg, #b8a4ef 20%, #d9cfff 40%, #7de3a5 50%, #b8a4ef 65%); background-size: 300% 100%; background-clip: text; color: transparent; animation: title-light 16s ease-in-out infinite; animation-play-state: paused; }
}
.hero-description { color: #c3c8dc; font-size: 1.125rem; line-height: 1.8; margin: 1.75rem 0 2rem; max-width: 39ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 3.125rem; padding: .875rem 1.4rem; border-radius: .3rem; font-size: .9375rem; line-height: 1.4; font-weight: 650; transform: translate3d(var(--button-x, 0px), calc(var(--button-y, 0px) + var(--button-lift, 0px)), 0); transition: transform .25s, background .25s, box-shadow .25s; }
.button span { display: inline-block; transition: transform .25s; }
.button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 25%, #ffffff65 50%, transparent 75%); transform: translateX(-130%); transition: transform .65s ease; pointer-events: none; }
.button-primary { background: var(--mint); color: #142b29; border: 1px solid var(--mint); }
.button-primary:hover, .button-primary:focus-visible { --button-lift: -3px; background: #b8f5df; box-shadow: 0 .5rem 1.5rem #a1ead120; }
.button:hover::before, .button:focus-visible::before { transform: translateX(130%); }
.button:hover span, .button:focus-visible span { transform: translate(3px, -3px); }
.store-button { gap: .75rem; }
.store-button svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.store-button > span { margin-left: .75rem; }
.button-quiet { border: 1px solid #41485c; background: #10142680; color: #e0e2f0; }
.button-quiet:hover { --button-lift: -3px; background: #252b43; }
.hero-footnote { display: flex; gap: 1rem; margin-top: 2.75rem; align-items: center; font: .75rem/1.8 var(--mono); letter-spacing: .04em; color: #a5afcc; }
.hero-footnote strong { color: #c6c9dc; font-weight: 400; }
.hero-footnote a { color: var(--mint); transition: color .2s; }
.hero-footnote a:hover { color: #d8ffdf; }
.code-brackets { font: 2rem var(--mono); color: var(--purple); }
.scene-caption { position: absolute; right: 0; bottom: 4rem; display: flex; align-items: center; gap: 1rem; color: #d0cfe2; font-size: .75rem; line-height: 1.8; }
.scene-caption strong { color: #f3ebef; font: .75rem var(--mono); letter-spacing: .14em; }
.scene-line { width: 2rem; height: 1px; background: var(--purple); }
.scene-jp { margin-left: 1.5rem; color: #dad5ef; font-size: 1.8rem; writing-mode: vertical-rl; letter-spacing: .2em; opacity: .8; }
.hero-scroll { position: absolute; bottom: 1.4rem; left: 50%; display: flex; align-items: center; gap: .65rem; transform: translateX(-50%); font: .6875rem var(--mono); letter-spacing: .08em; color: #a4afcc; white-space: nowrap; }
.hero-scroll span { color: var(--mint); font-size: 1rem; animation: scroll-nudge 2.5s ease-in-out infinite; animation-play-state: paused; }
.starfield { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.starfield i { position: absolute; width: .1875rem; height: .1875rem; background: #e1d3ff; border-radius: 50%; box-shadow: 0 0 .5rem #d8c5ff; opacity: .4; animation: drift 9s ease-in-out infinite; animation-play-state: paused; }
.starfield i:nth-child(1) { top: 14%; left: 70%; animation-delay: -2s; }
.starfield i:nth-child(2) { top: 23%; left: 83%; animation-delay: -4s; }
.starfield i:nth-child(3) { top: 8%; left: 90%; animation-delay: -1s; }
.starfield i:nth-child(4) { top: 31%; left: 60%; animation-delay: -5s; }
.starfield i:nth-child(5) { top: 12%; left: 58%; animation-delay: -3s; }
.starfield i:nth-child(6) { top: 65%; left: 75%; animation-delay: -6s; background: var(--mint); }
.starfield i:nth-child(7) { top: 55%; left: 88%; animation-delay: -8s; }
.starfield i:nth-child(8) { top: 72%; left: 59%; animation-delay: -4.5s; background: #f1c6af; }
.shooting-star { position: absolute; top: 12%; left: 82%; width: 5rem; height: 1px; background: linear-gradient(90deg, transparent, #ded5ff); opacity: 0; animation: shooting-star 22s linear infinite; animation-play-state: paused; }

html[data-enhanced="true"] .entrance { animation: enter .85s both; }
html[data-enhanced="true"] h1.entrance { animation-delay: .12s; }
html[data-enhanced="true"] .hero-description.entrance { animation-delay: .24s; }
html[data-enhanced="true"] .hero-actions.entrance { animation-delay: .36s; }
html[data-enhanced="true"] .hero-footnote.entrance { animation-delay: .48s; }

.chapter-bar { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font: .75rem/1.5 var(--mono); letter-spacing: .04em; color: #a9b3d0; gap: 1.5rem; }
.chapter-bar i { font-style: normal; color: var(--mint); margin-right: .75rem; }
.chapter-location { display: flex; align-items: center; flex-shrink: 0; gap: .75rem; }
.bar-divider { color: #737f9f; }
#local-time { color: #d1d4e5; font-variant-numeric: tabular-nums; }
.section { padding-block: var(--section-space); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.section-label { color: #a8b3d2; margin: 0 0 1.5rem; }
.section-label span { color: var(--mint); margin-right: .65rem; }
h2 { font-size: clamp(2.25rem, calc(1.25rem + 1.75vw), 3.25rem); letter-spacing: -.04em; line-height: 1.22; margin: 0 0 1.75rem; font-weight: 650; }
h2 span { color: var(--purple); }
.about-copy > p:not(.section-label) { max-width: 51ch; font-size: var(--body-size); color: var(--muted); line-height: 1.85; margin: 1rem 0; }
.text-link { display: inline-flex; gap: 1.5rem; color: var(--mint); font-size: .9375rem; margin-top: .85rem; padding-block: .25rem .5rem; border-bottom: 1px solid #a1ead138; transition: gap .25s; }
.text-link:hover, .text-link:focus-visible { gap: 1.9rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1.5rem .75rem; }
.tech-tags span { border: 1px solid #7de3a530; border-radius: 2rem; padding: .35rem .8rem; font: .75rem/1.5 var(--mono); color: #b7dcc6; background: #7de3a507; }

.editor { min-width: 0; background: #141a2c; border: 1px solid #30364f; border-radius: .6rem; overflow: hidden; box-shadow: 0 1.25rem 4rem #080b1830; transition: border-color .3s, box-shadow .3s; }
.editor:hover, .editor:focus-within { border-color: #b8a4ef80; box-shadow: 0 1.25rem 4rem #080b1830, 0 0 2rem #b8a4ef0a; }
.editor-top { padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; font: .8125rem var(--mono); color: #a2aecb; background: #1c2238; }
.editor-lights { display: flex; gap: .4rem; }
.editor-lights i { width: .5rem; height: .5rem; border-radius: 50%; background: #df929f; }
.editor-lights i:nth-child(2) { background: #e6c193; }
.editor-lights i:nth-child(3) { background: #96c5b6; }
.editor-language { margin-left: auto; color: var(--mint); }
.editor-tabs { display: flex; border-bottom: 1px solid #252e46; background: #171d31; }
.editor-tabs button { border: 0; border-right: 1px solid #252e46; background: transparent; font: .8125rem var(--mono); min-height: 3rem; padding: .9rem 1.1rem; color: #a6afca; position: relative; transition: background .2s, color .2s; }
.editor-tabs button[aria-selected="true"] { background: #141a2c; color: #e4e4f2; }
.editor-tabs button[aria-selected="true"]::before { content: ""; position: absolute; height: 2px; background: var(--mint); top: 0; inset-inline: 0; transform-origin: left; animation: tab-underline .3s ease-out; }
.editor-tabs button:hover { color: var(--mint); background: #222941; }
.editor-body { padding: 1.5rem 1.65rem 1.75rem; min-height: 21.5rem; }
pre { margin: 0; white-space: pre; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #515a79 transparent; font: .875rem/1.9 var(--mono); color: #cdd1e7; padding-bottom: .25rem; }
html[data-enhanced="true"] [role="tabpanel"]:not([hidden]) { animation: panel-enter .35s ease-out; }
.code-comment { color: #96a2c0; }
.code-purple { color: var(--purple); }
.code-mint { color: #a1d7bd; }
.code-peach { color: #e8b59d; }
.editor-status { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .75rem 1rem; background: #1c2238; font: .6875rem/1.5 var(--mono); color: #a9b5d2; letter-spacing: .02em; }
.editor-status .small-dot { width: .3rem; height: .3rem; margin-right: .45rem; }

.apps, .mindset { border-top: 1px solid var(--line); }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.store-card { --store-color: var(--mint); --store-tint: #7de3a510; position: relative; overflow: hidden; padding: 2.5rem; border: 1px solid #344237; border-radius: 1rem; background: radial-gradient(ellipse at 100% 0%, var(--store-tint), transparent 70%), #151c29; }
.store-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; border: 1px solid var(--store-color); opacity: 0; transition: opacity .3s; }
.store-card:hover::before, .store-card:focus-visible::before { opacity: .65; }
.store-apple { --store-color: var(--purple); --store-tint: #b8a4ef13; background-color: #191c30; border-color: #38374d; --reveal-delay: .1s; }
.store-card-top { display: flex; gap: 1rem; align-items: center; }
.store-icon { width: 2.5rem; height: 2.5rem; color: var(--store-color); fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.store-platform { color: var(--store-color); font: .75rem var(--mono); letter-spacing: .08em; }
.store-arrow { margin-left: auto; font-size: 1.75rem; line-height: 1; color: var(--store-color); transition: transform .3s; }
.store-card:hover .store-arrow, .store-card:focus-visible .store-arrow { transform: translate(3px, -3px); }
.store-card h3 { font-size: 2rem; color: var(--text); margin: 1.75rem 0 .8rem; font-weight: 600; }
.store-card p { margin: 0; color: var(--muted); font-size: var(--body-size); line-height: 1.85; }
.store-card-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; font-size: .9375rem; font-weight: 550; color: var(--store-color); }
.store-card-link span { transition: transform .3s; }
.store-card:hover .store-card-link span { transform: translateX(.3rem); }
.store-note { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .8125rem; margin: 1.5rem 0 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: .9375rem; line-height: 1.8; margin: 0; }
.principles { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle { position: relative; padding: .5rem 2.75rem 1.5rem; border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border: 0; padding-right: 0; }
.principle::after { content: ""; position: absolute; bottom: 0; left: 2.75rem; right: 2.75rem; height: 1px; background: linear-gradient(90deg, var(--mint), var(--purple)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.principle:first-child::after { left: 0; }
.principle:last-child::after { right: 0; }
.principle:hover::after { transform: scaleX(1); }
.principle-symbol { display: block; color: var(--mint); font: 2.25rem/1 var(--mono); margin-bottom: 2rem; height: 2.6rem; transition: transform .3s; }
.principle:hover .principle-symbol { transform: translateY(-.3rem); }
.principle:nth-child(2) .principle-symbol { color: var(--purple); font-size: 3rem; }
.principle:nth-child(3) .principle-symbol { color: #f0bb9c; font-size: 2.7rem; }
.principle-number { color: #a0accb; font: .75rem var(--mono); letter-spacing: .06em; }
h3 { font-size: clamp(1.5rem, calc(1.1rem + .7vw), 1.875rem); letter-spacing: -.025em; line-height: 1.3; margin: 1.25rem 0; font-weight: 550; }
h3 span { color: #abb5d1; }
.principle p { font-size: var(--body-size); color: var(--muted); line-height: 1.85; max-width: 35ch; margin: 0; }

.contact { position: relative; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 15% 100%, #26203a80, transparent 65%), #14182a; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 80% 50%, #a1ead10a, transparent 55%); opacity: .5; animation: evening-glow 10s ease-in-out infinite alternate; animation-play-state: paused; }
.contact-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.contact h2 { font-size: clamp(2.75rem, calc(2rem + 2vw), 4rem); line-height: 1.18; margin-bottom: 1.5rem; }
.contact p:not(.section-label):not(.copy-status) { color: var(--muted); font-size: var(--body-size); line-height: 1.8; margin-bottom: 0; }
.terminal-cursor { color: var(--mint); margin-left: .2rem; animation: cursor-blink 1.8s step-end infinite; animation-play-state: paused; }
.contact-actions { text-align: right; padding-top: 3.75rem; }
.contact-compose > .button { padding: 1rem 2rem; gap: 4rem; cursor: pointer; list-style: none; }
.contact-compose > summary::-webkit-details-marker { display: none; }
.contact-compose > summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
.contact-options { max-width: 23rem; margin-top: 1rem; padding: 1.25rem; text-align: left; border: 1px solid var(--line); border-radius: .6rem; background: #1c2238; }
.contact .contact-options p { color: var(--text); font-size: .9375rem; margin: 0 0 .75rem; }
.contact-options a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; padding: .5rem 0; color: var(--mint); font-size: .9375rem; }
.contact-options a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.contact-options small { display: block; margin-top: .75rem; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.email-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .625rem; margin-top: 1.6rem; }
.email-link { font: .875rem var(--mono); color: #c2c6dc; overflow-wrap: anywhere; }
.email-link:hover { color: var(--mint); }
.copy-email { display: grid; place-items: center; padding: .4rem; background: transparent; border: 0; min-width: 2.75rem; min-height: 2.75rem; color: #a3aecb; }
.copy-email:hover { color: var(--mint); }
.copy-email svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.copy-status { font-size: .8125rem; color: var(--mint); min-height: 1.25rem; margin: .5rem 0 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2.5rem; }
.site-footer .brand { font-size: 1.25rem; }
.site-footer .brand-mark { font-size: 1.25rem; }
.site-footer p { font: .75rem/1.8 var(--mono); color: #a2aecb; letter-spacing: .015em; margin: 0; }
.footer-divider { padding: 0 .75rem; color: #737f9f; }
.back-top { font: .8125rem var(--mono); color: #b2bdd9; white-space: nowrap; }
.back-top span { display: inline-block; margin-left: .625rem; color: var(--mint); transition: transform .25s; }
.back-top:hover span { transform: translateY(-3px); }

.reveal { transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.3,1); transition-delay: var(--reveal-delay, 0s); }
.reveal-wait { opacity: 0; transform: translateY(1.5rem); }
.principle:nth-child(2) { --reveal-delay: .1s; }
.principle:nth-child(3) { --reveal-delay: .2s; }
html[data-motion="playing"] .hero[data-in-view="true"] :is(.hero-art img, .scene-atmosphere, .starfield i, .shooting-star, .hero-scroll span, .status-dot, h1 span),
html[data-motion="playing"] .contact[data-in-view="true"] :is(.terminal-cursor),
html[data-motion="playing"] .contact[data-in-view="true"]::before { animation-play-state: running; }
@keyframes camera-breathe { from { transform: scale(1.025); } to { transform: scale(1.075); } }
@keyframes evening-glow { from { opacity: .3; } to { opacity: .85; } }
@keyframes title-light { 0%, 100% { background-position: 10% 50%; } 50% { background-position: 85% 50%; } }
@keyframes signal-pulse { 0% { box-shadow: 0 0 0 0 #a1ead150; } 70%, 100% { box-shadow: 0 0 0 .4rem #a1ead100; } }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.3rem); } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0); opacity: .2; } 50% { transform: translate3d(.35rem, -1.3rem, 0); opacity: .8; } }
@keyframes shooting-star { 0%, 87%, 100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-35deg); } 89% { opacity: .7; } 94% { opacity: 0; transform: translate3d(-14rem, 10rem, 0) rotate(-35deg); } }
@keyframes enter { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-enter { from { opacity: .3; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes tab-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.not-found { min-height: 75vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { color: var(--purple); font-size: 7rem; margin-bottom: 1.5rem; }
.not-found p:not(.eyebrow) { color: var(--muted); margin: 0 0 2rem; }

@media (min-width: 1700px) { .hero-art img { object-position: center 63%; } }
@media (max-width: 1100px) {
  :root { --gutter: 2.25rem; }
  .header-inner { gap: 1.5rem; }
  nav { gap: 1.4rem; }
  .hero-copy { max-width: 36rem; }
  h1 { font-size: 4rem; }
  .hero-art img { object-position: 57% center; }
  .scene-caption { font-size: .6875rem; }
  .about { gap: 2.75rem; }
  .editor-body { padding-inline: 1.25rem; }
  .editor-tabs button { padding-inline: .85rem; }
  .principle { padding-inline: 1.75rem; }
  .principle::after { inset-inline: 1.75rem; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { order: 3; width: 100%; }
}
@media (max-width: 800px) {
  :root { --gutter: 1.5rem; --header-height: 5rem; --section-space: 5rem; }
  .header-inner { gap: 1.25rem; }
  nav { gap: 1.125rem; font-size: .875rem; }
  .motion-label { display: none; }
  .motion-toggle { min-width: 2.75rem; justify-content: center; }
  .brand { font-size: 1.25rem; gap: .625rem; }
  .brand-mark { font-size: 1.25rem; }
  h1 { font-size: 3.5rem; }
  .hero-description { font-size: 1rem; }
  .hero-art img { object-position: 58% center; }
  .art-shade { background: linear-gradient(90deg, #101426f5, #101426b0 42%, #10142630 80%), linear-gradient(0deg, #101426, transparent 35%); }
  .scene-caption { display: none; }
  .chapter-bar { font-size: .6875rem; gap: 1rem; }
  .chapter-location { gap: .5rem; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .about-copy > p:not(.section-label) { max-width: 60ch; }
  .editor { max-width: 42rem; width: 100%; }
  .editor-body { padding-inline: 1.5rem; }
  .section-heading { display: block; }
  .section-heading > p { display: none; }
  .principle { padding-inline: 1.25rem; }
  .principle::after { inset-inline: 1.25rem; }
  h3 { font-size: 1.5rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 1.75rem; }
  .contact-actions { text-align: left; padding-top: 0; }
  .email-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  :root { --gutter: 1.25rem; --header-height: 4.75rem; --section-space: 4rem; }
  .header-inner { gap: .5rem; }
  .brand { font-size: 1.125rem; gap: .5rem; }
  .brand-mark { font-size: 1.125rem; }
  nav { font-size: .8125rem; }
  nav a:first-child, nav a:nth-child(2) { display: none; }
  .nav-contact { padding: .6rem .65rem; }
  .nav-contact span { margin-left: .375rem; }
  .motion-toggle { min-width: 2.25rem; padding-inline: .25rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-inner { order: 1; min-height: auto; display: block; }
  .hero-copy { max-width: none; padding-block: 3.5rem 2rem; }
  .hero-art { order: 2; position: relative; inset: auto; width: 100%; height: 25rem; flex-shrink: 0; margin-top: -2.5rem; }
  .hero-art img { object-position: 62% center; }
  .art-shade { background: linear-gradient(0deg, #101426, transparent 20%, #10142610 60%, #101426 100%); }
  .eyebrow { font-size: .6875rem; letter-spacing: .05em; margin-bottom: 1.5rem; }
  h1 { font-size: clamp(2.375rem, 10.5vw, 3.625rem); letter-spacing: -.055em; line-height: 1.1; }
  .hero-description { font-size: 1rem; line-height: 1.8; margin: 1.4rem 0 1.5rem; max-width: 37ch; }
  .hero-description br { display: none; }
  .hero-actions { gap: .75rem; }
  .button { padding: .85rem 1rem; font-size: .875rem; gap: 1.125rem; }
  .hero-footnote { display: none; }
  .hero-scroll { bottom: 1.25rem; font-size: .625rem; letter-spacing: .06em; color: #c2c7df; }
  .starfield { top: 45%; }
  .shooting-star { display: none; }
  .chapter-bar { padding-block: 1.25rem; min-height: 4.75rem; align-items: flex-start; flex-direction: column; gap: .75rem; font-size: .6875rem; }
  .chapter-location { font-size: .6875rem; }
  .section-label { font-size: .75rem; margin-bottom: 1.3rem; }
  h2 { font-size: 2rem; }
  .editor-top { padding: .9rem; font-size: .75rem; }
  .editor-top { gap: .75rem; }
  .editor-tabs button { padding: .8rem .65rem; font-size: .75rem; flex: 1; }
  .editor-body { padding: 1.25rem .9rem; min-height: 18rem; }
  pre { font-size: .75rem; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
  .editor-status { font-size: .625rem; padding-inline: .75rem; }
  .store-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2rem; }
  .store-card { padding: 1.5rem; }
  .store-card h3 { font-size: 1.75rem; }
  .store-note { align-items: flex-start; line-height: 1.7; }
  .store-note .small-dot { margin-top: .55rem; }
  .principles { grid-template-columns: minmax(0, 1fr); margin-top: 1rem; }
  .principle, .principle:first-child, .principle:last-child { padding: 2rem 0 2rem 3.75rem; border: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; padding-bottom: 0; }
  .principle::after { display: none; }
  .principle-symbol { position: absolute; left: 0; top: 2.25rem; font-size: 1.65rem; }
  .principle:nth-child(2) .principle-symbol { font-size: 2.3rem; }
  .principle:nth-child(3) .principle-symbol { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; margin: .85rem 0; }
  .principle p { max-width: 100%; }
  .contact h2 { font-size: 2.75rem; }
  .contact-compose > .button { padding: .9rem 1.5rem; gap: 3rem; }
  .email-link { font-size: .8125rem; }
  .site-footer { padding-block: 1.75rem; gap: 1.5rem; }
  .site-footer p { font-size: .6875rem; letter-spacing: 0; }
  .footer-divider { padding-inline: .375rem; }
  .back-top { font-size: .75rem; }
}
@media (max-width: 360px) {
  .brand, .brand-mark { font-size: 1rem; }
  nav { font-size: .75rem; }
  .nav-contact { padding-inline: .5rem; }
  .hero-copy { padding-top: 3rem; }
  .hero-art { height: 23rem; }
  .editor-tabs button { padding-inline: .5rem; font-size: .6875rem; }
  .contact h2 { font-size: 2.375rem; }
}
@media (hover: none) {
  .button:hover { --button-lift: 0px; }
  .button::before { display: none; }
}
html[data-motion="paused"] { scroll-behavior: auto; }
html[data-motion="paused"] .scene-layer { transform: none; }
html[data-motion="paused"] .reveal { transition: none; }
html[data-motion="paused"] .entrance,
html[data-motion="paused"] [role="tabpanel"],
html[data-motion="paused"] .editor-tabs button::before { animation-duration: .01ms !important; animation-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene-layer { transform: none !important; }
  .reveal-wait { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .hero h1 span { color: CanvasText; background: none; }
}
