:root {
  --ink: #0a0b09;
  --ink-soft: #11130f;
  --paper: #ecece4;
  --paper-dim: #aaa9a0;
  --line: rgba(236, 236, 228, 0.16);
  --acid: #c8ff45;
  --header-height: 82px;
  --page-pad: clamp(22px, 4.8vw, 76px);
  --type-label: 13px;
  --type-small: 14px;
  --type-body: 16px;
  --type-display: clamp(42px, 4vw, 60px);
  --type-section: clamp(34px, 3.5vw, 52px);
  --type-case: clamp(25px, 2.35vw, 36px);
  --pointer-x: 0px;
  --pointer-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: var(--type-body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 14px;
  right: var(--page-pad);
  left: var(--page-pad);
  z-index: 50;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px 0 20px;
  background: rgba(10, 11, 9, 0.72);
  border: 1px solid rgba(236, 236, 228, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 11, 9, 0.94);
  border-color: rgba(236, 236, 228, 0.24);
}

.wordmark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.wordmark-mark {
  display: block;
  width: 33px;
  height: 24px;
  color: var(--paper);
}

.wordmark-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wordmark-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wordmark-mark circle {
  fill: var(--acid);
  stroke: var(--ink);
  stroke-width: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 14px;
}

.site-nav > a:not(.nav-cta) {
  color: rgba(236, 236, 228, 0.78);
  transition: color 160ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--paper);
}

.nav-cta {
  padding: 11px 17px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-cta:hover {
  background: var(--acid);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 0;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-height) + 50px) var(--page-pad) clamp(62px, 9vh, 105px);
  overflow: hidden;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/mayirice-hero.png") center / cover no-repeat;
  transform: scale(1.035) translate3d(calc(var(--pointer-x) * -0.012), calc(var(--pointer-y) * -0.012), 0);
  animation: hero-breathe 12s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.88) 0%, rgba(5, 6, 5, 0.58) 42%, rgba(5, 6, 5, 0.06) 75%),
    linear-gradient(0deg, rgba(5, 6, 5, 0.68) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 72vw);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--paper-dim);
  font: 600 var(--type-label)/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(200, 255, 69, 0.65);
}

.hero-brand {
  margin: clamp(22px, 4vh, 46px) 0 8px;
  color: var(--acid);
  font: 750 clamp(13px, 1.3vw, 18px)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.28em;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: var(--type-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.hero-copy {
  max-width: 490px;
  margin: 25px 0 0;
  color: rgba(236, 236, 228, 0.76);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button-primary {
  color: var(--ink);
  background: var(--acid);
}

.button-primary:hover {
  color: var(--paper);
  background: transparent;
  border-color: var(--paper);
  transform: translateY(-3px);
}

.text-link {
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(236, 236, 228, 0.5);
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--acid);
  border-color: var(--acid);
}

.hero-index {
  position: absolute;
  right: var(--page-pad);
  bottom: clamp(62px, 9vh, 105px);
  z-index: 2;
  display: grid;
  gap: 5px;
  text-align: right;
  font: 600 var(--type-label)/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index span:last-child {
  color: var(--paper-dim);
}

.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 750ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal:nth-child(2) { animation-delay: 100ms; }
.hero-reveal:nth-child(3) { animation-delay: 180ms; }
.hero-reveal:nth-child(4) { animation-delay: 260ms; }
.hero-reveal:nth-child(5) { animation-delay: 340ms; }

.section-pad {
  padding: clamp(100px, 14vw, 210px) var(--page-pad);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(500px, 2.1fr) minmax(220px, 0.8fr);
  gap: 5vw;
  align-items: start;
  background: var(--paper);
  color: var(--ink);
}

.manifesto .section-kicker,
.fit .section-kicker {
  color: #67675f;
}

.manifesto-copy {
  margin-top: -0.09em;
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.manifesto-copy p {
  margin: 0;
}

.manifesto-copy .accent-line {
  color: #758f21;
}

.manifesto-note {
  padding-top: 9px;
}

.manifesto-note span {
  font: 650 var(--type-label)/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.manifesto-note p {
  margin: 30px 0 0;
  color: #55564f;
  font-size: var(--type-body);
  line-height: 1.9;
}

.work {
  color: var(--paper);
  background: #0d0f0c;
}

.work-heading {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 110px);
}

.work-heading h2,
.faq-heading h2 {
  margin: 24px 0 0;
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.032em;
}

.work-note {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.work-note span {
  color: var(--acid);
  font: 600 var(--type-label)/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.work-note p {
  margin: 20px 0 0;
  color: var(--paper-dim);
  font-size: var(--type-body);
  line-height: 1.8;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 7vw, 100px) clamp(22px, 3vw, 46px);
}

.work-item-wide {
  grid-column: 1 / -1;
}

.work-visual {
  position: relative;
  min-height: clamp(330px, 36vw, 540px);
  overflow: hidden;
  background: #d8ff79;
}

.work-item:not(.work-item-wide) .work-visual {
  min-height: clamp(360px, 42vw, 570px);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 19px 0 16px;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  font: 600 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-meta span:first-child {
  color: var(--acid);
}

.work-item h3 {
  max-width: 860px;
  margin: 25px 0 0;
  font-size: var(--type-case);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.work-item p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--paper-dim);
  font-size: var(--type-body);
  line-height: 1.8;
}

.dashboard-demo {
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 90px);
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,0.75), transparent 24%),
    linear-gradient(135deg, #d5ff69, #a9d83f);
}

.demo-shell {
  width: min(920px, 88%);
  aspect-ratio: 16 / 8.7;
  display: grid;
  grid-template-columns: 19% 1fr;
  overflow: hidden;
  background: #f7f8f3;
  border: 1px solid rgba(10, 11, 9, 0.18);
  border-radius: 14px;
  box-shadow: 0 35px 80px rgba(10, 11, 9, 0.25);
  transform: perspective(1200px) rotateX(3deg) rotateY(-5deg);
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 24px 18px;
  background: #11130f;
}

.demo-sidebar i {
  width: 70%;
  height: 7px;
  background: rgba(236, 236, 228, 0.18);
  border-radius: 9px;
}

.demo-sidebar i:nth-child(3) { width: 88%; background: rgba(200,255,69,0.5); }
.demo-logo { width: 22px; height: 22px; margin-bottom: 20px; background: var(--acid); border-radius: 50%; }

.demo-main { padding: clamp(18px, 3vw, 38px); }
.demo-top { display: flex; justify-content: space-between; color: #151711; font-size: clamp(11px, 1.3vw, 18px); font-weight: 650; }
.demo-top b { padding: 6px 10px; color: #66685f; background: #ebece6; border-radius: 6px; font-size: 9px; }
.demo-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.demo-metrics i { height: clamp(48px, 6vw, 90px); background: #e8e9e3; border-radius: 8px; }
.demo-metrics i:first-child { background: #ddf99b; }
.demo-chart { position: relative; height: 42%; margin-top: 16px; overflow: hidden; background: #eeefe9; border-radius: 8px; }
.demo-chart::before,
.demo-chart::after { content: ""; position: absolute; inset: 25% 6% auto; height: 1px; background: #d1d3ca; box-shadow: 0 35px #d1d3ca, 0 70px #d1d3ca; }
.demo-chart span { position: absolute; left: 7%; right: 7%; top: 56%; height: 28%; border-top: 3px solid #7aa112; transform: skewY(-7deg); }

.miniapp-demo {
  background: linear-gradient(155deg, #f3efe4 0 42%, #d1ff68 42%);
}

.phone {
  position: absolute;
  top: 13%;
  width: 43%;
  height: 75%;
  padding: 15% 7% 8%;
  color: #151711;
  background: #fafbf7;
  border: 7px solid #161812;
  border-radius: 28px;
  box-shadow: 0 25px 55px rgba(10, 11, 9, 0.25);
}

.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 28%; height: 5px; background: #161812; border-radius: 8px; transform: translateX(-50%); }
.phone-back { left: 12%; transform: rotate(-8deg); opacity: 0.85; }
.phone-front { right: 11%; transform: rotate(5deg); }
.phone span { display: block; width: 28px; height: 28px; margin-bottom: 18px; background: #c8ff45; border-radius: 50%; }
.phone strong { display: block; margin-bottom: 25px; font-size: clamp(12px, 1.7vw, 22px); }
.phone i { display: block; height: 9%; margin: 10px 0; background: #e5e7de; border-radius: 7px; }
.phone button { position: absolute; right: 8%; bottom: 7%; left: 8%; padding: 10px 4px; color: var(--paper); background: #11130f; border: 0; border-radius: 6px; font-size: 9px; }

.ai-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: radial-gradient(circle at 50% 35%, #40511b, #10130c 48%, #080a07);
}

.ai-orbit { position: relative; width: 42%; aspect-ratio: 1; border: 1px solid rgba(200,255,69,0.35); border-radius: 50%; }
.ai-orbit::before,
.ai-orbit::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(236,236,228,0.18); border-radius: 50%; }
.ai-orbit::after { inset: 34%; background: var(--acid); border: 0; box-shadow: 0 0 50px rgba(200,255,69,0.45); }
.ai-orbit span,
.ai-orbit i { position: absolute; width: 8px; height: 8px; background: var(--paper); border-radius: 50%; }
.ai-orbit span { top: 4%; left: 48%; }
.ai-orbit i:nth-child(2) { right: 3%; bottom: 27%; }
.ai-orbit i:nth-child(3) { left: 9%; bottom: 16%; }
.ai-query,
.ai-answer { width: 65%; color: var(--paper); font-size: 11px; }
.ai-query { padding: 13px 16px; border: 1px solid rgba(236,236,228,0.2); border-radius: 999px; }
.ai-answer i { display: block; width: 90%; height: 5px; margin: 7px 0; background: rgba(236,236,228,0.23); border-radius: 5px; }
.ai-answer i:nth-child(2) { width: 72%; }
.ai-answer i:nth-child(3) { width: 45%; background: rgba(200,255,69,0.4); }

.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 25px;
  padding-top: 18px;
  color: var(--paper-dim);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.case-facts span {
  display: inline-flex;
  gap: 9px;
}

.case-facts b {
  color: var(--paper);
  font-weight: 600;
}

.commerce-demo {
  display: grid;
  place-items: center;
  padding: clamp(26px, 5vw, 76px);
  background: var(--acid);
}

.commerce-browser {
  width: min(1100px, 94%);
  overflow: hidden;
  color: #11130f;
  background: #f5f4ed;
  border: 1px solid rgba(10, 11, 9, 0.2);
  box-shadow: 0 28px 70px rgba(10, 11, 9, 0.3);
  transform: perspective(1200px) rotateX(2deg) rotateY(-3deg);
}

.commerce-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(10, 11, 9, 0.15);
  font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.commerce-bar > span { display: flex; gap: 5px; }
.commerce-bar i { width: 7px; height: 7px; background: #c5c5bd; border-radius: 50%; }
.commerce-bar em { justify-self: end; font-style: normal; }

.commerce-hero {
  position: relative;
  aspect-ratio: 16 / 7.6;
  overflow: hidden;
}

.commerce-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244,243,236,0.96) 0%, rgba(244,243,236,0.58) 32%, transparent 57%);
}

.commerce-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commerce-copy {
  position: absolute;
  top: 50%;
  left: 7%;
  z-index: 1;
  transform: translateY(-50%);
}

.commerce-copy small {
  display: block;
  margin-bottom: 18px;
  font: 650 clamp(9px, 0.8vw, 11px)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.commerce-copy strong {
  display: block;
  font-size: clamp(24px, 3.6vw, 52px);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.commerce-copy > span {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 650;
}

.booking-demo {
  background: linear-gradient(145deg, #ece8dc 0 54%, #bfef3f 54%);
}

.booking-phone,
.field-phone {
  position: absolute;
  width: 43%;
  height: 78%;
  overflow: hidden;
  color: #12130f;
  background: #faf9f3;
  border: 6px solid #11130f;
  border-radius: 30px;
  box-shadow: 0 28px 60px rgba(10, 11, 9, 0.28);
}

.booking-phone { padding: 42px 20px 20px; }
.booking-phone::before,
.field-phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 29%; height: 6px; background: #11130f; border-radius: 9px; transform: translateX(-50%); }
.booking-phone-back { top: 11%; left: 9%; transform: rotate(-7deg); }
.booking-phone-front { right: 8%; bottom: 9%; transform: rotate(5deg); }
.phone-status { position: absolute; top: 18px; right: 18px; left: 18px; display: flex; justify-content: space-between; font: 650 8px/1 ui-monospace, monospace; }
.booking-phone > strong { display: block; margin: 8px 0 18px; font-size: clamp(15px, 1.8vw, 24px); }
.booking-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; padding: 15px; color: #f4f4ed; background: #171914; border-radius: 10px; }
.booking-dates small { color: #a8aa9e; font-size: 8px; }
.booking-dates b { font-size: 11px; }
.booking-room { display: flex; gap: 11px; margin-top: 14px; }
.booking-room > i { width: 38%; aspect-ratio: 1.25; background: linear-gradient(135deg, #8d9d68, #d4d8c6); border-radius: 8px; }
.booking-room span { display: grid; align-content: center; gap: 6px; }
.booking-room b { font-size: 10px; }
.booking-room small { color: #787a71; font-size: 8px; }
.booking-phone-front > small { color: #6f7169; font-size: 9px; }
.booking-phone-front dl { display: grid; gap: 0; margin: 20px 0 0; }
.booking-phone-front dl > div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #dddcd4; font-size: 9px; }
.booking-phone-front dt { color: #777970; }
.booking-phone-front dd { margin: 0; font-weight: 650; }
.booking-phone-front button { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 5px; color: #11130f; background: var(--acid); border: 0; font-size: 9px; font-weight: 700; }

.field-app-demo {
  background: linear-gradient(145deg, #25291f, #0e100d 60%);
}

.field-phone { padding: 44px 18px 18px; }
.field-phone-left { top: 10%; left: 8%; transform: rotate(-5deg); }
.field-phone-right { right: 8%; bottom: 8%; color: var(--paper); background: #161914; transform: rotate(6deg); }
.field-phone > small { color: #777970; font-size: 9px; }
.field-phone > strong { display: block; margin-top: 8px; font-size: clamp(18px, 2.1vw, 28px); }
.field-progress { height: 5px; margin: 20px 0; overflow: hidden; background: #e1e2db; border-radius: 9px; }
.field-progress i { display: block; width: 58%; height: 100%; background: #90b51f; }
.field-phone ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.field-phone li { position: relative; display: grid; gap: 5px; padding: 12px; background: #eeeee8; border-radius: 8px; }
.field-phone li b { font-size: 10px; }
.field-phone li span { color: #777970; font-size: 8px; }
.field-phone li em { position: absolute; top: 11px; right: 10px; color: #718d18; font-size: 8px; font-style: normal; }
.scan-frame { position: absolute; inset: 25% 15% 31%; display: grid; place-items: center; border: 1px solid rgba(200,255,69,0.22); }
.scan-frame i { position: absolute; width: 25px; height: 25px; border-color: var(--acid); }
.scan-frame i:nth-child(1) { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.scan-frame i:nth-child(2) { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.scan-frame i:nth-child(3) { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.scan-frame i:nth-child(4) { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.scan-frame span { color: #a8aa9e; font-size: 8px; }
.field-phone-right > button { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 11px 4px; color: #11130f; background: var(--acid); border: 0; font-size: 9px; font-weight: 700; }

.ops-demo {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 70px);
  background: #e8e8df;
}

.ops-window {
  width: min(1100px, 94%);
  aspect-ratio: 16 / 8.2;
  display: grid;
  grid-template-columns: 20% 1fr;
  overflow: hidden;
  color: #141610;
  background: #f8f8f3;
  border: 1px solid #c8c9c1;
  box-shadow: 0 30px 70px rgba(10, 11, 9, 0.17);
  transform: perspective(1200px) rotateX(2deg) rotateY(3deg);
}

.ops-window aside { display: flex; flex-direction: column; gap: 4px; padding: 30px 20px; color: #adafa4; background: #11130f; font-size: clamp(9px, 0.85vw, 11px); }
.ops-window aside strong { margin-bottom: 30px; color: var(--paper); letter-spacing: 0.1em; }
.ops-window aside span { padding: 10px 12px; }
.ops-window aside .active { color: #11130f; background: var(--acid); }
.ops-window main { padding: clamp(18px, 3vw, 38px); }
.ops-head { display: flex; justify-content: space-between; align-items: end; }
.ops-head span { display: grid; gap: 6px; }
.ops-head small { color: #777970; font-size: 9px; }
.ops-head b { font-size: clamp(13px, 1.7vw, 23px); }
.ops-head button { padding: 8px 12px; background: transparent; border: 1px solid #d0d1c9; font-size: 9px; }
.ops-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 25px 0 14px; }
.ops-metrics > span { display: grid; gap: 7px; padding: 16px; background: #edeee8; }
.ops-metrics small { color: #777970; font-size: 8px; }
.ops-metrics b { font-size: clamp(13px, 1.5vw, 20px); }
.ops-metrics em { color: #719017; font-size: 8px; font-style: normal; }
.ops-table { padding: 18px; border: 1px solid #dedfd7; }
.ops-table > b { display: block; margin-bottom: 13px; font-size: 11px; }
.ops-table > div { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.7fr; gap: 8px; padding: 10px 0; border-top: 1px solid #dedfd7; color: #66685f; font-size: 8px; }
.ops-table em { color: #6f8f10; font-style: normal; text-align: right; }

.services {
  background: var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: clamp(70px, 10vw, 140px);
}

.section-heading h2,
.process h2,
.fit h2,
.contact h2 {
  margin: 24px 0 0;
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.032em;
}

.section-heading > p {
  margin: 0 0 7px;
  color: var(--paper-dim);
  font-size: var(--type-body);
  line-height: 1.85;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 0.32fr 1.05fr 1fr 40px;
  gap: 3vw;
  align-items: center;
  min-height: 152px;
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, padding 220ms ease, background 220ms ease;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--acid);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-row:hover {
  color: var(--ink);
  padding-inline: 18px;
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-number {
  font: 600 var(--type-label)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--paper-dim);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 470;
  letter-spacing: -0.025em;
}

.service-row p {
  max-width: 480px;
  margin: 0;
  color: var(--paper-dim);
  font-size: var(--type-body);
  line-height: 1.8;
}

.service-row:hover .service-number,
.service-row:hover p {
  color: rgba(10, 11, 9, 0.7);
}

.service-arrow {
  font-size: 24px;
  text-align: right;
}

.process {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 11vw;
  padding: clamp(100px, 14vw, 210px) var(--page-pad);
  background: #171914;
}

.process-sticky {
  position: sticky;
  top: calc(var(--header-height) + 60px);
  align-self: start;
}

.process-intro {
  max-width: 420px;
  margin: 36px 0 0;
  color: var(--paper-dim);
  font-size: 16px;
  line-height: 1.9;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-steps li {
  min-height: 280px;
  padding: 12px 0 90px;
  border-top: 1px solid var(--line);
}

.process-steps li > span {
  color: var(--acid);
  font: 600 var(--type-label)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
}

.process-steps h3 {
  margin: 42px 0 18px;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 470;
  letter-spacing: -0.03em;
}

.process-steps p {
  max-width: 440px;
  margin: 0;
  color: var(--paper-dim);
  font-size: var(--type-body);
  line-height: 1.8;
}

.fit {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 11vw;
  color: var(--ink);
  background: var(--paper);
}

.fit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  padding-top: 10px;
}

.fit-label {
  display: inline-block;
  color: #68850e;
  font: 650 var(--type-label)/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.fit-label.muted {
  color: #77776f;
}

.fit-columns ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(10, 11, 9, 0.17);
}

.fit-columns li {
  padding: 22px 0;
  color: #45463f;
  font-size: var(--type-body);
  line-height: 1.55;
  border-bottom: 1px solid rgba(10, 11, 9, 0.17);
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: 11vw;
  background: #12140f;
}

.faq-heading > p:last-child {
  max-width: 430px;
  margin: 30px 0 0;
  color: var(--paper-dim);
  font-size: var(--type-body);
  line-height: 1.85;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 28px 46px 28px 0;
  font-size: clamp(18px, 1.45vw, 21px);
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 50%; color: var(--acid); font-size: 24px; font-weight: 300; transform: translateY(-50%); transition: transform 180ms ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary span { color: var(--paper-dim); font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.faq-list details p { max-width: 620px; margin: -4px 0 0; padding: 0 46px 28px 40px; color: var(--paper-dim); font-size: var(--type-body); line-height: 1.85; }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 10vw;
  align-items: start;
  padding: clamp(110px, 12vw, 180px) var(--page-pad);
  overflow: hidden;
  background: #0a0b09;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  font-size: clamp(36px, 3.35vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--paper-dim);
  font-size: 16px;
  line-height: 1.8;
}

.contact .copy-button {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.contact-actions {
  position: relative;
  z-index: 1;
}

.copy-button {
  display: grid;
  gap: 5px;
  padding: 7px 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.copy-button > span:first-child {
  font-size: 15px;
}

.copy-status {
  color: var(--paper-dim);
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.brief-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  padding: clamp(26px, 4vw, 54px);
  color: var(--ink);
  background: var(--paper);
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(10, 11, 9, 0.17);
}

.form-heading > span {
  font-size: clamp(25px, 2.35vw, 34px);
  font-weight: 550;
  letter-spacing: -0.035em;
}

.form-heading p {
  max-width: 180px;
  margin: 0;
  color: #696a62;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.brief-form label {
  display: grid;
  gap: 9px;
}

.brief-form label > span {
  color: #55574f;
  font-size: 12px;
  font-weight: 650;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  padding: 13px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(10, 11, 9, 0.25);
  border-radius: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease;
}

.brief-form textarea { resize: vertical; }
.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus { border-color: #6f8f0a; }
.brief-form input::placeholder,
.brief-form textarea::placeholder { color: #8f9087; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  border-color: var(--ink);
}

.form-submit:hover {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.form-footnote {
  margin: -8px 0 0;
  color: #74766d;
  font-size: 11px;
  line-height: 1.6;
}

.contact-glow {
  position: absolute;
  right: -13vw;
  bottom: -35vw;
  width: 72vw;
  height: 72vw;
  border: 1px solid rgba(200, 255, 69, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(200, 255, 69, 0.08),
    0 0 110px rgba(200, 255, 69, 0.08);
  transform: translate3d(calc(var(--pointer-x) * 0.014), calc(var(--pointer-y) * 0.014), 0);
}

.contact-glow::before,
.contact-glow::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(236, 236, 228, 0.1);
  border-radius: 50%;
}

.contact-glow::after {
  inset: 24%;
  background: rgba(200, 255, 69, 0.03);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  align-items: start;
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(54px, 7vw, 90px) var(--page-pad);
  color: var(--paper-dim);
  background: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer .wordmark {
  color: var(--paper);
}

.site-footer p {
  margin: 0;
}

.footer-brand,
.footer-contact,
.footer-legal {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-brand .wordmark {
  margin-bottom: 14px;
}

.footer-company {
  color: var(--paper);
  font-size: 14px;
}

.footer-label {
  margin-bottom: 12px !important;
  color: var(--acid);
  font: 650 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
}

.footer-contact a,
.footer-legal a {
  width: fit-content;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.footer-contact a {
  font-size: clamp(15px, 1.35vw, 19px);
  letter-spacing: -0.015em;
}

.footer-contact a span,
.footer-legal a span {
  margin-left: 5px;
  color: var(--acid);
}

.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--acid);
  border-color: currentColor;
}

.footer-legal {
  justify-items: end;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-breathe {
  from { scale: 1; }
  to { scale: 1.025; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }

  .site-header {
    background: rgba(10, 11, 9, 0.94);
    backdrop-filter: none;
  }

  .menu-toggle { display: block; z-index: 2; }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 22px;
    background: rgba(10, 11, 9, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .hero-content { width: min(690px, 90vw); }
  .hero-index { display: none; }

  .manifesto,
  .process,
  .fit,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-header { right: 18px; left: 18px; }

  .manifesto-copy { margin-top: 12px; }
  .manifesto-note { max-width: 440px; margin-left: auto; }

  .process-sticky { position: static; }
  .process-steps { margin-top: 60px; }

  .fit-columns { padding-top: 45px; }
  .work-heading { grid-template-columns: 1fr; }
  .work-note { max-width: 430px; margin-left: auto; }
  .contact-intro { position: static; }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    right: 12px;
    left: 12px;
    height: 58px;
    padding-left: 16px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 46px;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 6, 5, 0.9) 0%, rgba(5, 6, 5, 0.48) 80%),
      linear-gradient(0deg, rgba(5, 6, 5, 0.86) 0%, rgba(5, 6, 5, 0.08) 65%);
  }

  .hero h1 {
    max-width: 320px;
    font-size: clamp(38px, 10.5vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }
  .hero-copy { max-width: 355px; }
  .hero-actions, .contact-actions { align-items: flex-start; flex-direction: column; gap: 20px; }

  .manifesto { gap: 38px; }
  .manifesto-note { margin-left: 0; }

  .work-grid { grid-template-columns: 1fr; }
  .work-item-wide { grid-column: auto; }
  .work-visual,
  .work-item:not(.work-item-wide) .work-visual { min-height: 360px; }
  .work-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .work-item h3 { font-size: 25px; }
  .demo-shell { width: 112%; transform: translateX(7%) rotate(-3deg); }
  .phone { width: 49%; }

  .section-heading { grid-template-columns: 1fr; gap: 35px; }
  .section-heading > p { max-width: 380px; }

  .service-row {
    grid-template-columns: 38px 1fr 25px;
    gap: 18px;
    min-height: 136px;
    padding: 28px 0;
  }

  .service-row p { grid-column: 2 / 4; }
  .service-row:hover { padding-inline: 10px; }

  .process-steps li { min-height: 245px; }
  .fit-columns { grid-template-columns: 1fr; gap: 55px; }

  .faq { gap: 55px; }
  .faq-list summary { gap: 16px; padding-block: 24px; }
  .faq-list details p { padding-left: 28px; }

  .contact { gap: 60px; padding-block: 100px; }
  .contact h2 {
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.028em;
  }
  .contact-glow { width: 110vw; height: 110vw; right: -45vw; bottom: -30vw; }
  .form-row { grid-template-columns: 1fr; }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 54px;
  }

  .footer-legal {
    justify-items: start;
    padding-top: 30px;
    text-align: left;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-reveal, .reveal { opacity: 1; transform: none; }
}
