:root {
  color-scheme: light;
  --ink: #26311d;
  --muted: #66705e;
  --paper: #f7f8f8;
  --paper-hot: #fffaf0;
  --line: rgba(38, 49, 29, 0.18);
  --red: #edc592;
  --green: #4c7546;
  --blue: #d3b8aa;
  --gold: #d9a86c;
  --night: #26311d;
  --shadow: 0 24px 80px rgba(38, 49, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(38, 49, 29, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(38, 49, 29, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(24px, 4vw, 64px);
  min-height: 100vh;
  padding: 116px clamp(18px, 4vw, 64px) 48px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(115deg, rgba(237, 197, 146, 0.28), transparent 33%),
    linear-gradient(245deg, rgba(76, 117, 70, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(247, 248, 248, 0.3), rgba(247, 248, 248, 0.96));
}

.hero::after {
  content: "CV";
  position: absolute;
  right: -0.09em;
  bottom: -0.18em;
  z-index: -2;
  color: rgba(38, 49, 29, 0.06);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(18rem, 54vw, 46rem);
  line-height: 0.8;
}

.topbar {
  position: fixed;
  top: 18px;
  right: clamp(16px, 3vw, 40px);
  left: clamp(16px, 3vw, 40px);
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: none;
}

.topbar a {
  min-height: 38px;
  border: 1px solid rgba(38, 49, 29, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(247, 248, 248, 0.72);
  box-shadow: 0 10px 28px rgba(38, 49, 29, 0.1);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
  pointer-events: auto;
  transition: transform 180ms ease, background 180ms ease;
}

.topbar a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(38, 49, 29, 0.03) 10px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.stamp {
  position: absolute;
  border: 2px solid currentColor;
  padding: 10px 18px;
  color: rgba(38, 49, 29, 0.24);
  font-size: clamp(1.4rem, 4vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.stamp--one {
  top: 16%;
  right: 9%;
}

.stamp--two {
  right: 28%;
  bottom: 18%;
  color: rgba(237, 197, 146, 0.62);
  transform: rotate(10deg);
}

.stamp--three {
  left: 6%;
  bottom: 28%;
  color: rgba(76, 117, 70, 0.32);
  transform: rotate(-15deg);
}

.hero__content {
  align-self: end;
  max-width: 1040px;
  padding-top: 2vh;
}

.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

h1 {
  display: grid;
  margin: 0 0 34px;
  font-size: clamp(6rem, 17vw, 16.5rem);
  line-height: 0.76;
  letter-spacing: 0;
}

h1 span:last-child {
  margin-left: clamp(42px, 9vw, 132px);
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  text-stroke: 2px var(--ink);
}

.hero__statement {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5.4vw, 5.35rem);
  font-weight: 900;
  line-height: 0.92;
}

.hero__substatement {
  max-width: 720px;
  margin-bottom: 28px;
  color: #3e4936;
  font-size: clamp(1.02rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero__actions,
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(38, 49, 29, 0.16);
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
}

.button--ghost {
  background: rgba(247, 248, 248, 0.72);
}

.hero__meta {
  align-self: end;
  max-width: 430px;
  border: 1px solid rgba(38, 49, 29, 0.18);
  border-radius: 8px;
  padding: 22px;
  background: rgba(247, 248, 248, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.meter {
  height: 9px;
  margin-bottom: 22px;
  border: 1px solid rgba(38, 49, 29, 0.22);
  background: rgba(38, 49, 29, 0.07);
}

.meter span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.hero__meta dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.hero__meta dt,
.date,
.timeline span,
.signal-board span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__meta dd {
  margin: 4px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--green);
  color: var(--paper-hot);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee__set {
  display: flex;
}

.marquee span {
  padding: 16px 26px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.manifesto,
.split-section,
.systems,
.proof,
.timeline-section,
.contact {
  padding: clamp(68px, 10vw, 132px) clamp(18px, 4vw, 64px);
}

.manifesto {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(130px, 0.16fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: center;
  background: var(--night);
  color: var(--paper-hot);
}

.manifesto h2 {
  max-width: 1440px;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7.4vw, 8.6rem);
  line-height: 0.86;
}

.manifesto .kicker {
  align-self: start;
  padding-top: 0.35em;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  margin-bottom: 36px;
}

.section-heading--wide {
  display: block;
  max-width: 930px;
}

.section-heading h2 {
  max-width: 1060px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 7.2vw, 7.5rem);
  line-height: 0.88;
}

.section-heading p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 14px;
}

.work-card {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(247, 248, 248, 0.78);
  box-shadow: 0 16px 45px rgba(38, 49, 29, 0.09);
  overflow: hidden;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -28% -20%;
  height: 50%;
  background: linear-gradient(90deg, rgba(237, 197, 146, 0.28), rgba(76, 117, 70, 0.16));
  transform: rotate(-6deg);
  z-index: 0;
}

.work-card > * {
  position: relative;
  z-index: 1;
}

.work-card--feature {
  min-height: 680px;
  background: var(--paper-hot);
}

.work-card--dark {
  background: var(--night);
  color: var(--paper-hot);
}

.work-card--sun {
  background: var(--red);
}

.work-card h3 {
  max-width: 12ch;
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.88;
}

.work-card:not(.work-card--feature) h3 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.org {
  color: var(--green);
  font-weight: 900;
}

.work-card--dark .org {
  color: #dce8d8;
}

.work-card--sun .org {
  color: var(--ink);
}

.work-card p,
.work-card li,
.timeline p,
.contact p,
.proof-grid span {
  line-height: 1.55;
}

.work-card ul {
  margin: 32px 0 0;
  padding-left: 18px;
}

.work-card li + li {
  margin-top: 12px;
}

.work-card a,
.timeline a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.work-card a:hover,
.timeline a:hover {
  text-decoration-style: wavy;
}

.proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  background: var(--paper-hot);
}

.proof h2 {
  max-width: 680px;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: 0.86;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proof-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--night);
  color: var(--paper-hot);
}

.proof-grid strong {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.8;
}

.proof-grid span {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 900;
}

.systems {
  background: var(--blue);
}

.signal-board {
  position: relative;
  min-height: 740px;
  margin-top: 44px;
  border: 1px solid rgba(38, 49, 29, 0.18);
  background:
    linear-gradient(90deg, rgba(38, 49, 29, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(38, 49, 29, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(247, 248, 248, 0.68), rgba(211, 184, 170, 0.28));
  background-size: 56px 56px, 56px 56px, auto;
  overflow: hidden;
}

.signal-board::before,
.signal-board::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(38, 49, 29, 0.14);
  transform: rotate(-11deg);
}

.signal-board::after {
  inset: 24% 18%;
  border-color: rgba(237, 197, 146, 0.52);
  transform: rotate(19deg);
}

.signal-board article {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: min(300px, 34vw);
  border-top: 7px solid var(--tone);
  border-radius: 8px;
  padding: 18px;
  background: rgba(247, 248, 248, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease;
}

.signal-board article:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.signal-board h3 {
  margin: 8px 0;
  font-size: 1.45rem;
}

.signal-board p {
  margin-bottom: 0;
  color: #3e4936;
  line-height: 1.45;
}

.board-label {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(38, 49, 29, 0.5);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline article {
  min-height: 240px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
  background: rgba(247, 248, 248, 0.46);
}

.timeline span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
}

.timeline p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(247, 248, 248, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(247, 248, 248, 0.07) 1px, transparent 1px),
    var(--night);
  background-size: 44px 44px;
  color: var(--paper-hot);
}

.contact h2 {
  max-width: 1180px;
  margin-bottom: 0;
  font-size: clamp(3.4rem, 9.4vw, 10rem);
  line-height: 0.82;
}

.contact__links {
  justify-content: flex-end;
}

.contact__links a {
  border: 1px solid rgba(247, 248, 248, 0.28);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
}

@media (prefers-reduced-motion: no-preference) {
  .stamp {
    animation: stamp-drift 12s ease-in-out infinite alternate;
  }

  .stamp--two {
    animation-duration: 16s;
  }

  .stamp--three {
    animation-duration: 19s;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes stamp-drift {
  to {
    translate: 0 -14px;
  }
}

@media (min-width: 1800px) {
  .manifesto {
    min-height: 50vh;
    padding-top: clamp(56px, 5vw, 96px);
    padding-bottom: clamp(56px, 5vw, 96px);
  }

  .manifesto h2 {
    max-width: 1700px;
    font-size: clamp(4.6rem, 4.8vw, 7.4rem);
    line-height: 0.88;
  }
}

@media (max-width: 1000px) {
  .hero,
  .manifesto,
  .section-heading,
  .work-grid,
  .proof,
  .timeline,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .manifesto {
    align-content: center;
    align-items: start;
    gap: 18px;
    min-height: auto;
    padding-top: clamp(44px, 9vw, 72px);
    padding-bottom: clamp(44px, 9vw, 72px);
  }

  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero__meta {
    max-width: none;
  }

  .work-card,
  .work-card--feature {
    min-height: auto;
  }

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

  .signal-board {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 16px;
  }

  .signal-board article {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }

  .board-label {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 4px 0;
  }

  .contact__links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar a {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(5.6rem, 30vw, 9rem);
  }

  h1 span:last-child {
    margin-left: 22vw;
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
  }

  .hero__statement {
    font-size: clamp(2.25rem, 12vw, 4.2rem);
    line-height: 0.92;
  }

  .manifesto,
  .split-section,
  .systems,
  .proof,
  .timeline-section,
  .contact {
    padding: 62px 18px;
  }

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

  .proof-grid article {
    min-height: 170px;
  }

  .stamp {
    display: none;
  }
}
