:root {
  color-scheme: light;
  --display: "Whyte", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --bg: #f3f5ef;
  --ink: #07100b;
  --muted: #727a72;
  --dim: #aeb6ad;
  --line: rgba(7, 16, 11, 0.14);
  --panel: #ffffff;
  --hot: #5ddc83;
  --aqua: #8ef4df;
  --black: #020806;
  --white: #f6fff9;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(7, 16, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 16, 11, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

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

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

.site-header {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(calc(100% - 20px), var(--max));
  margin: 10px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(7, 16, 11, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(7, 16, 11, 0.08);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(7, 16, 11, 0.11);
}

.brand {
  width: 170px;
  color: var(--ink);
}

.brand-logo {
  fill: currentColor;
}

.logo-soft {
  opacity: 0.78;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle i {
  position: relative;
  width: 22px;
  height: 16px;
}

.menu-toggle i::before,
.menu-toggle i::after,
.menu-toggle i {
  border-top: 2px solid currentColor;
}

.menu-toggle i::before,
.menu-toggle i::after {
  position: absolute;
  left: 0;
  width: 100%;
  content: "";
}

.menu-toggle i::before {
  top: 5px;
}

.menu-toggle i::after {
  top: 12px;
}

.site-menu {
  position: absolute;
  top: 56px;
  right: 0;
  display: grid;
  min-width: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 80px rgba(7, 16, 11, 0.14);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header.menu-open .site-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-menu a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  text-transform: uppercase;
}

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

.site-menu a span {
  color: var(--hot);
}

.site-menu a:hover {
  background: rgba(7, 16, 11, 0.05);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  width: min(calc(100% - 32px), var(--max));
  min-height: min(680px, calc(100svh - 116px));
  margin: 22px auto 0;
  padding: 54px 40px 28px;
  border: 1px solid rgba(93, 220, 131, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 245, 239, 0.68)),
    var(--bg);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 70px rgba(7, 16, 11, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 1180px;
  padding-bottom: 64px;
}

.eyebrow {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--hot);
}

.hero .eyebrow {
  color: rgba(7, 16, 11, 0.56);
}

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

h1 {
  max-width: 960px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: 82px;
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 62px;
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-text {
  max-width: 820px;
  margin-bottom: 30px;
  color: rgba(7, 16, 11, 0.64);
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.35;
}

.hero-meta {
  z-index: 2;
  display: flex;
  align-self: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 16, 11, 0.12);
  color: rgba(7, 16, 11, 0.52);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-meta a {
  color: var(--ink);
}

.hero-canvas {
  position: absolute;
  inset: 14px 0 auto;
  z-index: 1;
  width: 100%;
  height: 76%;
  opacity: 0.82;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 4% -10% 24% 34%;
  background:
    radial-gradient(circle at 64% 32%, rgba(93, 220, 131, 0.22), transparent 23%),
    radial-gradient(circle at 84% 18%, rgba(142, 244, 223, 0.18), transparent 19%);
  filter: blur(38px);
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 245, 239, 0) 0%, rgba(243, 245, 239, 0) 50%, rgba(243, 245, 239, 0.84) 78%, rgba(243, 245, 239, 0.98) 100%),
    linear-gradient(90deg, rgba(243, 245, 239, 0.88), rgba(243, 245, 239, 0.08) 52%, rgba(243, 245, 239, 0.42));
}

.hero-hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.45;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  opacity: 0.24;
}

.hud-corner::before,
.hud-corner::after {
  position: absolute;
  content: "";
  background: rgba(7, 16, 11, 0.34);
}

.hud-corner::before {
  width: 1px;
  height: 100%;
}

.hud-corner::after {
  width: 100%;
  height: 1px;
}

.hud-tl {
  top: 20px;
  left: 20px;
}

.hud-tr {
  top: 20px;
  right: 20px;
  transform: rotate(90deg);
}

.hud-bl {
  bottom: 20px;
  left: 20px;
  transform: rotate(-90deg);
}

.hud-br {
  right: 20px;
  bottom: 20px;
  transform: rotate(180deg);
}

.hud-reticle {
  display: none;
}

.hud-reticle::before,
.hud-reticle::after {
  position: absolute;
  content: "";
  background: rgba(246, 255, 249, 0.46);
}

.hud-reticle::before {
  top: 18px;
  left: 8px;
  width: 22px;
  height: 1px;
}

.hud-reticle::after {
  top: 8px;
  left: 18px;
  width: 1px;
  height: 22px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: 64px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  position: sticky;
  top: 118px;
  align-self: start;
}

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

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

.thesis-list article > span {
  color: var(--hot);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.thesis-list article > h3,
.thesis-list article > p {
  grid-column: 2;
}

.thesis-list p {
  margin-bottom: 0;
  color: rgba(7, 16, 11, 0.66);
  font-size: 20px;
}

.writing-card {
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 18%, rgba(82, 236, 148, 0.25), transparent 7%),
    radial-gradient(circle, rgba(220, 255, 232, 0.5) 0 1px, transparent 1.4px) 0 0 / 15px 15px,
    #050505;
  color: var(--white);
}

.writing-card span {
  margin-bottom: 120px;
  color: var(--hot);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.writing-card strong {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.writing-card p {
  margin-bottom: 0;
  color: rgba(246, 255, 249, 0.58);
  font-size: 18px;
}

.portfolio {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 30px;
}

.portfolio-tape {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 8px 0;
  overflow: hidden;
  border-top: 1px solid rgba(93, 220, 131, 0.34);
  border-bottom: 1px solid rgba(93, 220, 131, 0.34);
  background:
    linear-gradient(90deg, rgba(93, 220, 131, 0.12), transparent 16%, transparent 84%, rgba(93, 220, 131, 0.12)),
    rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(246, 255, 249, 0.78),
    inset 0 -1px 0 rgba(246, 255, 249, 0.58);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.portfolio-tape::before,
.portfolio-tape::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(93, 220, 131, 0.72), transparent);
  opacity: 0.54;
  pointer-events: none;
}

.portfolio-tape::before {
  top: 0;
}

.portfolio-tape::after {
  bottom: 0;
}

.portfolio-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: portfolio-tape 42s linear infinite;
  will-change: transform;
}

.portfolio-track.is-reverse {
  animation-direction: reverse;
  animation-duration: 48s;
}

.portfolio-tape:hover .portfolio-track {
  animation-play-state: paused;
}

.portfolio-track a {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 104px;
  gap: 16px;
  align-items: center;
  width: 326px;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid rgba(93, 220, 131, 0.18);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56);
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.portfolio-track a:hover {
  border-color: rgba(93, 220, 131, 0.7);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(93, 220, 131, 0.24),
    0 14px 30px rgba(7, 16, 11, 0.08);
  transform: translateY(-1px);
}

.portfolio-track strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-track img {
  justify-self: end;
  max-width: 98px;
  max-height: 28px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(1.08);
  opacity: 0.42;
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.portfolio-track a:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: translateX(-2px);
}

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

@media (prefers-reduced-motion: reduce) {
  .portfolio-track {
    animation: none;
  }
}

.contact {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 64px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.contact-actions {
  display: grid;
  gap: 0;
  align-self: end;
  border-top: 1px solid var(--line);
}

.contact-actions a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 116px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-actions span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-actions strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 32px;
  padding: 24px 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.socials img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: grayscale(1);
}

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

  .brand {
    width: 166px;
  }

  .menu-toggle {
    font-size: 14px;
  }

  .site-menu {
    top: 54px;
    right: 0;
    left: 0;
    min-width: 0;
  }

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

  .hero {
    min-height: min(660px, calc(100svh - 106px));
    padding-top: 76px;
  }

  .hero-canvas {
    inset: 48px 0 auto;
    height: 72%;
  }

  .hero-copy {
    padding-bottom: 72px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 52px;
  }

  .section-kicker {
    position: static;
  }

  .section-grid,
  .portfolio,
  .contact {
    padding: 88px 0;
  }

  .section-heading {
    gap: 28px;
  }

  .portfolio-track a {
    grid-template-columns: minmax(132px, 1fr) 78px;
    gap: 12px;
    width: 300px;
    min-height: 66px;
  }

  .portfolio-track strong {
    font-size: 19px;
  }

  .portfolio-track img {
    max-width: 74px;
    max-height: 24px;
  }

  .contact-actions a {
    grid-template-columns: 1fr;
    min-height: 96px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    padding: 8px 9px 8px 12px;
  }

  .brand {
    width: 138px;
  }

  .menu-toggle {
    gap: 9px;
    font-size: 13px;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 60;
    padding: 0 10px;
    border: 1px solid rgba(7, 16, 11, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
  }

  .menu-toggle i {
    width: 22px;
    height: 17px;
  }

  .menu-toggle i::before {
    top: 5px;
  }

  .menu-toggle i::after {
    top: 13px;
  }

  .site-menu {
    top: 50px;
    right: 0;
    left: 0;
  }

  .site-menu a {
    min-height: 50px;
    font-size: 12px;
  }

  .section-grid,
  .portfolio,
  .contact,
  .site-footer,
  .hero {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    width: min(calc(100% - 20px), var(--max));
    min-height: min(620px, calc(100svh - 92px));
    gap: 24px;
    padding: 58px 18px 18px;
  }

  .hero-canvas {
    inset: 34px 0 auto;
    height: 58%;
    opacity: 0.68;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 16px;
    font-size: 10px;
  }

  h1 {
    max-width: 350px;
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 0.98;
  }

  h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .hero-text {
    max-width: 330px;
    font-size: 18px;
    line-height: 1.38;
  }

  .hero-meta {
    align-content: start;
    gap: 10px;
    padding-top: 16px;
    font-size: 10px;
  }

  .section-grid,
  .portfolio,
  .contact {
    padding: 68px 0;
  }

  .section-grid,
  .contact {
    gap: 34px;
  }

  .thesis-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .thesis-list article > h3,
  .thesis-list article > p {
    grid-column: auto;
  }

  .thesis-list p {
    font-size: 17px;
    line-height: 1.45;
  }

  .writing-card {
    min-height: 280px;
    padding: 20px;
  }

  .writing-card span {
    margin-bottom: 80px;
  }

  .writing-card strong {
    font-size: 32px;
    line-height: 0.98;
  }

  .writing-card p {
    font-size: 16px;
  }

  .portfolio .section-heading {
    margin-bottom: 24px;
  }

  .portfolio-tape {
    gap: 8px;
    padding: 7px 0;
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }

  .portfolio-track {
    gap: 8px;
  }

  .portfolio-track a {
    grid-template-columns: minmax(0, 1fr);
    width: 142px;
    min-height: 54px;
    padding: 11px 12px;
  }

  .portfolio-track strong {
    font-size: 15px;
  }

  .portfolio-track img {
    display: none;
  }

  .contact-actions strong {
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .brand {
    width: 126px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    width: auto;
    height: 38px;
    padding: 0 11px;
    border: 1px solid rgba(7, 16, 11, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
  }

  .menu-toggle i {
    display: none;
  }

  .menu-toggle::after {
    width: 19px;
    height: 2px;
    content: "";
    background: var(--ink);
    box-shadow:
      0 6px 0 var(--ink),
      0 12px 0 var(--ink);
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 31px;
  }

  .hero {
    min-height: min(560px, calc(100svh - 86px));
    padding-top: 52px;
  }

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

  .contact-actions strong {
    font-size: 21px;
  }
}
