﻿:root {
  color-scheme: dark;
  --bg: #021f1e;
  --bg-deep: #011413;
  --surface: #062927;
  --text: #d7e4df;
  --muted: rgba(215, 228, 223, 0.72);
  --faint: rgba(215, 228, 223, 0.22);
  --line: rgba(215, 228, 223, 0.2);
  --line-strong: rgba(215, 228, 223, 0.34);
  --red: #ff3344;
  --red-soft: rgba(255, 51, 68, 0.5);
  --max: 1440px;
  --hero-max: 1680px;
  --pad: clamp(24px, 5vw, 96px);
  --gutter: max(var(--pad), calc((100% - var(--max)) / 2));
  --hero-gutter: max(var(--pad), calc((100% - var(--hero-max)) / 2));
  --section-y: clamp(76px, 9vw, 132px);
  --thin: 300;
}

* {
  box-sizing: border-box;
}

/* Skip to content — visually hidden until focused */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transform: translateY(calc(-100% - 20px));
  transition: transform 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 2px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Neue Haas Grotesk Text", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  isolation: isolate;
}

.site-atmosphere,
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-atmosphere {
  z-index: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

.site-noise {
  z-index: 2;
  background-image: url("../assets/grain.png");
  background-size: 220px 220px;
  background-repeat: repeat;
  opacity: 0.07;
  mix-blend-mode: soft-light;
}

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

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

.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  transform: none;
  left: 0;
  padding: 42px var(--hero-gutter) 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(232, 246, 240, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 180ms ease;
}

.brand:hover .brand__logo {
  opacity: 1;
}

.footer-dot {
  position: relative;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.round-button::before,
.footer-dot::before {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.8;
}

.footer-dot::before {
  width: 8px;
  height: 1px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 5vw, 76px);
  color: rgba(232, 246, 240, 0.7);
}

.nav a,
.header-actions a,
.footer-links a,
.footer-bottom a,
.line-link {
  transition: color 180ms ease, opacity 180ms ease;
}

/* Touch target expansion — visual size unchanged, tap area 44px min */
.nav a,
.header-actions a {
  padding-block: 16px;
}

.footer-links a,
.footer-bottom__links a {
  padding-block: 8px;
}

.nav a:hover,
.header-actions a:hover,
.footer-links a:hover,
.footer-bottom a:hover,
.line-link:hover {
  color: white;
}

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

.round-button {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.round-button span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.round-button span:first-child {
  top: calc(50% - 3px);
}

.round-button span:last-child {
  top: calc(50% + 3px);
}

.section-frame {
  position: relative;
  isolation: isolate;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 875px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-inline: var(--hero-gutter);
}

.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.hero__visual-image {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  filter: saturate(1.08) contrast(1.02) drop-shadow(0 30px 54px rgba(0, 0, 0, 0.22));
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(680px, 60vw);
  padding-block: clamp(120px, 16vh, 170px) clamp(48px, 6vh, 72px);
}

.hero-smoke-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.scroll-note {
  z-index: 3;
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: rgba(232, 246, 240, 0.72);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.accent-dot {
  color: var(--red);
  text-shadow: 0 0 18px var(--red-soft);
}

.eyebrow span,
.eyebrow--red span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-radius: 999px;
  background: var(--red);
  vertical-align: middle;
  box-shadow: 0 0 18px var(--red);
}

.eyebrow--red {
  color: rgba(232, 246, 240, 0.62);
  margin-bottom: 34px;
}

.eyebrow--red span {
  width: 36px;
  height: 1px;
  border-radius: 0;
}

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

h1,
h2 {
  font-family: "Helvetica Neue", Inter, Arial, sans-serif;
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: rgba(233, 247, 242, 0.9);
}

h1 {
  position: relative;
  margin-bottom: 54px;
  font-size: clamp(68px, 8.1vw, 140px);
}

h2 {
  margin-bottom: 42px;
  font-size: clamp(46px, 5.3vw, 74px);
}

h3 {
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
  font-size: clamp(28px, 2.4vw, 43px);
  color: rgba(233, 247, 242, 0.85);
}

.tm {
  position: relative;
  top: -0.75em;
  margin-left: 8px;
  font-size: 0.18em;
  letter-spacing: 0.02em;
}

.index-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  color: rgba(232, 246, 240, 0.5);
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* Progress bar track */
.index-line__track {
  display: block;
  width: 72px;
  height: 2px;
  background: var(--line);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

/* Fill = 1/4 = 25% */
.index-line__track::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 25%;
  background: var(--red);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--red-soft);
}

.index-line strong {
  font-weight: 400;
  color: rgba(232, 246, 240, 0.85);
  font-variant-numeric: tabular-nums;
}

.index-line em {
  font-style: normal;
  font-weight: 300;
}

.index-line strong,
.index-line em {
  font-style: normal;
  font-weight: 400;
}

.hero__copy,
.section-copy p,
.campaign__copy p,
.philosophy__copy,
.footer-cta p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  text-wrap: pretty;
}

.hero__copy {
  margin-bottom: 46px;
}

.line-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(232, 246, 240, 0.72);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.line-link::before {
  content: "";
  display: inline-block;
  width: 122px;
  height: 1px;
  background: var(--line-strong);
}

.line-link span,
.signup button span {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 1px, 1px 24px;
}

.line-link--arrow {
  color: rgba(232, 246, 240, 0.8);
}

.line-link--arrow span {
  width: 22px;
  height: 12px;
  background: none;
}

.line-link--arrow span::before,
.line-link--arrow span::after {
  display: block;
  background: var(--red);
}

.line-link--arrow span::before {
  width: 22px;
  height: 1px;
}

.line-link--arrow span::after {
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--red);
  border-right: 1px solid var(--red);
  background: transparent;
  transform: translate(-10%, -50%) rotate(45deg);
}

.line-link span::before,
.line-link span::after,
.signup button span::before,
.signup button span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  display: none;
}

.line-link span::before,
.signup button span::before {
  width: 24px;
  height: 1px;
}

.line-link span::after,
.signup button span::after {
  width: 1px;
  height: 24px;
}

.side-caption {
  position: absolute;
  color: rgba(232, 246, 240, 0.5);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.side-caption::after {
  display: none;
  width: 1px;
  height: 110px;
  background: var(--line-strong);
}

.scroll-note {
  position: absolute;
  right: calc(var(--hero-gutter) + 44px);
  bottom: 80px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  color: rgba(232, 246, 240, 0.74);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-note__track {
  position: relative;
  width: 1px;
  height: 70px;
  margin: 16px auto 0;
  border: 0;
  overflow: hidden;
  will-change: transform;
  background: linear-gradient(180deg, rgba(232, 246, 240, 0.04), rgba(232, 246, 240, 0.22) 28%, rgba(232, 246, 240, 0.22) 72%, rgba(232, 246, 240, 0.04));
}

.scroll-note__track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 51, 68, 0), rgba(255, 51, 68, 0.95) 70%, rgba(255, 150, 150, 0.95));
  box-shadow: 0 0 12px rgba(255, 51, 68, 0.55);
  transform: translateY(-26px);
  animation: scrollTravel 2.4s cubic-bezier(0.6, 0.04, 0.3, 1) infinite;
}

.scroll-note:hover .scroll-note__track::after {
  animation-duration: 1.3s;
}

/* ── Philosophy section — 3-column ──────────────────────────────────── */

.philosophy {
  padding-block: 0;
  /* Keep section-frame's padding-inline so width matches other sections.
     The image column overflows the right gutter via negative margin. */
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 176px minmax(0, 1.3fr);
  align-items: stretch;
  min-height: clamp(640px, 68vw, 860px);
  gap: 0;
}

/* Col 1: Manifesto */
.philosophy__content {
  display: flex;
  align-items: center;
  /* section-frame supplies the left gutter; only add vertical + right padding */
  padding-block: clamp(64px, 7vw, 96px);
  padding-right: clamp(32px, 4vw, 56px);
}

.philosophy__stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.philosophy__stack > * {
  margin: 0;
}

/* Section marker — replaces repetitive eyebrow */
.philosophy__marker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: clamp(14px, 1.4vw, 20px);
  font-variant-numeric: tabular-nums;
}

.philosophy__stack h2 {
  margin-bottom: 32px;
  font-size: clamp(42px, 4.4vw, 74px);
}

.philosophy__copy {
  max-width: 30ch;
  margin-bottom: 44px;
}

/* Col 2: Spine bridge / timeline */
.philosophy__bridge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* The full-height timeline line */
.philosophy__bridge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(232, 246, 240, 0.22) 12%,
    rgba(232, 246, 240, 0.34) 38%,
    rgba(255, 51, 68, 0.72) 55%,
    rgba(232, 246, 240, 0.28) 76%,
    transparent 100%
  );
}

.philosophy__timeline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 4.5vw, 56px);
  padding: clamp(48px, 6vw, 80px) 24px clamp(48px, 6vw, 80px) 52px;
  width: 100%;
  min-height: 100%;
}

.spine-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
  cursor: default;
}

/* Tick mark from timeline line to item */
.spine-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1),
              background-color 220ms ease;
}

/* Dot at intersection */
.spine-item::after {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid rgba(232, 246, 240, 0.3);
  transition: background 220ms ease, border-color 220ms ease,
              box-shadow 220ms ease;
}

.spine-item:hover::before {
  width: 28px;
  background: var(--red);
}

.spine-item:hover::after {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 10px var(--red-soft);
}

.spine-item__num {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.24em;
  transition: text-shadow 220ms ease;
}

.spine-item:hover .spine-item__num {
  text-shadow: 0 0 12px var(--red-soft);
}

.spine-item__label {
  color: rgba(232, 246, 240, 0.65);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.spine-item:hover .spine-item__label {
  color: rgba(232, 246, 240, 0.95);
}

/* Col 3: Image — overflows right gutter to bleed to viewport edge */
.philosophy__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: url("../assets/noxa-philosophy-model.webp") center bottom / auto 100% no-repeat;
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.26));
  margin-right: calc(-1 * var(--gutter));
}


.gallery-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.gallery-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ── Technology section — horizontal feature rows ────────────────────── */

.tech-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Section header: label left, counter right */
.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: clamp(20px, 2.8vw, 36px);
  border-bottom: 1px solid var(--line);
}

.tech-header__label {
  margin: 0;
  color: rgba(232, 246, 240, 0.56);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tech-header__counter {
  color: rgba(232, 246, 240, 0.22);
  font-size: 12px;
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
}

/* Feature row — the entire row is a link */
.tech-row {
  display: grid;
  grid-template-columns: clamp(56px, 6vw, 80px) 1fr 1fr clamp(36px, 3vw, 52px);
  align-items: center;
  column-gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(28px, 3.5vw, 46px);
  padding-inline: clamp(14px, 1.8vw, 24px);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color 240ms ease;
}

.tech-row:hover {
  background-color: rgba(232, 246, 240, 0.022);
}

/* Number — large editorial anchor */
.tech-row__num {
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  opacity: 0.82;
  transition: opacity 240ms ease;
}

.tech-row:hover .tech-row__num {
  opacity: 0.55;
}

/* Feature name */
.tech-row__name {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(22px, 1.9vw, 32px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.08;
  color: rgba(233, 247, 242, 0.88);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  text-wrap: pretty;
  overflow-wrap: normal;
}

.tech-row:hover .tech-row__name {
  transform: translateX(7px);
}

/* Copy */
.tech-row__copy {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 38ch;
  text-wrap: pretty;
}

/* State marker — compact focus node, no arrow/cross glyph */
.tech-row__arrow {
  position: relative;
  justify-self: end;
  display: block;
  width: clamp(28px, 2.2vw, 36px);
  height: clamp(28px, 2.2vw, 36px);
  color: rgba(232, 246, 240, 0.32);
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-row__arrow::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(232, 246, 240, 0.02);
  transform: translate(-50%, -50%);
  transition:
    width 280ms cubic-bezier(0.22, 1, 0.36, 1),
    height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.tech-row__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition:
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-row:hover .tech-row__arrow {
  color: var(--red);
  opacity: 1;
  transform: scale(1.04);
}

.tech-row:hover .tech-row__arrow::before {
  width: 22px;
  height: 22px;
  background-color: rgba(255, 51, 68, 0.08);
  box-shadow: 0 0 20px rgba(255, 51, 68, 0.16);
}

.tech-row:hover .tech-row__arrow::after {
  transform: translate(-50%, -50%) scale(1.45);
}

/* ── Campaign section ───────────────────────────────────────────────── */

.campaign {
  padding-block: var(--section-y);
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: clamp(20px, 2.4vw, 36px);
  align-items: center;
}

/* Section marker — matches 02 / 03 language */
.campaign__marker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: clamp(14px, 1.4vw, 20px);
  font-variant-numeric: tabular-nums;
}

.campaign__copy h2 {
  margin-bottom: 32px;
  font-size: clamp(46px, 5.3vw, 74px);
}

.campaign__copy p {
  max-width: 30ch;
  margin-bottom: 44px;
}

/* Gallery — 2×2 grid: tall first image spans both rows */
.campaign__gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: clamp(480px, 32vw, 760px);
}

.gallery-panel--tall {
  grid-row: 1 / -1;
}

/* Image hover — slow cinematic scale */
.gallery-panel img {
  transform: scale(1.02);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-panel:hover img {
  transform: scale(1.07);
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: clamp(64px, 8vw, 112px) clamp(36px, 4vw, 52px);
}

/* Tier 1 — heading + form */
.footer-upper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
  padding-bottom: clamp(44px, 5.5vw, 72px);
}

.footer-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-cta h2 {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 62px);
  line-height: 1.04;
}

.footer-cta p {
  margin: 0;
  max-width: 50ch;
  line-height: 1.85;
}

.signup {
  display: grid;
  gap: 20px;
  /* Error/success slots don't take space when empty */
  grid-template-rows: auto auto auto auto;
}

.signup label {
  color: rgba(232, 246, 240, 0.5);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  min-height: 56px;
}

.signup input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
}

.signup button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: rgba(232, 246, 240, 0.7);
  cursor: pointer;
}

/* Tier 2 — nav band */
.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(22px, 2.8vw, 36px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: clamp(24px, 3.5vw, 52px);
  color: rgba(232, 246, 240, 0.55);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Tier 3 — bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: clamp(22px, 2.8vw, 36px);
  color: rgba(232, 246, 240, 0.45);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand small {
  color: rgba(232, 246, 240, 0.4);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.5;
}

.footer-bottom__links {
  display: flex;
  gap: 34px;
}

@keyframes scrollTravel {
  0% {
    transform: translateY(-26px);
    opacity: 0;
  }

  16% {
    opacity: 1;
  }

  84% {
    opacity: 1;
  }

  100% {
    transform: translateY(70px);
    opacity: 0;
  }
}

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

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

  .hero {
    min-height: 820px;
  }

  /* Philosophy: at 1180px collapse bridge into content, keep 2-col */
  .philosophy {
    grid-template-columns: 1fr 1.2fr;
    min-height: 0;
    padding-block: 0;
  }

  .philosophy__bridge {
    display: none;
  }

  .philosophy__content {
    padding: 72px var(--pad) 60px var(--pad);
    min-height: 0;
  }

  .philosophy__visual {
    min-height: 640px;
    background-position: center bottom;
  }

  .campaign {
    grid-template-columns: 1fr;
    gap: 44px;
  }

}

@media (max-width: 820px) {
  .hero-smoke-particles {
    display: none;
  }

  :root {
    --pad: 24px;
  }

  .site-atmosphere {
    opacity: 0.28;
    background-position: 60% top;
  }

  .site-noise {
    opacity: 0.05;
    background-size: 180px 180px;
  }

  .site-header {
    padding-top: 24px;
  }

  .brand {
    font-size: 14px;
    letter-spacing: 0.42em;
  }

  .header-actions a {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    padding-bottom: 60px;
  }

  .hero__visual {
    justify-content: flex-end;
  }

  .hero__visual-image {
    /* Full figure fits in the lower frame instead of an oversized crop */
    height: 62%;
  }

  .hero__content {
    width: 100%;
    padding-top: 120px;
  }

  .scroll-note,
  .side-caption {
    display: none;
  }

  h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

  h2 {
    font-size: clamp(42px, 11vw, 64px);
  }

  .line-link::before {
    width: 50px;
  }

  .campaign,
  .technology {
    padding-block: 72px;
  }

  /* Philosophy: at 820px stack vertically */
  .philosophy {
    grid-template-columns: 1fr;
    padding-block: 0;
  }

  .philosophy__content {
    padding: 64px 24px 48px;
  }

  .philosophy__visual {
    min-height: 480px;
    background-position: 60% bottom;
  }

  /* Tech rows: at 820px collapse to 2-col (num + stacked name/copy) */
  .tech-row {
    grid-template-columns: clamp(44px, 8vw, 60px) minmax(0, 1fr) clamp(32px, 3vw, 40px);
    grid-template-rows: auto auto;
    column-gap: 16px;
  }

  .tech-row__name {
    max-width: 13ch;
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.08;
  }

  .tech-row__copy {
    grid-column: 2;
    grid-row: 2;
    padding-top: 10px;
    font-size: 13px;
  }

  .tech-row__arrow {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    width: 28px;
    height: 28px;
  }

  .tech-row__arrow::before {
    width: 12px;
    height: 12px;
  }

  .tech-row:hover .tech-row__arrow::before {
    width: 20px;
    height: 20px;
  }

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

  /* Campaign gallery: on mobile, single column stack */
  .campaign__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .gallery-panel--tall {
    grid-row: auto;
  }

  .gallery-panel {
    min-height: 280px;
  }

  /* Footer mobile */
  .footer-upper {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-bottom__links {
    flex-wrap: wrap;
    gap: 14px 24px;
  }
}

/* Ultra-wide (2K+): pull figure into the centre-right of the composition.
   At 2560px "65% bottom" lands at ~1664px from left — well inside the layout
   rather than pinned to the far-right corner. Adjust the % to taste. */
@media (min-width: 2000px) {
  .hero__visual-image {
    transform: translateX(-18%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-atmosphere {
    opacity: 0.18;
    mix-blend-mode: normal;
  }

  .site-noise {
    opacity: 0.03;
    mix-blend-mode: normal;
  }
}

/* Interaction polish ------------------------------------------------ */

/* Line-link span slides on hover */
.line-link span {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.line-link:hover span {
  transform: translateX(5px);
}

.line-link::before {
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

.line-link:hover::before {
  width: 150px;
  background: var(--red-soft);
}

.line-link--arrow:hover span {
  transform: translateX(8px);
}

/* Input gets a real focus affordance even though its outline is reset */
.signup input:focus-visible {
  outline: none;
}

.signup__row:focus-within {
  border-bottom-color: var(--red);
}

.signup ::placeholder {
  color: rgba(215, 228, 223, 0.5);
}

.signup__error {
  margin: 0;
  min-height: 0;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.signup__error:not(:empty) {
  opacity: 1;
}

.signup__success {
  margin: 0;
  min-height: 0;
  color: rgba(215, 228, 223, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 200ms ease;
}

.signup__success:not(:empty) {
  opacity: 1;
}

/* Row error state */
.signup__row--error {
  border-bottom-color: var(--red);
}

/* Respect reduced-motion: no smooth scroll, no transitions */
@media (prefers-reduced-motion: reduce) {
  .hero-smoke-particles {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


