/* ==========================================================================
   Pineappltech — 2026 redesign
   Design system + single-page experience
   See research/CREATIVE_DIRECTION.md for the underlying decisions.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #08140f;
  --ink-soft: #10231a;
  --ink-3: #173025;
  --paper: #f5f1e6;
  --paper-deep: #e9e2d0;
  --green: #17a34a;
  --green-deep: #0b6b35;
  --gold: #ffc70e;
  --lime: #c9f26b;
  --muted: #5c6a61;
  --muted-light: #a9b5ac;
  --line: rgba(8, 20, 15, 0.14);
  --line-strong: rgba(8, 20, 15, 0.28);
  --line-dark: rgba(245, 241, 230, 0.16);
  --line-dark-strong: rgba(245, 241, 230, 0.32);

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --speed-fast: 220ms;
  --speed: 420ms;
  --speed-slow: 850ms;

  --gutter: clamp(20px, 2.6vw, 40px);
  --max: 1440px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --section-pad: clamp(88px, 11vw, 168px);
  --radius: 4px;
  --radius-media: 8px;

  --step--1: clamp(0.78rem, 0.74rem + 0.15vw, 0.875rem);
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.2vw, 2.5rem);
  --step-3: clamp(2.3rem, 1.7rem + 2.6vw, 4rem);
  --step-4: clamp(3rem, 1.9rem + 4.8vw, 6.5rem);
  --step-5: clamp(4rem, 2.2rem + 8vw, 10rem);

  color-scheme: dark light;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

section[id],
#main {
  scroll-margin-top: 96px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform var(--speed-fast) var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-pad);
}

.mono-label,
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.section-label {
  color: var(--green-deep);
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.section-title {
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.section-title em {
  color: var(--green-deep);
  font-size: 1.04em;
}

.section-title--light {
  color: var(--paper);
}

.section-title--light em {
  color: var(--gold);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-head .section-label {
  grid-column: 1 / -1;
}

.section-intro {
  max-width: 42ch;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
  justify-self: end;
  align-self: end;
  padding-bottom: 0.4em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color var(--speed-fast) var(--ease-out), border-color var(--speed-fast) var(--ease-out);
}

.text-link .icon {
  transition: transform var(--speed-fast) var(--ease-out);
}

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

.text-link:hover .icon {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--paper);
  border-color: var(--line-dark-strong);
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--up {
  width: 15px;
  height: 15px;
}

/* ---------- Buttons ---------- */
.button {
  --btn-bg: var(--green);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background var(--speed-fast) var(--ease-out),
    color var(--speed-fast) var(--ease-out),
    border-color var(--speed-fast) var(--ease-out),
    transform var(--speed-fast) var(--ease-out);
}

.button .icon {
  transition: transform var(--speed-fast) var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover .icon {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  --btn-bg: var(--green);
  --btn-fg: var(--ink);
}

.button--primary:hover {
  --btn-bg: var(--gold);
}

.button--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
}

.button--gold:hover {
  --btn-bg: var(--paper);
}

.button--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: var(--line-dark-strong);
}

.button--ghost:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
}

.button--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: var(--line-dark-strong);
}

.button--ghost-light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
}

.button--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}

.button--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  border-color: var(--ink);
}

.button--compact {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.875rem;
}

.button--wide {
  width: 100%;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  color: var(--paper);
  transition: background var(--speed) var(--ease-out),
    color var(--speed) var(--ease-out),
    border-color var(--speed) var(--ease-out),
    transform 340ms var(--ease-out);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 241, 230, 0.92);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-hidden {
  transform: translateY(-102%);
}

body.menu-open .site-header {
  color: var(--paper);
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transform: translateY(1px);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
  margin-right: clamp(12px, 2vw, 32px);
}

.primary-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--speed-fast) var(--ease-out);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 6px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle__lines {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-toggle__lines i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform var(--speed-fast) var(--ease-out), opacity var(--speed-fast) var(--ease-out);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 600ms var(--ease-in-out), visibility 600ms;
}

.mobile-menu.is-open {
  transform: none;
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 120px var(--gutter) 40px;
}

.mobile-nav {
  display: grid;
  margin-top: auto;
  margin-bottom: auto;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mobile-nav a:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.mobile-nav span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.mobile-menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mobile-menu__meta {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--muted-light);
}

.mobile-menu__meta a:hover {
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: 118px;
  padding-bottom: 24px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(to right, rgba(245, 241, 230, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 230, 0.065) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 25%, transparent 78%);
  opacity: 0.9;
}

.hero__glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 68vw;
  height: 68vw;
  max-width: 980px;
  max-height: 980px;
  background: radial-gradient(circle, rgba(255, 199, 14, 0.22) 0%, rgba(255, 199, 14, 0.06) 38%, transparent 68%);
  filter: blur(8px);
}

.hero__ring {
  position: absolute;
  top: 8%;
  right: 2%;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 199, 14, 0.22);
  border-radius: 50%;
}

.hero__ring::before,
.hero__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 230, 0.08);
}

.hero__ring::before {
  inset: 12%;
}

.hero__ring::after {
  inset: 26%;
  border-color: rgba(255, 199, 14, 0.1);
}

.hero__cross {
  position: absolute;
  width: 13px;
  height: 13px;
  opacity: 0.45;
}

.hero__cross::before,
.hero__cross::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.hero__cross::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.hero__cross::after {
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
}

.hero__cross--a {
  top: 22%;
  left: 7%;
}

.hero__cross--b {
  bottom: 20%;
  left: 42%;
}

.hero__cross--c {
  top: 30%;
  right: 5%;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  flex: 1;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hero__title {
  font-size: clamp(3rem, 6.05vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin-left: -0.045em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero__title .line > span {
  display: block;
  will-change: transform;
}

.hero__title em {
  color: var(--gold);
  font-size: 1.06em;
  padding-right: 0.04em;
}

.js .hero__title .line > span {
  transform: translateY(108%);
  transition: transform 1100ms var(--ease-out);
}

.js .hero__title .line:nth-child(2) > span {
  transition-delay: 90ms;
}

.js .hero__title .line:nth-child(3) > span {
  transition-delay: 180ms;
}

.js .hero.is-ready .hero__title .line > span {
  transform: none;
}

.hero__lead {
  max-width: 46ch;
  margin-top: clamp(24px, 3vw, 36px);
  color: #c7d2c9;
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 46px);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__meta li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--green);
  transform: rotate(45deg);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 320ms var(--ease-out);
  will-change: transform;
}

.build-panel {
  position: relative;
  width: min(100%, 430px);
  padding: 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 10px;
  background: linear-gradient(160deg, #122b1f 0%, #0d2017 55%, #0a1a12 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(245, 241, 230, 0.08);
  transform: translate3d(0, var(--py, 0), 0) rotate(1.2deg);
}

.js .hero .build-panel {
  opacity: 0;
  transform: translate3d(0, 40px, 0) rotate(4deg) scale(0.98);
  transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out) 120ms;
}

.js .hero.is-ready .build-panel {
  opacity: 1;
  transform: translate3d(0, var(--py, 0), 0) rotate(1.2deg) scale(1);
}

.build-panel__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.build-panel__dots {
  display: flex;
  gap: 4px;
}

.build-panel__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-dark-strong);
}

.build-panel__dots i:first-child {
  background: var(--gold);
}

.build-panel__label {
  margin-right: auto;
}

.build-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
}

.build-panel__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 163, 74, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.build-panel__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 28px 18px 50px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 230, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(to right, rgba(245, 241, 230, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 230, 0.035) 1px, transparent 1px),
    rgba(8, 20, 15, 0.5);
  background-size: 36px 36px;
}

.build-panel__logo {
  position: relative;
  z-index: 2;
  width: 50%;
  max-width: 180px;
  padding: 12px 9px;
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(-2.5deg);
}

.build-panel__logo img {
  width: 100%;
  height: auto;
}

.facet {
  position: absolute;
  display: block;
  border-radius: 2px;
  transform: rotate(12deg);
}

.facet--gold {
  top: 16%;
  left: 8%;
  width: 82px;
  height: 82px;
  background: var(--gold);
  opacity: 0.9;
  transform: rotate(18deg);
}

.facet--lime {
  right: 7%;
  bottom: 12%;
  width: 52px;
  height: 52px;
  background: var(--lime);
  opacity: 0.85;
  transform: rotate(-14deg);
}

.build-panel__code {
  position: absolute;
  right: 16px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  gap: 2px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 230, 0.55);
}

.build-panel__code i {
  color: var(--green);
  font-style: normal;
}

.build-panel__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px 2px 118px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.seal {
  position: absolute;
  left: -26px;
  bottom: -24px;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-dark-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.seal__ring {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  color: var(--gold);
  animation: spin 28s linear infinite;
}

.seal__ring text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  fill: currentColor;
  text-transform: uppercase;
}

.seal__mark {
  width: 34px;
  height: 34px;
  color: var(--lime);
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 5vh, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.scroll-cue__line {
  position: relative;
  width: 44px;
  height: 1px;
  background: var(--line-dark-strong);
  overflow: hidden;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scroll-line 2.8s var(--ease-in-out) infinite;
}

.scroll-cue:hover {
  color: var(--paper);
}

.hero__foot-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.hero__foot-meta span {
  margin-inline: 10px;
  color: var(--green);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  45%, 100% { transform: translateX(100%); }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 17px 0 15px;
  background: var(--gold);
  color: var(--ink);
  border-block: 1px solid rgba(8, 20, 15, 0.18);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

/* Margin rather than gap, so translating by exactly -50% lands on a seam. */
.marquee__track > * {
  margin-right: 34px;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.diamond {
  width: 11px;
  height: 11px;
  background: var(--ink);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Reveal system ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--speed-slow) var(--ease-out),
    transform var(--speed-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}

.manifesto__aside {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 28px;
  max-width: 280px;
}

.manifesto__note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.manifesto__lead {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.04em;
  max-width: 21ch;
}

.manifesto__lead .word {
  transition: color 240ms linear;
}

.manifesto__lead.is-highlight-ready .word {
  color: #b9b4a5;
}

.manifesto__lead.is-highlight-ready .word.is-lit {
  color: var(--ink);
}

.manifesto__sub {
  max-width: 52ch;
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

.principles {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.principle__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  padding-top: 7px;
}

.principle h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.principle p {
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- Services ---------- */
.services {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}

.services__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--section-pad);
}

.services__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.services__head-right {
  display: grid;
  gap: 16px;
  justify-self: end;
  max-width: 46ch;
  color: #b9c4bb;
  font-size: 0.98rem;
}

.services__intro {
  line-height: 1.6;
}

.services__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lime);
}

.services__hint span {
  display: inline-block;
  transition: transform var(--speed-fast) var(--ease-out);
}

.services__hint:hover span {
  transform: translateX(4px);
}

.services__stage {
  position: relative;
  overflow: hidden;
}

.services__track {
  display: grid;
  gap: 0;
  padding-inline: var(--edge);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line-dark);
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.service__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 4px 10px;
}

.service__body h3 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
  margin-bottom: 16px;
}

.service__body p {
  color: #b9c4bb;
  max-width: 40ch;
  font-size: 0.98rem;
}

.service__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.service__list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.service__list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--green);
  transform: rotate(45deg);
}

.service__visual {
  margin-top: auto;
  padding-top: 16px;
  color: var(--paper);
}

.diagram {
  width: 100%;
  max-width: 330px;
  height: auto;
}

.d-stroke { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: 0.85; }
.d-stroke-soft { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.3; }
.d-stroke-gold { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.d-fill { fill: currentColor; opacity: 0.6; }
.d-fill-soft { fill: currentColor; opacity: 0.16; }
.d-fill-gold { fill: var(--gold); opacity: 0.9; }

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark-strong);
  padding-bottom: 3px;
  transition: color var(--speed-fast) var(--ease-out), border-color var(--speed-fast) var(--ease-out);
}

.service__link .icon {
  transition: transform var(--speed-fast) var(--ease-out);
}

.service__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.service__link:hover .icon {
  transform: translateX(4px);
}

.services__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.services__progress {
  display: flex;
  align-items: center;
  gap: 16px;
}

.services__progress-bar {
  display: block;
  width: clamp(120px, 16vw, 220px);
  height: 2px;
  background: var(--line-dark-strong);
  overflow: hidden;
}

.services__progress-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0.16);
  transform-origin: 0 50%;
  transition: transform 120ms linear;
}

.services__progress-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.services__progress-label b {
  color: var(--paper);
  font-weight: 500;
}

.services__micro {
  font-size: 0.9rem;
  color: var(--muted-light);
}

/* Horizontal, JS-enhanced desktop layout */
.services.is-horizontal {
  overflow: visible;
}

.services.is-horizontal .services__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  padding-block: 100px 36px;
  justify-content: flex-start;
  overflow: hidden;
}

.services.is-horizontal .services__head {
  flex: 0 0 auto;
  margin-bottom: clamp(24px, 3.5vh, 42px);
}

.services.is-horizontal .services__stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 0;
}

.services.is-horizontal .services__track {
  display: flex;
  padding-left: var(--edge);
  padding-right: var(--edge);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.services.is-horizontal .service {
  position: relative;
  flex: 0 0 clamp(380px, 44vw, 660px);
  min-height: min(48vh, 440px);
  padding: 28px 34px 30px;
  border-top: 0;
  border-left: 1px solid var(--line-dark);
}

.services.is-horizontal .service__top,
.services.is-horizontal .service__body,
.services.is-horizontal .service__link {
  position: relative;
  z-index: 2;
}

.services.is-horizontal .service__visual {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  width: min(48%, 250px);
  margin: 0;
  padding: 0;
  opacity: 0.45;
  pointer-events: none;
}

.services.is-horizontal .service:last-child {
  border-right: 1px solid var(--line-dark);
}

.services.is-horizontal .service__body h3 {
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
}

.services.is-horizontal .services__foot {
  flex: 0 0 auto;
  margin-top: clamp(18px, 3vh, 32px);
  padding-top: 16px;
}

@media (max-height: 780px) and (min-width: 900px) {
  .services.is-horizontal .services__pin {
    padding-block: 100px 24px;
  }

  .services.is-horizontal .service__visual {
    display: none;
  }

  .services.is-horizontal .service {
    min-height: min(50vh, 420px);
  }

  .services.is-horizontal .service__body h3 {
    font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  }
}

/* ---------- Builds ---------- */
.builds {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.builds__list {
  border-top: 1px solid var(--line-strong);
}

.build-row {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 250px 56px;
  gap: clamp(16px, 3vw, 44px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--speed) var(--ease-out);
}

.build-row:hover {
  background: rgba(8, 20, 15, 0.025);
}

.build-row__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  align-self: start;
  padding-top: 9px;
}

.build-row__main h3 {
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 18ch;
  margin-bottom: 12px;
  transition: color var(--speed-fast) var(--ease-out);
}

.build-row:hover .build-row__main h3 {
  color: var(--green-deep);
}

.build-row__main p {
  color: var(--muted);
  max-width: 54ch;
  font-size: 0.98rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list li {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
}

.build-row__visual {
  width: 100%;
  max-width: 220px;
  justify-self: end;
  color: var(--ink);
  opacity: 0.85;
  transition: transform var(--speed) var(--ease-out), opacity var(--speed) var(--ease-out);
}

.build-row:hover .build-row__visual {
  transform: translateY(-4px) rotate(-1deg);
  opacity: 1;
}

.build-row__link {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background var(--speed-fast) var(--ease-out), color var(--speed-fast) var(--ease-out), border-color var(--speed-fast) var(--ease-out);
}

.build-row__link .icon {
  transition: transform var(--speed-fast) var(--ease-out);
}

.build-row:hover .build-row__link {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.build-row:hover .build-row__link .icon {
  transform: rotate(-45deg);
}

.builds__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}

.builds__cta p {
  font-size: var(--step-1);
  font-weight: 500;
}

/* ---------- Proof ---------- */
.proof {
  background: var(--gold);
  color: var(--ink);
  padding-block: clamp(64px, 8vw, 110px);
  border-bottom: 1px solid rgba(8, 20, 15, 0.2);
}

.proof__head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.proof .section-label {
  color: var(--ink);
}

.proof__title {
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  max-width: 20ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(8, 20, 15, 0.3);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  padding: clamp(20px, 3vw, 34px) 20px clamp(20px, 3vw, 34px) 0;
  border-right: 1px solid rgba(8, 20, 15, 0.22);
}

.stat:last-child {
  border-right: 0;
}

.stat dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.stat dd {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.6vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.stat dd sup {
  font-size: 0.38em;
  line-height: 1;
  margin-top: 0.2em;
  margin-left: 0.04em;
  letter-spacing: 0;
}

.proof__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 48px);
  font-size: 0.9rem;
}

.proof__foot p {
  opacity: 0.68;
}

.proof__foot .text-link {
  border-color: rgba(8, 20, 15, 0.4);
}

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

/* ---------- Studio ---------- */
.studio {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.studio::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(23, 163, 74, 0.16), transparent 66%);
  pointer-events: none;
}

.studio__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.studio__copy .section-title {
  margin-top: 18px;
  margin-bottom: 26px;
}

.studio__lead {
  color: #c7d2c9;
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 48ch;
}

.studio__copy > p:not(.section-label):not(.studio__lead) {
  color: var(--muted-light);
  margin-top: 16px;
  max-width: 48ch;
}

.studio__facts {
  display: grid;
  gap: 0;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line-dark);
}

.studio__facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem;
}

.studio__facts span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding-top: 3px;
}

.studio__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}

.video-card {
  position: relative;
}

.video-card__button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-media);
  background: var(--ink-soft);
  text-align: left;
  color: var(--paper);
  aspect-ratio: 16 / 9;
}

.video-card__button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.78);
  transition: transform 1200ms var(--ease-out), filter var(--speed) var(--ease-out);
}

.video-card__button:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.02) brightness(0.72);
}

.video-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 15, 0.35) 0%, transparent 35%, rgba(8, 20, 15, 0.75) 100%);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform var(--speed) var(--ease-out), background var(--speed-fast) var(--ease-out);
}

.video-card__play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 4px;
}

.video-card__button:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--paper);
}

.video-card__meta {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-transform: uppercase;
}

.video-card figcaption {
  margin-top: 14px;
  color: var(--muted-light);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- Process ---------- */
.process {
  background: var(--paper);
}

.process__head {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}

.process__rail {
  position: sticky;
  top: 140px;
  padding-top: 18px;
}

.process__rail .mono-label {
  color: var(--muted);
}

.process__big {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.82;
  margin-block: 16px 10px;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

.process__name {
  font-size: var(--step-1);
  font-weight: 500;
  margin-bottom: 22px;
}

.process__meter {
  height: 2px;
  width: 100%;
  max-width: 230px;
  background: var(--line);
  overflow: hidden;
}

.process__meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green-deep);
  transform: scaleX(0.166);
  transform-origin: 0 50%;
  transition: transform 500ms var(--ease-out);
}

.process__count {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.process__steps {
  border-top: 1px solid var(--line-strong);
}

.step {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity var(--speed) var(--ease-out);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 5px;
  transition: color var(--speed) var(--ease-out);
}

.step.is-active .step__num {
  color: var(--green-deep);
}

.step__body h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-block: 8px 12px;
}

.step__body > p:not(.mono-label):not(.step__outcome) {
  color: var(--muted);
  max-width: 56ch;
}

.step__outcome {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.step__outcome span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-right: 10px;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact__glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(23, 163, 74, 0.2) 0%, transparent 65%);
}

.contact__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245, 241, 230, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 230, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.contact__grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact__title {
  font-size: clamp(3rem, 6.6vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin-top: 18px;
}

.contact__title em {
  color: var(--gold);
  font-size: 1.05em;
}

.contact__lead {
  max-width: 44ch;
  margin-top: 26px;
  color: #c7d2c9;
  font-size: var(--step-1);
  line-height: 1.5;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-dark);
  max-width: 440px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 241, 230, 0.06);
  color: var(--lime);
  flex: 0 0 auto;
}

.contact-list__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list__body {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.contact-list__body > span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.contact-list__body a,
.contact-list__body p {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.contact-list__body a {
  transition: color var(--speed-fast) var(--ease-out);
}

.contact-list__body a:hover {
  color: var(--gold);
}

.contact__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: clamp(28px, 4vw, 40px);
}

.contact__social .mono-label {
  color: var(--muted-light);
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: color var(--speed-fast) var(--ease-out), border-color var(--speed-fast) var(--ease-out);
}

.contact__social a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.contact__form-wrap {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.55);
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-head .mono-label {
  color: var(--green-deep);
}

.form-head__note {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field label span {
  color: var(--green-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #fbf9f2;
  border: 1px solid rgba(8, 20, 15, 0.4);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--speed-fast) var(--ease-out), background var(--speed-fast) var(--ease-out);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b948d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 163, 74, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
}

.field__error {
  min-height: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #b3261e;
}

.field__error:empty {
  display: none;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 42px;
}

.select-wrap .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-note {
  margin-top: 12px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--green-deep);
  font-weight: 500;
}

.form-status.is-error {
  color: #b3261e;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.footer__wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.85;
  white-space: nowrap;
}

.footer__wordmark span {
  color: var(--gold);
}

.footer__brand p {
  margin-top: 18px;
  color: var(--muted-light);
  max-width: 30ch;
  font-size: 0.95rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.footer__col ul {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted-light);
}

.footer__col a {
  transition: color var(--speed-fast) var(--ease-out);
}

.footer__col a:hover {
  color: var(--paper);
}

.footer__time {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.footer__time span {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.footer__coords {
  opacity: 0.6;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
}

.footer__top-link .icon {
  width: 15px;
  height: 15px;
  transition: transform var(--speed-fast) var(--ease-out);
}

.footer__top-link:hover .icon {
  transform: translateY(-3px);
}

/* ---------- Video dialog ---------- */
.video-dialog {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-media);
  background: var(--ink-soft);
  color: var(--paper);
  overflow: hidden;
}

.video-dialog::backdrop {
  background: rgba(4, 10, 7, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.video-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
}

.video-dialog__bar h2 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
}

.video-dialog__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  color: var(--paper);
  transition: background var(--speed-fast) var(--ease-out), color var(--speed-fast) var(--ease-out);
}

.video-dialog__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.video-dialog__close:hover {
  background: var(--paper);
  color: var(--ink);
}

.video-dialog__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-dialog__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-dialog__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: var(--muted-light);
  font-size: 0.8rem;
}

.video-dialog__caption span {
  font-family: var(--font-mono);
  font-size: 10px;
}

@media (max-width: 640px) {
  .video-dialog__caption {
    display: block;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero__title {
    font-size: clamp(3rem, 7.8vw, 6.4rem);
  }

  .hero__visual {
    min-height: 460px;
  }

  .build-panel {
    width: min(100%, 380px);
  }

  .build-panel__stage {
    min-height: 320px;
  }

  .seal {
    width: 112px;
    height: 112px;
    left: -18px;
    bottom: -18px;
  }

  .services.is-horizontal .service {
    flex-basis: clamp(360px, 48vw, 560px);
  }
}

@media (max-width: 1024px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    min-height: 500px;
    justify-content: center;
    padding-left: 0;
  }

  .build-panel {
    width: min(82%, 430px);
  }

  .build-panel__stage {
    min-height: 380px;
  }

  .hero__foot {
    margin-top: 56px;
  }

  .manifesto__grid,
  .proof__head,
  .studio__grid,
  .contact__grid-layout,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .manifesto__aside {
    position: static;
    max-width: 420px;
  }

  .manifesto__lead {
    max-width: 26ch;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-intro {
    justify-self: start;
    padding-bottom: 0;
  }

  .proof__head {
    gap: 16px;
  }

  .process__layout {
    grid-template-columns: 1fr;
  }

  .process__rail {
    display: none;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 899px) {
  .services__pin {
    padding-block: clamp(72px, 10vw, 110px);
  }

  .services__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services__head-right {
    justify-self: start;
  }

  .services__track {
    padding-inline: var(--edge);
  }

  .service {
    padding-block: 34px;
  }

  .service__visual {
    max-width: 330px;
  }

  .services__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .build-row {
    grid-template-columns: 46px minmax(0, 1fr) 52px;
    gap: 16px;
  }

  .build-row__visual {
    display: none;
  }

  .build-row__link {
    grid-column: 3;
    grid-row: 1;
    width: 46px;
    height: 46px;
    align-self: start;
  }

  .build-row__num {
    grid-column: 1;
    grid-row: 1;
  }

  .build-row__main {
    grid-column: 2;
    grid-row: 1;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid rgba(8, 20, 15, 0.22);
  }

  .studio__actions .button,
  .builds__cta .button {
    width: 100%;
  }

  .builds__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: clamp(64px, 14vw, 96px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 108px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .hero__visual {
    min-height: 420px;
    padding-left: 0;
    justify-content: center;
  }

  .build-panel {
    width: min(94%, 380px);
  }

  .build-panel__stage {
    min-height: 300px;
    padding-bottom: 40px;
  }

  .build-panel__code {
    display: none;
  }

  .build-panel__foot {
    padding-left: 84px;
    font-size: 7px;
  }

  .build-panel__foot span:last-child {
    display: none;
  }

  .seal {
    width: 98px;
    height: 98px;
    left: -6px;
    bottom: -14px;
  }

  .seal__ring text {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .hero__actions .button {
    flex: 1 1 100%;
  }

  .hero__meta {
    gap: 12px;
    font-size: 9px;
  }

  .hero__meta li {
    gap: 12px;
  }

  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__foot-meta {
    font-size: 9px;
  }

  .marquee {
    padding-block: 12px;
  }

  .manifesto__lead {
    font-size: clamp(1.55rem, 7.2vw, 2.2rem);
    max-width: 24ch;
  }

  .principle {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .service__body h3 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .service__visual {
    display: none;
  }

  .services__progress-bar {
    width: 90px;
  }

  .services__micro {
    max-width: 34ch;
  }

  .build-row {
    grid-template-columns: 36px minmax(0, 1fr);
    padding-block: 28px;
  }

  .build-row__link {
    display: none;
  }

  .build-row__main h3 {
    font-size: clamp(1.4rem, 6.4vw, 2rem);
  }

  .tag-list li {
    font-size: 8px;
  }

  .proof__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat dd {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .studio__actions .button,
  .contact__form-wrap {
    width: 100%;
  }

  .step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .contact__title {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .contact__form-wrap {
    padding: 20px;
  }

  .form-head {
    flex-direction: column;
  }

  .footer__cols {
    grid-template-columns: 1fr;
  }

  .footer__wordmark {
    white-space: normal;
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .footer__bottom {
    display: grid;
    gap: 10px;
  }

  .footer__coords {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .stat {
    padding-right: 10px;
  }

  .stat dt {
    font-size: 8px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js .hero__title .line > span,
  .js .hero .build-panel {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__visual {
    transform: none !important;
  }

  .marquee__track {
    animation: none;
    transform: none;
    flex-wrap: nowrap;
    width: max-content;
  }

  .scroll-cue__line::after {
    animation: none;
    transform: none;
  }

  .seal__ring {
    animation: none;
  }
}
