:root {
  --paper: #f4f1e9;
  --paper-2: #ebe6da;
  --paper-3: #ddd7ca;

  --ink: #0c1d22;
  --ink-soft: #25383d;
  --ink-muted: #6c7778;

  --blue: #2d68ff;
  --blue-dark: #174ccf;
  --blue-soft: #dbe5ff;

  --coral: #ff6a4d;
  --sage: #a4b8a7;

  --white: #ffffff;

  --line: rgba(12, 29, 34, 0.13);
  --line-dark: rgba(255, 255, 255, 0.16);

  --display: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --max-width: 1440px;
  --gutter: clamp(22px, 4vw, 72px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------
   RESET
--------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: white;
}

.page-shell {
  overflow: clip;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding:
    clamp(100px, 12vw, 190px)
    var(--gutter);
}

/* ---------------------------------------------
   TYPOGRAPHY
--------------------------------------------- */

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.91;
}

h2 em,
h1 em {
  color: var(--blue);
  font-weight: 400;
}

.section-index {
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-index.light {
  color: #8faeff;
}

/* ---------------------------------------------
   HEADER
--------------------------------------------- */

.site-header {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
}

.brand-symbol {
  position: relative;
  display: inline-flex;
  gap: 3px;
  align-items: end;
  width: 27px;
  height: 27px;
}

.brand-symbol span {
  display: block;
  width: 7px;
  border-radius: 1px;
  background: var(--ink);
}

.brand-symbol span:nth-child(1) {
  height: 12px;
}

.brand-symbol span:nth-child(2) {
  height: 20px;
  background: var(--blue);
}

.brand-symbol span:nth-child(3) {
  height: 27px;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-name span {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 10px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  right: 0;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: all 220ms ease;
}

.menu-icon::before {
  top: 1px;
}

.menu-icon::after {
  bottom: 1px;
}

/* ---------------------------------------------
   HERO
--------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: clamp(40px, 6vw, 105px);
  align-items: center;
  max-width: var(--max-width);
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding:
    clamp(70px, 8vw, 115px)
    var(--gutter)
    clamp(85px, 9vw, 130px);
}

.hero-background-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.3),
      transparent 49%,
      transparent
    );
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -160px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(45, 104, 255, 0.12),
      rgba(45, 104, 255, 0) 68%
    );
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 33px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow-dot,
.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 106, 77, 0.12);
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 35px;
  font-size: clamp(70px, 8.4vw, 132px);
  line-height: 0.82;
}

.headline-line {
  display: block;
}

.headline-accent {
  display: block;
  margin-top: 0.08em;
  font-size: 0.67em;
  line-height: 1.03;
}

.headline-accent em {
  position: relative;
  white-space: nowrap;
}

.headline-accent em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6px;
  bottom: 0.07em;
  left: -6px;
  height: 0.13em;
  background: rgba(45, 104, 255, 0.16);
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 40px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 220ms var(--ease),
    background 220ms ease,
    color 220ms ease;
}

.button span {
  font-size: 18px;
}

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

.button-primary {
  background: var(--blue);
  color: white;
}

.button-primary:hover {
  background: var(--blue-dark);
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.hero-belief {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  max-width: 570px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.belief-number {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
}

.hero-belief p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-belief strong {
  color: var(--ink);
}

/* ---------------------------------------------
   HERO SYSTEM GRAPHIC
--------------------------------------------- */

.hero-system {
  align-self: center;
  min-width: 0;
  border: 1px solid rgba(12, 29, 34, 0.18);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(235, 230, 218, 0.55)
    );
  box-shadow:
    0 45px 100px rgba(13, 29, 34, 0.14),
    0 3px 0 rgba(255, 255, 255, 0.85) inset;
}

.system-topbar,
.system-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 47px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.system-status i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #29b66a;
  box-shadow: 0 0 0 4px rgba(41, 182, 106, 0.12);
}

.system-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(12, 29, 34, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 29, 34, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}

.system-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(244, 241, 233, 0.48),
      transparent 18%,
      transparent 80%,
      rgba(244, 241, 233, 0.38)
    );
}

.workflow-lines {
  position: absolute;
  z-index: 1;
  top: 48px;
  left: 4%;
  width: 92%;
  height: 86%;
  overflow: visible;
}

.workflow-lines path {
  stroke: rgba(12, 29, 34, 0.23);
  stroke-width: 1.4;
}

.workflow-lines circle {
  fill: var(--paper);
  stroke: var(--blue);
  stroke-width: 2;
}

.flow-path {
  stroke-dasharray: 8 7;
  animation: flow 16s linear infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -120;
  }
}

.system-label {
  position: absolute;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-muted);
}

.system-label span {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.label-one {
  top: 20px;
  left: 24px;
}

.label-two {
  top: 20px;
  left: 44%;
}

.label-three {
  top: 20px;
  right: 24px;
  text-align: right;
}

.workflow-item {
  position: absolute;
  z-index: 4;
  width: 150px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.96);
  box-shadow: 0 8px 18px rgba(12, 29, 34, 0.04);
  font-size: 10px;
  line-height: 1.45;
}

.workflow-item span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  color: var(--coral);
}

.workflow-a {
  top: 101px;
  left: 28px;
}

.workflow-b {
  top: 208px;
  left: 28px;
}

.workflow-c {
  top: 329px;
  left: 28px;
}

.clarity-node {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 49%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(45, 104, 255, 0.55);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 14px rgba(45, 104, 255, 0.06),
    0 20px 50px rgba(12, 29, 34, 0.24);
}

.clarity-node strong {
  margin: 4px 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.node-small {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: #a9beff;
}

.node-pulse {
  position: absolute;
  inset: -19px;
  border: 1px solid rgba(45, 104, 255, 0.24);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.94);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

.workflow-result {
  position: absolute;
  z-index: 4;
  right: 23px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 170px;
  padding: 12px;
  border: 1px solid rgba(45, 104, 255, 0.27);
  background: rgba(255, 255, 255, 0.93);
  font-size: 10px;
}

.workflow-result small {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.result-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 11px;
}

.result-one {
  top: 145px;
}

.result-two {
  top: 288px;
}

.system-footer {
  min-height: 40px;
  gap: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--ink-muted);
}

/* ---------------------------------------------
   PRINCIPLE STRIP
--------------------------------------------- */

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

.principle-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  min-height: 135px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

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

.principle-item > span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--blue);
}

.principle-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.principle-item p {
  margin: 0;
  font-size: 11px;
  color: var(--ink-muted);
}

/* ---------------------------------------------
   SECTION HEADINGS
--------------------------------------------- */

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: clamp(70px, 8vw, 120px);
}

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

.section-heading-copy {
  justify-self: end;
  max-width: 390px;
  padding-bottom: 6px;
}

.section-heading-copy p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ---------------------------------------------
   PROBLEMS
--------------------------------------------- */

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

.problem-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.problem-card {
  position: relative;
  min-height: 340px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 300ms ease,
    transform 300ms var(--ease);
}

.problem-card:hover {
  z-index: 2;
  background: #faf8f3;
}

.problem-card.featured {
  grid-row: span 2;
  min-height: 680px;
  padding: 40px;
  background: var(--ink);
  color: white;
}

.card-number {
  margin-bottom: 90px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--blue);
}

.problem-card.featured .card-number {
  color: #8aa8ff;
}

.problem-card h3 {
  margin-bottom: 17px;
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.problem-card p {
  max-width: 360px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.problem-card.featured p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.67);
}

.problem-icon {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 130px;
  margin: 18px 0 85px;
}

.problem-icon span {
  width: 23px;
  background: var(--blue);
}

.problem-icon span:nth-child(1) {
  height: 41%;
  opacity: 0.55;
}

.problem-icon span:nth-child(2) {
  height: 68%;
  opacity: 0.78;
}

.problem-icon span:nth-child(3) {
  height: 100%;
}

.problem-example {
  position: absolute;
  right: 40px;
  bottom: 40px;
  left: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.4;
}

.problem-example span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #8aa8ff;
}

.card-arrow {
  position: absolute;
  right: 28px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 13px;
}

/* ---------------------------------------------
   TRANSFORMATION
--------------------------------------------- */

.transformation-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(70px, 8vw, 140px);
  padding:
    clamp(100px, 12vw, 180px)
    var(--gutter);
  background: var(--ink);
  color: white;
}

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

.transformation-copy h2 {
  margin-bottom: 40px;
  font-size: clamp(54px, 6vw, 94px);
}

.transformation-copy h2 em {
  color: #8ba8ff;
}

.transformation-copy > p:last-child {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.58);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 35px;
  align-items: center;
}

.flow-column {
  min-width: 0;
}

.flow-label {
  display: inline-block;
  margin-bottom: 25px;
  padding: 7px 10px;
  background: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.muted-label {
  background: rgba(255, 255, 255, 0.1);
}

.flow-step {
  padding: 18px 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  line-height: 1.5;
}

.flow-step span {
  margin-right: 11px;
  font-family: var(--mono);
  font-size: 8px;
  color: #819fff;
}

.flow-connector {
  width: 1px;
  height: 20px;
  margin-left: 26px;
  background: var(--line-dark);
}

.transformation-arrow {
  font-family: var(--display);
  font-size: 45px;
  color: #688eff;
}

.after-column {
  text-align: center;
}

.after-core {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(280px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 29px;
  border: 1px solid rgba(103, 141, 255, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(45, 104, 255, 0.23),
      transparent 65%
    );
}

.after-core span {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #8faeff;
}

.after-core strong {
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 57px);
  font-weight: 500;
  line-height: 0.9;
}

.after-core-ring {
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(143, 174, 255, 0.32);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.after-column p {
  max-width: 330px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.57);
}

/* ---------------------------------------------
   PROCESS
--------------------------------------------- */

.process-section {
  padding-bottom: clamp(100px, 12vw, 180px);
}

.process-track {
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36px;
  width: 1px;
  background: var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  transition:
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

.process-step:hover .process-marker {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.process-marker span {
  font-family: var(--mono);
  font-size: 9px;
}

.process-step > div:last-child {
  display: grid;
  grid-template-columns: 110px minmax(250px, 0.8fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: start;
  padding-top: 18px;
}

.process-step small {
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.process-step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.process-step p {
  max-width: 500px;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ---------------------------------------------
   PHILOSOPHY
--------------------------------------------- */

.philosophy-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding:
    clamp(100px, 11vw, 170px)
    var(--gutter);
  background: var(--blue);
  color: white;
}

.philosophy-mark {
  position: absolute;
  top: -0.37em;
  right: 1vw;
  font-family: var(--display);
  font-size: min(65vw, 970px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
}

.philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.philosophy-section .section-index {
  color: rgba(255, 255, 255, 0.64);
}

blockquote {
  max-width: 1190px;
  margin: 80px 0 95px;
  font-family: var(--display);
  font-size: clamp(60px, 8.2vw, 128px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

blockquote span {
  font-style: italic;
}

.philosophy-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 840px;
  margin-left: auto;
}

.philosophy-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.philosophy-footer strong {
  color: white;
}

/* ---------------------------------------------
   ABOUT
--------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 0.65fr);
  gap: clamp(70px, 10vw, 180px);
}

.about-heading h2 {
  font-size: clamp(58px, 7vw, 105px);
}

.about-content {
  padding-top: 57px;
}

.about-content p {
  margin-bottom: 26px;
  color: var(--ink-muted);
}

.about-content .about-lede {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.about-lede strong {
  font-weight: 500;
}

.inline-contact {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

/* ---------------------------------------------
   VALUES
--------------------------------------------- */

.values-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(70px, 10vw, 160px);
  padding:
    clamp(100px, 11vw, 170px)
    var(--gutter);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.values-heading {
  position: sticky;
  top: 60px;
  align-self: start;
}

.values-heading h2 {
  margin-bottom: 40px;
  font-size: clamp(52px, 5vw, 82px);
}

.values-heading > p:last-child {
  max-width: 440px;
  color: var(--ink-muted);
}

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

.value-row {
  display: grid;
  grid-template-columns: 50px 1fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
}

.value-row > span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--blue);
}

.value-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.value-row p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------------------------------------------
   CONTACT
--------------------------------------------- */

.contact-section {
  position: relative;
  overflow: hidden;
  padding:
    clamp(100px, 12vw, 180px)
    var(--gutter)
    70px;
  background: #09191e;
  color: white;
}

.contact-grid-background {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 30%,
      #000 70%,
      transparent
    );
}

.contact-section::after {
  content: "";
  position: absolute;
  top: -300px;
  right: -200px;
  width: 900px;
  height: 900px;
  border: 1px solid rgba(45, 104, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(45, 104, 255, 0.025),
    0 0 0 190px rgba(45, 104, 255, 0.018);
}

.contact-kicker,
.contact-main,
.contact-details {
  position: relative;
  z-index: 2;
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 70px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.contact-main {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr;
  gap: clamp(60px, 10vw, 170px);
  align-items: end;
}

.contact-main h2 {
  font-size: clamp(70px, 9vw, 140px);
}

.contact-main h2 em {
  color: #819fff;
}

.contact-copy {
  padding-bottom: 14px;
}

.contact-copy p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.64);
}

.contact-copy p:first-child {
  margin-bottom: 7px;
  color: white;
  font-weight: 600;
}

.button-contact {
  margin-top: 28px;
  background: white;
  color: var(--ink);
}

.button-contact:hover {
  background: #dfe7ff;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 120px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.contact-details > div {
  min-width: 0;
}

.contact-details span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #819fff;
}

.contact-details a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------------------------------------------
   FOOTER
--------------------------------------------- */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 35px;
  align-items: center;
  min-height: 110px;
  padding: 0 var(--gutter);
  background: #071317;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.footer-symbol span {
  background: white;
}

.footer-symbol span:nth-child(2) {
  background: #7195ff;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.footer-meta {
  justify-self: end;
  display: flex;
  gap: 30px;
  font-size: 10px;
}

.footer-meta a:hover {
  color: white;
}

/* ---------------------------------------------
   REVEAL ANIMATION
--------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 180ms;
}

/* ---------------------------------------------
   TABLET
--------------------------------------------- */

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

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .site-nav.open {
    position: absolute;
    top: 96px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 28px;
  }

  .site-nav.open a:last-child {
    border-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-system {
    width: min(780px, 100%);
  }

  .principle-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle-item:nth-child(2) {
    border-right: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section-heading-copy {
    justify-self: start;
  }

  .problem-layout {
    grid-template-columns: 1fr 1fr;
  }

  .problem-card.featured {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 570px;
  }

  .transformation-section {
    grid-template-columns: 1fr;
  }

  .transformation-copy {
    max-width: 750px;
  }

  .process-step > div:last-child {
    grid-template-columns: 80px 1fr;
  }

  .process-step p {
    grid-column: 2;
  }

  .about-grid,
  .values-section {
    grid-template-columns: 1fr;
  }

  .about-content {
    max-width: 720px;
    padding-top: 0;
  }

  .values-heading {
    position: static;
    max-width: 760px;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 580px;
  }
}

/* ---------------------------------------------
   MOBILE
--------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    min-height: 78px;
  }

  .site-nav.open {
    top: 78px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-symbol {
    width: 24px;
    height: 24px;
  }

  .hero {
    gap: 65px;
    padding-top: 60px;
  }

  .hero-background-grid {
    background-size: 48px 48px;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 94px);
  }

  .headline-accent {
    margin-top: 0.15em;
    font-size: 0.62em;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
  }

  .button {
    width: 100%;
  }

  .hero-belief {
    margin-top: 42px;
  }

  .hero-system {
    margin-bottom: 20px;
  }

  .system-stage {
    min-height: 440px;
  }

  .workflow-item {
    width: 113px;
    padding: 10px;
    font-size: 8px;
  }

  .workflow-a {
    top: 88px;
    left: 12px;
  }

  .workflow-b {
    top: 190px;
    left: 12px;
  }

  .workflow-c {
    top: 295px;
    left: 12px;
  }

  .clarity-node {
    left: 52%;
    width: 125px;
    height: 125px;
  }

  .clarity-node strong {
    font-size: 23px;
  }

  .workflow-result {
    right: 10px;
    width: 116px;
    padding: 9px;
    font-size: 8px;
  }

  .workflow-result .result-icon {
    display: none;
  }

  .result-one {
    top: 130px;
  }

  .result-two {
    top: 277px;
  }

  .system-footer {
    overflow: hidden;
    gap: 10px;
    font-size: 6px;
  }

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

  .principle-item,
  .principle-item:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  h2 {
    font-size: clamp(53px, 16vw, 78px);
  }

  .problem-layout {
    grid-template-columns: 1fr;
  }

  .problem-card.featured {
    grid-column: span 1;
    min-height: 530px;
  }

  .problem-card {
    min-height: 300px;
  }

  .card-number {
    margin-bottom: 65px;
  }

  .problem-icon {
    margin-bottom: 60px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .transformation-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .after-column {
    margin-top: 15px;
  }

  .process-track::before {
    left: 25px;
  }

  .process-step {
    grid-template-columns: 52px 1fr;
    gap: 22px;
  }

  .process-marker {
    width: 52px;
    height: 52px;
  }

  .process-step > div:last-child {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 3px;
  }

  .process-step p {
    grid-column: 1;
  }

  blockquote {
    margin-top: 60px;
    margin-bottom: 70px;
  }

  .philosophy-footer {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-content .about-lede {
    font-size: 26px;
  }

  .value-row {
    grid-template-columns: 38px 1fr;
    gap: 15px;
    padding: 30px 0;
  }

  .value-row p {
    grid-column: 2;
  }

  .contact-main h2 {
    font-size: clamp(66px, 19vw, 94px);
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 80px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .footer-meta {
    justify-self: start;
    flex-direction: column;
    gap: 6px;
  }
}

/* ---------------------------------------------
   REDUCED MOTION
--------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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