/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --black:     #060606;
  --black-2:   #0e0e0e;
  --black-3:   #1a1a1a;
  --white:     #f5f4f1;
  --white-2:   #c8c6c2;
  --white-3:   #787470;
  --white-4:   #3a3836;
  --rule:      rgba(245,244,241,0.10);
  --rule-2:    rgba(245,244,241,0.05);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1080px;
  --gutter: 80px;
  --section-py: 140px;
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── LABEL TAG ─────────────────────────────────────── */
.label-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-3);
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Desaturate the image to pure B&W */
  filter: grayscale(100%) brightness(0.45) contrast(1.15);
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,6,6,0.35) 0%,
    rgba(6,6,6,0.20) 40%,
    rgba(6,6,6,0.65) 80%,
    rgba(6,6,6,0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px var(--gutter) 56px;
}

/* Nav */
.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
}

.hero__nav-cta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,244,241,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.hero__nav-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Body */
.hero__body {
  max-width: 760px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-3);
  margin-bottom: 28px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__headline em {
  font-style: italic;
  color: var(--white);
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--white-2);
  max-width: 420px;
  line-height: 1.7;
}

/* Scroll hint */
.hero__scroll-hint {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--white-3));
  animation: scroll-fade 2.4s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ─── MATH ─────────────────────────────────────────── */
.math {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black);
}

.math__inner {
  max-width: var(--max-w);
}

.math__label {
  margin-bottom: 56px;
}

.math__statement {
  margin-bottom: 72px;
}

.math__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.math__headline em {
  font-style: italic;
}

.math__grid {
  border-top: 1px solid var(--rule);
  padding-top: 64px;
}

.math__row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  gap: 32px;
  margin-bottom: 64px;
}

.math__row-left,
.math__row-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.math__row-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
}

.math__row-desc {
  font-size: 13px;
  color: var(--white-3);
  letter-spacing: 0.01em;
  max-width: 280px;
  line-height: 1.5;
}

.math__row-symbol {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--white-4);
  padding-top: 12px;
  text-align: center;
}

.math__divider {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin-bottom: 64px;
}

.math__conclusion {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.math__conclusion-text {
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.85;
  max-width: 560px;
}

.math__conclusion-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  border-left: 1px solid var(--rule);
  padding-left: 48px;
}

.math__big-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}

.math__big-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-3);
  text-align: right;
  max-width: 160px;
  line-height: 1.4;
}

/* ─── CAPABILITIES ──────────────────────────────────── */
.capabilities {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black-2);
}

.capabilities__inner {
  max-width: var(--max-w);
}

.capabilities__header {
  margin-bottom: 80px;
}

.capabilities__header .label-tag {
  display: block;
  margin-bottom: 32px;
}

.capabilities__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 520px;
}

.capabilities__headline em {
  font-style: italic;
}

.capabilities__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.capabilities__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.capabilities__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--white-4);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.capabilities__item-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--white);
}

.capabilities__item-desc {
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.85;
  max-width: 600px;
}

/* ─── STANDARD (Proof) ───────────────────────────────── */
.standard {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black);
}

.standard__inner {
  max-width: var(--max-w);
}

.standard__header {
  margin-bottom: 72px;
}

.standard__intro {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--white-2);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.standard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

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

.standard__tile--wide {
  grid-column: span 2;
}

.standard__img-wrap {
  overflow: hidden;
  aspect-ratio: unset;
  background: var(--black-2);
}

.standard__tile:nth-child(1) .standard__img-wrap {
  aspect-ratio: 4 / 3;
}

.standard__tile:nth-child(2) .standard__img-wrap {
  aspect-ratio: 3 / 4;
}

.standard__tile:nth-child(3) .standard__img-wrap {
  aspect-ratio: 4 / 3;
}

.standard__tile:nth-child(4) .standard__img-wrap {
  aspect-ratio: 3 / 4;
}

.standard__tile:nth-child(5) .standard__img-wrap {
  aspect-ratio: 16 / 9;
}

.standard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease;
  filter: grayscale(100%) brightness(0.88) contrast(1.08);
}

.standard__tile:hover .standard__img {
  transform: scale(1.035);
  opacity: 0.85;
}

.standard__caption {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-3);
}

/* ─── SELECTIVITY ────────────────────────────────────── */
.selectivity {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black);
}

.selectivity__inner {
  max-width: var(--max-w);
}

.selectivity__label {
  margin-bottom: 56px;
}

.selectivity__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.selectivity__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.selectivity__headline em {
  font-style: italic;
}

.selectivity__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}

.selectivity__body p {
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.85;
}

.selectivity__criteria {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
  border-left: 1px solid var(--rule);
  padding-left: 48px;
}

.selectivity__criterion {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.5;
}

.selectivity__criterion-mark {
  color: var(--white-4);
  font-family: var(--font-display);
  font-size: 18px;
  flex-shrink: 0;
}

/* ─── TRAJECTORY ─────────────────────────────────────── */
.trajectory {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black-2);
}

.trajectory__inner {
  max-width: var(--max-w);
}

.trajectory__label {
  margin-bottom: 56px;
}

.trajectory__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.trajectory__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.trajectory__headline em {
  font-style: italic;
}

.trajectory__body p {
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.9;
  padding-top: 8px;
}

/* ─── WHAT'S NEXT ─────────────────────────────────────── */
.whats-next {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black);
}

.whats-next__inner {
  max-width: var(--max-w);
}

.whats-next__header {
  margin-bottom: 56px;
}

.whats-next__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 88px;
}

.whats-next__headline em {
  font-style: italic;
}

.whats-next__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.whats-next__step {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.whats-next__step:last-child {
  border-right: none;
  padding-right: 0;
}

.whats-next__step:not(:first-child) {
  padding-left: 32px;
}

.whats-next__step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--white-4);
  font-variant-numeric: tabular-nums;
}

.whats-next__step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.3;
}

.whats-next__step-body {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  color: var(--white-2);
  line-height: 1.85;
}

/* ─── CONTACT ─────────────────────────────────────────── */
.contact {
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black-3);
}

.contact__inner {
  max-width: var(--max-w);
}

.contact__label {
  margin-bottom: 56px;
}

.contact__content {
  max-width: 640px;
}

.contact__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.contact__headline em {
  font-style: italic;
}

.contact__sub {
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.75;
  margin-bottom: 56px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact__label-text {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-3);
}

.contact__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact__input::placeholder {
  color: var(--white-4);
}

.contact__input:focus {
  border-color: rgba(245,244,241,0.40);
}

.contact__textarea {
  resize: none;
  line-height: 1.65;
}

.contact__submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(245,244,241,0.25);
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-top: 8px;
}

.contact__submit:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  padding: 48px var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--black);
}

.footer__inner {
  max-width: var(--max-w);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer__sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--white-3);
}

.footer__copy {
  font-size: 12px;
  color: var(--white-4);
  letter-spacing: 0.08em;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
  :root {
    --gutter: 40px;
    --section-py: 100px;
  }

  .hero__content {
    padding: 32px var(--gutter) 48px;
  }

  .math__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .math__row-symbol {
    display: none;
  }

  .math__conclusion {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .math__conclusion-stat {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 40px;
    align-items: flex-start;
  }

  .math__big-label {
    text-align: left;
  }

  .selectivity__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .selectivity__criteria {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 40px;
  }

  .trajectory__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .capabilities__item {
    grid-template-columns: 48px 1fr;
    gap: 24px;
  }

  .contact__field-group {
    grid-template-columns: 1fr;
  }

  .whats-next__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .whats-next__step {
    padding: 48px 24px 48px 0;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }

  .whats-next__step:nth-child(2n) {
    border-right: none;
    padding-left: 24px;
    padding-right: 0;
  }

  .whats-next__step:nth-child(3),
  .whats-next__step:nth-child(4) {
    border-bottom: none;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 24px;
    --section-py: 72px;
  }

  .hero__headline {
    font-size: clamp(40px, 10vw, 56px);
  }

  .hero__nav-cta {
    display: none;
  }

  .capabilities__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .capabilities__num {
    display: none;
  }

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

  .standard__tile--wide {
    grid-column: span 2;
  }

  .whats-next__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .whats-next__step {
    padding: 48px 0 48px 0;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .whats-next__step:not(:first-child) {
    padding-left: 0;
  }

  .whats-next__step:last-child {
    border-bottom: none;
  }

  .whats-next__step-num {
    display: block;
  }
    grid-column: span 2;
  }
}
