/* WIZDORX / OBSIDIAN — a personal space. No build tools required. */
:root {
  color-scheme: dark;
  --bg: #080808;
  --text: #e9eae5;
  --muted: #a5aca6;
  --dim: #7d8580;
  --line: rgba(223,234,223,.14);
  --green: #d2d2d2;
  --serif: 'Bodoni MT', Didot, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.2,.75,.25,1);
  --scene-x: 0px;
  --scene-y: 0px;
  --pointer-x: 50%;
  --pointer-y: 45%;
  --pad: clamp(22px, 3.35vw, 70px);
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--bg); scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #3a403c var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { appearance: none; -webkit-appearance: none; }
button:disabled { cursor: default; }
img, svg { display: block; }
button, a, input { outline: none; }
:focus-visible { outline: 2px solid #d3d3d3; outline-offset: 5px; }
::selection { background: #cbcbcb; color: #161616; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 15px; inset-inline-start: 15px; transform: translateY(-160%); z-index: 99; background: var(--text); color: var(--bg); padding: 14px 20px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* The scene is optimized artwork, not a live WebGL renderer. */
.world { position: fixed; inset: 0; overflow: hidden; pointer-events: none; isolation: isolate; }
.scene-parallax { position: absolute; inset: -12px; transform: translate3d(var(--scene-x), var(--scene-y), 0); transition: transform 1.35s var(--ease); }
.scene-parallax picture { display: block; width: 100%; height: 100%; }
.scene-art { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .97; animation: breathe 28s ease-in-out infinite alternate; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(8,8,8,.12),transparent 25%,rgba(8,8,8,.10) 54%,rgba(8,8,8,.16) 80%,rgba(8,8,8,.67)), radial-gradient(ellipse at 50% 43%, transparent 28%,rgba(8,8,8,.34) 100%); }
.atmosphere { position: absolute; inset: -15%; opacity: .16; background: radial-gradient(ellipse 21% 38% at 32% 35%,rgba(171,171,171,.14),transparent 80%); transform: rotate(-24deg); animation: mist 32s ease-in-out infinite alternate; }
.grain { position: absolute; inset: 0; background: url('assets/grain.png') repeat; opacity: .075; }
.pointer-light { position: absolute; inset: 0; background: radial-gradient(260px circle at var(--pointer-x) var(--pointer-y),rgba(210,228,214,.035),transparent 100%); opacity: 0; transition: opacity 1s; mix-blend-mode: screen; }
body.has-pointer .pointer-light { opacity: 1; }
.drift { position: absolute; inset: 0; }
.drift i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #e3e8df; opacity: 0; animation: drift 19s linear infinite; }
.drift i:nth-child(1) { top: 68%; left: 23%; animation-delay: -2s; }
.drift i:nth-child(2) { top: 73%; left: 63%; animation-delay: -11s; }
.drift i:nth-child(3) { top: 40%; left: 36%; animation-delay: -5s; }
.drift i:nth-child(4) { top: 55%; left: 78%; animation-delay: -14s; }
.drift i:nth-child(5) { top: 45%; left: 54%; animation-delay: -9s; }
.drift i:nth-child(6) { top: 30%; left: 21%; animation-delay: -18s; }

.site-shell { position: relative; min-height: 740px; height: 100svh; display: grid; grid-template-rows: 95px minmax(0,1fr) 86px; max-width: 2300px; margin: 0 auto; }
.site-header { position: relative; z-index: 3; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .42em; display: inline-flex; align-items: center; min-height: 44px; direction: ltr; }
.brand-dot { width: 3px; height: 3px; background: var(--green); border-radius: 50%; margin-inline-start: 7px; opacity: .9; }
.desktop-nav { position: absolute; left: 50%; top: 23px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border: 1px solid rgba(219,233,222,.12); border-radius: 100px; background: rgba(9,9,9,.44); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-item { display: grid; place-items: center; padding: 10px 29px; border: none; border-radius: 100px; background: transparent; font-size: 13px; line-height: 18px; color: #a5aca7; transition: color .25s, background .25s; }
.nav-item:hover { color: #fff; }
.nav-item.is-current { color: #eef1eb; background: linear-gradient(120deg,rgba(227,239,226,.08),rgba(227,239,226,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025),0 1px 5px rgba(0,0,0,.8); }
.header-right { display: flex; align-items: center; gap: 25px; }
.header-time { display: flex; align-items: center; gap: 10px; color: #a7ada8; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; }
.time-divider { color: #565d58; margin: 0 4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: var(--green); box-shadow: 0 0 10px rgba(202,202,202,.52); }
.status-dot.neutral { background: #e0ebe2; box-shadow: 0 0 12px rgba(235,249,233,.45); }
.language-button { border: 0; background: none; padding: 12px 4px; color: #b2bab3; font-size: 12px; min-height: 44px; transition: color .25s; }
.language-button:hover { color: #fff; }
.menu-button { border: 0; padding: 10px 0 10px 14px; min-width: 44px; height: 44px; background: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
.menu-button span { height: 1px; width: 27px; background: #c0c9c1; transition: width .3s; }
.menu-button span:last-child { width: 21px; }
.menu-button:hover span:last-child { width: 27px; }

.hero { position: relative; display: grid; place-items: center; outline: none; }
.identity { width: min(1030px, 75vw); text-align: center; margin-top: -30px; position: relative; z-index: 2; }
.identity-kicker { display: flex; align-items: center; justify-content: center; gap: 17px; margin-bottom: 34px; color: #abb8ac; font-family: var(--mono); font-size: 9px; letter-spacing: .24em; }
.identity-kicker .small-line { margin: 0; width: 26px; opacity: .5; }
.wordmark { width: 100%; margin: 0; filter: drop-shadow(0 0 25px rgba(234,242,224,.045)); }
.wordmark img { width: 100%; height: auto; user-select: none; }
.motto { margin: 16px 0 0; display: flex; justify-content: center; align-items: center; gap: 25px; font-family: var(--mono); font-size: clamp(9px,.84vw,13px); letter-spacing: .47em; color: #9ca69d; font-weight: 400; }
.motto-dash { color: #727c73; letter-spacing: 0; }
.socials { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; width: min(800px,100%); margin: 52px auto 0; }
.social-card { position: relative; display: flex; align-items: center; text-align: start; min-height: 90px; gap: 21px; padding: 19px 23px; background: linear-gradient(125deg,rgba(20,20,20,.65),rgba(10,10,10,.48)); border: 1px solid rgba(216,232,218,.15); border-radius: 17px; overflow: hidden; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: inset 0 1px 0 rgba(255,255,255,.02),0 10px 36px rgba(0,0,0,.1); transition: transform .45s var(--ease), border-color .35s, background .35s, box-shadow .35s; }
.social-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg,transparent 15%,rgba(229,243,221,.045) 46%,transparent 72%); opacity: 0; transform: translateX(-70%); transition: transform .65s var(--ease),opacity .3s; pointer-events: none; }
.social-card:hover { border-color: rgba(221,237,221,.31); transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.055),0 16px 35px rgba(0,0,0,.25); background: linear-gradient(125deg,rgba(29,29,29,.8),rgba(13,13,13,.66)); }
.social-card:hover::before { opacity: 1; transform: translateX(40%); }
.social-card:active { transform: translateY(-1px); }
.social-symbol { color: #dce2da; }
.social-symbol .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.social-symbol .discord-icon { width: 31px; }
.social-text { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.social-name { font-size: 13px; color: #cbd2c9; white-space: nowrap; }
.social-handle { font-size: 12px; color: #9fa99f; white-space: nowrap; }
.card-arrow { width: 16px; height: 16px; margin-inline-start: auto; color: #abb4aa; transition: transform .35s,color .35s; }
.social-card:hover .card-arrow { transform: translate(2px,-2px); color: #f0f3e9; }
.social-card.is-copied { border-color: rgba(210,210,210,.5); }
.hero-actions { margin-top: 32px; }
.connect-button { margin: 0 auto; height: 46px; border: 1px solid rgba(210,230,213,.13); border-radius: 80px; background: linear-gradient(110deg,rgba(217,217,217,.075),rgba(11,11,11,.8)); padding: 0 23px; display: inline-flex; align-items: center; gap: 21px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); transition: border-color .3s,background .3s; }
.connect-button > span:not(.status-dot) { font-family: var(--mono); font-size: 9px; letter-spacing: .25em; color: #c1cbc0; }
.connect-button .icon { width: 21px; height: 21px; color: #c8d2c5; transition: transform .3s; }
.connect-button:hover { border-color: rgba(210,230,213,.32); background: rgba(199,199,199,.09); }
.connect-button:hover .icon { transform: translateX(4px); }
.micro-copy { margin: 16px 0 0; font-size: 10px; color: #898989; letter-spacing: .1em; }

.side-note { position: absolute; top: 10.5%; font-family: var(--mono); font-size: 10px; color: #99a399; letter-spacing: .27em; line-height: 1.85; z-index: 1; }
.side-note p { margin: 0; }
.left-note { inset-inline-start: var(--pad); }
.right-note { inset-inline-end: var(--pad); top: 18%; text-align: start; }
.small-line { display: block; width: 25px; height: 1px; background: #808080; margin-top: 24px; }
.status-card { position: absolute; bottom: 6%; inset-inline-start: var(--pad); width: 249px; padding: 21px 21px 18px; border: 1px solid rgba(209,209,209,.14); border-radius: 16px; background: linear-gradient(135deg,rgba(13,13,13,.63),rgba(8,8,8,.44)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.status-heading { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #c0cfbf; letter-spacing: .11em; white-space: nowrap; }
.tiny-spark { color: var(--green); font-size: 8px; margin-inline-start: auto; }
.status-card dl { margin: 19px 0 0; display: grid; gap: 6px; }
.status-card dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.status-card dt { font-family: var(--mono); font-size: 9px; color: #959595; letter-spacing: .2em; }
.status-card dd { margin: 0; font-size: 10px; color: #b8c5b6; font-variant-numeric: tabular-nums; text-align: end; }
.status-card time { white-space: nowrap; }
.quote-card { position: absolute; inset-inline-end: var(--pad); bottom: 26%; width: 126px; min-height: 129px; padding: 14px 18px 21px; border: 1px solid rgba(208,208,208,.14); border-radius: 16px; background: linear-gradient(135deg,rgba(20,20,20,.55),rgba(8,8,8,.28)); text-align: start; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s,transform .4s; }
.quote-mark { display: block; font-family: Georgia,serif; font-style: italic; font-size: 29px; line-height: 30px; color: #bcc9b8; }
.quote-text { display: block; font-family: var(--mono); color: #9fab9b; font-size: 9px; line-height: 1.9; letter-spacing: .18em; }
.quote-next { position: absolute; inset-inline-end: 12px; top: 13px; font-size: 11px; color: #959595; opacity: 0; transition: opacity .2s; }
.quote-card:hover { border-color: rgba(208,208,208,.33); transform: translateY(-3px); }
.quote-card:hover .quote-next { opacity: 1; }
.side-manifesto { position: absolute; inset-inline-end: calc(var(--pad) + 48px); bottom: 5%; display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .25em; line-height: 1.9; color: #8e8e8e; }
.side-manifesto .small-line { margin-top: 16px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); gap: 16px; }
.command-hint { justify-self: start; padding: 12px 0; border: 0; background: none; display: flex; align-items: center; gap: 12px; color: #969696; font-family: var(--mono); font-size: 8px; letter-spacing: .16em; min-height: 44px; transition: color .3s; }
.command-hint .icon { width: 14px; height: 14px; }
kbd { font-family: inherit; letter-spacing: .05em; font-size: 8px; border: 1px solid rgba(198,198,198,.19); border-radius: 4px; padding: 3px 5px; color: #909090; }
.command-hint:hover { color: #dee8d8; }
.footer-signature { display: flex; align-items: center; justify-content: center; gap: 19px; font-family: var(--mono); font-size: 8px; letter-spacing: .2em; color: #8e8e8e; margin: 0; direction: ltr; }
.footer-signature > span:nth-child(odd) { white-space: nowrap; }
.motion-button { justify-self: end; display: flex; align-items: center; gap: 9px; border: 0; background: none; min-height: 44px; color: #9b9b9b; font-family: var(--mono); font-size: 8px; letter-spacing: .17em; padding: 12px 0; }
.motion-button .icon { width: 13px; height: 13px; }
.motion-button:hover { color: #dde7d7; }

/* Native dialogs provide focus trapping and background inertness. */
body.dialog-open { overflow: hidden; }
.modal { color: var(--text); background: linear-gradient(140deg,rgba(24,24,24,.98),rgba(11,11,11,.98)); border: 1px solid rgba(222,222,222,.18); border-radius: 24px; padding: 0; width: min(630px,calc(100% - 36px)); max-height: min(88svh,840px); overflow-x: hidden; box-shadow: 0 35px 150px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.035); }
.modal::backdrop { background: rgba(8,8,8,.62); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.modal[open] { animation: modal-in .35s var(--ease) both; }
.modal-top { padding: 19px 23px 18px 30px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid rgba(219,219,219,.09); }
.eyebrow { font-family: var(--mono); color: #adadad; font-size: 9px; letter-spacing: .22em; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(219,219,219,.10); border-radius: 50%; background: rgba(225,225,225,.025); color: #bdccba; transition: background .2s,border-color .2s; }
.icon-button .icon { width: 17px; height: 17px; }
.icon-button:hover { background: rgba(225,225,225,.07); border-color: rgba(219,219,219,.3); }
.modal-body { padding: 40px 36px 29px; }
.small-label { font-family: var(--mono); font-size: 10px; color: #b7c4b1; letter-spacing: .16em; margin: 0 0 23px; }
h2 { font-family: var(--serif); font-size: clamp(33px,4vw,47px); font-weight: 400; line-height: 1.13; letter-spacing: -.03em; margin: 0 0 21px; }
h2 em { color: #b4b4b4; font-weight: 400; }
.body-copy { color: #adb9a7; font-size: 14px; line-height: 1.9; max-width: 470px; margin: 0; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 35px; }
.values span { border: 1px solid rgba(208,208,208,.16); border-radius: 6px; padding: 8px 12px; font-family: var(--mono); color: #c8c8c8; font-size: 9px; letter-spacing: .1em; background: rgba(207,207,207,.025); }
.about-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(219,219,219,.09); }
.subtle-location { display: inline-flex; gap: 8px; align-items: center; color: #a6a6a6; font-size: 10px; }
.subtle-location .status-dot { width: 4px; height: 4px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: transparent; color: #d8e2d0; font-size: 11px; min-height: 40px; padding: 8px 0; }
.text-button .icon { width: 17px; height: 17px; transition: transform .3s; }
.text-button:hover .icon { transform: translateX(3px); }
.contact-links { display: grid; gap: 11px; margin: 29px 0 15px; }
.contact-row { display: flex; align-items: center; gap: 17px; width: 100%; padding: 19px 18px; border: 1px solid rgba(218,218,218,.16); border-radius: 12px; background: rgba(203,203,203,.035); text-align: start; transition: border-color .25s,background .25s; }
.contact-row:hover { border-color: rgba(218,218,218,.35); background: rgba(203,203,203,.065); }
.contact-row > span:not(.row-copy) { display: flex; flex-direction: column; gap: 5px; }
.contact-row strong { font-size: 13px; font-weight: 500; color: #d7e1ce; }
.contact-row small { font-size: 12px; color: #b3b3b3; }
.contact-row > .icon:last-child { width: 17px; height: 17px; margin-inline-start: auto; }
.contact-row .row-copy { margin-inline-start: auto; font-size: 10px; color: #a5a5a5; }
.contact-row .row-copy + .icon { margin-inline-start: 0; }
.contact-note { color: #9b9b9b; font-size: 11px; line-height: 1.75; margin: 0 0 27px; }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(219,219,219,.09); padding-top: 15px; color: #a0a0a0; font-size: 11px; }
.menu-modal { max-width: 520px; }
.menu-list { display: grid; padding: 13px 30px 20px; }
.menu-list > * { display: flex; align-items: center; gap: 22px; color: #dbe4d3; min-height: 96px; background: none; border: 0; border-bottom: 1px solid rgba(219,219,219,.09); text-align: start; }
.menu-list > * > span:first-child { font-family: var(--mono); font-size: 10px; color: #a1a1a1; }
.menu-list > * > span:nth-child(2) { font-family: var(--serif); font-size: 36px; }
.menu-list .icon { margin-inline-start: auto; width: 21px; height: 21px; transition: transform .3s; }
.menu-list > *:hover .icon { transform: translateX(5px); }
.menu-bottom { display: flex; justify-content: space-between; align-items: center; padding: 0 30px 23px; }
.menu-bottom .text-button { font-size: 10px; letter-spacing: .06em; }
.command-modal { max-width: 580px; border-radius: 18px; }
.command-search { display: flex; align-items: center; gap: 15px; padding: 21px 23px; border-bottom: 1px solid rgba(219,219,219,.1); }
.command-search > .icon { width: 20px; height: 20px; color: #b2b2b2; }
.command-search input { min-width: 0; flex: 1; background: none; border: 0; color: #e2e9d9; padding: 5px 0; font-size: 15px; }
.command-search input::placeholder { color: #a5a5a5; }
.command-search input:focus-visible { outline: none; }
.command-search:focus-within { box-shadow: inset 0 -1px 0 #a3a3a3; }
.command-escape { border: 1px solid rgba(216,216,216,.2); color: #afafaf; font-family: var(--mono); font-size: 9px; background: transparent; border-radius: 5px; padding: 8px; min-width: 40px; min-height: 35px; }
.command-results { padding: 9px; max-height: 365px; overflow-y: auto; }
.command-result { display: flex; align-items: center; gap: 13px; width: 100%; padding: 14px; background: none; border: 1px solid transparent; border-radius: 9px; color: #c9c9c9; text-align: start; cursor: pointer; }
.command-result[aria-selected="true"] { background: rgba(199,199,199,.08); border-color: rgba(206,206,206,.09); color: #e9efdf; }
.command-result .icon { width: 18px; height: 18px; }
.command-result span { flex: 1; font-size: 12px; }
.command-result .command-enter { font-size: 13px; color: #a4a4a4; }
.command-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(219,219,219,.08); padding: 14px 22px; font-family: var(--mono); font-size: 8px; color: #a6a6a6; }
.empty-results { padding: 25px 30px; color: #bbbbbb; font-size: 12px; }
.toast { position: fixed; z-index: 20; bottom: max(30px,env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%,20px); display: flex; align-items: center; gap: 12px; padding: 15px 20px; width: max-content; max-width: calc(100vw - 36px); border: 1px solid rgba(211,211,211,.25); border-radius: 12px; background: #181818; box-shadow: 0 12px 60px rgba(0,0,0,.6); color: #e0efd5; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s,transform .22s,visibility .22s; font-size: 12px; line-height: 1.5; }
.toast .icon { width: 18px; height: 18px; color: #d3d3d3; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); visibility: visible; }
.no-script { position: relative; padding: 20px; background: #171717; color: #dfead5; text-align: center; font-size: 13px; }
.no-script a { text-decoration: underline; }

/* Consistent, composed mobile layouts — not a scaled-down desktop. */
@media (min-width: 1800px) {
  .identity { width: 1160px; }
  .socials { width: 870px; }
  .social-card { min-height: 96px; }
}
@media (max-width: 1279px) {
  .header-time { display: none; }
  .side-note { font-size: 8px; letter-spacing: .2em; }
  .right-note { display: none; }
  .quote-card { width: 105px; min-height: 114px; padding: 12px 15px; bottom: 7%; }
  .quote-text { font-size: 8px; }
  .side-manifesto { display: none; }
  .status-card { width: 214px; padding: 17px; bottom: 5%; }
  .status-card dt { font-size: 8px; }
  .status-card dd { font-size: 9px; }
  .status-heading { font-size: 9px; }
  .identity { width: 78vw; margin-top: -45px; }
  .identity-kicker { margin-bottom: 26px; font-size: 8px; }
  .socials { width: 730px; max-width: 100%; gap: 14px; margin-top: 42px; }
  .social-card { padding: 17px; gap: 15px; min-height: 86px; }
  .social-symbol .icon { width: 25px; height: 25px; }
}
@media (max-width: 900px) {
  .desktop-nav { top: 22px; }
  .nav-item { padding: 9px 21px; font-size: 12px; }
  .brand { font-size: 14px; letter-spacing: .32em; }
  .brand-dot { display: none; }
  .header-right { gap: 15px; }
  .site-shell { min-height: 720px; grid-template-rows: 90px minmax(0,1fr) 90px; }
  .left-note { display: none; }
  .identity { width: 86vw; margin-top: -30px; }
  .socials { gap: 11px; margin-top: 42px; }
  .social-card { padding: 16px 14px; gap: 12px; }
  .social-name { font-size: 12px; }
  .social-handle { font-size: 11px; }
  .social-symbol .icon { width: 23px; height: 23px; }
  .social-card .card-arrow { width: 14px; height: 14px; }
  .status-card { width: 200px; bottom: 0; }
  .quote-card { bottom: 0; }
  .footer-signature { font-size: 7px; gap: 10px; letter-spacing: .12em; }
  .command-hint > span { display: none; }
  .command-hint { gap: 8px; }
  .motion-button { font-size: 7px; }
}
@media (max-width: 700px) {
  :root { --pad: 23px; }
  .site-shell { height: auto; min-height: max(780px,100svh); grid-template-rows: 82px minmax(0,1fr) 88px; }
  .site-header { padding-top: max(0px,env(safe-area-inset-top)); }
  .desktop-nav { display: none; }
  .brand { font-size: 16px; letter-spacing: .3em; }
  .header-right { gap: 20px; }
  .language-button { font-size: 12px; }
  .menu-button { padding-inline-start: 8px; }
  .scene-art { object-position: 50% 44%; animation-duration: 35s; }
  .scene-shade { background: linear-gradient(180deg,rgba(8,8,8,.12),rgba(8,8,8,.13) 18%,rgba(8,8,8,.27) 57%,rgba(8,8,8,.57)), radial-gradient(ellipse at 50% 29%,transparent 10%,rgba(8,8,8,.23)); }
  .hero { display: flex; flex-direction: column; justify-content: center; min-height: 610px; padding: 30px var(--pad) 16px; }
  .identity { width: 100%; margin: 0; }
  .identity-kicker { font-size: 7px; letter-spacing: .18em; gap: 10px; margin-bottom: 30px; }
  .identity-kicker .small-line { width: 18px; }
  .wordmark { width: calc(100% + 6px); margin-inline: -3px; }
  .motto { font-size: 7px; letter-spacing: .2em; gap: 13px; margin-top: 17px; }
  .socials { width: min(390px,100%); grid-template-columns: 1fr; gap: 10px; margin-top: 37px; }
  .social-card { min-height: 72px; padding: 16px 21px; border-radius: 13px; gap: 17px; background: linear-gradient(120deg,rgba(21,21,21,.72),rgba(11,11,11,.52)); backdrop-filter: blur(11px); -webkit-backdrop-filter: blur(11px); }
  .social-symbol .icon { width: 27px; height: 27px; }
  .social-text { gap: 5px; }
  .social-name { font-size: 13px; }
  .social-handle { font-size: 11px; }
  .social-card .card-arrow { width: 17px; height: 17px; }
  .hero-actions { margin-top: 26px; }
  .connect-button { height: 44px; padding: 0 21px; gap: 17px; }
  .connect-button > span:not(.status-dot) { font-size: 8px; letter-spacing: .23em; }
  .micro-copy { font-size: 9px; margin-top: 15px; }
  .status-card { position: static; width: auto; min-width: 220px; max-width: 100%; display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .status-heading { font-size: 8px; letter-spacing: .13em; gap: 7px; }
  .tiny-spark { display: none; }
  .status-card dl { display: block; margin: 0; border-inline-start: 1px solid rgba(218,218,218,.2); padding-inline-start: 13px; }
  .status-card dl > div:not(:first-child),.status-card dt { display: none; }
  .status-card dd { font-family: var(--mono); font-size: 9px; color: #b5b5b5; }
  .quote-card { display: none; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 0 18px; align-content: center; padding-bottom: max(12px,env(safe-area-inset-bottom)); }
  .footer-signature { grid-column: 1/-1; grid-row: 2; font-size: 7px; letter-spacing: .2em; gap: 17px; padding-top: 5px; }
  .command-hint { min-height: 36px; padding: 6px 0; font-size: 7px; }
  .command-hint > span { display: inline; }
  .command-hint kbd { display: none; }
  .motion-button { min-height: 36px; padding: 6px 0; }
  .modal { width: calc(100% - 28px); border-radius: 19px; max-height: 89svh; }
  .modal-top { padding: 15px 16px 14px 22px; }
  .modal-body { padding: 31px 24px 23px; }
  .eyebrow { font-size: 8px; letter-spacing: .16em; }
  .icon-button { width: 38px; height: 38px; }
  h2 { font-size: 36px; }
  .body-copy { font-size: 13px; line-height: 1.85; }
  .small-label { font-size: 9px; }
  .values { gap: 7px; margin-bottom: 27px; }
  .values span { font-size: 8px; padding: 8px 9px; }
  .subtle-location { font-size: 9px; }
  .text-button { font-size: 10px; }
  .contact-row { padding: 17px 15px; gap: 13px; }
  .contact-row .row-copy { font-size: 9px; }
  .contact-note { font-size: 10px; }
  .contact-bottom { font-size: 10px; gap: 10px; }
  .menu-list { padding: 10px 24px 15px; }
  .menu-list > * { min-height: 84px; }
  .menu-bottom { padding: 0 24px 17px; }
  .command-search { padding: 17px; gap: 12px; }
  .command-results { max-height: 45svh; }
  .command-footer { padding: 13px 17px; font-size: 7px; }
  .toast { font-size: 11px; padding: 13px 16px; bottom: max(22px,env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  :root { --pad: 18px; }
  .brand { font-size: 14px; }
  .identity-kicker { font-size: 6px; letter-spacing: .12em; }
  .identity-kicker .small-line { width: 12px; }
  .motto { font-size: 6px; gap: 11px; }
  .social-card { padding-inline: 16px; }
  .connect-button { gap: 12px; padding-inline: 16px; }
  .modal-body { padding-inline: 20px; }
  h2 { font-size: 30px; }
  .about-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-row .row-copy { display: none; }
}
@media (min-width: 701px) and (max-height: 760px) {
  .site-shell { min-height: 700px; grid-template-rows: 85px minmax(0,1fr) 70px; }
  .identity { margin-top: -28px; width: min(900px,73vw); }
  .identity-kicker { margin-bottom: 22px; }
  .socials { margin-top: 30px; }
  .hero-actions { margin-top: 23px; }
  .status-card { bottom: 0; }
  .quote-card { bottom: 5%; }
  .side-note { top: 4%; }
  .side-manifesto { display: none; }
}
@media (hover: none) {
  .social-card:hover { transform: none; }
  .pointer-light,.drift { display: none; }
}

/* RTL keeps identifiers and the wordmark in their original reading order. */
html[dir="rtl"] { --sans: 'Segoe UI', Tahoma, Arial, sans-serif; }
html[dir="rtl"] .identity-kicker,html[dir="rtl"] .motto,html[dir="rtl"] .side-note,html[dir="rtl"] .side-manifesto,html[dir="rtl"] .quote-text,html[dir="rtl"] .eyebrow,html[dir="rtl"] .small-label,html[dir="rtl"] .status-heading,html[dir="rtl"] .status-card dt,html[dir="rtl"] .connect-button > span,html[dir="rtl"] .command-hint,html[dir="rtl"] .motion-button,html[dir="rtl"] .values span { font-family: var(--sans); letter-spacing: 0; }
html[dir="rtl"] .identity-kicker { font-size: 11px; }
html[dir="rtl"] .motto { font-size: 15px; gap: 25px; }
html[dir="rtl"] .side-note { font-size: 12px; line-height: 1.9; }
html[dir="rtl"] .quote-text { font-size: 11px; }
html[dir="rtl"] .status-heading,html[dir="rtl"] .status-card dt { font-size: 11px; }
html[dir="rtl"] h2 { font-family: var(--sans); font-size: 34px; line-height: 1.5; letter-spacing: 0; }
html[dir="rtl"] h2 em { font-style: normal; }
html[dir="rtl"] .body-copy { line-height: 2; }
html[dir="rtl"] .connect-button .icon,html[dir="rtl"] .text-button .icon,html[dir="rtl"] .menu-list .icon { transform: scaleX(-1); }
html[dir="rtl"] .connect-button > span:not(.status-dot) { font-size: 12px; }
html[dir="rtl"] .contact-row small,html[dir="rtl"] .social-handle { align-self: flex-start; }
@media (max-width: 700px) {
  html[dir="rtl"] .identity-kicker { font-size: 9px; }
  html[dir="rtl"] .motto { font-size: 12px; gap: 16px; }
  html[dir="rtl"] .status-heading { font-size: 9px; }
  html[dir="rtl"] h2 { font-size: 29px; }
}

/* Motion is never required to read the page or access its controls. */
.enter { animation: enter .95s var(--ease) both; }
.identity-kicker { animation-delay: .12s; }
.wordmark { animation-delay: .2s; }
.motto { animation-delay: .3s; }
.socials { animation-delay: .39s; }
.hero-actions { animation-delay: .49s; }
.micro-copy { animation-delay: .56s; }
.status-card,.quote-card,.side-manifesto,.site-footer { animation-delay: .6s; }
@keyframes enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.025); } }
@keyframes mist { from { transform: rotate(-24deg) translateX(-1%); } to { transform: rotate(-18deg) translateX(3%); } }
@keyframes drift { 0% { opacity: 0; transform: translate3d(0,0,0); } 20% { opacity: .25; } 80% { opacity: .12; } 100% { opacity: 0; transform: translate3d(30px,-130px,0); } }
html[data-motion="off"] *,html[data-motion="off"] *::before,html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] .scene-parallax { transform: none !important; }
html[data-motion="off"] .drift,html[data-motion="off"] .pointer-light { display: none; }
html[data-visibility="hidden"] *,html[data-visibility="hidden"] *::before,html[data-visibility="hidden"] *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-override="on"]) *,html:not([data-motion-override="on"]) *::before,html:not([data-motion-override="on"]) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.toast { inset: auto auto max(30px,env(safe-area-inset-bottom)) 50%; margin: 0; }
.toast[popover]:not(:popover-open) { display: none; }
.copy-fallback { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
.copy-fallback.manual-copy { z-index: 99; left: 50%; top: auto; bottom: 90px; transform: translateX(-50%); width: min(320px,85vw); height: 60px; opacity: 1; border: 1px solid #bebebe; border-radius: 8px; padding: 12px; background: #181818; color: #e0efd4; font: 15px var(--sans); }
.error-page { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 30px; }
.error-content { max-width: 600px; }
.error-code { font: 11px var(--mono); letter-spacing: .3em; color: #a7b49e; margin-bottom: 27px; }
.error-content h1 { font-family: var(--serif); font-size: clamp(60px,13vw,130px); font-weight: 400; margin: 0; }
.error-content p { color: #b0bda7; font-size: 14px; line-height: 1.9; margin: 25px 0 32px; }
.error-content .connect-button { color: #e4edda; font-size: 12px; }


/* Launch timer — keeps the original status-card language. */
.launch-card { min-width: 320px; }
.launch-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.launch-timer div {
  min-width: 0;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.launch-timer div:last-child { border-right: 0; padding-right: 0; }
.launch-timer strong {
  display: block;
  font: 500 clamp(16px,1.5vw,23px)/1.05 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em;
  color: rgba(255,255,255,.94);
}
.launch-timer span {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: .19em;
  color: rgba(255,255,255,.42);
}
@media (max-width:700px) {
  .launch-card { min-width: 0; }
  .launch-timer { gap: 6px; margin-top: 12px; }
  .launch-timer strong { font-size: 15px; }
  .launch-timer span { font-size: 7px; }
}


/* WIZDORX music control */
.music-toggle{
  position:fixed;right:22px;bottom:22px;z-index:90;
  display:flex;align-items:center;gap:9px;
  min-width:70px;height:38px;padding:0 13px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;background:rgba(8,8,8,.58);
  color:rgba(255,255,255,.88);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  cursor:pointer;transition:background .25s ease,border-color .25s ease,transform .25s ease;
}
.music-toggle:hover{background:rgba(20,20,20,.72);border-color:rgba(255,255,255,.25);transform:translateY(-1px)}
.music-icon{font-size:16px;line-height:1}
.music-state{font-size:8px;letter-spacing:.18em}
.music-toggle.is-playing .music-icon{animation:musicPulse 1.8s ease-in-out infinite}
@keyframes musicPulse{0%,100%{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}
@media(max-width:700px){.music-toggle{right:14px;bottom:14px;height:36px;min-width:64px;padding:0 11px}}


/* V5 — strict monochrome interaction language */
:root{
  --accent:#eeeeee !important;
  --accent-2:#bdbdbd !important;
  --focus:#f4f4f4 !important;
}
a,button,[role="button"],.nav-link,.social-link,.command-item{
  -webkit-tap-highlight-color:rgba(255,255,255,.08);
}
a:hover,button:hover,.nav-link:hover,.social-link:hover,.command-item:hover{
  color:#f4f4f4;
}
a:focus-visible,button:focus-visible,[role="button"]:focus-visible,
.nav-link:focus-visible,.social-link:focus-visible,.command-item:focus-visible{
  outline:1px solid rgba(255,255,255,.72) !important;
  outline-offset:4px;
  box-shadow:0 0 0 3px rgba(255,255,255,.06) !important;
}
.nav-link[aria-current="page"],.nav-link.is-active,.active,
button[aria-expanded="true"]{
  color:#fff !important;
  border-color:rgba(255,255,255,.34) !important;
}
::selection{background:rgba(255,255,255,.20);color:#fff}
.status-dot{
  background:#e8e8e8 !important;
  box-shadow:0 0 10px rgba(255,255,255,.38) !important;
}


/* V6 — TRUE MONOCHROME. No green tint anywhere in overlays. */
dialog,
.modal,
.modal-card,
.modal-panel,
.about-modal,
.contact-modal,
.command-palette,
.command-dialog,
.command-panel,
[role="dialog"]{
  background:#0a0a0a !important;
  color:#ededed !important;
  border-color:rgba(255,255,255,.16) !important;
  box-shadow:0 30px 90px rgba(0,0,0,.72) !important;
}

dialog *,
.modal *,
.modal-card *,
.modal-panel *,
.about-modal *,
.contact-modal *,
.command-palette *,
.command-dialog *,
.command-panel *,
[role="dialog"] *{
  --accent:#eeeeee !important;
  --accent-2:#bdbdbd !important;
}

/* Main and secondary text inside overlays */
.modal p,.modal-card p,.modal-panel p,
.about-modal p,.contact-modal p,
.command-palette p,.command-dialog p,
[role="dialog"] p,
.modal small,.modal-card small,.modal-panel small,
.about-modal small,.contact-modal small,
.command-palette small,.command-dialog small{
  color:#a9a9a9 !important;
}

/* Editorial italic/serif accent — silver, never sage/green */
.modal em,.modal-card em,.modal-panel em,
.about-modal em,.contact-modal em,
[role="dialog"] em,
.modal .accent,.modal-card .accent,.modal-panel .accent,
.about-modal .accent,.contact-modal .accent{
  color:#bdbdbd !important;
}

/* Dividers, chips and cards */
.modal hr,.modal-card hr,.modal-panel hr,
.about-modal hr,.contact-modal hr,
[role="dialog"] hr{
  border-color:rgba(255,255,255,.10) !important;
}
.modal button,.modal a,.modal-card button,.modal-card a,
.modal-panel button,.modal-panel a,
.about-modal button,.about-modal a,
.contact-modal button,.contact-modal a,
.command-palette button,.command-palette a,
.command-dialog button,.command-dialog a,
[role="dialog"] button,[role="dialog"] a{
  color:#e7e7e7 !important;
  border-color:rgba(255,255,255,.15) !important;
}

/* Command palette input + rows */
.command-palette input,.command-dialog input,
[role="dialog"] input{
  color:#f2f2f2 !important;
  caret-color:#f2f2f2 !important;
  background:transparent !important;
  border-color:rgba(255,255,255,.12) !important;
}
.command-palette input::placeholder,.command-dialog input::placeholder,
[role="dialog"] input::placeholder{
  color:#777 !important;
}
.command-item,
.command-palette [role="option"],
.command-dialog [role="option"]{
  color:#cfcfcf !important;
  background:transparent !important;
  border-color:transparent !important;
}
.command-item:hover,
.command-item.is-active,
.command-item[aria-selected="true"],
.command-palette [role="option"]:hover,
.command-palette [role="option"][aria-selected="true"],
.command-dialog [role="option"]:hover,
.command-dialog [role="option"][aria-selected="true"]{
  color:#fff !important;
  background:rgba(255,255,255,.065) !important;
  border-color:rgba(255,255,255,.09) !important;
}

/* SVG/icons inherit silver */
.modal svg,.modal-card svg,.modal-panel svg,
.about-modal svg,.contact-modal svg,
.command-palette svg,.command-dialog svg,
[role="dialog"] svg{
  color:#d8d8d8 !important;
  stroke:currentColor !important;
}

/* Scrollbar and selection in overlays */
.command-palette,.command-dialog,[role="dialog"]{
  scrollbar-color:#555 #111 !important;
}
dialog ::selection,[role="dialog"] ::selection{
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
}


/* V7 — bottom controls: MUSIC and MOTION sit side-by-side, never overlap. */
.music-toggle{
  right:132px !important;
  bottom:22px !important;
}

/* Keep the existing motion button at the far-right edge. */
.motion-toggle,
[data-motion-toggle],
#motion-toggle{
  right:22px !important;
  bottom:22px !important;
}

/* If the motion control is wider on this viewport, reserve a little more room. */
@media (min-width:701px) and (max-width:1100px){
  .music-toggle{right:142px !important;}
}

@media (max-width:700px){
  .music-toggle{
    right:104px !important;
    bottom:14px !important;
  }
  .motion-toggle,
  [data-motion-toggle],
  #motion-toggle{
    right:14px !important;
    bottom:14px !important;
  }
}

@media (max-width:380px){
  .music-toggle{right:98px !important;}
}
