
@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);
  --highlight: light-dark(#023047, #FFB703);
  --highlight-bg: light-dark(#FFB703, transparent);
  --highlight-pad: 0.14em;
  --band: light-dark(#023047, #FFB703);
  --on-band: light-dark(#F3F9FC, #022B42);
  --band-cursor: light-dark(#FFB703, #022B42);
  --band-button-hover: light-dark(#DCEAF1, #053A57);
  --tile: light-dark(#8ECAE6, #219EBC);
  --on-tile: light-dark(#023047, #022B42);
  --tile-cursor: light-dark(#FB8500, #FFB703);
  --link: light-dark(#0B6A86, #8ECAE6);
  --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);
  --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); }
.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); }
.service .h2::after { background: var(--band-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; }
.button:hover { background: var(--accent-hover); }
.button:active { transform: scale(0.97); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--control); }
.button--ghost:hover { background: var(--surface-2); border-color: var(--ink); }
.button--wa { background: var(--wa); color: var(--wa-ink); }
.button--wa:hover { background: #3BE07A; }
.button--ink { background: var(--on-band); color: var(--band); }
.button--ink:hover { background: var(--band-button-hover); }

.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: 1.5rem 2rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand__logo { height: 2.5rem; width: auto; display: block; }
.bar__nav { margin-inline-start: auto; }
.bar__in .theme { margin-inline-start: -1rem; }
.bar__nav ul { display: flex; gap: clamp(1rem, 2.6vw, 2.4rem); }
.bar__nav a { display: block; padding-block: 0.5rem; font-weight: 500; text-decoration: underline 2px transparent; text-underline-offset: 0.6em; transition: text-decoration-color 160ms ease, color 160ms ease; }
.bar__nav a:hover { text-decoration-color: var(--cursor); }
.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; }
.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); }

.win { overflow: hidden; border-radius: 18px; background: var(--surface); }
.win__bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.85rem 1rem; background: var(--surface-2); }
.win__bar > i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--line-2); }
.url { flex: 1; min-width: 0; margin-inline-start: 0.7rem; padding: 0.6rem 0.9rem; overflow: hidden; border-radius: 9px; background: var(--bg); color: var(--muted); font-size: 0.95rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap; text-overflow: ellipsis; }
.url b { color: var(--ink); font-weight: 700; }
.url .caret { width: 0.55em; height: 1.15em; vertical-align: -0.22em; margin-inline-start: 0.1em; }
.win__site { display: grid; gap: 1rem; align-content: center; min-height: 19rem; padding: clamp(1.6rem, 3.2vw, 2.75rem); }
.win__name { min-height: 1.25em; font: 900 clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem)/1.25 var(--font); overflow-wrap: anywhere; }
.win__line { display: block; width: 78%; height: 0.75rem; border-radius: 99px; background: var(--line); }
.win__line.short { width: 52%; }
.win__btn { justify-self: start; margin-top: 0.6rem; padding: 0.7em 1.4em; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 0.95rem; font-weight: 700; }
.win__tag { justify-self: start; padding: 0.2em 0.8em; border: 2px solid var(--accent-text); border-radius: 99px; color: var(--accent-text); font-size: var(--step--1); font-weight: 700; }
.win__idea { max-width: 34ch; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }

.hero { padding-block: clamp(2.5rem, 7vh, 5rem) var(--section); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; min-height: min(74vh, 46rem); }
.hero__text { grid-column: 1 / 8; }
.hero__win { grid-column: 8 / 13; }
.hero__title { font: 900 var(--step-4)/1.2 var(--font); }
.hero__title em { display: block; font-style: normal; color: var(--highlight); }
.hero__title em span { padding-inline: var(--highlight-pad); background: var(--highlight-bg); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:lang(en) .hero__title { font-size: clamp(2.05rem, 1rem + 4.4vw, 5.2rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero__lead { max-width: 40ch; margin-top: 1.6rem; text-wrap: pretty; color: var(--muted); font-size: var(--step-1); line-height: 1.75; }
:lang(en) .hero__lead { line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.4rem; }

.work { padding-block: 0 var(--section); }
.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.2rem, 4vw, 3.5rem) var(--gutter); }
.project:nth-child(4n + 1) { grid-column: 1 / 8; }
.project:nth-child(4n + 2) { grid-column: 8 / 13; }
.project:nth-child(4n + 3) { grid-column: 1 / 6; }
.project:nth-child(4n + 4) { grid-column: 6 / 13; }
.shot { overflow: hidden; border-radius: 16px; background: var(--surface); transition: transform 320ms var(--ease-out); }
.project:hover .shot { transform: translateY(-6px); }
.shot__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: var(--surface-2); direction: ltr; }
.shot__bar > i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-2); }
.shot__bar span { flex: 1; min-width: 0; margin-inline-start: 0.6rem; padding: 0.35rem 0.8rem; overflow: hidden; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 0.8rem; font-weight: 500; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; min-height: calc(0.8rem * 1.2 + 0.7rem); }
.project__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin-top: 1.1rem; }
.project__title { font-size: var(--step-1); font-weight: 900; }
.project__meta { color: var(--muted); }
.tag { padding: 0.15em 0.75em; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.project__link { color: var(--link); font-weight: 700; text-decoration: none; }
.project__link:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.mock { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; font-family: var(--font); line-height: 1.3; }
.project:nth-child(4n + 2) .mock, .project:nth-child(4n + 3) .mock { aspect-ratio: 9 / 8; }
.mock--shot { display: block; width: 100%; height: auto; object-fit: cover; object-position: top center; }
.mock__nav { display: flex; align-items: center; gap: 3.2cqi; padding: 4.5cqi 5.5cqi; font-size: 2.5cqi; font-weight: 500; }
.mock__nav b { margin-inline-end: auto; font-size: 3.2cqi; font-weight: 900; }
.mock__body { position: absolute; inset-inline-start: 5.5cqi; top: 24cqi; width: 48%; display: grid; gap: 2.4cqi; }
.mock__title { font-size: 7.6cqi; font-weight: 900; line-height: 1.2; }
.mock__body s { display: block; height: 1.7cqi; border-radius: 99px; background: currentColor; opacity: 0.16; }
.mock__body s.short { width: 68%; }
.mock__btn { justify-self: start; margin-top: 1.4cqi; padding: 1.5cqi 3.4cqi; font-size: 2.3cqi; font-weight: 700; }
.mock__pic { position: absolute; inset-inline-end: 5.5cqi; top: 21cqi; bottom: 6cqi; width: 36%; }
.mock__pic i { display: block; }
.project:nth-child(4n + 2) .mock__body, .project:nth-child(4n + 3) .mock__body { top: 20cqi; width: 70%; }
.project:nth-child(4n + 2) .mock__pic, .project:nth-child(4n + 3) .mock__pic { inset-inline: 5.5cqi; top: auto; bottom: 6cqi; width: auto; height: 38%; }

.mock--paper { background: #F3EEE4; color: #1D1A16; }
.mock--paper .mock__title { font-family: "Thmanyah Serif Display", serif; font-weight: 700; }
.mock--paper .mock__btn { border-radius: 99px; background: #B9472A; color: #FFFFFF; }
.mock--paper .mock__pic { overflow: hidden; border-radius: 3cqi; background: #E7DCC8; }
.mock--paper .sun { position: absolute; left: 50%; top: 22%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #B9472A; transform: translateX(-50%); }
.mock--paper .hill { position: absolute; inset: auto -10% -30% -10%; height: 62%; border-radius: 50% 50% 0 0; background: #D9C9AE; }
.mock--bold { background: #FF5B23; color: #120D0A; }
.mock--bold .mock__title { font-size: 9cqi; line-height: 1.05; letter-spacing: -0.02em; }
.mock--bold .mock__btn { background: #120D0A; color: #FF5B23; }
.mock--bold .mock__pic { display: grid; place-items: center; }
.mock--bold .disc { width: 100%; max-height: 100%; aspect-ratio: 1; border-radius: 50%; background: #120D0A; }
.mock--night { background: #0F1E3D; color: #EEF3FF; }
.mock--night .mock__btn { border-radius: 1.4cqi; background: #7CC4FF; color: #0F1E3D; }
.mock--night .mock__pic { display: grid; place-items: center; }
.mock--night .phone { display: grid; gap: 2cqi; align-content: start; width: 52%; height: 100%; padding: 6cqi 3cqi; border: 0.9cqi solid #2C4378; border-radius: 4cqi; }
.mock--night .phone i { height: 3cqi; border-radius: 1cqi; background: #2C4378; }
.mock--night .phone i:first-child { height: 9cqi; background: #7CC4FF; }
.mock--clean { background: #FFFFFF; color: #111111; }
.mock--clean .mock__btn { border-radius: 1cqi; background: #2B59FF; color: #FFFFFF; }
.mock--clean .mock__pic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqi; }
.mock--clean .mock__pic i { border-radius: 1.2cqi; background: #E9ECF2; }
.mock--clean .mock__pic i:nth-child(1) { background: #2B59FF; }
.mock--clean .mock__pic i:nth-child(5) { background: #FFB800; }

.service { padding-block: var(--section); background: var(--band); color: var(--on-band); }
.service ::selection { background: var(--on-band); color: var(--band); }
.service :focus-visible { outline-color: var(--on-band); }
.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.svc { display: grid; gap: 0.8rem; align-content: start; padding-top: 1.5rem; border-top: 3px solid var(--on-band); }
.svc__name { font: 900 var(--step-2)/1.25 var(--font); }
.svc p { max-width: 30ch; line-height: 1.7; }
.service__cta { margin-top: clamp(2.5rem, 5vw, 3.75rem); }

.about { padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.about__text { grid-column: 1 / 8; }
.about__lead { max-width: 38ch; text-wrap: pretty; margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.7; }
.about__more { max-width: 46ch; margin-top: 1rem; }
.facts { display: grid; gap: 0.9rem; margin-top: 2.4rem; }
.facts div { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: 1rem; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 700; }
.about__mark { grid-column: 8 / 13; display: grid; place-items: center; aspect-ratio: 1; border-radius: 24px; background: var(--tile); color: var(--on-tile); --logo-accent: var(--tile-cursor); }
.about__logo { width: 62%; height: auto; display: block; }

.contact { padding-block: 0 var(--section); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.ask { grid-column: 1 / 7; position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 22px; background: var(--surface); }
.ask__count { color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.ask__progress { display: flex; flex: 1; align-items: center; justify-content: center; gap: 0.8rem; }
.ask__track { display: flex; gap: 6px; width: min(9rem, 40%); }
.ask__track i { flex: 1; height: 6px; border-radius: 99px; background: var(--line-2); transition: background-color 260ms ease; }
.ask__track i.is-on { background: var(--accent); }
.ask__steps { display: grid; gap: 2.4rem; }
.ask__step { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.ask__q { display: block; 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.4em; 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); }
.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); }
.field { width: 100%; padding: 0.9rem 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:hover { border-color: var(--ink); }
.field:focus { outline: none; border-color: var(--focus); }
.field::placeholder { color: var(--placeholder); font-weight: 500; }
textarea.field { min-height: 7rem; resize: vertical; font-size: var(--step-0); font-weight: 500; line-height: 1.6; }
.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__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; align-items: center; gap: 1rem; margin-top: 2rem; }
.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; }
.ask__back:hover { color: var(--ink); }
.ask__done { display: grid; justify-items: start; gap: 0.9rem; }
.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); }

.preview { grid-column: 7 / 13; position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.preview__label { color: var(--muted); font-size: var(--step--1); }
.preview .win__site { min-height: 17rem; }
.bubble { padding: 1.1rem 1.3rem; border-radius: 18px; border-end-start-radius: 4px; background: var(--surface); }
.bubble__label { margin-bottom: 0.35rem; color: var(--muted); font-size: var(--step--1); }
.bubble__text { white-space: pre-line; font-weight: 500; overflow-wrap: anywhere; }

.channels { display: grid; gap: 1.2rem; margin-top: clamp(3rem, 6vw, 4.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); }
.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); }
.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, 2.4vw, 1.75rem); bottom: clamp(1rem, 2.4vw, 1.75rem); z-index: 30; display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--wa); color: #FFFFFF; outline: 3px solid var(--bg); transition: transform 160ms var(--ease-out); }
.wa-float .i { width: 1.9rem; height: 1.9rem; }
.wa-float:active { transform: scale(0.94); }
.wa-float__label { position: absolute; inset-inline-end: calc(100% + 0.7rem); padding: 0.45em 0.9em; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: var(--step--1); font-weight: 700; white-space: nowrap; opacity: 0; transform: translateX(calc(var(--fwd) * -6px)); pointer-events: none; transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label, .wa-float.is-peek .wa-float__label { opacity: 1; transform: none; }

.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; }
.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; }
.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__nav { display: flex; }
.js .ask__steps { gap: 0; }
.js .ask__step { grid-area: 1 / 1; }
.js .ask__step:not(.is-now) { visibility: hidden; opacity: 0; pointer-events: none; }
.js .ask.is-done .ask__steps, .js .ask.is-done .ask__nav { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .caret, .cursor { animation: blink 1.06s steps(1) infinite; }
  .brand .cursor, .about__mark .cursor { animation-iteration-count: 6; }
  @keyframes blink { 50% { opacity: 0; } }

  .js .ask__step { transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), filter 280ms var(--ease-out), visibility 0s linear 280ms; }
  .js .ask__step.is-now { transition-delay: 60ms, 60ms, 60ms, 0s; }
  .js .ask__step.is-after { transform: translateX(calc(var(--fwd) * 32px)); filter: blur(3px); }
  .js .ask__step.is-before { 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; }
  @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; } }
  .ask.is-shake .field { animation: shake 360ms var(--ease-out); }
  @keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
  .win__name [data-p-name] { transition: color 200ms ease; }

  .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; }
}

@media (max-width: 1100px) {
  .hero__grid, .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text, .hero__win, .about__text, .about__mark, .ask, .preview { grid-column: auto; }
  .hero__grid { min-height: 0; row-gap: 3rem; }
  .contact__grid { row-gap: 2rem; }
  .hero__win { max-width: 36rem; }
  .project:nth-child(n) { grid-column: span 6; }
  .project:nth-child(n) .mock { aspect-ratio: 4 / 3; }
  .project:nth-child(n) .mock__body { top: 22cqi; width: 50%; }
  .project:nth-child(n) .mock__pic { inset-inline: auto 5.5cqi; top: 21cqi; bottom: 6cqi; width: 36%; height: auto; }
  .about__mark { max-width: 22rem; aspect-ratio: 4 / 3; }
  .preview { position: static; max-width: 40rem; }
}

@media (max-width: 700px) {
  .bar__in { flex-wrap: wrap; row-gap: 0.2rem; min-height: 0; padding-block: 0.8rem 0.4rem; }
  .brand__logo { height: 2.1rem; }
  .bar__nav { order: 3; width: 100%; margin: 0; }
  .bar__nav ul { justify-content: space-between; gap: 0.5rem; }
  .bar__nav a { padding-block: 0.6rem; }
  .bar__in { column-gap: 0.6rem; }
  .bar__in > .brand { margin-inline-end: auto; }
  .bar__in .theme { margin-inline-start: 0; }
  .hero__ctas .button { flex: 1 1 auto; }
  .project:nth-child(n) { grid-column: 1 / -1; }
  .svc-list { grid-template-columns: 1fr; gap: 2rem; }
  .channels__list { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 0.1rem; }
  .foot__grid { grid-template-columns: 1fr auto; }
  .foot__line { grid-column: 1 / -1; grid-row: 2; }
  .ask__send .button { flex: 1 1 100%; }
}
