:root {
  --charcoal: #111417;
  --teal: #425f5c;
  --gray: #7e8582;
  --rose: #b76e79;
  --blush: #e7c7c2;
  --cream: #f7f3ee;
  --paper: #fffdf9;
  --line: rgba(31, 31, 31, 0.13);
  --dark-line: rgba(247, 243, 238, 0.14);
  --max: 1180px;
  --sans: Inter, "Sohne", "Söhne", "Helvetica Neue", Arial, sans-serif;
  --serif: "Tiempos Headline", "Tiempos Text", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid rgba(247, 243, 238, 0.1);
  background: rgba(17, 20, 23, 0.92);
  color: var(--cream);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.brand-mark {
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: lowercase;
  color: rgba(247, 243, 238, 0.72);
  white-space: nowrap;
}

.brand-sub::after {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--rose);
  transform: translateY(1px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(247, 243, 238, 0.72);
  font-size: 13px;
}

.nav-links a,
.header-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--cream);
}

.header-cta {
  justify-self: end;
  padding: 11px 15px;
  border: 1px solid rgba(247, 243, 238, 0.2);
  color: var(--cream);
  font-size: 12px;
}

.header-cta:hover {
  border-color: var(--rose);
  background: rgba(183, 110, 121, 0.12);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 56px) clamp(64px, 8vw, 96px);
  background:
    radial-gradient(circle at 78% 28%, rgba(183, 110, 121, 0.18), transparent 28%),
    linear-gradient(135deg, #111417 0%, #171b1d 54%, #243735 100%);
  color: var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--dark-line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  opacity: 0.16;
  pointer-events: none;
}

.hero-grid span {
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.hero-copy {
  max-width: 640px;
  color: rgba(247, 243, 238, 0.74);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--rose);
  color: #170f11;
}

.button.secondary {
  border-color: rgba(247, 243, 238, 0.22);
  color: var(--cream);
}

.hero-panel {
  border: 1px solid var(--dark-line);
  background: rgba(17, 20, 23, 0.66);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--dark-line);
  color: rgba(247, 243, 238, 0.68);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-map {
  display: grid;
  grid-template-columns: 16px 1fr 16px 1fr 16px 1fr 16px;
  align-items: center;
  gap: 10px;
  padding: clamp(28px, 4vw, 42px) 24px;
}

.node {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(247, 243, 238, 0.42);
  border-radius: 50%;
}

.node.active {
  border-color: var(--rose);
  background: var(--rose);
}

.line {
  height: 1px;
  background: rgba(247, 243, 238, 0.22);
}

.system-stack {
  display: grid;
  border-top: 1px solid var(--dark-line);
}

.system-stack div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 20px;
  border-bottom: 1px solid var(--dark-line);
}

.system-stack div:last-child {
  border-bottom: 0;
}

.system-stack span {
  color: rgba(247, 243, 238, 0.76);
  font-size: 14px;
}

.system-stack strong {
  color: var(--blush);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.intro-band {
  padding: clamp(34px, 6vw, 64px) clamp(20px, 5vw, 56px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  max-width: var(--max);
  margin: 0 auto;
  color: var(--teal);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 84px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) clamp(20px, 5vw, 40px);
  border-bottom: 1px solid var(--line);
}

.about-portrait {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(rgba(247, 243, 238, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 238, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, var(--charcoal), #1a2222 58%, #243b38);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--cream);
}

.portrait-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.02);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 20, 23, 0.08), rgba(17, 20, 23, 0.34)),
    linear-gradient(90deg, rgba(17, 20, 23, 0.22), transparent 46%);
  pointer-events: none;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid var(--dark-line);
  z-index: 2;
}

.portrait-grid {
  position: absolute;
  top: 36px;
  right: 36px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 8px);
  gap: 17px;
}

.portrait-grid span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.45);
}

.portrait-grid span:nth-child(4n + 2),
.portrait-grid span:nth-child(7) {
  background: var(--rose);
}

.about-copy {
  align-self: center;
}

.about-copy h2 {
  margin-bottom: 30px;
}

.about-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(17, 20, 23, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.about-copy p a {
  color: var(--charcoal);
  font-weight: 760;
  box-shadow: inset 0 -1px 0 var(--rose);
}

.about-copy p a:hover {
  color: var(--rose);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rose);
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 42px;
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-proof span {
  min-height: 118px;
  padding: 18px;
  background: var(--cream);
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) clamp(20px, 5vw, 40px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(40px, 7vw, 84px);
}

.body-copy {
  color: rgba(17, 20, 23, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.system-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) clamp(84px, 10vw, 124px);
}

.system-card {
  min-height: 260px;
  padding: 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.system-card:first-child {
  border-left: 1px solid var(--line);
}

.card-index {
  display: block;
  margin-bottom: 90px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.system-card p,
.service-list p,
.proof-band p,
.insight-grid p,
.site-footer p {
  color: rgba(17, 20, 23, 0.64);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: start;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 820px;
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 18px minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--rose);
}

.service-list h3,
.service-list p {
  margin-bottom: 0;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--charcoal);
  color: var(--cream);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.proof-band div {
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--dark-line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-number {
  display: block;
  margin-bottom: 70px;
  color: var(--blush);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 780;
  letter-spacing: -0.05em;
}

.proof-band p {
  max-width: 310px;
  color: rgba(247, 243, 238, 0.68);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.insight-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--cream);
}

.insight-grid p {
  margin-bottom: 82px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 100px);
  padding: clamp(76px, 10vw, 128px) clamp(20px, 5vw, 56px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-section > div,
.contact-form {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 16px;
  width: 100%;
  justify-self: end;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(17, 20, 23, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--charcoal);
  padding: 14px 15px;
  outline: 0;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(20px, 5vw, 56px);
  background: var(--charcoal);
  color: var(--cream);
}

.footer-brand .brand-mark {
  font-size: 28px;
}

.site-footer p {
  max-width: 420px;
  margin: 0;
  color: rgba(247, 243, 238, 0.62);
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .about-section,
  .split,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 560px;
  }

  .about-portrait {
    min-height: 460px;
  }

  .system-section,
  .proof-band,
  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 15px 18px;
  }

  .header-cta {
    display: none;
  }

  .brand-mark {
    font-size: 30px;
  }

  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.3em;
  }

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .system-section,
  .proof-band,
  .insight-grid,
  .about-proof {
    grid-template-columns: 1fr;
  }

  .system-card,
  .proof-band div,
  .insight-grid article {
    min-height: 220px;
  }

  .service-list article {
    grid-template-columns: 14px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}
