@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ivory: #fff4ec;
  --cream: #f6e6d9;
  --ink: #14160d;
  --olive: #3c422e;
  --lime: #d1e030;
  --mint: #9eef80;
  --gold: #fbd535;
  --sage: #9fcd7a;
  --disp: "Oswald", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --r: 20px;
  --pad: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--lime); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--ghost { background: transparent; color: var(--ink); }
.pill--big { font-size: 14px; padding: 16px 34px; }
.pill:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--ink); }
.pill .arr-svg {
  height: 1.44em;
  width: auto;
  flex: none;
  align-self: center;
  transition: transform .18s ease;
}
.pill:hover .arr-svg { transform: translate(4px); }

.ticker {
  background: var(--lime);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 10px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: tick 28s linear infinite;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.ast { display: inline-block; font-style: normal; animation: spin 7s linear infinite; }
@keyframes tick { to { transform: translate(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  background: transparent;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 2px solid transparent;
}
.header.is-solid { background: var(--ivory); border-bottom-color: var(--ink); }
.header__logo { font-family: var(--disp); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.header__logo sup { font-size: 12px; }
.header__nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.header__nav a {
  opacity: .6;
  padding: 6px 14px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: opacity .2s, background .2s, border-color .2s;
}
.header__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.header__nav a.is-active { opacity: 1; background: var(--lime); border-color: var(--ink); text-decoration: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: 24px var(--pad) 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .65;
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--sage);
  margin-bottom: 40px;
}
.hero__word { position: relative; z-index: 2; display: flex; flex-direction: column; pointer-events: none; }
.hero__line { display: block; font-size: clamp(72px, 15.5vw, 240px); line-height: .9; letter-spacing: -.02em; }
.hero__line--left { text-align: left; }

.hero__line--indent { text-align: left; margin-left: clamp(0px, 6vw, 100px); margin-top: -.04em; }
.hero__line--right { text-align: right; margin-top: -.08em; }
.hero__circle {
  position: absolute;
  z-index: 3;
  top: 42%;
  left: 50%;
  width: clamp(120px, 15vw, 220px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: clamp(6px, .8vw, 12px) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 54px);
  background: var(--ivory);
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%, to { border-color: var(--ink); background: var(--ivory); color: var(--ink); }
  50% { border-color: var(--ink); background: var(--lime); color: var(--ink); }
}
.hero__photo {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  top: 14%;
  width: clamp(240px, 30vw, 460px);
  aspect-ratio: 2 / 3;
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid var(--ink);
}
.hero__photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  background: var(--ivory);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero__cta { position: relative; z-index: 2; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 48px; }

.manifest { background: var(--ink); color: var(--ivory); padding: 96px var(--pad); }
.manifest__note { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .5; margin-bottom: 32px; }
.manifest__lines span {
  display: block;
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -.015em;
}
.mk { padding: 0 .12em; color: var(--ink); }
.mk--lime { background: var(--lime); }
.mk--mint { background: var(--mint); }
.mk--gold { background: var(--gold); }
.manifest__sub { max-width: 560px; margin-top: 48px; font-size: 15px; line-height: 1.7; opacity: .8; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 2px dashed var(--sage);
  margin-bottom: 0;
}
.section-head__idx { font-size: 13px; font-weight: 700; }
.section-head__title { font-size: clamp(36px, 5.5vw, 80px); letter-spacing: -.015em; line-height: 1; }
.section-head__note { margin-left: auto; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }

.stack { padding: 96px var(--pad); }
.stack__row {
  display: grid;
  grid-template-columns: 64px 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 16px;
  border-bottom: 2px dashed var(--sage);
  transition: background .25s ease;
}
.stack__row:hover { background: var(--lime); }
.stack__idx { font-family: var(--disp); font-weight: 700; font-size: 40px; opacity: .25; }
.stack__main h3 { font-size: clamp(32px, 4vw, 56px); line-height: 1; margin-bottom: 12px; letter-spacing: -.01em; }
.stack__main p { max-width: 480px; opacity: .75; }
.stack__tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ivory);
  transition: background .2s, transform .2s;
}
.tag:hover { background: var(--mint); transform: translateY(-2px); }

.experience { padding: 96px var(--pad); }
.exp-list { border-top: 2px dashed var(--sage); }
.exp-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 32px 16px;
  border-bottom: 2px dashed var(--sage);
  transition: background .25s ease;
}
.exp-row:hover { background: var(--mint); }
.exp-idx { font-family: var(--disp); font-weight: 700; font-size: 40px; opacity: .25; }
.exp-main h3 { font-size: clamp(26px, 3vw, 42px); line-height: 1; margin-bottom: 6px; }
.exp-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sage); }
.exp-time { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .55; }
.exp-main p { max-width: 560px; margin-top: 12px; font-size: 14px; opacity: .75; }
.exp-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ivory);
  white-space: nowrap;
}

.ba {
  background: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 96px var(--pad);
}
.ba__word { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ba__line { font-family: var(--disp); font-weight: 700; font-size: clamp(80px, 14vw, 220px); line-height: .9; letter-spacing: -.02em; }
.ba__circle {
  flex: none;
  width: clamp(90px, 11vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(5px, .7vw, 10px) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 80px);
  background: var(--ivory);
  animation: breathe 5s ease-in-out infinite;
}
.ba__note { margin-top: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.ba__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 56px 0 72px; }
.ba__photo { border-radius: var(--r); overflow: hidden; border: 2px solid var(--ink); position: relative; aspect-ratio: 3 / 2; }
.ba__photo:first-child img { filter: grayscale(.35) contrast(1.05); }
.ba__photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  background: var(--ivory);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ba__stats { border-top: 2px dashed var(--sage); }
.stat {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 32px 16px;
  border-bottom: 2px dashed var(--sage);
  transition: background .25s ease;
}
.stat:hover { background: var(--gold); }
.stat__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stat__before {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 52px);
  opacity: .35;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}
.stat__arrow { font-family: var(--disp); font-size: clamp(24px, 3vw, 44px); opacity: .5; transform: translate(clamp(-28px, -1.6vw, -10px)); }
.count { display: inline-block; min-width: 2ch; text-align: right; }
.count[data-dec] { min-width: 3ch; }
.stat__after {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 1;
  letter-spacing: -.02em;
  background: var(--lime);
  border: 2px solid var(--ink);
  padding: .05em .18em;
  display: inline-flex;
  align-items: baseline;
}
.stat__after i { font-style: normal; font-size: .35em; margin-left: .15em; font-weight: 600; }

.projects { padding: 96px 0 96px var(--pad); overflow: hidden; }
.projects .section-head { margin-right: var(--pad); }
.projects__rail {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  padding-right: var(--pad);
  scrollbar-width: none;
}
.projects__rail::-webkit-scrollbar { display: none; }
.proj {
  flex: 0 0 clamp(300px, 38vw, 560px);
  height: clamp(380px, 52vh, 540px);
  scroll-snap-align: start;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease;
}
.proj:hover { transform: translateY(-8px); }
.proj--lime { background: var(--lime); }
.proj--mint { background: var(--mint); }
.proj--gold { background: var(--gold); }
.proj--olive { background: var(--olive); color: var(--ivory); }
.proj__idx { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.proj__name { font-size: clamp(44px, 5vw, 76px); line-height: .95; letter-spacing: -.015em; }
.proj__desc { max-width: 320px; font-size: 14px; line-height: 1.6; }
.proj__role { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-top: 2px dashed currentColor; padding-top: 16px; }
.proj__visit { display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: opacity .2s ease; }
.proj__visit:hover { opacity: .6; }
.proj__visit > span:last-child { font-size: 18px; transition: transform .2s ease; }
.proj__visit:hover > span:last-child { transform: translate(3px, -3px); }
.projects__dots { display: flex; gap: 10px; margin-top: 8px; }

.projects__dots button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
.projects__dots button::before {
  content: "";
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  transition: background .2s;
}
.projects__dots button.is-active::before { background: var(--ink); }

.process { padding: 0 var(--pad) 96px; }
.process .section-head { margin-bottom: 64px; }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  position: relative;
}
.process__steps:before {
  content: "";
  position: absolute;
  top: clamp(45px, 6vw, 85px);
  left: 4%;
  right: 4%;
  border-top: 2px dashed var(--sage);
  z-index: 0;
}
.process__steps li { position: relative; z-index: 1; text-align: center; }
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(90px, 12vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(4px, .6vw, 8px) solid var(--ink);
  background: var(--ivory);
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
  margin-bottom: 24px;
  transition: background .25s ease, transform .25s ease;
}
.process__steps li:hover .process__num { background: var(--lime); transform: rotate(-6deg) scale(1.05); }
.process__steps h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: 0; }
.process__steps p { font-size: 13px; opacity: .7; max-width: 240px; margin: 0 auto; }

.footer { background: var(--ink); color: var(--ivory); padding: 96px var(--pad) 40px; }
.footer__note { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .5; margin-bottom: 24px; }
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: .18em;
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(56px, 11vw, 180px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--lime);
  transition: opacity .2s;
}
.footer__cta:hover { opacity: .75; }
.footer__cta .arr-svg { height: 1.21em; width: auto; flex: none; align-self: center; transition: transform .2s ease; }
.footer__cta:hover .arr-svg { transform: translate(.12em); }
.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 2px dashed var(--olive);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .6;
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal[data-reveal="left"] { transform: translate(-64px, 32px); }
.reveal[data-reveal="right"] { transform: translate(64px, 32px); }
.reveal.in { opacity: 1; transform: translate(0); }

@media (max-width: 900px) {
  html, body { overflow-x: clip; }
  .header { left: 0; right: 0; width: 100%; padding-left: 20px; padding-right: 20px; }
  .header__nav { display: none; }
  .hero__line { font-size: clamp(44px, 14.5vw, 120px); }
  .hero__photo { position: relative; right: auto; top: auto; margin: 40px 0 0 auto; width: min(80vw, 380px); }
  .hero { justify-content: flex-start; }
  .hero__circle { top: 30%; }
  .ba__word { flex-direction: column; align-items: flex-start; gap: 4px; position: relative; }
  .ba__line { font-size: clamp(52px, 17vw, 130px); }
  .ba__line--right { align-self: flex-end; }
  .ba__circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(64px, 18vw, 100px); font-size: clamp(28px, 8vw, 44px); }
  .manifest__lines span { font-size: clamp(34px, 10.5vw, 90px); }
  .stack__row { grid-template-columns: 48px 1fr; padding: 28px 0; }
  .stack__tags { grid-column: 2; justify-content: flex-start; }
  .ba__photos { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr auto; padding: 24px 0; }
  .stat__before, .stat__arrow { display: none; }
  .stat__after { font-size: clamp(44px, 13vw, 80px); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps:before { display: none; }
  .footer__cta { font-size: clamp(40px, 12vw, 90px); }
  .exp-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .exp-tag { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
