@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/BeVietnamPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/BeVietnamPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/BeVietnamPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/BeVietnamPro-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/BeVietnamPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #16172f;
  --rust: #a34d1a;
  --rust-dark: #7d3a13;
  --blue: #d5dde8;
  --paper: #ffffff;
  --canvas: #f7f7f6;
  --grey: #eceae8;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--rust);
  text-decoration: none;
}

a:hover {
  color: var(--rust-dark);
}

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

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

::selection {
  background: #cdd8e7;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  width: 100%;
  padding: 14px 0 22px;
}

.page-frame {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #ececea;
}

.hero {
  position: relative;
  overflow: visible;
  background: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 60px 0;
}

.brand {
  display: block;
}

.brand img {
  display: block;
  width: 212px;
  height: auto;
}

.nav-controls,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-controls {
  gap: 44px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.nav-links {
  gap: 44px;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

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

.language-switch {
  gap: 7px;
  color: var(--rust);
}

.language-switch span {
  opacity: 0.5;
}

.language-switch button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--rust);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  letter-spacing: inherit;
  opacity: 0.62;
  transition: opacity 0.25s;
}

.language-switch button[aria-pressed="true"] {
  font-weight: 700;
  opacity: 1;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 118px 60px 0;
}

.hero h1 {
  margin: 0;
  font-size: 104px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-inner > p {
  max-width: 820px;
  margin: 56px 0 0;
  font-size: 23px;
  line-height: 1.52;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 32px;
  margin-top: 120px;
  transform: translateY(50%);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--rust);
  border-radius: 26px;
  background: var(--paper);
  color: var(--rust);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.09em;
  white-space: nowrap;
  transition: background 0.28s, color 0.28s;
}

.pill-button:hover {
  background: var(--rust);
  color: var(--paper);
}

.content-section {
  background: var(--paper);
}

.challenge-section {
  padding: 176px 60px 150px;
}

.approach-section {
  padding: 0 60px;
  background: var(--paper);
}

.narrow-content,
.wide-content,
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.narrow-content {
  max-width: 829px;
  margin-right: auto;
  margin-left: max(calc((100% - 1180px) / 2 + 291px), 0px);
}

.kicker {
  margin: 0 0 34px;
  color: var(--rust);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.challenge-section .narrow-content > p:not(.kicker) {
  margin: 0 0 34px;
  font-size: 23px;
  line-height: 1.55;
  text-wrap: pretty;
}

.challenge-section .narrow-content > p:last-child {
  margin-bottom: 0;
}

.approach-lead {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

.diagram-section {
  margin-top: 80px;
  padding: 32px 60px 36px;
  background: var(--grey);
}

.diagram-stage {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 1080 / 900;
  margin: 0 auto;
}

.diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

.diagram-lines line {
  stroke: var(--ink);
  stroke-width: 1.2;
}

.diagram-hub,
.diagram-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.diagram-hub {
  left: 37.04%;
  top: 34.44%;
  width: 25.93%;
  will-change: transform;
}

.diagram-hub img {
  display: block;
  width: 88px;
  height: auto;
  transform: translateX(4px);
}

.diagram-note {
  position: absolute;
  left: 41%;
  top: 36.78%;
  width: 47%;
  opacity: 0;
  transform: translateX(28px);
  will-change: transform, opacity;
}

.diagram-note .kicker {
  margin-bottom: 20px;
  font-size: 16px;
}

.diagram-note > p:last-child {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  text-wrap: pretty;
}

.diagram-node {
  width: 25%;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  text-align: center;
  transition: border-color 0.3s;
  will-change: transform, opacity;
}

.diagram-node:hover {
  border-color: var(--rust);
}

.diagram-node-a {
  left: 5.19%;
  top: 4.44%;
  padding: 30px;
}

.diagram-node-b {
  left: 71.67%;
  top: 8.89%;
}

.diagram-node-c {
  left: 28.7%;
  top: 71.67%;
}

.diagram-node h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.vision-section {
  padding: 150px 60px 140px;
  background: var(--paper);
}

.vision-section h2 {
  max-width: 1080px;
  margin: 0 0 80px;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.26;
  text-wrap: pretty;
}

.vision-copy,
.today-copy {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  gap: 34px;
}

.vision-copy p,
.today-copy p {
  margin: 0;
  font-size: 23px;
  line-height: 1.55;
  text-wrap: pretty;
}

.today-section {
  padding: 130px 60px;
  background: var(--grey);
}

.today-copy {
  max-width: 820px;
  gap: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 56px;
  margin-top: 80px;
}

.team-grid h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.team-grid p {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.4;
  opacity: 0.72;
}

.footer {
  padding: 62px 60px 66px;
  background: var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto auto;
  gap: 60px;
  align-items: start;
}

.footer .kicker {
  margin-bottom: 18px;
  font-size: 15px;
}

.contact-name {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-role {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  opacity: 0.72;
}

.contact-email {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 19px;
  transition: color 0.25s;
}

.contact-email:hover,
.legal-links a:hover {
  color: var(--rust);
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 36px;
  font-size: 16px;
}

.legal-links a {
  color: var(--ink);
  transition: color 0.25s;
}

.linkedin-link {
  display: block;
  padding-top: 40px;
  opacity: 0.9;
  transition: opacity 0.25s;
}

.linkedin-link:hover {
  opacity: 0.6;
}

.linkedin-link svg {
  display: block;
  width: 26px;
  height: 26px;
}

.linkedin-link rect {
  fill: var(--ink);
}

.linkedin-link path {
  fill: var(--paper);
}

.scroll-hint {
  position: fixed;
  right: 56px;
  bottom: 44px;
  z-index: 50;
  pointer-events: none;
  transition: opacity 0.5s;
}

.scroll-hint svg {
  display: block;
  width: 26px;
  height: 52px;
  animation: bob 2.6s ease-in-out infinite;
}

.scroll-hint path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: square;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

@media (max-width: 900px) {
  .site-shell {
    padding-top: 0;
  }

  .page-frame {
    border: 0;
  }

  .nav {
    padding: 32px 40px 0;
  }

  .nav-controls,
  .nav-links {
    gap: 28px;
  }

  .hero-inner {
    padding: 96px 40px 0;
  }

  .hero h1 {
    font-size: clamp(64px, 10vw, 88px);
  }

  .hero-inner > p {
    font-size: 21px;
  }

  .challenge-section {
    padding: 150px 40px 110px;
  }

  .approach-section,
  .diagram-section,
  .vision-section,
  .today-section,
  .footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .narrow-content {
    max-width: none;
    margin-left: 0;
  }

  .vision-section h2 {
    font-size: 44px;
  }
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    padding: 26px 24px 0;
  }

  .brand img {
    width: 176px;
  }

  .nav-controls {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 14px;
    font-size: 13px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-inner {
    padding: 84px 24px 0;
  }

  .hero h1 {
    font-size: clamp(47px, 13.5vw, 72px);
    line-height: 1.08;
  }

  .hero-inner > p {
    margin-top: 40px;
    font-size: 19px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 72px;
  }

  .pill-button {
    min-height: 48px;
    padding: 0 22px;
    font-size: 13px;
  }

  .challenge-section {
    padding: 130px 24px 88px;
  }

  .approach-section {
    padding: 0 24px;
  }

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

  .challenge-section .narrow-content > p:not(.kicker),
  .vision-copy p,
  .today-copy p {
    font-size: 19px;
  }

  .approach-lead {
    font-size: 22px;
  }

  .diagram-section {
    margin-top: 64px;
    padding: 64px 24px 72px;
  }

  .diagram-stage {
    display: flex;
    max-width: none;
    aspect-ratio: auto;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .diagram-lines {
    display: none;
  }

  .diagram-hub,
  .diagram-node,
  .diagram-note {
    position: relative;
    inset: auto;
    width: min(280px, 88vw);
    transform: none !important;
    opacity: 1 !important;
  }

  .diagram-hub {
    order: 5;
  }

  .diagram-node {
    min-height: 0;
    padding: 38px;
  }

  .diagram-node-a { order: 1; }
  .diagram-node-b { order: 2; }
  .diagram-node-c { order: 3; }

  .diagram-note {
    order: 4;
    margin-top: 24px;
  }

  .diagram-note .kicker {
    font-size: 14px;
  }

  .diagram-note > p:last-child {
    font-size: 18px;
  }

  .vision-section {
    padding: 90px 24px 88px;
  }

  .vision-section h2 {
    margin-bottom: 54px;
    font-size: 34px;
  }

  .vision-copy,
  .today-copy {
    gap: 26px;
  }

  .today-section {
    padding: 84px 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 56px;
  }

  .footer {
    padding: 54px 24px 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    gap: 42px 28px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .legal-links,
  .linkedin-link {
    padding-top: 0;
  }

  .scroll-hint {
    right: 20px;
    bottom: 24px;
  }
}

@media (max-width: 420px) {
  .nav {
    flex-direction: column;
    gap: 24px;
  }

  .nav-controls {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-inner {
    padding-top: 68px;
  }

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

  .pill-button {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

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

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

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