:root {
  color-scheme: dark;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --ink: #f7f8fb;
  --muted: rgba(235, 239, 249, 0.68);
  --faint: rgba(235, 239, 249, 0.42);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --black: #02040a;
  --amber: #ffa84a;
  --violet: #9a78ff;
  --blue: #5f9cff;
  --page-pad: clamp(24px, 4.1vw, 72px);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-color: rgba(255, 255, 255, 0.28) #03050a;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(173, 202, 255, 0.92);
  outline-offset: 4px;
}

::selection {
  background: rgba(155, 121, 255, 0.44);
  color: #fff;
}

.app-shell {
  position: relative;
  isolation: isolate;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #05060a;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 18px var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.86), rgba(2, 4, 10, 0.28) 76%, transparent);
  backdrop-filter: blur(12px) saturate(115%);
}

.wordmark {
  display: flex;
  width: clamp(168px, 14vw, 206px);
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 630;
  letter-spacing: -0.035em;
  cursor: pointer;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 58px);
}

.desktop-nav button {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  font-weight: 430;
  cursor: pointer;
  transition: color 180ms ease;
}

.desktop-nav button::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 220ms ease;
}

.desktop-nav button:hover,
.desktop-nav button.is-active {
  color: #fff;
}

.desktop-nav button:hover::after,
.desktop-nav button.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.locale-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.locale-switch button {
  min-width: 30px;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 180ms ease;
}

.locale-switch button:hover,
.locale-switch button.is-active {
  color: #fff;
}

.glass-button {
  --glass-x: 50%;
  --glass-y: 50%;
  position: relative;
  display: inline-flex;
  min-height: 58px;
  justify-content: center;
  align-items: center;
  gap: 0;
  overflow: hidden;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background:
    radial-gradient(110px circle at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.16), transparent 65%),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 12px 38px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(127, 161, 255, 0.06);
  backdrop-filter: blur(22px) saturate(155%);
  color: #fff;
  font-weight: 470;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.glass-button::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 190, 126, 0.14), transparent 34%, transparent 70%, rgba(127, 187, 255, 0.12));
  opacity: 0.7;
  pointer-events: none;
}

.glass-button > * {
  position: relative;
  z-index: 1;
}

.glass-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 42px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(136, 157, 255, 0.13);
}

.glass-button:active {
  transform: translateY(0) scale(0.985);
}

.header-cta {
  min-height: 46px;
  padding-inline: 24px;
  background: rgba(255, 255, 255, 0.065);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  visibility: hidden;
  padding: calc(var(--header-height) + 12px) 14px 14px;
  background: rgba(2, 4, 10, 0.6);
  opacity: 0;
  backdrop-filter: blur(16px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
  padding: 24px;
  transform: translateY(-14px);
  transition: transform 220ms ease;
}

.mobile-menu.is-open .mobile-menu__inner {
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav button {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  text-align: left;
}

.mobile-menu nav button span {
  color: var(--faint);
  font-size: 11px;
}

.mobile-menu__cta {
  width: 100%;
  margin-top: auto;
}

.screen,
.contact-screen {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--black);
}

.scene,
.screen-shade {
  position: absolute;
  inset: 0;
}

.scene {
  z-index: -3;
  overflow: hidden;
  background: #02040a;
}

.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  animation: scene-breathe 14s ease-in-out infinite alternate;
  filter: saturate(0.94) contrast(1.02);
}

.screen-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 4, 10, 0.98) 0%, rgba(2, 4, 10, 0.78) 31%, rgba(2, 4, 10, 0.12) 63%, rgba(2, 4, 10, 0.16) 100%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.28), transparent 30%, transparent 68%, rgba(2, 4, 10, 0.8));
}

.screen::after,
.contact-screen::after {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.08);
}

.screen-inner {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: calc(var(--header-height) + 38px) var(--page-pad) 42px;
}

.eyebrow {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: 7vw;
}

.hero-copy {
  align-self: center;
  max-width: 850px;
  position: relative;
  z-index: 1;
  width: calc(100% + 5vw);
  padding-top: 2vh;
}

.hero-copy h1,
.direction-copy h2,
.projects-heading h2,
.contact-heading h2,
.cta-card h2 {
  margin: 0;
  font-weight: 460;
  letter-spacing: -0.055em;
}

.hero-copy h1 {
  max-width: 900px;
  font-size: clamp(52px, 4.65vw, 78px);
  line-height: 0.99;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 360;
  line-height: 1.48;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.text-link svg {
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateY(4px);
}

.direction-rail {
  position: relative;
  display: grid;
  align-self: center;
  gap: 6px;
  width: min(100%, 480px);
  justify-self: end;
}

.direction-rail::before {
  position: absolute;
  z-index: 0;
  top: 19px;
  bottom: 19px;
  left: 5px;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.17);
}

.direction-rail button {
  position: relative;
  display: grid;
  grid-template-columns: 12px 38px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 20px 0 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.43);
  text-align: left;
  cursor: pointer;
  transition: min-height 260ms ease, padding 260ms ease, color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.direction-rail button:hover {
  color: rgba(255, 255, 255, 0.78);
  transform: translateX(5px);
}

.direction-rail button i {
  position: relative;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: #080b14;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.direction-rail button span {
  font-size: 15px;
  font-weight: 410;
}

.direction-rail button strong {
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 410;
}

.direction-rail button.is-active {
  min-height: 80px;
  margin-block: 5px;
  padding-left: 18px;
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(110deg, rgba(255, 176, 101, 0.13), rgba(255, 255, 255, 0.045) 44%, rgba(104, 155, 255, 0.09)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.19), 0 12px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
}

.direction-rail button.is-active i {
  background: #fff;
  box-shadow: 0 0 13px rgba(255, 197, 133, 0.88), 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.hero-proof {
  display: flex;
  grid-column: 2;
  justify-self: end;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.proof-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.scroll-cue {
  position: absolute;
  bottom: 38px;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.screen-shade--direction {
  background:
    linear-gradient(90deg, rgba(2, 4, 10, 0.985) 0%, rgba(2, 4, 10, 0.85) 33%, rgba(2, 4, 10, 0.14) 62%, rgba(2, 4, 10, 0.26) 100%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.38), transparent 30%, transparent 70%, rgba(2, 4, 10, 0.72));
}

.direction-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(300px, 0.55fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 24px 8vw;
}

.direction-copy {
  max-width: 720px;
}

.direction-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.direction-kicker span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.direction-copy h2 {
  max-width: 760px;
  font-size: clamp(46px, 4.7vw, 76px);
  line-height: 1.01;
}

.section-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 360;
  line-height: 1.52;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 680px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.69);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.direction-cta {
  margin-top: 32px;
}

.section-rail {
  max-width: 400px;
  opacity: 0.88;
}

.section-rail button:not(.is-active) strong {
  font-size: 15px;
}

.direction-proof {
  display: flex;
  grid-column: 2;
  justify-self: end;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.direction-proof span {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
}

.liquid-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025) 44%, rgba(95, 131, 255, 0.045)),
    rgba(7, 10, 19, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 26px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(26px) saturate(145%);
}

.cta-screen {
  min-height: 78svh;
}

.cta-screen .screen-inner {
  min-height: 78svh;
}

.screen-shade--cta {
  background: radial-gradient(circle at 66% 48%, rgba(2, 4, 10, 0.16), rgba(2, 4, 10, 0.54) 42%, rgba(2, 4, 10, 0.97) 86%);
}

.cta-layout {
  display: grid;
  place-items: center;
}

.cta-orbit {
  display: none;
}

.cta-card {
  width: min(720px, 84vw);
  padding: clamp(30px, 4vw, 62px);
  text-align: center;
}

.cta-card h2 {
  font-size: clamp(38px, 4.1vw, 66px);
  line-height: 1.02;
}

.cta-card > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.cta-card .glass-button {
  margin-top: 34px;
}

.screen-shade--projects {
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.78) 0%, rgba(2, 4, 10, 0.14) 35%, rgba(2, 4, 10, 0.26) 62%, rgba(2, 4, 10, 0.95) 100%),
    radial-gradient(circle at 50% 48%, transparent, rgba(2, 4, 10, 0.64) 88%);
}

.projects-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  align-items: center;
}

.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
  gap: 24px 6vw;
  align-items: end;
}

.projects-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -5px;
}

.projects-heading h2 {
  max-width: 800px;
  font-size: clamp(43px, 4.5vw, 72px);
  line-height: 1;
}

.projects-heading > p:last-child {
  max-width: 540px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.55;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-self: end;
}

.project-card {
  position: relative;
  min-height: 188px;
  padding: 22px 24px;
  border-radius: 22px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(13, 17, 29, 0.7);
}

.project-card > span {
  color: var(--faint);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 30px 0 8px;
  font-size: 24px;
  font-weight: 480;
  letter-spacing: -0.035em;
}

.project-card p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.project-card svg {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.56);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric {
  padding: 20px 20px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric strong {
  display: block;
  font-size: clamp(28px, 2.8vw, 45px);
  font-weight: 430;
  letter-spacing: -0.045em;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
}

.contact-screen {
  min-height: 118svh;
}

.screen-shade--contact {
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.72), rgba(2, 4, 10, 0.22) 30%, rgba(2, 4, 10, 0.86) 72%, rgba(2, 4, 10, 0.99)),
    radial-gradient(circle at 70% 30%, transparent, rgba(2, 4, 10, 0.68) 70%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(520px, 1fr);
  grid-template-rows: minmax(570px, 1fr) auto;
  gap: 50px 7vw;
  align-items: center;
  min-height: 118svh;
}

.contact-heading h2 {
  max-width: 700px;
  font-size: clamp(48px, 5.2vw, 82px);
  line-height: 0.99;
}

.contact-heading > p:last-child {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.brief-card {
  padding: clamp(24px, 2.8vw, 42px);
}

.brief-card textarea,
.brief-card input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  color: #fff;
  resize: none;
}

.brief-card textarea {
  min-height: 170px;
  padding: 4px 2px 22px;
  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 350;
  line-height: 1.45;
}

.brief-card input {
  padding: 18px 2px;
  font-size: 15px;
}

.brief-card textarea::placeholder,
.brief-card input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.brief-card textarea:focus,
.brief-card input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
  outline: 0;
}

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

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.form-bottom p {
  max-width: 330px;
  margin: 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.brief-success {
  display: grid;
  min-height: 300px;
  align-content: center;
  justify-items: start;
}

.brief-success > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(127, 166, 255, 0.1);
}

.brief-success h3 {
  margin: 24px 0 10px;
  font-size: 38px;
  font-weight: 450;
  letter-spacing: -0.04em;
}

.brief-success p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.brief-success .glass-button {
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.1fr 1fr 0.7fr 0.7fr;
  gap: 32px;
  align-self: end;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-brand strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.footer-brand p,
.footer-contact p {
  margin: 10px 0 0;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-contact p,
.footer-contact a,
.footer-contact span {
  margin: 0;
}

.footer-contact a {
  width: fit-content;
  color: #fff;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 520;
}

.footer-links a {
  width: fit-content;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-rights {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
}

.reveal {
  transform: translateY(28px);
  opacity: 0;
  transition: transform 780ms cubic-bezier(0.2, 0.72, 0.18, 1), opacity 680ms ease;
}

.reveal--late {
  transition-delay: 180ms;
}

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

@keyframes scene-breathe {
  from { transform: scale(1.025) translate3d(-0.3%, 0, 0); }
  to { transform: scale(1.055) translate3d(0.55%, -0.25%, 0); }
}

@media (max-width: 1180px) {
  :root {
    --page-pad: clamp(22px, 3vw, 42px);
  }

  .site-header {
    grid-template-columns: 0.8fr auto 1fr;
  }

  .desktop-nav {
    gap: 24px;
  }

  .locale-switch {
    display: none;
  }

  .hero-layout,
  .direction-layout {
    gap: 30px;
  }

  .direction-rail {
    max-width: 350px;
  }

  .contact-layout {
    grid-template-columns: 0.78fr 1fr;
  }
}

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

  html {
    scroll-snap-type: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-block: 12px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-actions > .locale-switch,
  .menu-toggle {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .screen,
  .screen-inner {
    min-height: 100svh;
  }

  .hero-layout,
  .direction-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .hero-copy,
  .direction-copy {
    max-width: 680px;
  }

  .hero-rail,
  .section-rail {
    position: absolute;
    right: var(--page-pad);
    bottom: 44px;
    left: var(--page-pad);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: auto;
    max-width: none;
    gap: 0;
  }

  .direction-rail::before {
    top: 5px;
    right: 8%;
    bottom: auto;
    left: 8%;
    width: auto;
    height: 1px;
  }

  .direction-rail button,
  .direction-rail button.is-active {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    min-height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
  }

  .direction-rail button:hover {
    transform: none;
  }

  .direction-rail button i {
    grid-row: 1;
    width: 10px;
    height: 10px;
  }

  .direction-rail button span {
    grid-row: 2;
    display: none;
    font-size: 10px;
  }

  .direction-rail button.is-active span {
    display: block;
  }

  .direction-rail button strong {
    display: none;
  }

  .direction-rail button.is-active strong {
    position: absolute;
    bottom: 47px;
    display: block;
    width: max-content;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
  }

  .hero-proof,
  .direction-proof,
  .scroll-cue {
    display: none;
  }

  .projects-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .projects-heading .eyebrow {
    grid-column: auto;
  }

  .project-cards {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .contact-screen,
  .contact-layout {
    min-height: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: calc(var(--header-height) + 70px);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 20px;
    --header-height: 66px;
  }

  .site-header {
    background: linear-gradient(180deg, rgba(2, 4, 10, 0.9), rgba(2, 4, 10, 0.28));
  }

  .wordmark {
    width: 138px;
  }

  .header-actions {
    gap: 3px;
  }

  .locale-switch button {
    min-width: 27px;
    padding-inline: 4px;
    font-size: 9px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .screen-inner {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 34px;
  }

  .screen-shade,
  .screen-shade--direction {
    background:
      linear-gradient(180deg, rgba(2, 4, 10, 0.68) 0%, rgba(2, 4, 10, 0.55) 14%, rgba(2, 4, 10, 0.1) 42%, rgba(2, 4, 10, 0.83) 70%, rgba(2, 4, 10, 0.99) 100%),
      linear-gradient(90deg, rgba(2, 4, 10, 0.93), rgba(2, 4, 10, 0.32) 62%, rgba(2, 4, 10, 0.18));
  }

  .hero-screen .scene img,
  .direction-screen .scene img {
    object-position: 65% center !important;
    transform: scale(1.12);
    opacity: 0.96;
  }

  .hero-layout {
    display: block;
    padding-top: 20svh;
  }

  .hero-copy {
    padding: 0;
    width: auto;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
  }

  .hero-copy h1 {
    max-width: 360px;
    font-size: clamp(44px, 12.2vw, 56px);
    line-height: 0.98;
  }

  .hero-lead {
    max-width: 350px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
  }

  .hero-actions .glass-button {
    gap: 14px;
    padding-inline: 18px 15px;
    white-space: nowrap;
  }

  .glass-button {
    min-height: 52px;
    gap: 18px;
    padding-inline: 22px 18px;
    font-size: 14px;
  }

  .text-link {
    font-size: 13px;
  }

  .hero-rail,
  .section-rail {
    bottom: 28px;
  }

  .direction-layout {
    display: block;
    padding-top: 16svh;
  }

  .direction-copy {
    max-width: 390px;
  }

  .direction-kicker {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .direction-copy h2 {
    max-width: 370px;
    font-size: clamp(40px, 10.8vw, 50px);
    line-height: 1;
  }

  .section-lead {
    max-width: 360px;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.42;
  }

  .capability-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    max-width: 380px;
    margin-top: 20px;
  }

  .capability-list li {
    display: flex;
    min-height: 39px;
    align-items: center;
    padding: 7px 10px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.25;
  }

  .direction-cta {
    margin-top: 21px;
  }

  .direction-screen--marketing .direction-layout,
  .direction-screen--consulting .direction-layout {
    padding-top: 13svh;
  }

  .cta-screen,
  .cta-screen .screen-inner {
    min-height: 84svh;
  }

  .cta-screen .scene img {
    object-position: 66% center !important;
    opacity: 0.76;
  }

  .cta-card {
    width: 100%;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .cta-card h2 {
    font-size: clamp(35px, 9.4vw, 44px);
  }

  .cta-card > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 14px;
  }

  .cta-card .glass-button {
    margin-top: 26px;
  }

  .projects-screen,
  .projects-screen .screen-inner {
    min-height: 100svh;
  }

  .projects-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding-top: calc(var(--header-height) + 34px);
  }

  .projects-heading h2 {
    max-width: 360px;
    font-size: 39px;
  }

  .projects-heading > p:last-child {
    max-width: 360px;
    font-size: 13px;
    line-height: 1.42;
  }

  .project-cards {
    grid-template-columns: repeat(3, minmax(250px, 78vw));
  }

  .project-card {
    min-height: 158px;
    padding: 18px;
  }

  .project-card h3 {
    margin-top: 24px;
    font-size: 21px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
  }

  .metric {
    padding: 12px 10px 0;
  }

  .metric:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .metric strong {
    font-size: 27px;
  }

  .metric span {
    font-size: 10px;
  }

  .contact-layout {
    gap: 34px;
    padding-top: calc(var(--header-height) + 54px);
  }

  .contact-heading h2 {
    max-width: 370px;
    font-size: 47px;
  }

  .contact-heading > p:last-child {
    margin-top: 20px;
    font-size: 14px;
  }

  .brief-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .brief-card textarea {
    min-height: 145px;
    font-size: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .form-bottom .glass-button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
    padding-bottom: 28px;
    font-size: 11px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-brand strong {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .hero-layout {
    padding-top: 16svh;
  }

  .hero-copy h1 {
    font-size: 41px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 4px;
  }

  .direction-layout {
    padding-top: 12svh;
  }

  .direction-copy h2 {
    font-size: 38px;
  }

  .direction-cta {
    margin-top: 16px;
  }
}

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

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}
