
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: light-dark(#F3F9FC, #022B42);
  --bar-bg: light-dark(rgb(243 249 252 / 0.88), rgb(2 43 66 / 0.88));
  --surface: light-dark(#E1F0F7, #053A57);
  --surface-2: light-dark(#D0E7F2, #0A4868);
  --line: light-dark(#BCDBEA, #0E5475);
  --line-2: light-dark(#A3CCE0, #1B6489);
  --control: light-dark(#5D8AA1, #5B9BBD);
  --ink: light-dark(#023047, #F2FAFD);
  --muted: light-dark(#3A6177, #8ECAE6);
  --accent: light-dark(#FB8500, #FFB703);
  --accent-hover: light-dark(#FFB703, #FB8500);
  --on-accent: light-dark(#023047, #022B42);
  --accent-text: light-dark(#A34E00, #FFB703);
  --cursor: light-dark(#FB8500, #FFB703);
  --tile: light-dark(#8ECAE6, #219EBC);
  --focus: light-dark(#0B6A86, #FFB703);
  --placeholder: light-dark(#4E7286, #7FA9BF);
  --error: light-dark(#B42318, #FF9C8A);
  --wa: #25D366;
  --wa-ink: #062611;

  --font: "Thmanyah Sans", "Segoe UI", Tahoma, system-ui, sans-serif;
  --step--1: clamp(0.86rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --step-1: clamp(1.2rem, 1.08rem + 0.6vw, 1.55rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.8vw, 3.9rem);
  --step-4: clamp(2.6rem, 1.5rem + 5vw, 5.6rem);
  --margin: clamp(1.25rem, 4vw, 4rem);
  --gutter: clamp(1rem, 2vw, 1.75rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --fwd: -1;
}
[dir="ltr"] { --fwd: 1; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; background: var(--bg); }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.75 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:lang(en) body, body:lang(en) { line-height: 1.6; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
svg { flex: none; }
.i { width: 1.2em; height: 1.2em; display: block; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
::selection { background: var(--accent); color: var(--on-accent); }
[data-i="0"] { --i: 0; } [data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; } [data-i="6"] { --i: 6; } [data-i="7"] { --i: 7; } [data-i="8"] { --i: 8; } [data-i="9"] { --i: 9; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(100% - var(--margin) * 2, 1320px); margin-inline: auto; }

.skip { position: absolute; inset-inline-start: 1rem; top: 1rem; z-index: 100; padding: 0.7rem 1.1rem; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }

.caret { display: inline-block; width: 0.085em; height: 0.92em; margin-inline-start: 0.07em; vertical-align: -0.12em; background: var(--cursor); }
.logo-accent { fill: var(--logo-accent, var(--cursor)); }

.ph { color: var(--muted); text-decoration: underline dashed var(--cursor) 1px; text-underline-offset: 0.35em; }

.h2 { max-width: 20ch; font: 900 var(--step-3)/1.22 var(--font); text-wrap: balance; }
.h2::after { content: ""; display: inline-block; width: 0.08em; height: 0.82em; margin-inline-start: 0.1em; vertical-align: -0.06em; background: var(--cursor); }
:lang(en) .h2 { line-height: 1.08; letter-spacing: -0.025em; }
.sec-head { margin-bottom: clamp(2.2rem, 4.5vw, 3.75rem); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3.35rem; padding: 0 1.5em; border: 2px solid transparent; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
@media (hover: hover) { .button:hover { background: var(--accent-hover); } }
.button:active { transform: scale(0.97); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--control); }
@media (hover: hover) { .button--ghost:hover { background: var(--surface-2); border-color: var(--ink); } }
.button--wa { background: var(--wa); color: var(--wa-ink); }
@media (hover: hover) { .button--wa:hover { background: #3BE07A; } }
.button--sm { min-height: 2.75rem; padding: 0 1.1em; border-radius: 10px; font-size: var(--step--1); }

.bar { position: sticky; top: 0; z-index: 20; background: var(--bar-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bar__in { display: flex; align-items: center; gap: 0.75rem; min-height: 4.75rem; }
.bar__in > .brand { margin-inline-end: auto; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand__logo { height: 2.5rem; width: auto; display: block; }
.lang { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border: 2px solid var(--control); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out); }
.lang:active { transform: scale(0.94); }
.lang svg { width: 1.5rem; height: 1.5rem; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.lang .moon { --moon: 0deg; transform-box: view-box; transform-origin: 12px 12px; transform: rotate(var(--moon)); transition: transform 600ms cubic-bezier(0.65, 0, 0.35, 1); }
.lang .moon circle { fill: var(--cursor); stroke: none; }
:root[lang="en"] .lang .moon { --moon: 180deg; }
.lang.is-going .moon { --moon: -180deg; }
:root[lang="en"] .lang.is-going .moon { --moon: 360deg; }
.lang__tip { position: absolute; top: calc(100% + 0.5rem); inset-inline-end: 0; padding: 0.3em 0.75em; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: var(--step--1); font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 160ms ease, transform 160ms var(--ease-out); }
.lang:focus-visible .lang__tip { opacity: 1; transform: none; }
@media (hover: hover) {
  .lang:hover { background: var(--surface-2); border-color: var(--ink); }
  .lang:hover .lang__tip { opacity: 1; transform: none; }
  .lang:hover .moon { --moon: -24deg; transition-duration: 360ms; }
  :root[lang="en"] .lang:hover .moon { --moon: 204deg; }
  .lang.is-going .moon, .lang.is-going:hover .moon { --moon: -180deg; transition-duration: 600ms; }
  :root[lang="en"] .lang.is-going .moon, :root[lang="en"] .lang.is-going:hover .moon { --moon: 360deg; }
}

.theme { display: none; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; padding: 0; border: 2px solid var(--control); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out); }
.js .theme { display: grid; }
@media (hover: hover) { .theme:hover { background: var(--surface-2); border-color: var(--ink); } }
.theme:active { transform: scale(0.94); }
.theme .i { width: 1.3rem; height: 1.3rem; grid-area: 1 / 1; transition: opacity 200ms ease, transform 300ms var(--ease-out); }
[data-theme="light"] .theme .sun, [data-theme="dark"] .theme .moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }


.url { flex: 1; min-width: 0; overflow: hidden; line-height: 1.2; letter-spacing: 0.01em; text-overflow: ellipsis; }
.url b { color: var(--ink); font-weight: 700; }

.site { --rail: 0px; }
.site .wrap { width: min(100% - var(--margin) * 2 - var(--rail) * 2, 1240px); }

.spine { position: fixed; inset-inline-end: clamp(1rem, 2vw, 1.75rem); top: 50%; z-index: 15; transform: translateY(-50%); }
.spine__list { display: grid; gap: 0.6rem; }
.spine__link { display: flex; align-items: center; justify-content: flex-end; gap: 0.7rem; min-height: 2.75rem; color: var(--muted); font-size: var(--step--1); font-weight: 500; line-height: 1.3; text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) { .spine__link:hover, .spine__link[aria-current] { color: var(--ink); } }
.spine__link[aria-current] { font-weight: 700; }
.spine__dot { display: block; flex: none; width: 32px; height: 12px; }
.spine__dot::before { content: ""; display: block; width: 12px; height: 12px; margin-inline: auto; border: 2px solid var(--control); border-radius: 50%; transition: opacity 200ms ease, border-color 160ms ease; }
@media (hover: hover) { .spine__link:hover .spine__dot::before { border-color: var(--ink); } }
.spine__link[aria-current] .spine__dot::before { opacity: 0; }
.spine__mark { position: absolute; left: 0; top: 0; width: 32px; height: 40px; color: var(--cursor); pointer-events: none; transform: translate(var(--mx, 0px), var(--my, 0px)); }
.sh { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transform: scale(0.5); }
.spine__mark[data-shape="start"] .sh--start, .spine__mark[data-shape="work"] .sh--work, .spine__mark[data-shape="about"] .sh--about, .spine__mark[data-shape="quote"] .sh--quote { opacity: 1; transform: none; }
.spine:not(.is-ready) .spine__mark { visibility: hidden; }
.spine:not(.is-ready) .spine__link[aria-current] .spine__dot::before { opacity: 1; border-color: var(--cursor); background: var(--cursor); }

.hero { padding-block: clamp(1.5rem, 5vh, 3.5rem) clamp(3rem, 9vh, 6rem); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; min-height: min(calc(100svh - 4.75rem - clamp(4.5rem, 14vh, 9.5rem)), 52rem); }
.hero__text { grid-column: 1 / 9; }
.hello { display: grid; font: 900 clamp(3rem, 0.8rem + 7.2vw, 8rem)/1.15 var(--font); }
.hello > span { grid-area: 1 / 1; }
.hello__ghost { visibility: hidden; }
:lang(en) .hello { font-size: clamp(3rem, 0.6rem + 6.6vw, 7.5rem); line-height: 1.06; letter-spacing: -0.035em; }
.hero__lead { max-width: 28ch; margin-top: 1.2rem; color: var(--muted); font: 500 clamp(1.25rem, 0.95rem + 1.25vw, 2.15rem)/1.55 var(--font); text-wrap: balance; }
:lang(en) .hero__lead { line-height: 1.4; letter-spacing: -0.01em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.4rem; }
.hero__cursor { grid-column: 9 / 13; display: grid; justify-items: center; gap: 1.5rem; }
.giant { display: block; width: clamp(1.5rem, 2.8vw, 2.5rem); height: clamp(13rem, 42vh, 24rem); border-radius: 4px; background: var(--cursor); }
.hero__hint { color: var(--muted); font-size: var(--step--1); font-weight: 500; text-align: center; }

.work, .about, .quote { padding-block: var(--section); }
.work { padding-top: clamp(2rem, 5vw, 4rem); }
.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.work__side { grid-column: 1 / 5; display: grid; gap: 1.6rem; align-content: start; }
.work__ctrl { display: none; align-items: center; gap: 0.8rem; margin-top: 0.6rem; }
.js .work__ctrl { display: flex; }
.round { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; padding: 0; border: 2px solid var(--control); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) { .round:hover { background: var(--surface-2); border-color: var(--ink); } }
.round:active { transform: scale(0.94); }
.round .i { width: 1.1rem; height: 1.1rem; }
.work__count { min-width: 4.5em; color: var(--accent-text); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.work__info { display: grid; gap: 1.6rem; }
.js .work__info { gap: 0; }
.proj { display: grid; gap: 0.3rem; align-content: start; }
.js .proj { grid-area: 1 / 1; }
.js .proj:not(.is-now) { visibility: hidden; opacity: 0; }
.proj__title { font: 700 var(--step-2)/1.3 var(--font); }
.proj__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; color: var(--muted); }
.tag { padding: 0.1em 0.75em; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.thumbs { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.js .thumbs { display: grid; }
.thumb { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: var(--surface); opacity: 0.7; outline: 2px solid transparent; outline-offset: 3px; cursor: pointer; transition: opacity 160ms ease, outline-color 160ms ease, transform 160ms var(--ease-out); }
.thumb img { display: block; width: 100%; height: auto; }
@media (hover: hover) { .thumb:hover { opacity: 1; } }
.thumb:active { transform: scale(0.97); }
.thumb[aria-pressed="true"] { opacity: 1; outline-color: var(--cursor); }
.thumb:focus-visible { outline: 3px solid var(--focus); }

.viewer { grid-column: 5 / 13; position: relative; overflow: hidden; border-radius: 16px; background: var(--surface); touch-action: pan-y; }
.viewer__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--surface-2); }
.viewer__bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.viewer__bar span { flex: 1; height: 24px; margin-left: 10px; border-radius: 8px; background: var(--bg); }
.viewer__stage { display: grid; }
.viewer__shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; user-select: none; }
.js .viewer__shot { grid-area: 1 / 1; }
.js .viewer__shot:not(.is-now) { visibility: hidden; opacity: 0; }
.viewer__cursor { position: absolute; inset: 0; background: var(--cursor); opacity: 0; pointer-events: none; }

.about__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.about__head .h2 { grid-column: 1 / 5; }
.about__lead { grid-column: 5 / 13; max-width: 30ch; font: 700 clamp(1.4rem, 1rem + 1.2vw, 2.15rem)/1.55 var(--font); text-wrap: pretty; }
.path-wrap { position: relative; margin-top: clamp(3rem, 6vw, 5.5rem); }
.path__track { position: absolute; inset-inline: 0; top: 0; height: 8px; border-radius: 99px; background: var(--surface-2); }
.path__fill, .path__cursor { display: none; }
.js .path__fill { display: block; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: right; }
.js[dir="ltr"] .path__fill { transform-origin: left; }
.js .path__cursor { display: block; position: absolute; inset-inline-start: -7px; top: -22px; width: 14px; height: 52px; border-radius: 4px; background: var(--cursor); }
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); padding-top: 3.2rem; list-style: none; }
.path li { display: grid; gap: 1.5rem; align-content: start; }
.path b { font: 900 clamp(2.6rem, 1.4rem + 3.6vw, 5.2rem)/1.15 var(--font); letter-spacing: -0.02em; transition: color 300ms ease; }
.path li.is-on b { color: var(--accent-text); }
.path span { max-width: 26ch; font-size: var(--step-0); line-height: 1.6; }

.quote__head { display: grid; gap: 0.7rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.quote__sub { color: var(--muted); font-size: var(--step-1); }
.quote__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.ask { grid-column: 1 / 9; position: relative; min-width: 0; }
.cmd { display: none; align-items: center; gap: 1rem; min-height: clamp(4.75rem, 3.5rem + 3vw, 7rem); margin-bottom: 1.6rem; padding: 0.8rem clamp(1.25rem, 2.4vw, 2rem); border-radius: 22px; background: var(--surface); outline: 1px solid var(--line); outline-offset: -1px; }
.js .cmd { display: flex; }
.cmd__line { flex: 1; min-width: 0; font: 900 clamp(1.55rem, 1rem + 1.75vw, 2.6rem)/1.3 var(--font); }
.cmd__key { display: grid; place-items: center; flex: none; min-width: 3rem; height: 2.6rem; padding: 0 0.6rem; border: 2px solid var(--control); border-radius: 10px; color: var(--muted); transition: transform 120ms ease, background-color 120ms ease; }
.cmd__key svg { width: 1.3rem; height: 1.3rem; }
.cmd__key.is-down { transform: translateY(2px); background: var(--surface-2); }
.ask__steps { display: grid; gap: 2.6rem; }
.ask__step { display: grid; gap: 1rem; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.ask__q { margin-bottom: 1rem; padding: 0; font: 900 var(--step-2)/1.3 var(--font); }
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 3.5rem; padding: 0 1.3em; border: 2px solid var(--control); border-radius: 14px; font-size: var(--step-0); font-weight: 700; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) { .chip:hover span { border-color: var(--ink); } }
.chip input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.chip:active span { transform: scale(0.97); }
.ask__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.ask__field--name, .ask__field--idea { grid-column: 1 / -1; }
[dir="rtl"] .field[dir="ltr"] { text-align: right; }
.ask__hint { margin-top: -0.4rem; color: var(--muted); font-size: var(--step--1); }
.ask__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ask__human:empty { display: none; }
.ask__err--send:not(:empty) { margin-top: 0.2rem; }
.button[disabled] { opacity: 0.65; cursor: progress; }
.ask__ref { padding: 0.35rem 0.9rem; border-radius: 10px; background: var(--bg); color: var(--accent-text); font-weight: 900; font-size: var(--step-1); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.ask__done .ask__send { margin-top: 0.3rem; }
.ask__field { display: grid; gap: 0.5rem; align-content: start; }
.ask__label { color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.field { width: 100%; padding: 0.85rem 1.1rem; border: 2px solid var(--control); border-radius: 14px; background: var(--bg); font-size: var(--step-1); font-weight: 700; line-height: 1.4; transition: border-color 160ms ease; }
.field--soft { font-size: var(--step-0); font-weight: 500; }
@media (hover: hover) { .field:hover { border-color: var(--ink); } }
.field:focus { outline: none; border-color: var(--focus); }
.field::placeholder { color: var(--placeholder); font-weight: 500; }
.field[aria-invalid="true"] { border-color: var(--error); }
.ask__err { min-height: 1.5em; color: var(--error); font-size: var(--step--1); }
.ask__err:empty { min-height: 0; }
.ask__err--pick:not(:empty) { margin-top: 1rem; }
.ask__send { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.ask__send .button { min-height: 3.6rem; font-size: var(--step-0); }
.ask__nav { display: none; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.js .ask__nav { display: flex; }
.ask__progress { display: flex; flex: 1; align-items: center; justify-content: center; gap: 0.9rem; }
.ask__track { display: flex; gap: 6px; }
.ask__track i { width: 1.5rem; height: 6px; border-radius: 99px; background: var(--line-2); transition: background-color 260ms ease; }
.ask__track i.is-on { background: var(--accent); }
.ask__count { min-width: 4.5em; color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.ask__back { display: inline-flex; align-items: center; gap: 0.45em; min-height: 2.75rem; padding: 0 0.3rem; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; transition: color 160ms ease; }
@media (hover: hover) { .ask__back:hover { color: var(--ink); } }
.ask__done { display: grid; justify-items: start; gap: 0.9rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 22px; background: var(--surface); }
.ask__done-title { font: 900 var(--step-2)/1.3 var(--font); }
.ask__tick { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.ask__tick .i { width: 1.6rem; height: 1.6rem; }
.ask__done-text { max-width: 36ch; color: var(--muted); }
.ticket { grid-column: 9 / 13; display: none; }
.ticket__title { margin-bottom: 0.5rem; padding-bottom: 0.9rem; border-bottom: 2px dashed var(--line-2); color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.ticket__rows { display: grid; }
.ticket__rows div { display: grid; grid-template-columns: minmax(5rem, 34%) 1fr; gap: 0.75rem; padding-block: 0.35rem; font-size: var(--step--1); line-height: 1.5; }
.ticket dt { color: var(--muted); }
.ticket dd { font-weight: 700; overflow-wrap: anywhere; }
.ticket dd.is-empty { color: var(--placeholder); font-weight: 500; }
.ticket .is-current dt { color: var(--ink); }
.ticket .is-current dd:empty::before { content: ""; display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.2em; background: var(--cursor); }

.channels { display: grid; gap: 1.2rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.channels__title { color: var(--muted); }
.channels__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.channels__list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 16px; background: var(--surface); text-decoration: none; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) { .channels__list a:hover { background: var(--surface-2); } }
.channels__list a:active { transform: scale(0.98); }
.ic { display: grid; place-items: center; width: 3rem; height: 3rem; flex: none; border-radius: 12px; background: var(--bg); color: var(--accent-text); }
.ic--wa { background: var(--wa); color: #FFFFFF; }
.channels__list b { display: block; line-height: 1.3; }
.channels__list small { display: block; color: var(--muted); font-size: var(--step--1); line-height: 1.4; }

.foot { padding-block: 3rem 2.4rem; background: var(--surface); }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem 2.2rem; }
.foot .brand__logo { height: 2.2rem; }
.foot__line { color: var(--muted); }
.icons { display: flex; gap: 0.6rem; }
.icons a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 12px; background: var(--surface-2); color: var(--ink); transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) { .icons a:hover { background: var(--accent); color: var(--on-accent); } }
.icons a:active { transform: scale(0.95); }
.foot__small { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; color: var(--muted); font-size: var(--step--1); }
.foot__small a { font-weight: 700; text-decoration: underline 1.5px; text-underline-offset: 0.3em; }

.wa-float { position: fixed; inset-inline-end: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2.4vw, 1.75rem); z-index: 30; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 2px solid var(--control); border-radius: 50%; background: var(--bg); color: var(--muted); transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.wa-float .i { width: 1.35rem; height: 1.35rem; }
@media (hover: hover) { .wa-float:hover { background: var(--wa); border-color: var(--wa); color: #FFFFFF; } }
.wa-float:active { transform: scale(0.94); }

.spark { position: fixed; z-index: 60; width: 6px; height: 15px; border-radius: 1px; background: var(--cursor); pointer-events: none; }

.soon { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; overflow-x: clip; }
.soon__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.soon__tools { display: flex; align-items: center; gap: 0.6rem; }
.soon__main { display: grid; align-content: center; justify-items: center; gap: 1rem; padding-block: 0.5rem 1.5rem; }
.soon__whisper { color: var(--muted); font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 500; line-height: 1.5; text-align: center; }
.idea { max-width: min(100%, 46rem); margin-top: 0.4rem; font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.75rem); font-weight: 900; line-height: 1.4; text-align: center; text-wrap: balance; }
[lang="en"] .idea { max-width: min(100%, 60rem); line-height: 1.2; letter-spacing: -0.02em; }
.idea__k { color: var(--accent-text); }
.idea__c { display: inline-block; width: 0.075em; height: 0.95em; margin-inline: 0.03em -0.105em; vertical-align: -0.2em; border-radius: 1px; background: var(--cursor); }
.idea__c.is-mid { margin-inline: 0.04em; }
.nf { gap: 1.2rem; text-align: center; }
.nf__code { font: 900 clamp(5rem, 2rem + 12vw, 11rem)/1.05 var(--font); }
.nf__code .caret { width: 0.07em; height: 0.78em; vertical-align: -0.02em; }
.nf__en { color: var(--muted); }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.8rem; }
.soon__foot { display: flex; justify-content: center; padding-block: 1.4rem 2rem; font-size: var(--step--1); }
.soon__foot a { color: var(--muted); text-decoration: none; letter-spacing: 0.02em; transition: color 160ms ease; }
@media (hover: hover) { .soon__foot a:hover { color: var(--ink); } }

.stage-box { --s: 0.6; position: relative; width: 100%; height: calc(600px * var(--s)); }
.stage { position: absolute; left: 50%; top: 0; width: 960px; height: 600px; transform-origin: 0 0; transform: translateX(calc(-480px * var(--s))) scale(var(--s)); }
.cam { position: absolute; inset: 0; transform-origin: 480px 300px; }
.morph { position: absolute; left: 480px; top: 300px; width: 14px; height: 132px; overflow: hidden; border-radius: 3px; background: var(--cursor); outline: 1px solid rgb(127 127 127 / 0.14); outline-offset: -1px; transform: translate(-50%, -50%); }
.m-layer { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; font-family: var(--font); line-height: 1.3; transform: translate(-50%, -50%); }
.m-btn { width: 236px; height: 72px; color: var(--on-accent); font-size: 22px; font-weight: 700; }
.m-load, .m-check { width: 84px; height: 84px; color: var(--on-accent); }
.m-load svg, .m-check svg { width: 48px; height: 48px; overflow: visible; }
.m-load .arc { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 88; transform-box: fill-box; transform-origin: center; }
.m-check .tick { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; }
.m-win { width: 600px; height: 380px; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.m-win__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; background: var(--surface-2); }
.m-win__bar > i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.m-win .url { flex: 1; min-height: 36px; margin-inline-start: 10px; padding: 8px 14px; border-radius: 9px; background: var(--bg); color: var(--muted); font-size: 16px; font-weight: 500; white-space: nowrap; }
.m-win .url b { color: var(--ink); }
.m-win__body { position: relative; flex: 1; display: grid; align-content: center; gap: 16px; padding-inline: 40px; }
.m-win [data-block] { display: block; }
.b-title { width: 50%; height: 34px; border-radius: 8px; background: var(--ink); }
.b-line { width: 44%; height: 12px; border-radius: 99px; background: var(--line-2); }
.b-line.short { width: 30%; }
.b-btn { width: 100px; height: 40px; margin-top: 8px; border-radius: 10px; background: var(--accent); }
.m-win .b-pic { position: absolute; inset-inline-end: 40px; top: 40px; bottom: 40px; width: 34%; border-radius: 14px; background: var(--tile); }
.m-toggle { width: 150px; height: 76px; }
.m-toggle .knob { position: absolute; left: 50%; top: 8px; width: 60px; height: 60px; border-radius: 30px; background: var(--ink); }
.m-tabs { width: 480px; height: 76px; gap: 58px; }
.m-tabs span { position: relative; z-index: 1; color: var(--ink); font-size: 22px; font-weight: 700; }
.m-tabs span.on { color: var(--on-accent); }
.m-tabs .ind { position: absolute; left: 50%; top: 9px; bottom: 9px; width: 0; border-radius: 30px; background: var(--accent); }
.m-lock { width: 150px; height: 124px; }
.keyhole { position: relative; width: 24px; height: 44px; margin-top: 10px; transform-origin: 12px 12px; }
.keyhole::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--on-accent); }
.keyhole::after { content: ""; position: absolute; left: 7px; top: 14px; width: 10px; height: 30px; border-radius: 4px; background: var(--on-accent); }
.shackle { position: absolute; left: 480px; top: 170px; width: 96px; height: 84px; overflow: visible; opacity: 0; }
.shackle path { fill: none; stroke: var(--accent); stroke-width: 13; stroke-linecap: round; }
.m-cmd { width: 600px; height: 84px; justify-content: flex-start; gap: 16px; padding-inline: 26px; color: var(--ink); }
.m-cmd > svg { width: 28px; height: 28px; flex: none; color: var(--muted); }
.m-cmd .word { font-size: 30px; font-weight: 900; white-space: pre; }
.m-cmd .caret { font-size: 30px; margin-inline-start: -10px; }
.m-cmd kbd { display: grid; place-items: center; min-width: 46px; height: 42px; margin-inline-start: auto; padding: 0 10px; border: 2px solid var(--control); border-radius: 10px; color: var(--muted); font: 700 20px var(--font); }
.m-cmd kbd svg { width: 22px; height: 22px; }
.m-cmd kbd.down { transform: translateY(2px); background: var(--surface-2); }
.m-toast { width: 300px; height: 64px; color: var(--bg); font-size: 21px; font-weight: 700; }
.arrow { position: absolute; left: 0; top: 0; width: 26px; height: 36px; overflow: visible; opacity: 0; transform-origin: 0 0; }
.arrow path { fill: #0B0B0B; stroke: #FFFFFF; stroke-width: 1.6; stroke-linejoin: round; }

.js [data-type]:not(.is-typed) { visibility: hidden; }
.js .ask__q { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .ask__step:not(.is-now) { display: none; }
.js .ask.is-done .cmd, .js .ask.is-done .ask__steps, .js .ask.is-done .ask__nav, .js .ask.is-done .ask__err--pick { display: none; }
.js .ticket { display: block; position: sticky; top: 6.5rem; padding: 1.3rem 1.5rem 1.4rem; border-radius: 18px; background: var(--surface); }

@media (prefers-reduced-motion: no-preference) {
  .caret, .cursor, .giant { animation: blink 1.06s steps(1) infinite; }
  .brand .cursor, rect.cursor, .giant { animation-iteration-count: 6; }
  .ticket .is-current dd:empty::before { animation: blink 1.06s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }

  .spine__mark { transition: transform 520ms cubic-bezier(0.34, 1.3, 0.64, 1); }
  .sh { filter: blur(3px); transition: opacity 240ms ease, transform 380ms var(--ease-out), filter 240ms ease; }
  .spine__mark[data-shape="start"] .sh--start, .spine__mark[data-shape="work"] .sh--work, .spine__mark[data-shape="about"] .sh--about, .spine__mark[data-shape="quote"] .sh--quote { filter: none; transition-delay: 120ms; }

  .js .viewer { clip-path: inset(6% calc(50% - clamp(0.75rem, 1.4vw, 1.25rem)) round 4px); transition: clip-path 1000ms var(--ease-in-out) 120ms; }
  .js .viewer__cursor { opacity: 1; transition: opacity 420ms ease 760ms; }
  .js .viewer:not(.is-open) .viewer__cursor { animation: blink 1.06s steps(1) infinite; }
  .js .viewer.is-open { clip-path: inset(0 round 16px); }
  .js .viewer.is-open .viewer__cursor { opacity: 0; }
  .js .viewer__shot { transition: opacity 280ms var(--ease-out), transform 420ms var(--ease-out), filter 280ms ease, visibility 0s linear 280ms; }
  .js .viewer__shot.is-now { transition-delay: 0s; }
  .js .viewer__shot:not(.is-now) { transform: scale(1.025); filter: blur(4px); }
  .js .proj { transition: opacity 220ms ease, visibility 0s linear 220ms; }
  .js .proj.is-now { transition-delay: 60ms, 0s; }


  .js .ask.is-moving .ask__step.is-now { animation: step-in 320ms var(--ease-out) both; }
  .js .ask.is-moving.is-back .ask__step.is-now { animation-name: step-back; }
  @keyframes step-in { from { opacity: 0; transform: translateX(calc(var(--fwd) * 32px)); filter: blur(3px); } }
  @keyframes step-back { from { opacity: 0; transform: translateX(calc(var(--fwd) * -32px)); filter: blur(3px); } }
  .ask__done:not([hidden]) { animation: rise-in 420ms var(--ease-out) both; }
  .ask__tick { animation: pop 520ms var(--ease-out) 80ms both; }
  .ticket dd.is-fresh { animation: fresh 700ms var(--ease-out); }
  @keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
  @keyframes pop { from { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } }
  @keyframes fresh { from { color: var(--accent-text); transform: translateX(calc(var(--fwd) * 8px)); } }
  .ask.is-shake .field, .ask.is-shake .is-now .chips { animation: shake 360ms var(--ease-out); }
  @keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  @supports (animation-timeline: view()) {
    .giant { animation: blink 1.06s steps(1) 6, widen linear both; animation-timeline: auto, view(); animation-range: normal, exit -10% exit 70%; transform-origin: 50% 50%; }
    .hero__hint { animation: hush linear both; animation-timeline: view(); animation-range: exit -30% exit 10%; }
    @keyframes widen { to { transform: scale(9, 0.55); border-radius: 10px; } }
    @keyframes hush { to { opacity: 0; } }
  }
}

@media (min-width: 900px) {
  .site { --rail: 2.75rem; }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .spine__link { position: relative; }
  .spine__label { position: absolute; inset-inline-end: calc(100% + 0.3rem); padding: 0.2em 0.65em; border-radius: 8px; background: var(--ink); color: var(--bg); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
  .spine__link:hover .spine__label, .spine__link:focus-visible .spine__label { opacity: 1; }
}
@media (min-width: 1280px) {
  .site { --rail: 6.5rem; }
}

@media (max-width: 1100px) {
  .quote__grid { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .ask, .ticket { grid-column: auto; }
  .js .ticket { position: static; max-width: 30rem; }
}

@media (max-width: 899px) {
  html { scroll-padding-top: 7.5rem; }
  .bar__in { min-height: 4rem; gap: 0.6rem; }
  .bar__cta { display: none; }
  .brand__logo { height: 2.1rem; }
  .spine { position: sticky; inset: 4rem auto auto; z-index: 19; transform: none; background: var(--bar-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .spine__list { display: flex; justify-content: space-between; gap: 0.25rem; width: min(100% - var(--margin) * 2, 1240px); margin-inline: auto; }
  .spine__link { gap: 0; padding-inline: 0.15rem; }
  .spine__dot { display: none; }
  .spine__mark { width: 100px; height: 3px; border-radius: 3px; background: var(--cursor); transform-origin: 0 0; transform: translate(var(--mx, 0px), var(--my, 0px)) scaleX(var(--mw, 0)); }
  .sh { display: none; }
  .spine:not(.is-ready) .spine__link[aria-current] { text-decoration: underline 3px var(--cursor); text-underline-offset: 0.5em; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 1rem; }
  .hero__text { grid-column: auto; }
  .hero__cursor { display: none; }
  .work__grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.4rem; }
  .work__side { display: contents; }
  .work__side .h2 { order: 1; }
  .viewer { order: 2; grid-column: auto; }
  .work__ctrl { order: 3; margin-top: 0.4rem; }
  .work__info { order: 4; }
  .thumbs { order: 5; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
  .about__head { grid-template-columns: minmax(0, 1fr); row-gap: 1.4rem; }
  .about__head > * { grid-column: auto; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; padding-top: 0; padding-inline-start: 2.8rem; }
  .path__track { inset: 0 auto 0 auto; inset-inline-start: 0; width: 8px; height: auto; }
  .js .path__fill { transform: scaleY(0); transform-origin: top; }
  .js[dir="ltr"] .path__fill { transform-origin: top; }
  .js .path__cursor { inset-inline-start: -11px; top: -7px; width: 30px; height: 14px; }
}

@media (max-width: 700px) {
  .hero__ctas .button { flex: 1 1 auto; }
  .channels__list { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr auto; }
  .foot__line { grid-column: 1 / -1; grid-row: 2; }
  .ask__send .button { flex: 1 1 100%; }
  .ask__fields { grid-template-columns: minmax(0, 1fr); }
  .ask__progress { order: -1; flex-basis: 100%; justify-content: flex-start; }
  .ask__track i { width: 1rem; }
  .ask__nav [data-next] { margin-inline-start: auto; }
  .chip span { min-height: 3.1rem; padding: 0 1.05em; }
  .cmd__key { display: none; }
}
