:root {
  --white: #ffffff;
  --soft: #f5f6f8;
  --black: #07090d;
  --graphite: #1e1e23;
  --blue: #1e63ff;
  --deep-blue: #1438bc;
  --line: rgba(7, 9, 13, 0.14);
  --max: 1440px;
  --side: clamp(22px, 4vw, 68px);
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

.page {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side);
  color: var(--black);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 9, 13, 0.09);
  backdrop-filter: blur(12px);
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 9px;
}

.brand-wordmark {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.header-contact {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(7, 9, 13, 0.25);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.header-contact:hover {
  border-color: var(--black);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  margin-top: var(--header-height);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 74%, rgba(30, 99, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #03050a 0%, #07122a 58%, #0a2ca2 100%);
}

#hero-canvas,
.hero-video,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#hero-canvas {
  opacity: 0.92;
}

.hero-video {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(2, 4, 10, 0.94) 0%,
      rgba(2, 4, 10, 0.6) 55%,
      rgba(2, 4, 10, 0.18) 100%
    ),
    linear-gradient(0deg, rgba(2, 4, 10, 0.5), transparent 45%);
}

.hero-grid {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero-content {
  position: relative;
  z-index: 4;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px var(--side) 110px;
}

.eyebrow {
  margin: 0 0 26px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.66);
}

.hero h1,
.section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 1150px;
  margin: 0;
  font-size: clamp(52px, 6.7vw, 112px);
  line-height: 0.95;
}

.blue-period {
  color: var(--blue);
}

.hero-copy {
  max-width: 790px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
}

.primary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 250px;
  width: max-content;
  border: 0;
  margin-top: 38px;
  padding: 17px 19px 17px 21px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  background: #0f53f0;
}


.scroll-cue {
  position: absolute;
  z-index: 5;
  left: var(--side);
  bottom: 45px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-line {
  width: 86px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: var(--white);
  animation: scan 2.6s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(330%); }
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px var(--side);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 88px;
  color: rgba(7, 9, 13, 0.53);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-label.inverse {
  color: rgba(255, 255, 255, 0.5);
}

.section-label.inverse::after {
  background: rgba(255, 255, 255, 0.18);
}

.statement {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.75fr);
  column-gap: 7vw;
  padding-top: 135px;
  padding-bottom: 150px;
}

.statement .section-label {
  display: block;
  margin: 6px 0 0;
}

.statement .section-label span {
  display: block;
}

.statement .section-label span + span {
  margin-top: 8px;
}

.statement .section-label::after {
  display: none;
}

.statement-copy h2,
.platform-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1.02;
}

.statement-copy > p {
  max-width: 880px;
  margin: 44px 0 0;
  color: rgba(7, 9, 13, 0.64);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.55;
}

.statement-copy .statement-emphasis {
  color: var(--black);
  font-weight: 600;
}

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

.platform-heading {
  max-width: 1080px;
  margin-bottom: 68px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-card {
  min-height: 440px;
  padding: 25px 28px 36px;
  border-right: 1px solid var(--line);
}

.capability-card:last-child {
  border-right: 0;
}

.card-index {
  color: rgba(7, 9, 13, 0.4);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.card-icon-wrap {
  display: flex;
  align-items: center;
  height: 178px;
}

.card-icon {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  object-position: center;
}

.capability-card:nth-child(4) .card-icon {
  width: 122px;
  height: 122px;
}

.capability-card h3 {
  margin: 0 0 18px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.capability-card p {
  margin: 0;
  color: rgba(7, 9, 13, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

.operating-belief {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 980px;
  margin: 74px 0 0 auto;
}

.belief-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
}

.operating-belief p {
  margin: 0;
  color: rgba(7, 9, 13, 0.68);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.philosophy {
  max-width: none;
  min-height: 940px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 78%, rgba(30, 99, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #05070c 0%, #080f23 57%, #061b70 100%);
}

.philosophy > .section-label,
.philosophy-content,
.principle-grid,
.relationship-statement {
  position: relative;
  z-index: 4;
  max-width: calc(var(--max) - (2 * var(--side)));
  margin-left: auto;
  margin-right: auto;
}

.philosophy-content {
  max-width: 1180px;
}

.philosophy h2 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(48px, 5.6vw, 88px);
  line-height: 1.02;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 85px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.principle {
  min-height: 250px;
  padding: 28px 34px 34px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.principle + .principle {
  padding-left: 34px;
}

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

.principle-number {
  display: block;
  margin-bottom: 55px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.principle p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.relationship-statement {
  max-width: 860px;
  margin-top: 70px;
  margin-right: auto;
  margin-left: calc(50% - 70px);
}

.relationship-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 35px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.dot-field {
  position: absolute;
  right: -3vw;
  bottom: -90px;
  width: min(42vw, 650px);
  aspect-ratio: 1;
  opacity: 0.16;
  transform: rotate(-8deg);
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--white);
}

.contact {
  max-width: none;
  min-height: 780px;
  color: var(--white);
  background: var(--black);
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 86%, rgba(30, 99, 255, 0.35), transparent 30%),
    linear-gradient(130deg, transparent 35%, rgba(30, 99, 255, 0.1) 100%);
}

.contact .section-label,
.contact-grid {
  position: relative;
  z-index: 2;
  max-width: calc(var(--max) - (2 * var(--side)));
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 10vw;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.6;
}

.email-link {
  display: inline-block;
  margin-top: 42px;
  color: var(--white);
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-form label {
  display: block;
  margin-bottom: 25px;
}

.contact-form label span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: 0;
  padding: 11px 0 13px;
  background: transparent;
  color: var(--white);
  transition: border-color 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form textarea {
  resize: vertical;
}

.submit-button {
  margin-top: 10px;
}

.form-note {
  max-width: 440px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 126px;
  padding: 28px var(--side);
  border-top: 1px solid rgba(7, 9, 13, 0.1);
  background: var(--white);
  color: rgba(7, 9, 13, 0.55);
  font-size: 11px;
}

.footer-brand {
  color: var(--black);
}

.footer-brand .brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-brand .brand-wordmark {
  font-size: 23px;
}

.footer-credit {
  justify-self: center;
  color: rgba(7, 9, 13, 0.34);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-credit:hover {
  color: rgba(7, 9, 13, 0.72);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links a {
  color: var(--black);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .capability-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .principle,
  .principle + .principle {
    min-height: 0;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle-number {
    margin-bottom: 28px;
  }

  .relationship-statement {
    margin-left: auto;
  }

  .contact-grid {
    gap: 7vw;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 78px;
  }

  .site-header {
    height: var(--header-height);
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .brand-wordmark {
    font-size: 25px;
  }

  .header-contact {
    font-size: 10px;
  }

  .hero-content {
    min-height: 780px;
    justify-content: flex-end;
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.5vw, 67px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .scroll-cue {
    bottom: 30px;
  }

  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-label {
    margin-bottom: 58px;
  }

  .statement {
    display: block;
  }

  .statement .section-label {
    display: flex;
    margin: 0 0 58px;
  }

  .statement .section-label span {
    display: inline;
  }

  .statement .section-label span + span {
    margin-top: 0;
  }

  .statement .section-label::after {
    display: block;
  }

  .statement-copy h2,
  .platform-heading h2,
  .philosophy h2,
  .contact h2 {
    font-size: clamp(40px, 11.5vw, 60px);
  }

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

  .capability-card {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .card-icon-wrap {
    height: 160px;
  }

  .operating-belief {
    grid-template-columns: 58px minmax(0, 1fr);
    margin-top: 56px;
  }

  .belief-mark {
    width: 58px;
    height: 58px;
  }

  .operating-belief p {
    font-size: 23px;
  }

  .philosophy {
    min-height: 980px;
  }

  .relationship-statement p {
    font-size: 25px;
  }

  .dot-field {
    width: 90vw;
    opacity: 0.1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 78px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .footer-credit {
    justify-self: start;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

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

  .scroll-line::after {
    animation: none;
  }

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