@font-face {
  font-family: "Onest";
  src: url("/assets/onest-variable.ttf?v=966c5c29b475") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --surface: #ffffff;
  --ink: #071203;
  --muted: #5e6659;
  --line: rgba(7, 18, 3, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);
  --accent: #22dc15;
  --accent-bright: #38ff15;
  --accent-strong: #15720f;
  --accent-soft: #d8ffcf;
  --accent-text: #071203;
  --radius: 20px;
  --radius-small: 14px;
  --page-gutter: clamp(22px, 4.2vw, 68px);
  --section-space: clamp(96px, 11vw, 170px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: "Onest", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

ol,
ul {
  padding: 0;
}

button {
  border: 0;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 14px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  opacity: 0;
  visibility: hidden;
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.page-frame {
  width: min(1600px, 100%);
  margin-inline: auto;
  padding: 10px;
  background: var(--surface);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 220ms var(--ease),
    background-color 220ms ease,
    color 220ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button--primary {
  background: var(--accent);
  color: var(--accent-text);
}

.button--primary:hover {
  background: var(--accent-bright);
}

.button--light {
  background: var(--surface);
  color: var(--ink);
}

.button--large {
  min-height: 62px;
  padding-inline: 32px;
  font-size: 16px;
}

.eyebrow,
.hero__eyebrow {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--accent-bright);
}

.hero {
  --spot-x: 50%;
  --spot-y: 42%;
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 20px);
  max-height: 980px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(34, 220, 21, 0.12) 0%, rgba(34, 220, 21, 0.06) 44%, rgba(255, 255, 255, 0.96) 49%, rgba(255, 255, 255, 0.08) 72%),
    var(--surface);
}

.site-header {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  min-height: 76px;
  align-items: center;
  padding: 0 clamp(24px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.brand__mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 10px;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  font-size: 12px;
  font-weight: 650;
}

.site-nav a,
.header-contact {
  position: relative;
}

.site-nav a {
  color: var(--ink);
}

.site-nav a::after,
.header-contact::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

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

.header-contact {
  justify-self: end;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.hero__portrait {
  position: absolute;
  z-index: -2;
  top: 76px;
  right: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
  background: #d9d7d2;
}

.hero__photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.hero__photo--base {
  z-index: 0;
}

.hero__ai-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  clip-path: circle(0 at var(--spot-x) var(--spot-y));
  pointer-events: none;
  transition: clip-path 260ms var(--ease);
  will-change: clip-path;
}

.hero.is-pointing .hero__ai-layer {
  clip-path: circle(23% at var(--spot-x) var(--spot-y));
}

.hero.is-pointing {
  cursor: none;
}

.hero__photo--ai {
  z-index: 0;
  filter: none;
  transform: translate3d(-3%, 0.5%, 0) scale(1.22);
  transform-origin: 50% 17%;
}

.hero__ai-field {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.hero__ai-axis,
.hero__ai-reticle,
.hero__ai-coordinates {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero__ai-axis--x {
  right: 0;
  left: 0;
  top: var(--spot-y);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 255, 21, 0.9), transparent);
}

.hero__ai-axis--y {
  top: 0;
  bottom: 0;
  left: var(--spot-x);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(56, 255, 21, 0.9), transparent);
}

.hero__ai-reticle {
  top: var(--spot-y);
  left: var(--spot-x);
  width: 58px;
  height: 58px;
  border: 1px solid rgba(56, 255, 21, 0.78);
  border-radius: 50%;
  box-shadow:
    0 0 0 7px rgba(56, 255, 21, 0.08),
    0 0 28px rgba(56, 255, 21, 0.2);
  transform: translate(-50%, -50%);
}

.hero__ai-reticle::before,
.hero__ai-reticle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: var(--accent-bright);
  transform: translate(-50%, -50%);
}

.hero__ai-reticle::before {
  width: 14px;
  height: 1px;
}

.hero__ai-reticle::after {
  width: 1px;
  height: 14px;
}

.hero__ai-coordinates {
  top: var(--spot-y);
  left: var(--spot-x);
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(7, 18, 3, 0.9);
  transform: translate(-50%, 40px);
  white-space: nowrap;
}

.hero__ai-coordinates b {
  color: var(--accent-bright);
  font: inherit;
}

.hero__photo-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(180deg, rgba(7, 18, 3, 0.04), rgba(7, 18, 3, 0.2));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: calc(100dvh - 20px);
  max-height: 980px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 112px var(--page-gutter) 92px;
}

.hero__eyebrow {
  margin-bottom: 22px;
}

.hero__title {
  width: min(47vw, 680px);
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.title-line > span {
  display: block;
}

.hero__intro {
  width: min(590px, 49vw);
  margin-top: 28px;
  color: #3b4149;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 12px 26px;
}

.hero__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  transition:
    border-color 200ms ease,
    color 200ms ease;
}

.hero__links a:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.week-story {
  padding: var(--section-space) var(--page-gutter);
  border-radius: var(--radius);
  background: var(--paper);
}

.week-story__heading {
  max-width: 1040px;
}

.week-story__heading h2,
.projects__heading h2,
.method__intro h2,
.entry__heading h2,
.experience__heading h2,
.contact h2,
.proof-strip h2,
.value-calculator h2 {
  font-size: clamp(46px, 6.2vw, 92px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.week-story__heading h2 {
  margin-top: 0;
}

.transformation-title {
  display: grid;
  gap: 0.04em;
}

.transformation-title__signal {
  color: var(--accent-strong);
}

.week-story__heading > p:last-child {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.week-story__layout {
  display: grid;
  align-items: start;
  margin-top: clamp(68px, 8vw, 118px);
  gap: clamp(42px, 6vw, 92px);
  grid-template-columns: minmax(0, 7fr) minmax(290px, 4fr);
}

.week-model {
  --routine-scale: 0.6;
  --coordination-scale: 0.2;
  --strategy-scale: 0.2;
  --coordination-offset: 60%;
  --strategy-offset: 80%;
  position: sticky;
  top: 18px;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
}

.week-model__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.week-model__state {
  color: var(--accent-bright);
  text-align: right;
}

.week-model__metrics {
  display: grid;
  margin-top: clamp(34px, 4.5vw, 62px);
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.week-model__metrics div {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.week-model__metrics div:first-child {
  padding-left: 0;
  border-left: 0;
}

.week-model__metrics dt {
  min-height: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.2;
}

.week-model__metrics dd {
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.week-model__metrics small {
  margin-left: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.33em;
  font-weight: 600;
  letter-spacing: 0;
}

.week-model__strategy dd {
  color: var(--accent-bright);
}

.week-bar {
  position: relative;
  height: clamp(54px, 6.2vw, 88px);
  margin-top: clamp(34px, 4.5vw, 62px);
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.week-bar__segment {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: left center;
  transition:
    translate 760ms var(--ease),
    scale 760ms var(--ease);
}

.week-bar__segment--routine {
  background: #495046;
  scale: var(--routine-scale) 1;
  translate: 0 0;
}

.week-bar__segment--coordination {
  background: #9fa894;
  scale: var(--coordination-scale) 1;
  translate: var(--coordination-offset) 0;
}

.week-bar__segment--strategy {
  background: var(--accent);
  scale: var(--strategy-scale) 1;
  translate: var(--strategy-offset) 0;
}

.week-model__legend {
  display: grid;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  grid-template-columns: 3fr 1.45fr 2fr;
}

.week-model__legend span:nth-child(2) {
  text-align: center;
}

.week-model__legend span:nth-child(3) {
  color: var(--accent-bright);
  text-align: right;
}

.week-model__transfer {
  display: grid;
  align-items: start;
  margin-top: clamp(38px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  gap: 22px;
  grid-template-columns: minmax(120px, 1fr) minmax(220px, 2fr);
}

.week-model__transfer p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.week-model__transfer strong {
  max-width: 34ch;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 620;
  line-height: 1.25;
}

.week-chapters {
  min-width: 0;
}

.week-chapter {
  display: flex;
  min-height: 52vh;
  justify-content: center;
  padding: 46px 0 46px clamp(24px, 3vw, 46px);
  border-left: 1px solid rgba(7, 18, 3, 0.12);
  flex-direction: column;
  cursor: pointer;
  opacity: 0.42;
  transition:
    border-color 260ms ease,
    opacity 260ms ease,
    transform 260ms var(--ease);
}

.week-chapter.is-active {
  border-left-color: var(--accent);
  opacity: 1;
  transform: translateX(8px);
}

.week-chapter > p:first-child {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.week-chapter h3 {
  max-width: 15ch;
  margin-top: 16px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.week-chapter > p:last-child {
  max-width: 39ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.value-calculator {
  display: grid;
  padding: var(--section-space) var(--page-gutter);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  gap: clamp(56px, 8vw, 126px);
  grid-template-columns: minmax(0, 5fr) minmax(460px, 7fr);
}

.value-calculator__intro {
  align-self: start;
}

.value-calculator__intro h2 {
  max-width: 9ch;
  margin-top: 18px;
}

.value-calculator__intro > p:last-child {
  max-width: 42ch;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

.time-calculator {
  align-self: end;
  min-width: 0;
  padding: clamp(26px, 3.8vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.time-calculator__assumption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  gap: 24px;
}

.time-calculator__assumption span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-calculator__assumption strong {
  color: var(--accent-bright);
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.03em;
}

.time-calculator__inputs {
  display: grid;
  margin-top: 28px;
  gap: 12px;
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
}

.time-calculator__inputs label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.time-calculator__inputs label > span:first-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.time-calculator__field {
  display: grid;
  min-height: 64px;
  align-items: center;
  padding: 0 18px;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.time-calculator__field:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.time-calculator__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 720;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.time-calculator__field b {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.time-calculator__results {
  display: grid;
  margin-top: 34px;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-calculator__results > div {
  display: flex;
  min-height: 116px;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-small);
  flex-direction: column;
  gap: 18px;
}

.time-calculator__results span {
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.time-calculator__results output {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-calculator__results .time-calculator__value {
  min-height: 138px;
  background: var(--accent);
  color: var(--accent-text);
  grid-column: 1 / -1;
}

.time-calculator__value span {
  color: rgba(7, 18, 3, 0.64);
}

.time-calculator__value output {
  font-size: clamp(38px, 5vw, 72px);
}

.time-calculator__boundary {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.45;
}

.proof-strip {
  display: grid;
  padding: var(--section-space) var(--page-gutter);
  background: var(--surface);
  gap: clamp(54px, 8vw, 120px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.proof-strip__statement h2 {
  max-width: 8ch;
}

.proof-strip__statement p {
  max-width: 41ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
}

.proof-strip__sequence {
  align-self: end;
}

.proof-strip__sequence > div {
  display: grid;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  grid-template-columns: minmax(170px, 0.9fr) minmax(180px, 1.2fr);
}

.proof-strip__sequence > div:first-child {
  border-top: 1px solid var(--line);
}

.proof-strip__sequence strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.proof-strip__sequence p {
  color: var(--muted);
  font-size: 14px;
}

.projects {
  padding: var(--section-space) var(--page-gutter);
  border-radius: var(--radius);
  background: var(--paper);
}

.projects__heading {
  max-width: 1050px;
}

.projects__heading h2 {
  max-width: 10ch;
}

.project-grid {
  display: grid;
  margin-top: clamp(70px, 8vw, 118px);
  gap: 14px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 470px;
  overflow: hidden;
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: var(--radius);
  background: var(--surface);
  flex-direction: column;
}

.project-card h3 {
  max-width: 18ch;
  margin-top: 0;
  font-size: clamp(32px, 3.7vw, 58px);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 0.99;
}

.project-card__copy {
  max-width: 47ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.project-card__metrics {
  display: grid;
  margin-top: clamp(34px, 4vw, 58px);
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card__metrics div {
  padding-top: 16px;
  border-top: 1px solid currentColor;
}

.project-card__metrics dt {
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-card__metrics dd {
  margin-top: 7px;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: 10px;
}

.project-card__metrics-label {
  margin-top: clamp(30px, 3.2vw, 46px);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.project-card--memory {
  color: var(--accent-text);
  background: var(--accent);
  grid-column: span 7;
}

.project-card--memory .project-card__copy {
  color: rgba(7, 18, 3, 0.66);
}

.project-card--memory .project-card__metrics {
  max-width: 520px;
  margin-top: clamp(28px, 3vw, 42px);
}

.project-card--memory .project-card__metrics dt {
  font-size: clamp(22px, 2vw, 30px);
}

.project-card__impact {
  margin-top: auto;
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid currentColor;
}

.project-card__impact span {
  display: block;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card__impact p {
  max-width: 24ch;
  margin-top: 10px;
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.project-card__impact strong {
  color: var(--accent-strong);
  font: inherit;
}

.project-card--outbound {
  border: 1px solid var(--line);
  grid-column: span 5;
}

.project-card--hermes {
  display: grid;
  min-height: 0;
  border: 1px solid var(--line);
  gap: clamp(36px, 6vw, 96px);
  grid-column: span 12;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.project-card__hermes-copy {
  display: flex;
  flex-direction: column;
}

.project-card--hermes .project-card__impact {
  align-self: end;
  margin-top: 0;
}

.project-card--hermes .project-card__impact p {
  max-width: 27ch;
}

.project-card--roles {
  background: var(--accent-soft);
  grid-column: span 5;
}

.project-card__equation {
  display: grid;
  align-items: center;
  margin: clamp(28px, 3vw, 42px) 0 30px;
  gap: 8px 12px;
  grid-template-columns: auto 1fr auto auto 1fr;
}

.project-card__equation strong {
  color: var(--accent-strong);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-card__equation span {
  color: var(--muted);
  font-size: 10px;
}

.project-card__equation b {
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 500;
}

.project-card--decisions {
  color: var(--surface);
  background: var(--ink);
  grid-column: span 7;
}

.project-card--decisions .project-card__header h3 {
  max-width: 15ch;
}

.project-card__shift {
  display: grid;
  margin-top: clamp(30px, 3.2vw, 46px);
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card__shift > div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.project-card__shift strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}

.project-card__shift p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.project-card--decisions .project-card__metrics {
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card--decisions .project-card__metrics dt {
  font-size: clamp(22px, 2vw, 30px);
}

.project-card--decisions .project-card__impact {
  margin-top: clamp(30px, 3.2vw, 46px);
}

.project-card--decisions .project-card__impact p {
  max-width: 25ch;
}

.project-card--team {
  border: 1px solid var(--line);
  grid-column: span 7;
}

.project-card--team .project-card__impact p {
  max-width: 31ch;
  font-size: clamp(34px, 3.8vw, 56px);
}

.project-card--access {
  color: var(--ink);
  background: var(--accent);
  grid-column: span 5;
}

.project-card--access .project-card__copy {
  color: rgba(7, 18, 3, 0.66);
}

.project-card--access .project-card__impact p {
  max-width: 28ch;
  font-size: clamp(27px, 2.7vw, 40px);
}

.project-card--copilot {
  display: grid;
  min-height: 520px;
  color: var(--surface);
  background: var(--ink);
  gap: clamp(48px, 8vw, 130px);
  grid-column: span 12;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.project-card__copilot-copy {
  display: flex;
  flex-direction: column;
}

.project-card--copilot .project-card__copy {
  color: rgba(255, 255, 255, 0.68);
}

.project-card--copilot .project-card__impact {
  align-self: end;
  margin-top: 0;
}

.project-card--copilot .project-card__impact p {
  max-width: 27ch;
}

.method {
  padding: var(--section-space) var(--page-gutter);
  background: var(--surface);
}

.method__intro {
  max-width: 1220px;
}

.method__intro h2 {
  max-width: 15ch;
}

.method__steps {
  display: grid;
  margin-top: clamp(70px, 8vw, 118px);
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method__steps li {
  min-height: 310px;
  padding: 28px clamp(20px, 2.1vw, 34px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method__steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.method__steps span,
.entry__routes span {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 750;
}

.method__steps h3 {
  margin-top: 82px;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.method__steps p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.entry {
  display: block;
  padding: var(--section-space) var(--page-gutter);
  border-radius: var(--radius);
  background: var(--paper);
}

.entry__heading h2 {
  max-width: 15ch;
}

.entry__heading p {
  max-width: 42ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.entry__routes {
  margin-top: clamp(70px, 8vw, 118px);
}

.entry__routes article {
  display: grid;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  gap: 18px;
  grid-template-columns: 150px minmax(220px, 1fr) minmax(180px, 0.8fr);
}

.entry__routes article:first-child {
  border-top: 1px solid var(--line);
}

.entry__routes h3 {
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.entry__routes p {
  color: var(--muted);
  font-size: 13px;
}

.experience {
  display: grid;
  padding: var(--section-space) var(--page-gutter);
  background: var(--surface);
  gap: clamp(56px, 8vw, 130px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.experience__heading h2 {
  max-width: 10ch;
  margin-top: 0;
}

.experience__role {
  max-width: 32ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.experience__cv {
  margin-top: 28px;
}

.experience__timeline article {
  display: grid;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  gap: 28px;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1.55fr);
}

.experience__timeline article:first-child {
  border-top: 1px solid var(--line);
}

.experience__timeline time {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.experience__timeline h3 {
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 690;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.experience__timeline p {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: end;
  overflow: hidden;
  padding: var(--section-space) var(--page-gutter);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  gap: clamp(56px, 8vw, 130px);
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
}

.contact__copy,
.contact__action {
  position: relative;
  z-index: 2;
}

.contact h2 {
  max-width: 9ch;
  margin-top: 0;
}

.contact__copy > p:last-child {
  max-width: 56ch;
  margin-top: 26px;
  color: rgba(7, 18, 3, 0.68);
  font-size: 17px;
}

.contact__action {
  padding-bottom: 8px;
}

.contact__action > p {
  max-width: 32ch;
  margin-top: 18px;
  color: rgba(7, 18, 3, 0.64);
  font-size: 12px;
}

.contact::after {
  content: "AI";
  position: absolute;
  right: -0.08em;
  bottom: -0.25em;
  color: rgba(7, 18, 3, 0.075);
  font-size: clamp(420px, 52vw, 780px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.site-footer {
  display: grid;
  align-items: end;
  padding: 42px var(--page-gutter) 32px;
  color: var(--muted);
  font-size: 11px;
  gap: 30px;
  grid-template-columns: 1fr auto 1fr;
}

.site-footer > p:last-child {
  justify-self: end;
}

.site-footer span {
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 26px;
}

.site-footer a {
  position: relative;
  color: var(--ink);
  font-weight: 650;
}

.js [data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

.js [data-reveal].reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.js .reveal--hero {
  opacity: 0;
  animation: hero-rise 760ms var(--ease) forwards;
}

.js .hero__intro {
  animation-delay: 220ms;
}

.js .hero__actions {
  animation-delay: 320ms;
}

.js .title-line > span {
  transform: translateY(110%);
  animation: title-rise 900ms var(--ease) forwards;
}

.js .title-line:nth-child(2) > span {
  animation-delay: 110ms;
}

@keyframes title-rise {
  to {
    transform: translateY(0);
  }
}

@keyframes hero-rise {
  to {
    opacity: 1;
  }
}

.error-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.error-page main {
  width: min(780px, 100%);
  padding: clamp(30px, 6vw, 80px);
  border-radius: var(--radius);
  background: var(--surface);
}

.error-page h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.error-page main > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
}

.error-page .button {
  margin-top: 34px;
  background: var(--ink);
  color: var(--surface);
}

@media (max-width: 1180px) {
  .brand > span:last-child {
    display: none;
  }

  .hero__title {
    width: 47vw;
    font-size: clamp(44px, 5.4vw, 64px);
  }

  .week-story__layout {
    gap: 44px;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  }

  .week-model__metrics dd {
    font-size: clamp(30px, 3.8vw, 48px);
  }

  .project-card {
    min-height: 440px;
  }

  .project-card h3 {
    font-size: clamp(30px, 3.55vw, 46px);
  }

  .entry__routes article {
    grid-template-columns: 140px 1fr;
  }

  .entry__routes p {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 30px;
    --section-space: 108px;
  }

  .page-frame {
    padding: 8px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a:not([data-header-cv]) {
    display: none;
  }

  .site-header {
    column-gap: clamp(14px, 3.5vw, 24px);
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .hero {
    min-height: calc(100dvh - 16px);
    max-height: none;
  }

  .hero__portrait {
    width: 47%;
  }

  .hero__content {
    min-height: calc(100dvh - 16px);
    max-height: none;
    padding-top: 104px;
  }

  .hero__title {
    width: 48vw;
    font-size: clamp(42px, 6vw, 56px);
  }

  .hero__intro {
    width: 48vw;
    font-size: 16px;
  }

  .hero__actions {
    width: 48vw;
  }

  .week-story__layout {
    display: block;
  }

  .week-model {
    position: relative;
    top: auto;
  }

  .week-chapters {
    display: grid;
    margin-top: 24px;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-chapter {
    min-height: 260px;
    justify-content: flex-start;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    opacity: 0.62;
  }

  .week-chapter.is-active {
    border-color: var(--accent);
    background: var(--surface);
    transform: none;
  }

  .value-calculator,
  .proof-strip,
  .experience {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-strip__statement h2,
  .value-calculator__intro h2,
  .experience__heading h2 {
    max-width: 12ch;
  }

  .project-card--memory,
  .project-card--outbound,
  .project-card--roles,
  .project-card--decisions,
  .project-card--team,
  .project-card--access {
    grid-column: span 6;
  }

  .project-card--copilot,
  .project-card--hermes {
    grid-column: span 12;
  }

  .project-card--decisions {
    display: flex;
  }

  .project-card--decisions .project-card__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method__steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .contact {
    min-height: 620px;
    align-items: end;
    grid-template-columns: 1fr;
  }

  .contact__action {
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 20px;
    --section-space: 88px;
    --radius: 16px;
    --radius-small: 12px;
  }

  .page-frame {
    padding: 5px;
  }

  .hero {
    min-height: 810px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .brand > span:last-child {
    display: inline;
    font-size: 11px;
  }

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

  .hero__content {
    display: block;
    min-height: 0;
    padding: 96px 18px 0;
  }

  .hero__eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
  }

  .hero__title {
    width: 100%;
    font-size: clamp(38px, 11.2vw, 50px);
    line-height: 0.98;
  }

  .hero__intro {
    width: min(92%, 400px);
    margin-top: 20px;
    font-size: 15px;
  }

  .hero__actions {
    width: 100%;
    margin-top: 20px;
    gap: 8px 18px;
  }

  .hero__actions .button {
    min-height: 48px;
  }

  .hero__links {
    gap: 16px;
  }

  .hero__links a {
    min-height: 40px;
    font-size: 12px;
  }

  .hero__portrait {
    top: 500px;
    right: 16px;
    bottom: auto;
    left: 16px;
    width: auto;
    height: 282px;
    border-radius: var(--radius);
  }

  .hero__photo {
    object-position: 50% 32%;
  }

  .hero__ai-layer {
    display: none;
  }

  .week-story__heading h2,
  .projects__heading h2,
  .method__intro h2,
  .entry__heading h2,
  .experience__heading h2,
  .contact h2,
  .proof-strip h2,
  .value-calculator h2 {
    font-size: clamp(39px, 11.2vw, 54px);
  }

  .value-calculator__intro,
  .contact__copy {
    min-width: 0;
  }

  .value-calculator__intro h2,
  .contact h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .entry__heading h2 {
    font-size: clamp(32px, 8.6vw, 38px);
  }

  .week-story__heading > p:last-child,
  .entry__heading p,
  .proof-strip__statement p,
  .contact__copy > p:last-child {
    font-size: 15px;
  }

  .week-model {
    margin-inline: -10px;
    padding: 26px 20px;
  }

  .week-model__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .week-model__metrics {
    margin-top: 30px;
    gap: 16px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-model__metrics div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .week-model__metrics dt {
    min-height: 0;
  }

  .week-model__metrics dd {
    font-size: 40px;
  }

  .week-bar {
    height: 54px;
    margin-top: 34px;
  }

  .week-model__legend {
    font-size: 8px;
  }

  .week-model__transfer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .week-model__transfer strong {
    font-size: 19px;
  }

  .week-chapters {
    grid-template-columns: 1fr;
  }

  .week-chapter {
    min-height: auto;
  }

  .week-chapter h3 {
    font-size: 28px;
  }

  .value-calculator {
    gap: 60px;
  }

  .time-calculator {
    padding: 24px 18px;
  }

  .time-calculator__assumption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .time-calculator__inputs {
    grid-template-columns: 1fr;
  }

  .time-calculator__results output {
    font-size: 28px;
  }

  .time-calculator__value output {
    font-size: clamp(34px, 10vw, 46px);
  }

  .proof-strip {
    gap: 60px;
  }

  .proof-strip__sequence > div {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .proof-strip__sequence p {
    grid-column: auto;
  }

  .project-grid {
    display: block;
  }

  .project-card {
    min-height: 450px;
    margin-top: 10px;
  }

  .project-card:first-child {
    margin-top: 0;
  }

  .project-card h3 {
    font-size: 34px;
  }

  .project-card__metrics {
    gap: 10px;
  }

  .project-card__metrics dt {
    font-size: 30px;
  }

  .project-card__shift {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .project-card--decisions {
    display: flex;
  }

  .project-card--copilot {
    display: flex;
    min-height: 620px;
  }

  .project-card--hermes {
    display: flex;
    min-height: 0;
  }

  .project-card--copilot .project-card__impact,
  .project-card--hermes .project-card__impact {
    margin-top: auto;
  }

  .method__steps {
    display: block;
  }

  .method__steps li,
  .method__steps li:nth-child(3) {
    min-height: 250px;
    padding: 25px 0;
    border-left: 0;
  }

  .method__steps h3 {
    margin-top: 54px;
  }

  .experience {
    gap: 62px;
  }

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

  .entry__routes p {
    grid-column: auto;
  }

  .experience__timeline article {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .contact {
    min-height: 680px;
    padding-bottom: 64px;
  }

  .contact::after {
    right: -0.16em;
    font-size: 430px;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr auto;
  }

  .site-footer > p:last-child {
    justify-self: start;
  }

  .site-footer div {
    align-items: flex-end;
    flex-direction: column;
    gap: 14px;
    grid-row: span 2;
  }
}

@media (max-width: 380px) {
  .brand > span:last-child {
    display: none;
  }

  .hero {
    min-height: 800px;
  }

  .hero__portrait {
    top: 480px;
    height: 275px;
  }

  .hero__title {
    font-size: 38px;
  }

  .time-calculator__results {
    grid-template-columns: 1fr;
  }

  .time-calculator__results .time-calculator__value {
    grid-column: auto;
  }

  .project-card {
    padding: 26px 22px;
  }

  .project-card__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none), (pointer: coarse) {
  .hero__ai-layer {
    display: none;
  }
}

@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 [data-reveal].reveal-pending,
  .js [data-reveal].reveal-visible,
  .js .reveal--hero,
  .js .title-line > span {
    opacity: 1;
    transform: none;
  }
}
.metrika-noscript {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
