/* DS Innovation Labs. A quiet engineering studio, with room for an experiment. */
:root {
  --bg: oklch(96.6% 0.005 95);
  --paper: oklch(99% 0.003 95);
  --ink: oklch(23% 0.012 280);
  --text: var(--ink);
  --muted: oklch(49% 0.013 280);
  --line: oklch(86.5% 0.009 280);
  --accent: oklch(56% 0.2 34);
  --accent-hover: oklch(49% 0.18 34);
  --lilac: oklch(91% 0.023 285);
  --ink-2: oklch(27% 0.012 280);
  --muted-dark: oklch(74% 0.012 280);
  --line-dark: oklch(40% 0.012 280);
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --shell: 1360px;
  --sp: clamp(72px, 8vw, 120px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 3.7vw, 51px);
}
h3 {
  font-size: clamp(27px, 2.65vw, 37px);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
::selection {
  background: var(--accent);
  color: var(--paper);
}
.shell {
  max-width: var(--shell);
  margin: auto;
  padding-inline: clamp(24px, 4.4vw, 64px);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-stuck {
  border-color: var(--line);
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo {
  text-decoration: none;
}
.nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 42px;
}
.nav-list {
  display: flex;
  gap: 27px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 0 23px;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.btn span {
  font-size: 20px;
  font-weight: 400;
}
.btn-small {
  min-height: 42px;
  padding-inline: 19px;
  gap: 24px;
  background: var(--ink);
}
.btn-small:hover {
  background: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 6px;
  border-radius: 0;
}
.btn-ghost:hover {
  background: transparent;
  color: var(--accent);
}
.burger {
  display: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.burger span {
  display: block;
  background: var(--ink);
  height: 1px;
  margin: 5px 0;
  transition: transform 0.2s;
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}
.hero {
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 57px;
  padding-bottom: 58px;
  min-height: 650px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 30px;
}
.eyebrow-divider {
  margin-inline: 4px;
  color: var(--line);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
h1 {
  font-size: clamp(44px, 4.75vw, 68px);
  line-height: 1.09;
  max-width: 10.1em;
  margin-left: -3px;
  letter-spacing: -0.062em;
}
h1 > span {
  color: var(--accent);
}
.lede {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 49ch;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
}
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 525px;
  margin-right: -30px;
}
.scene-stage {
  position: absolute;
  inset: -25px -30px 15px -30px;
}
.scene-stage canvas,
.scene-fallback {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.scene-stage canvas {
  opacity: 0;
  transition: opacity 0.5s;
}
.scene-stage.is-ready canvas {
  opacity: 1;
}
.scene-stage.is-ready .scene-fallback {
  visibility: hidden;
}
.scene-grid {
  position: absolute;
  inset: 20px 0 50px;
  background-image: radial-gradient(
    oklch(70% 0.02 280 / 0.38) 0.8px,
    transparent 0.8px
  );
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse, black, transparent 70%);
}
.scene-coordinate {
  position: absolute;
  top: 12px;
  right: 32px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.scene-caption {
  position: absolute;
  bottom: 3px;
  left: 36px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  color: var(--muted);
  font-size: 11px;
}
.scene-caption > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.scene-caption i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 25px;
  position: relative;
}
.hero-bottom::before {
  content: "";
  position: absolute;
  left: clamp(24px, 4.4vw, 64px);
  right: clamp(24px, 4.4vw, 64px);
  top: 0;
  height: 1px;
  background: var(--line);
}
.hero-chips {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.hero-chips li {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-chips li::before {
  content: "+";
  font-size: 15px;
  color: var(--accent);
}
.scroll-cue {
  font-size: 11px;
  text-decoration: none;
  display: flex;
  gap: 24px;
  align-items: center;
}
.scroll-cue span {
  font-size: 20px;
}
.section {
  padding-block: var(--sp);
}
.section-tag {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}
.section-tag span {
  font-size: 10px;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
}
#about {
  padding-top: 90px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.about-heading h2 {
  max-width: 18ch;
}
.about-copy {
  font-size: 14px;
  color: var(--muted);
}
.about-copy p + p {
  margin-top: 18px;
}
.residency {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 35px;
  font-size: 12px;
  font-weight: 600;
}
.residency small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.residency-mark {
  display: grid;
  place-items: center;
  font-size: 31px;
  width: 45px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
}
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 32px 0 0;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
  counter-reset: benefit;
}
.check-list li {
  font-size: 12px;
  line-height: 1.7;
  padding-right: 15px;
}
.check-list li::before {
  counter-increment: benefit;
  content: "0" counter(benefit);
  display: block;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 13px;
}
.section-alt {
  background: var(--lilac);
}
.section-head {
  max-width: 760px;
  margin-bottom: 55px;
}
.section-title {
  max-width: 23ch;
}
.section-sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 60ch;
  margin-top: 20px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.row + .row {
  margin-top: 100px;
}
.row-copy {
  min-width: 0;
}
.row-copy h3 {
  max-width: 22ch;
  margin-bottom: 22px;
}
.row-copy > p:not(.kicker) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.kicker {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 19px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 13px;
}
.feature-list li {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.feature-list strong {
  color: var(--ink);
  font-weight: 600;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  margin-top: 27px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.link-arrow:hover {
  color: var(--accent);
}
#task-tracker .row-art {
  order: -1;
}
#accounting {
  padding-top: 80px;
  border-top: 1px solid oklch(80% 0.025 285);
}
.product-visual {
  min-width: 0;
  align-self: center;
  border-radius: 9px;
  padding: 24px 24px 20px;
  overflow: hidden;
}
.tracker-visual {
  background: oklch(27% 0.028 282);
  color: var(--paper);
}
.accounting-visual {
  background: oklch(84% 0.025 280);
  color: var(--ink);
}
.visual-caption,
.visual-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 9px;
}
.visual-caption {
  margin-bottom: 33px;
}
.visual-caption > span:first-child {
  font-size: 12px;
  font-weight: 600;
}
.visual-caption > span:last-child {
  opacity: 0.7;
}
.visual-bottom {
  margin-top: 28px;
  opacity: 0.8;
}
.ai-label {
  border: 1px solid oklch(70% 0.02 280 / 0.5);
  border-radius: 20px;
  padding: 3px 10px;
}
.product-window {
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 16px 30px oklch(15% 0.02 280 / 0.12);
  color: var(--ink);
  padding: 16px;
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
}
.accounting-visual .product-window {
  transform: perspective(1200px) rotateY(5deg) rotateX(3deg);
}
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.mini-brand {
  font-weight: 800;
  font-size: 15px;
}
.mini-brand > span {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}
.window-avatar {
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  background: var(--lilac);
  font-size: 8px;
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
  font-size: 13px;
  font-weight: 700;
}
.board-header small {
  color: var(--muted);
  margin-left: 6px;
}
.tiny-pill {
  font-size: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 6px;
  font-weight: 500;
}
.board-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.column-label {
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  white-space: nowrap;
}
.column-label > span {
  margin-left: auto;
  color: var(--muted);
}
.column-label > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}
.board-columns > div:nth-child(2) .column-label > i {
  background: var(--accent);
}
.board-columns > div:nth-child(3) .column-label > i {
  background: oklch(60% 0.09 160);
}
.ticket {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 84px;
  margin-bottom: 8px;
  background: var(--paper);
}
.ticket small {
  font-size: 6px;
  letter-spacing: 0.03em;
  color: var(--muted);
  display: block;
}
.ticket b {
  font-size: 9px;
  font-weight: 600;
  display: block;
  line-height: 1.55;
  margin: 6px 0 10px;
}
.ticket > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 6px;
  color: var(--muted);
}
.ticket i {
  font-style: normal;
  font-size: 6px;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  background: var(--lilac);
}
.active-ticket {
  background: oklch(95% 0.017 45);
  border-color: oklch(77% 0.08 40);
}
.assistant-note {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 11px 9px;
  border-radius: 5px;
  margin-top: 15px;
}
.assistant-symbol {
  color: var(--accent);
  font-size: 23px;
}
.assistant-note b {
  font-size: 10px;
  display: block;
  font-weight: 600;
}
.assistant-note div > span {
  display: block;
  font-size: 7px;
  color: var(--muted);
  margin-top: 3px;
}
.assistant-note > span:last-child {
  margin-left: auto;
  font-size: 17px;
}
.finance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 19px;
}
.finance-top small {
  font-size: 9px;
  color: var(--muted);
}
.finance-top strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.07em;
  font-weight: 600;
}
.finance-top strong > span {
  color: var(--muted);
}
.positive {
  font-size: 9px;
  color: oklch(41% 0.08 160);
  background: oklch(94% 0.025 160);
  border-radius: 3px;
  padding: 3px 6px;
}
.finance-chart {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 10px 5px 0;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 31px,
    var(--line) 32px,
    transparent 33px
  );
}
.finance-chart i {
  height: var(--bar);
  flex: 1;
  background: oklch(76% 0.07 285);
  border-radius: 3px 3px 0 0;
}
.finance-chart i:nth-last-child(-n + 4) {
  background: var(--accent);
}
.chart-dates {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: var(--muted);
  padding: 7px 0 12px;
}
.transaction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 8px;
}
.transaction > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.transaction i {
  font-size: 13px;
  background: var(--bg);
  padding: 1px 5px;
  font-style: normal;
}
.transaction > span:nth-child(2) {
  font-size: 7px;
  color: var(--muted);
}
.transaction > b {
  font-size: 9px;
  font-weight: 600;
}
#services .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 80px;
  align-items: end;
}
#services .section-tag {
  grid-column: 1/-1;
}
#services .section-sub {
  max-width: 42ch;
  margin: 0;
  padding-bottom: 4px;
}
.service {
  border-top: 1px solid var(--line);
}
.service:last-child {
  border-bottom: 1px solid var(--line);
}
.service summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  cursor: pointer;
}
.service summary::-webkit-details-marker {
  display: none;
}
.service-number {
  font-size: 11px;
  color: var(--muted);
  align-self: center;
}
.service h3 {
  font-size: clamp(24px, 2.4vw, 33px);
  letter-spacing: -0.045em;
  text-wrap: initial;
}
.service-toggle {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  flex: none;
}
.service-toggle::before,
.service-toggle::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 10px;
  width: 10px;
  height: 1px;
  background: var(--ink);
}
.service-toggle::after {
  transform: rotate(90deg);
}
.service[open] .service-toggle {
  background: var(--accent);
  border-color: var(--accent);
}
.service[open] .service-toggle::before {
  background: var(--paper);
}
.service[open] .service-toggle::after {
  display: none;
}
.service summary:hover h3 {
  color: var(--accent);
}
.service-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  padding: 0 0 38px 45px;
}
.service-description {
  font-size: 14px;
  color: var(--muted);
}
.service-features .feature-list {
  margin: 0;
}
.service-features .link-arrow {
  margin-top: 20px;
}
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .section-tag span {
  border-color: var(--line-dark);
  color: oklch(75% 0.14 40);
}
.section-dark .section-sub {
  color: var(--muted-dark);
}
#contacts .section-title {
  font-size: clamp(39px, 4.5vw, 62px);
  max-width: 18ch;
}
#contacts .row {
  gap: 85px;
  align-items: start;
}
.contact-card {
  padding: 0 0 25px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 29px;
}
.contact-label {
  font-size: 11px;
  color: var(--muted-dark);
  margin-bottom: 12px;
}
.contact-email {
  font-size: clamp(18px, 2.2vw, 29px);
  font-weight: 500;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.contact-email a {
  text-decoration: none;
}
.contact-email a:hover {
  color: oklch(75% 0.14 40);
}
.email-fallback {
  unicode-bidi: bidi-override;
  direction: rtl;
}
.legal {
  margin: 0;
  display: grid;
  gap: 18px;
}
.legal > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}
.legal dt {
  font-size: 11px;
  color: var(--muted-dark);
}
.legal dd {
  font-size: 12px;
  margin: 0;
}
.map-wrap {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.map {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: var(--ink-2);
  display: grid;
  place-items: center;
}
.map-fallback {
  font-size: 12px;
  color: var(--muted-dark);
}
.map.is-ready .map-fallback {
  display: none;
}
.map .maplibregl-map {
  position: absolute;
  inset: 0;
}
.map-links {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: var(--muted-dark);
}
.map-links a {
  text-decoration: none;
}
.map-links a:hover {
  color: var(--paper);
}
.map-pin {
  position: relative;
  width: 22px;
  height: 22px;
  border: 6px solid oklch(65% 0.2 35 / 0.25);
  border-radius: 50%;
  background: var(--accent);
  background-clip: padding-box;
}
.map .maplibregl-ctrl-attrib {
  font-size: 9px;
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
  padding-block: 34px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-brand .wordmark {
  font-size: 14px;
}
.footer-brand p {
  font-size: 10px;
  color: var(--muted-dark);
  margin-top: 15px;
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 11px;
}
.footer-nav a {
  text-decoration: none;
  color: var(--muted-dark);
}
.footer-nav a:hover {
  color: var(--paper);
}
.footer-copy {
  width: 100%;
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  font-size: 10px;
  color: var(--muted-dark);
}
/* Content stays visible if scripting or observers are unavailable. */
.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(15px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (min-width: 1500px) {
  .hero-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .hero-art {
    min-height: 570px;
  }
}
@media (max-width: 1100px) {
  .nav {
    gap: 24px;
  }
  .nav-list {
    gap: 18px;
  }
  .row {
    gap: 40px;
  }
  .about-layout {
    gap: 50px;
  }
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    min-height: 600px;
  }
  .hero-art {
    margin-right: -20px;
    min-height: 470px;
  }
  .scene-stage {
    inset: 0 -25px 20px -35px;
  }
  .eyebrow {
    font-size: 9px;
    gap: 6px;
  }
  .hero-chips {
    gap: 20px;
  }
  .product-visual {
    padding: 20px 16px;
  }
  .transaction > span:nth-child(2) {
    display: none;
  }
  .hero-actions {
    gap: 20px;
  }
  .btn {
    gap: 18px;
  }
  .hero-copy h1 {
    font-size: clamp(44px, 5.2vw, 57px);
  }
}
@media (max-width: 860px) {
  .header-inner {
    height: 78px;
  }
  .burger {
    display: block;
    margin-left: auto;
  }
  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px 30px 26px;
    display: none;
  }
  .nav.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
  }
  .nav-link.is-active::after {
    display: none;
  }
  .hero-inner {
    padding-top: 35px;
    padding-bottom: 35px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-copy h1 {
    font-size: clamp(47px, 8.2vw, 70px);
    max-width: 11em;
  }
  .lede {
    max-width: 54ch;
  }
  .eyebrow {
    font-size: 10px;
  }
  .hero-art {
    min-height: 470px;
    margin: 0;
    max-width: 620px;
    width: 100%;
    justify-self: center;
  }
  .scene-stage {
    inset: -25px 0 20px;
  }
  .scene-caption {
    left: 0;
    right: 0;
  }
  .scene-coordinate {
    right: 0;
    top: 0;
  }
  .hero-chips {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-bottom {
    gap: 20px;
  }
  .hero-chips li {
    font-size: 10px;
  }
  .scroll-cue {
    flex: none;
  }
  .about-layout {
    gap: 35px;
  }
  .about-heading h2 {
    font-size: 36px;
  }
  .check-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .row {
    gap: 40px;
    grid-template-columns: 1fr;
  }
  .product-visual {
    max-width: 590px;
    width: 100%;
    padding: 28px;
    margin: auto;
  }
  .row-copy h3 {
    max-width: 24ch;
  }
  .row-copy > p:not(.kicker) {
    max-width: 67ch;
  }
  .row-copy .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .row + .row {
    margin-top: 64px;
  }
  #accounting {
    padding-top: 55px;
  }
  #accounting .row-art {
    order: -1;
  }
  .visual-caption {
    margin-bottom: 32px;
  }
  .product-window {
    padding: 20px;
  }
  .ticket {
    min-height: 95px;
  }
  .ticket b {
    font-size: 11px;
  }
  .ticket small {
    font-size: 7px;
  }
  .ticket > span {
    font-size: 8px;
  }
  .column-label {
    font-size: 10px;
  }
  .assistant-note b {
    font-size: 12px;
  }
  .assistant-note div > span {
    font-size: 9px;
  }
  .finance-chart {
    height: 150px;
  }
  .transaction > span:nth-child(2) {
    display: block;
  }
  .transaction {
    font-size: 10px;
  }
  .service-body {
    gap: 35px;
    padding-left: 40px;
  }
  .service summary {
    gap: 24px;
  }
  .service h3 {
    font-size: 26px;
  }
  #services .section-head {
    gap: 0 30px;
    grid-template-columns: 1fr 1fr;
  }
  #contacts .row {
    gap: 40px;
  }
  .map {
    height: 330px;
  }
  .contact-email {
    font-size: 30px;
  }
  .legal > div {
    grid-template-columns: 160px 1fr;
  }
}
@media (max-width: 560px) {
  html {
    scroll-padding-top: 92px;
  }
  .wordmark {
    font-size: 15px;
  }
  .hero-inner {
    padding-top: 27px;
  }
  .eyebrow {
    font-size: 8px;
    gap: 5px;
    margin-bottom: 25px;
  }
  .eyebrow-divider {
    margin-inline: 0;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 10.5vw, 59px);
    max-width: 10.6em;
  }
  .lede {
    font-size: 13px;
    line-height: 1.85;
    margin-top: 23px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 25px;
  }
  .btn {
    font-size: 11px;
    min-height: 47px;
    padding-inline: 16px;
    gap: 16px;
  }
  .btn-ghost {
    padding: 0;
    gap: 19px;
  }
  .hero-art {
    min-height: 365px;
    margin-top: 13px;
  }
  .scene-stage {
    inset: -25px -20px 15px;
  }
  .scene-caption {
    font-size: 10px;
  }
  .scene-coordinate {
    font-size: 9px;
  }
  .hero-bottom {
    align-items: flex-start;
    padding-top: 21px;
    padding-bottom: 0;
  }
  .hero-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 23px;
  }
  .scroll-cue {
    font-size: 10px;
    gap: 10px;
  }
  .section-tag {
    margin-bottom: 27px;
  }
  #about {
    padding-top: 70px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-heading h2 {
    font-size: 36px;
    max-width: 19ch;
  }
  .residency {
    margin-top: 24px;
  }
  .about-copy {
    font-size: 13px;
  }
  .check-list {
    gap: 25px 22px;
    margin-top: 30px;
    padding-top: 25px;
  }
  .check-list li {
    font-size: 11px;
    padding: 0;
  }
  .check-list li::before {
    margin-bottom: 8px;
  }
  .section-head {
    margin-bottom: 35px;
  }
  .section-title {
    font-size: 36px;
  }
  .section-sub {
    font-size: 13px;
    margin-top: 16px;
  }
  .product-visual {
    padding: 20px 14px;
    border-radius: 6px;
  }
  .product-window {
    padding: 12px;
  }
  .visual-caption {
    font-size: 8px;
    margin-bottom: 24px;
  }
  .visual-caption > span:first-child {
    font-size: 11px;
  }
  .visual-bottom {
    font-size: 8px;
    margin-top: 20px;
  }
  .board-columns {
    gap: 6px;
  }
  .board-header {
    font-size: 12px;
  }
  .column-label {
    font-size: 7px;
  }
  .ticket {
    padding: 8px 6px;
    min-height: 80px;
  }
  .ticket b {
    font-size: 8px;
  }
  .ticket small {
    font-size: 5px;
  }
  .ticket > span {
    font-size: 6px;
  }
  .assistant-note {
    padding: 8px;
  }
  .assistant-note b {
    font-size: 9px;
  }
  .assistant-note div > span {
    font-size: 7px;
  }
  .row {
    gap: 30px;
  }
  .row-copy h3 {
    font-size: 31px;
    margin-bottom: 19px;
  }
  .row-copy > p:not(.kicker) {
    font-size: 13px;
  }
  .row-copy .feature-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .kicker {
    margin-bottom: 12px;
  }
  .finance-chart {
    height: 115px;
    gap: 5px;
  }
  .finance-top strong {
    font-size: 28px;
  }
  .transaction {
    font-size: 8px;
  }
  .transaction > span:nth-child(2) {
    font-size: 6px;
  }
  .transaction > b {
    font-size: 8px;
  }
  #services .section-head {
    display: block;
  }
  #services .section-sub {
    margin-top: 20px;
  }
  .service summary {
    gap: 15px;
    padding-block: 23px;
    align-items: flex-start;
  }
  .service-number {
    font-size: 9px;
    margin-top: 6px;
    align-self: flex-start;
  }
  .service h3 {
    font-size: 23px;
    line-height: 1.25;
    max-width: 20ch;
  }
  .service-toggle {
    width: 27px;
    height: 27px;
    margin-top: 1px;
  }
  .service-toggle::before,
  .service-toggle::after {
    top: 12px;
    left: 8px;
  }
  .service-body {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 0 0 30px 27px;
  }
  .service-description {
    font-size: 13px;
  }
  .feature-list li {
    font-size: 11px;
  }
  #contacts .section-title {
    font-size: 41px;
  }
  .contact-email {
    font-size: 22px;
  }
  .legal > div {
    grid-template-columns: 110px 1fr;
    gap: 12px;
  }
  .legal dd {
    font-size: 11px;
  }
  .legal dt {
    font-size: 10px;
  }
  .map {
    height: 270px;
  }
  .map-links {
    gap: 16px;
  }
  .footer-nav {
    gap: 20px;
  }
  .footer-copy {
    font-size: 9px;
  }
  .footer-inner {
    gap: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 860px) {
  .site-header:not(.has-menu-js) .header-inner {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    padding-block: 20px;
  }
  .site-header:not(.has-menu-js) .burger {
    display: none;
  }
  .site-header:not(.has-menu-js) .nav {
    position: static;
    display: flex;
    width: 100%;
    padding: 0;
    border: 0;
  }
  .site-header:not(.has-menu-js) .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
  .site-header:not(.has-menu-js) .nav-link {
    font-size: 12px;
  }
  .site-header:not(.has-menu-js) .nav-cta {
    display: none;
  }
}

/* Unified signature: square internal division, rounded outer silhouette. */
.wordmark {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}
.logo-symbol {
  display: grid;
  place-items: center;
  width: 49px;
  height: 46px;
  flex: none;
  color: var(--paper);
  background: var(--accent);
}
.logo-symbol svg {
  width: 40px;
  height: 34px;
}
.logo-name {
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.logo:hover .wordmark {
  border-color: var(--accent);
}
.footer-brand .wordmark {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: var(--paper);
}
.footer-brand .logo-symbol {
  width: 44px;
  height: 40px;
}
.footer-brand .logo-symbol svg {
  width: 35px;
}
.footer-brand .logo-name {
  padding-inline: 13px;
}
.scene-coordinate,
.section-tag > span,
.service-number,
.check-list li::before,
.kicker,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: 0.015em;
}
.scene-stage.is-ready {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.scene-stage.is-dragging {
  cursor: grabbing;
}
.scene-stage:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -20px;
  border-radius: 8px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.footer-bottom .footer-copy {
  width: auto;
  padding: 0;
  border: 0;
}
.kyrgyz-signature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}
.kyrgyz-label {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--muted-dark);
  font-size: 10px;
  transition: color 0.2s ease;
}
.kyrgyz-label:hover,
.kyrgyz-label:focus-visible,
.kyrgyz-label.is-lit {
  color: var(--paper);
}
.sun-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: oklch(78% 0.12 65);
  transition:
    background 0.25s,
    color 0.25s;
}
.kyrgyz-sun {
  width: 34px;
  height: 34px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.sun-rays {
  transform-origin: 32px 32px;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sun-button:hover,
.sun-button:focus-visible {
  background: oklch(78% 0.12 65 / 0.1);
  color: oklch(88% 0.14 80);
}
.sun-button:hover .kyrgyz-sun {
  transform: scale(1.12);
}
.sun-button:hover .sun-rays {
  transform: rotate(18deg);
}
.sun-button.is-lit .sun-rays {
  transform: rotate(198deg);
}
.sun-button:active .kyrgyz-sun {
  transform: scale(0.9);
}
.sun-greeting {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  white-space: nowrap;
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--muted-dark);
  font-size: 11px;
}
.sun-greeting > span {
  color: oklch(88% 0.14 80);
  margin-right: 5px;
}
@media (max-width: 560px) {
  .wordmark {
    font-size: 13px;
    border-radius: 7px;
  }
  .logo-symbol {
    width: 41px;
    height: 40px;
  }
  .logo-symbol svg {
    width: 35px;
    height: 30px;
  }
  .logo-name {
    padding-inline: 12px;
  }
  .header-inner {
    gap: 16px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 14px;
  }
  .sun-greeting {
    right: auto;
    left: 0;
  }
}
.residency-mark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.06em;
}
.scene-stage.pointer-focus:focus-visible {
  outline: none;
}
