:root {
  --dark-bg: #1a1b1f;
  --dark-ink: #f2f2f1;
  --dark-muted: #aeb1b6;
  --dark-line: rgba(255, 255, 255, 0.11);
  --light-bg: #efefef;
  --light-ink: #1f2124;
  --light-muted: #51555b;
  --light-line: rgba(34, 37, 41, 0.14);
  --container: min(1520px, calc(100vw - 3.4rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Satoshi", "Manrope", "Inter", system-ui, sans-serif;
  background: var(--dark-bg);
  color: var(--dark-ink);
}

body {
  overflow-x: hidden;
}

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

.theme-dark {
  background:
    radial-gradient(1200px 700px at 10% -5%, rgba(46, 54, 70, 0.12), transparent 65%),
    radial-gradient(900px 700px at 85% 8%, rgba(55, 40, 58, 0.08), transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(214, 214, 214, 0.2) 1px, transparent 1.2px) 0 0 / 20px 20px repeat,
    var(--dark-bg);
}

.theme-light {
  background:
    radial-gradient(circle at 1px 1px, rgba(115, 115, 115, 0.24) 1px, transparent 1.2px) 0 0 / 20px 20px repeat,
    var(--light-bg);
  color: var(--light-ink);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #efefef;
  color: #1b1d21;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.splash p {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 500;
}

.splash sup {
  font-size: 0.54em;
}

.splash.is-gone {
  opacity: 0;
  visibility: hidden;
}


.cursor-bubble {
  position: fixed;
  left: 0;
  top: 0;
  width: 136px;
  height: 136px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111319;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(.2,.8,0,1);
  pointer-events: none;
  z-index: 40;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cursor-bubble.on {
  transform: translate(-50%, -50%) scale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms ease, transform 900ms cubic-bezier(.2,.7,0,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: calc(env(safe-area-inset-top, 0px) + 2.25rem);
  padding-bottom: 4rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--dark-muted);
}

.hero-meta p {
  margin: 0;
}

.hero-meta p:first-child {
  color: var(--dark-ink);
}

.hero-time {
  text-align: right;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 2rem;
  align-items: end;
  margin-top: auto;
}

.hero-main h1 {
  margin: 0;
  width: 80vw;
  max-width: 80vw;
  font-size: 17.2vw;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #f1f1f1;
  font-weight: 500;
}

.hero-main p {
  margin: 0 0 0.55rem;
  color: #c9ccd0;
  font-size: 2.3rem;
  line-height: 1.52;
}

.about,
.experience,
.services,
.offclock {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  column-gap: 4.4rem;
  padding: 6.3rem 0;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.about {
  align-items: start;
}

.about-copy p {
  margin: 0;
  max-width: 23ch;
  font-size: clamp(2rem, 3.1vw, 3.5rem);
  line-height: 1.38;
}

.pill-outline {
  margin-top: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.45rem;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  color: #dfe2e6;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  transition: background-color 180ms ease, border-color 180ms ease;
}

a.pill-outline:hover,
button.pill-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.about-photo-wrap {
  grid-column: 2;
  justify-self: end;
  margin-top: -7.3rem;
}

.about-photo {
  width: clamp(180px, 14vw, 235px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.work {
  --work-preview-width: min(46vw, 760px);
  --work-preview-gap: clamp(1rem, 2vw, 2.4rem);
  padding-bottom: 8.2rem;
  position: relative;
}

.work h2 {
  margin: 0 0 1.9rem;
  font-size: clamp(3.96rem, 6.84vw, 6.48rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.work h2 sup {
  font-size: 0.35em;
  color: var(--dark-muted);
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0 calc(var(--work-preview-width) + var(--work-preview-gap)) 0 0;
  border-top: 1px solid var(--dark-line);
}

.work-row {
  border-bottom: 1px solid var(--dark-line);
}

.work-row a {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-content: start;
  row-gap: 0.2rem;
  padding: 2.15rem 0;
}

.work-row .title {
  grid-column: 1;
  font-size: clamp(2.9rem, 4.2vw, 4.7rem);
  letter-spacing: -0.03em;
  transition: color 220ms ease;
}

.work-row .subtitle {
  grid-column: 1;
  font-size: 1.344rem;
  color: #8f939b;
}

.work-row .body-copy {
  grid-column: 1;
  margin-top: 0.2rem;
  font-size: 1.14rem;
  line-height: 1.45;
  color: #7f848d;
}

.work-row .year {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: clamp(2.6rem, 3.5vw, 4rem);
  color: #8a8f97;
}

.work-row.is-active .title,
.work-row.is-active .subtitle,
.work-row.is-active .body-copy,
.work-row.is-active .year {
  color: #f0f0f0;
}

.work-list:has(.work-row.is-active) .work-row:not(.is-active) .title,
.work-list:has(.work-row.is-active) .work-row:not(.is-active) .subtitle,
.work-list:has(.work-row.is-active) .work-row:not(.is-active) .body-copy,
.work-list:has(.work-row.is-active) .work-row:not(.is-active) .year {
  color: #5e5e5e;
}

.work-preview {
  position: fixed;
  width: var(--work-preview-width);
  right: var(--work-preview-gap);
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  transform-origin: center;
  opacity: 0;
  transition: opacity 200ms ease, transform 260ms ease;
  pointer-events: none;
  z-index: 20;
}

.work-preview img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.work-preview.is-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.process {
  padding-bottom: 8.4rem;
}

.process h2 {
  margin: 0;
  font-size: clamp(2.65rem, 4.8vw, 5.2rem);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 7.3em;
}

.process-viewport {
  margin-top: 4.2rem;
  overflow: hidden;
}

.process-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  transform: translateX(0);
  will-change: transform;
}

.process-track article {
  width: min(25.5vw, 340px);
}

.process-track span {
  display: block;
  color: #5b6068;
  font-size: 1.55rem;
  margin-bottom: 1.2rem;
}

.process-track h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  font-weight: 500;
}

.process-track p {
  margin: 1.1rem 0 0;
  font-size: 1.13rem;
  color: #c9ccd0;
  line-height: 1.5;
}

.experience,
.services,
.offclock {
  border-top: 1px solid var(--light-line);
}

.experience-content,
.offclock-copy,
.services-grid {
  color: var(--light-ink);
}

.experience-lead {
  margin: 0;
  max-width: 35ch;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.4;
}

.experience-grid {
  margin-top: 4.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.8rem 5rem;
}

.experience-grid h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2.4rem);
  font-weight: 500;
}

.experience-grid h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
  transition: text-decoration-color 160ms ease;
}

.experience-grid h3 a:hover,
.experience-grid h3 a:focus-visible {
  text-decoration-color: currentColor;
}

.experience-grid p {
  margin: 0.35rem 0 0;
  color: var(--light-ink);
  font-size: 1.02rem;
  line-height: 1.73;
}

.experience-grid p a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
  transition: text-decoration-color 160ms ease;
}

.experience-grid p a:hover,
.experience-grid p a:focus-visible {
  text-decoration-color: currentColor;
}

.experience-grid .valuation {
  font-weight: 700;
  color: var(--light-ink);
}

.dark-pill {
  color: var(--light-ink);
  border-color: rgba(23, 25, 30, 0.32);
  background-color: rgba(255, 255, 255, 0.35);
}

.experience-content > .dark-pill {
  margin-top: calc(2.55rem + 15px);
}

a.dark-pill:hover,
button.dark-pill:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.4rem 4rem;
}

.services-grid h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.services-grid p {
  margin: 0.95rem 0 0;
  color: var(--light-muted);
  font-size: 1.14rem;
  line-height: 1.5;
}

.creativity-list {
  list-style: none;
  margin: -15px 0 0;
  padding: 0;
}

.creativity-item {
  padding: calc(1.25rem + 15px) 0 calc(1.4rem + 15px);
  border-bottom: 1px solid var(--light-line);
}

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

.creativity-item h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 2.3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.creativity-item p {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-muted);
}

.creativity-item a {
  color: var(--light-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
  transition: text-decoration-color 160ms ease;
}

.creativity-item a:hover,
.creativity-item a:focus-visible {
  text-decoration-color: currentColor;
}

.offclock-images {
  grid-column: 1 / -1;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.offclock-images img {
  width: 100%;
  height: clamp(300px, 44vw, 610px);
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

.footer {
  padding: 8.1rem 0 2.1rem;
}

.footer-inner {
  text-align: center;
}

.footer-kicker {
  margin: 0 auto;
  color: #80848b;
  border-color: rgba(255, 255, 255, 0.14);
  font-size: 1rem;
}

.footer-cta {
  margin-top: 3rem;
  display: inline-block;
  font-size: clamp(3rem, 7.8vw, 8.1rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.footer-meta {
  margin-top: 8.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  font-size: 1rem;
  color: #d2d5da;
  width: 100%;
}

.footer-meta nav {
  display: flex;
  gap: 1.55rem;
  justify-self: start;
}

.footer-meta p {
  margin: 0;
  justify-self: end;
  text-align: right;
  color: #9ea3aa;
}

@media (max-width: 1050px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    font-size: 1rem;
  }

  .hero-time {
    text-align: left;
  }

  .hero-main {
    grid-template-columns: 1fr;
    margin-top: auto;
  }

  .hero-main h1 {
    font-size: 34.4vw;
  }

  .hero-main p {
    max-width: 26rem;
    font-size: 2.28rem;
  }

  .about,
  .experience,
  .services,
  .offclock {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 4rem 0;
  }

  .kicker {
    font-size: 0.86rem;
  }

  .about-copy p,
  .experience-lead {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .about-photo-wrap {
    margin-top: 1rem;
    justify-self: start;
    grid-column: 1;
  }

  .pill-outline {
    font-size: 1rem;
    min-height: 44px;
    padding: 0.35rem 1rem;
  }

  .work h2 {
    font-size: clamp(2.52rem, 9.6vw, 3.6rem);
  }

  .work-row a {
    min-height: auto;
    padding: 2.15rem 0;
  }

  .work-list {
    padding-right: 0;
  }

  .work-row .title {
    font-size: clamp(2.2rem, 9vw, 3.1rem);
  }

  .work-row .subtitle {
    font-size: 1.2rem;
  }

  .work-row .body-copy {
    font-size: 1.104rem;
    line-height: 1.4;
  }

  .work-row .year {
    font-size: 2.2rem;
  }

  .work-preview,
  .cursor-bubble {
    display: none;
  }

  .process h2 {
    font-size: clamp(2rem, 9vw, 3.3rem);
  }

  .process-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    transform: none !important;
    width: 100%;
  }

  .process-track article {
    width: 100%;
  }

  .process-track span {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .process-track h3,
  .experience-grid h3,
  .services-grid h3,
  .creativity-item h3 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .process-track p,
  .experience-grid p,
  .services-grid p,
  .footer-meta {
    font-size: 1rem;
    line-height: 1.55;
  }

  .experience-grid,
  .services-grid,
  .offclock-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .offclock-images img {
    height: 240px;
  }

  .offclock-images img:first-child {
    object-position: center 72%;
  }

  .offclock-images img:nth-child(3) {
    object-position: center 28%;
  }

  .creativity-item p {
    font-size: 1rem;
  }

  .footer {
    padding-top: 4.5rem;
  }

  .footer-cta {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .footer-meta nav {
    justify-self: start;
  }

  .footer-meta {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
  }

  .footer-meta p {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }

}
