/* ============================================================
   AlphaSpase — Ambition, engineered.
   Design tokens + production styles
   ============================================================ */

:root {
  /* Core palette */
  --bg: #0c0d0f;
  --fg: #e8eaed;
  --accent: #6ad0e8;          /* signal cyan */
  --accent-deep: #0f7d99;     /* cyan on light surfaces */

  /* Neutrals / greys */
  --grey-100: #cfd4da;
  --grey-200: #c7ccd3;
  --grey-300: #9aa0a8;
  --grey-400: #8b9097;
  --grey-500: #7a7f87;
  --grey-600: #6f757e;
  --grey-700: #4d5158;
  --grey-800: #3a3d42;

  /* Surfaces / lines */
  --surface-light: #e8eaed;
  --line: #1c1e22;
  --line-soft: #17191d;
  --line-input: #2a2d32;
  --ink: #1c1e22;

  /* Signature chrome gradient (silver bevel) */
  --chrome: linear-gradient(160deg, #ffffff 0%, #c7ccd3 50%, #8a9099 100%);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Sora', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-slide: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page { overflow: clip; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffffff; }

::selection { background: var(--accent); color: var(--bg); }

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

/* Hide native cursor on precise pointers (custom cursor takes over) */
@media (pointer: fine) {
  * { cursor: none !important; }
}

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes marquee   { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes orbitSpin { from { transform: rotate(0deg); }       to { transform: rotate(360deg); } }
@keyframes floatMark { 0%,100% { transform: translateY(0); }   50% { transform: translateY(-16px); } }
@keyframes heroRise  { from { opacity: 0; transform: translateY(60px) skewY(2deg); } to { opacity: 1; transform: translateY(0) skewY(0); } }
@keyframes pulseDot  { 0%,100% { opacity: 1; }                 50% { opacity: 0.2; } }
@keyframes ticksSlide { from { background-position: 0 0; }      to { background-position: 13px 0; } }

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor-dot {
  position: fixed;
  left: 0; top: 0;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #ffffff;
  z-index: 999;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
  transition:
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    margin 0.3s var(--ease-out);
}
.cursor-dot.is-hover { width: 22px; height: 22px; margin: -11px 0 0 -11px; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4vw;
  mix-blend-mode: difference;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}
.nav-brand__mark { width: 28px; height: 28px; object-fit: contain; }
.nav-brand__text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  max-width: 160px;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 0.7s var(--ease-out),
    opacity 0.45s ease,
    transform 0.7s var(--ease-out);
}
.site-nav.is-scrolled .nav-brand__text {
  max-width: 0;
  opacity: 0;
  transform: translateX(-12px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.nav-link {
  color: #ffffff;
  position: relative;
  padding-bottom: 4px;
  background-image: linear-gradient(#ffffff, #ffffff);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.45s var(--ease-out), letter-spacing 0.45s ease;
}
.nav-link:hover { color: #ffffff; background-size: 100% 1px; letter-spacing: 0.22em; }

.nav-cta {
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 100px;
  padding: 9px 20px;
  transition: all 0.4s var(--ease-out);
}
.nav-cta:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

/* ============================================================
   Shared: gradient (chrome) text + stroke text
   ============================================================ */
.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dot-accent { -webkit-text-fill-color: var(--accent); color: var(--accent); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4vw 6vh;
  overflow: hidden;
}
.hero__orbits {
  position: absolute;
  left: 50%; top: 44%;
  width: 110vh; height: 110vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit { position: absolute; border-radius: 50%; }
.orbit--1 { inset: 0;   border: 1px solid var(--line);      animation: orbitSpin 70s linear infinite; }
.orbit--2 { inset: 12%; border: 1px solid var(--line-soft); animation: orbitSpin 110s linear infinite reverse; }
.orbit--3 { inset: 26%; border: 1px dashed var(--line-soft); animation: orbitSpin 160s linear infinite; }
.orbit__dot {
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}
.orbit__dot--sm {
  top: 50%; left: auto; right: -3px;
  width: 5px; height: 5px;
  background: #8a9099;
  box-shadow: none;
}

.hero__strip {
  position: absolute;
  top: 16vh; left: 0; right: 0;
  white-space: nowrap;
  pointer-events: none;
  overflow: hidden;
}
.hero__strip span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22vw;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px #1e2126;
  will-change: transform;
}

.hero__content { position: relative; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 9.2vw, 170px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .line--1 > span { animation: heroRise 1.1s 0.2s var(--ease-out) both; }
.hero__title .line--2 > span { animation: heroRise 1.1s 0.34s var(--ease-out) both; }

.hero__lead-wrap { margin-top: 4vh; animation: heroRise 1s 0.5s var(--ease-out) both; }
.hero__lead {
  max-width: 440px;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-300);
}

/* Mobile-only scroll cue — hidden on desktop, shown at <=820px */
.hero__scrollcue {
  display: none;
  position: absolute;
  bottom: 4.5vh;
  left: 5.5vw;
  right: 5.5vw;
  align-items: center;
  animation: heroRise 1s 0.7s var(--ease-out) both;
}
.hero__scrollcue-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--grey-600);
}
.hero__scrollcue-rule { flex: 1; height: 1px; background: var(--line); margin: 0 16px; }
.hero__scrollcue-index {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.marquee__item--solid  { color: var(--fg); }
.marquee__item--stroke { color: transparent; -webkit-text-stroke: 1px var(--grey-800); }
.marquee__deco {
  position: relative;
  width: 16px; height: 16px;
  border: 1px solid #3a3d42;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.marquee__deco::after {
  content: "";
  position: absolute;
  top: -3px; left: 55%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   What we do (light section)
   ============================================================ */
.services {
  background: var(--surface-light);
  color: var(--bg);
  padding: 12vh 0 14vh;
  position: relative;
  overflow: hidden;
}
.services__guide {
  position: absolute;
  top: 0; bottom: 0;
  border-left: 1px dashed rgba(12, 13, 15, 0.14);
  pointer-events: none;
}
.services__guide--1 { left: 26.5%; }
.services__guide--2 { left: 50%; }
.services__guide--3 { left: 73%; }
.services__inner { position: relative; padding: 0 3.5vw; }

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--bg);
}
.section-label .plus { font-size: 16px; line-height: 1; }

.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: start;
  margin-top: 6vh;
}
.services__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 5.6vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.services__title .muted { color: #8b9097; }
.services__intro {
  max-width: 420px;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.5;
  color: var(--grey-800);
  justify-self: start;
  padding-left: 6.5vw;
  margin-top: 6px;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 13vh;
  margin-top: 12vh;
}

.service__bar-row { display: flex; align-items: stretch; height: 54px; }
.service__bar {
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 26px;
  overflow: hidden;
  flex-shrink: 0;
  width: 0;                 /* animated to target via JS */
}
.service__num {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.08em;
  color: #8b9097;
  white-space: nowrap;
}
.service__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}
.service__ticks {
  flex: 1;
  background-image: repeating-linear-gradient(90deg, #0c0d0f 0px, #0c0d0f 2px, transparent 2px, transparent 13px);
  opacity: 0.9;
  animation: ticksSlide 0.9s linear infinite;
}

.service__detail {
  display: grid;
  grid-template-columns: 23vw 1fr 27vw;
  gap: 3vw;
  margin-top: 9vh;
  padding: 0 0.5vw;
}
.service__marker {
  position: relative;
  display: inline-block;
  width: 14px; height: 14px;
  border: 1px solid var(--bg);
  border-radius: 50%;
}
.service__marker::after {
  content: "";
  position: absolute;
  top: -3px; left: 55%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-deep);
}
.service__desc {
  font-weight: 400;
  font-size: clamp(21px, 2.1vw, 32px);
  line-height: 1.45;
  color: #7a7f87;
  max-width: 560px;
}
.service__outcome-wrap { padding-top: 6px; }
.service__outcome-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #7a7f87;
}
.service__outcome {
  margin-top: 14px;
  font-weight: 400;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.5;
  color: var(--ink);
}

/* ============================================================
   Releases (sticky stack)
   ============================================================ */
.releases { padding: 14vh 0 14vh; }
.releases__head {
  padding: 0 4vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 8vh;
}
.releases__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 8vw, 140px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.9;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.releases__intro {
  max-width: 360px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: #8b9097;
  padding-bottom: 1vh;
}
.releases__kicker {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.releases__stack { display: flex; flex-direction: column; }

.release { position: sticky; top: 0; }
.release__inner {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--r-line);
  padding: 10vh 4vw;
  position: relative;
  overflow: hidden;
  background: var(--r-bg);
}
/* Per-card theming */
.release--dark {
  --r-bg: #0c0d0f; --r-fg: #e8eaed; --r-body: #8b9097; --r-dim: #4d5158;
  --r-line: #1c1e22; --r-grid: rgba(232, 234, 237, 0.03); --r-accent: #6ad0e8; --r-chip: #234a52;
}
.release--light {
  --r-bg: #e8eaed; --r-fg: #0c0d0f; --r-body: #4d5158; --r-dim: #7a7f87;
  --r-line: #cfd2d7; --r-grid: rgba(12, 13, 15, 0.04); --r-accent: #0f7d99; --r-chip: #9fc6d1;
}
.release__pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, var(--r-grid) 0px, var(--r-grid) 1px, transparent 1px, transparent 12.5vw);
  pointer-events: none;
}
.release__big {
  position: absolute;
  bottom: -6vw; right: -1vw;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34vw;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--r-line);
  pointer-events: none;
}
.release__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5vw;
  align-items: end;
}
.release__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 5vh;
}
.release__index {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--r-accent);
}
.release__rule { width: 52px; height: 1px; background: var(--r-line); }
.release__tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--r-accent);
  border: 1px solid var(--r-chip);
  border-radius: 100px;
  padding: 5px 13px;
}
.release__year {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--r-dim);
}
.release__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7.6vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--r-fg);
}
.release__aside { padding-bottom: 1vh; }
.release__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--r-fg);
}
.release__blurb {
  margin-top: 16px;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--r-body);
}

/* ============================================================
   Slide-link (two-line hover reveal)
   ============================================================ */
.slide-link {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.slide-link__inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease-slide);
}
.slide-link:hover .slide-link__inner { transform: translateY(-50%); }
.slide-link__line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}

/* Release CTA sizing */
.release__cta { height: 34px; margin-top: 34px; }
.release__cta .slide-link__line { height: 34px; font-size: 14px; letter-spacing: 0.22em; }
.release__cta .slide-link__line--a { color: var(--r-accent); }
.release__cta .slide-link__line--b { color: var(--r-fg); }

/* ============================================================
   CTA section
   ============================================================ */
.cta {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 18vh 4vw 16vh;
  overflow: hidden;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #6f757e;
  margin-bottom: 5vh;
}
.cta__link { display: block; color: var(--fg); }
.cta__link:hover { color: var(--fg); }
.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 8.4vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.cta__title .top {
  display: block;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta__title .bottom {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  transition: color 0.4s ease;
}
.cta__link:hover .cta__title .bottom { color: var(--accent); }

.cta__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 7vh;
}
.cta__note {
  max-width: 420px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-300);
}
.cta__email { height: clamp(40px, 4vw, 58px); }
.cta__email .slide-link__inner { transition: transform 0.6s var(--ease-slide); }
.cta__email .slide-link__line {
  height: clamp(40px, 4vw, 58px);
  gap: 18px;
  font-size: clamp(22px, 2.6vw, 38px);
}
.cta__email .slide-link__line--a {
  letter-spacing: -0.01em;
  background: linear-gradient(160deg, #ffffff, #c7ccd3 60%, #8a9099);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta__email .slide-link__line--a .arrow { -webkit-text-fill-color: var(--accent); }
.cta__email .slide-link__line--b {
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 34px 4vw;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__mark { width: 22px; height: 22px; object-fit: contain; }
.footer__tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #6f757e;
}
.footer__links {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.12em;
}
.footer__link {
  color: #8b9097;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.45s var(--ease-out), color 0.3s ease;
}
.footer__link:hover { color: #ffffff; background-size: 100% 1px; }

.footer__word-wrap {
  text-align: center;
  line-height: 0.72;
  margin-bottom: -2vw;
  pointer-events: none;
}
.footer__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.2vw;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(180deg, #3a3d42 0%, #0c0d0f 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Scroll-reveal helper
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-page { min-height: 100vh; }

.nav-links--plain { }

.contact-hero {
  position: relative;
  padding: 22vh 4vw 8vh;
  overflow: hidden;
}
.contact-hero__orbits {
  position: absolute;
  right: -18vw; top: -30vh;
  width: 60vw; height: 60vw;
  pointer-events: none;
  opacity: 0.7;
}
.contact-hero__orbits .orbit--a { inset: 0;   border: 1px solid var(--line);      animation: orbitSpin 80s linear infinite; }
.contact-hero__orbits .orbit--b { inset: 14%; border: 1px dashed var(--line-soft); animation: orbitSpin 130s linear infinite reverse; }
.contact-hero__orbits .orbit__dot { top: -3px; width: 6px; height: 6px; box-shadow: 0 0 14px var(--accent); }

.contact-hero__inner { position: relative; }
.contact-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  animation: heroRise 0.9s 0.05s var(--ease-out) both;
}
.contact-hero__title {
  margin-top: 3vh;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8.6vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  animation: heroRise 1s 0.15s var(--ease-out) both;
}
.contact-hero__title .top {
  display: block;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-hero__lead {
  margin-top: 4vh;
  max-width: 460px;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-300);
  animation: heroRise 1s 0.3s var(--ease-out) both;
}

.contact-form-section { padding: 4vh 4vw 14vh; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 6vw;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 44px; }
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 40px;
}
.field { display: block; }
.field__label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #6f757e;
  margin-bottom: 14px;
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-input);
  padding: 10px 0 14px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  color: var(--fg);
  transition: border-color 0.3s ease;
}
.field__textarea { line-height: 1.7; resize: vertical; }
.field__input:focus,
.field__select:focus,
.field__textarea:focus { border-bottom: 1px solid var(--accent); outline: none; }
.field__input::placeholder,
.field__textarea::placeholder { color: var(--line-input); opacity: 1; }
.field__select option { background: var(--bg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--grey-100);
  background: transparent;
  border: 1px solid var(--line-input);
  border-radius: 100px;
  padding: 11px 20px;
  transition: all 0.35s var(--ease-out);
}
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip.is-active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

.contact-submit-row { display: flex; align-items: center; gap: 28px; }
.contact-submit {
  height: 56px;
  border-radius: 100px;
}
.contact-submit .slide-link__line {
  height: 56px;
  padding: 0 34px;
  gap: 14px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--bg);
  border-radius: 100px;
}
.contact-submit .slide-link__line--a { background: linear-gradient(160deg, #ffffff, #c7ccd3); }
.contact-submit .slide-link__line--b { background: var(--accent); }
.contact-status {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6f757e;
}

.contact-aside {
  border-left: 1px solid var(--line);
  padding-left: 3.5vw;
  display: flex;
  flex-direction: column;
  gap: 6vh;
  position: sticky;
  top: 120px;
}
.aside__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #6f757e;
  margin-bottom: 16px;
}
.aside__email {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: -0.01em;
  color: var(--fg);
  padding-bottom: 4px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.45s var(--ease-out);
}
.aside__email:hover { background-size: 100% 2px; color: var(--fg); }
.aside__steps { display: flex; flex-direction: column; gap: 22px; }
.aside__step { display: flex; gap: 16px; align-items: baseline; }
.aside__step-num { font-family: var(--font-display); font-size: 13px; color: var(--accent); }
.aside__step-text { font-weight: 300; font-size: 14.5px; line-height: 1.7; color: var(--grey-300); }
.aside__principle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  background: linear-gradient(160deg, #ffffff, #c7ccd3 60%, #8a9099);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Responsive (mobile) — single 820px breakpoint, matches design v2
   ============================================================ */
@media (max-width: 820px) {
  /* Nav — shared across both pages */
  .site-nav { padding: 16px 5.5vw !important; }
  .footer__top { padding: 24px 5.5vw !important; }

  /* Primary page nav: hide the two nav links, restyle the pill CTA */
  .nav-links:not(.nav-links--plain) .nav-link { display: none !important; }
  .nav-cta { padding: 8px 16px !important; font-size: 12px !important; letter-spacing: 0.12em !important; }

  /* Hero */
  .hero { padding: 12vh 5.5vw 13vh !important; min-height: 100svh !important; justify-content: center !important; }
  .hero__orbits { width: 140vw !important; height: 140vw !important; top: 56% !important; }
  .hero__strip { top: 14vh !important; }
  .hero__strip span { font-size: 30vw !important; }
  .hero__scrollcue { display: flex !important; }
  .hero__title { font-size: 13vw !important; }

  /* What we do (light section) */
  .services__inner { padding: 0 5.5vw !important; }
  .services__guide { display: none !important; }
  .services__head { grid-template-columns: 1fr !important; gap: 26px !important; margin-top: 4vh !important; }
  .services__intro { padding-left: 0 !important; }
  .services__list { gap: 9vh !important; margin-top: 8vh !important; }
  .service__bar-row { height: 48px !important; }
  .service__bar { min-width: max-content !important; padding: 0 16px !important; gap: 12px !important; }
  .service__num { font-size: 12px !important; }
  .service__name { font-size: 18px !important; }
  .service__detail { grid-template-columns: 1fr !important; gap: 20px !important; margin-top: 5vh !important; padding: 0 !important; }

  /* Releases */
  .releases__head { padding: 0 5.5vw !important; margin-bottom: 6vh !important; }
  .release__inner { padding: 12vh 5.5vw !important; min-height: 94svh !important; }
  .release__big { font-size: 58vw !important; bottom: -9vw !important; right: -4vw !important; }
  .release__grid { grid-template-columns: 1fr !important; gap: 44px !important; align-items: start !important; }
  .release__meta { flex-wrap: wrap !important; row-gap: 12px !important; margin-bottom: 3.5vh !important; }

  /* CTA */
  .cta { padding: 12vh 5.5vw !important; }
  .cta__foot { margin-top: 5vh !important; }

  /* Contact page */
  .contact-page .nav-brand__text { display: none !important; }
  .nav-links--plain { gap: 20px !important; font-size: 12px !important; }
  .contact-hero { padding: 17vh 5.5vw 5vh !important; }
  .contact-hero__orbits { width: 120vw !important; height: 120vw !important; right: -48vw !important; top: -12vh !important; }
  .contact-form-section { padding: 2vh 5.5vw 12vh !important; }
  .contact-layout { grid-template-columns: 1fr !important; gap: 8vh !important; }
  .contact-fields { grid-template-columns: 1fr !important; gap: 36px !important; }
  .chip { padding: 12px 20px !important; }
  .contact-aside { border-left: none !important; border-top: 1px solid var(--line) !important; padding-left: 0 !important; padding-top: 7vh !important; position: static !important; }
  .contact-submit-row { flex-wrap: wrap !important; gap: 18px !important; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
