:root {
  --paper: #f4f1ea;
  --ink: #171915;
  --muted: #6f736a;
  --line: #c9c8bf;
  --acid: #d9ff43;
  --blue: #4b62ff;
  --white: #fffefa;
  --display: "Libre Franklin", "Noto Sans SC", sans-serif;
  --body: "DM Sans", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 25, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
main,
footer {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-size: 13px;
  letter-spacing: -0.08em;
}

.site-nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: calc(100vh - 96px);
  align-items: center;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(40px, 8vw, 120px);
  padding: 84px 0;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7.7vw, 112px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.8px var(--ink);
}

.hero-intro {
  max-width: 650px;
  margin: 38px 0 0;
  color: #42463e;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
}

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

.button-secondary {
  background: transparent;
}

.profile-card {
  align-self: center;
}

.portrait {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  place-items: center;
  background: var(--blue);
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(100px, 13vw, 190px);
  font-weight: 700;
  letter-spacing: -0.17em;
  line-height: 0;
}

.portrait > span {
  position: absolute;
  z-index: 2;
}

.portrait > span:first-child {
  transform: translate(-20%, -25%);
}

.portrait > span:nth-child(2) {
  transform: translate(17%, 24%);
}

.portrait::before {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  content: "";
}

.portrait-orbit {
  position: absolute;
  width: 128%;
  height: 24%;
  border: 2px solid var(--acid);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.profile-meta > div {
  padding: 18px;
}

.profile-meta > div + div {
  border-left: 1px solid var(--ink);
}

.meta-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-meta strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--ink);
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 80px 1fr auto;
  margin-bottom: 64px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 70px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-number,
.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}

.about-lead {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.about-copy {
  color: #494c45;
  font-size: 17px;
  line-height: 1.9;
}

.about-copy p {
  margin: 0 0 20px;
}

.interest-list {
  border-top: 1px solid var(--ink);
}

.interest-item {
  display: grid;
  align-items: center;
  grid-template-columns: 80px 1fr auto;
  gap: 0;
  padding: 38px 0;
  border-bottom: 1px solid var(--ink);
  transition: padding 220ms ease;
}

.interest-item:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--acid);
}

.interest-index {
  color: var(--muted);
  font-size: 12px;
}

.interest-item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.04em;
}

.interest-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.interest-arrow {
  font-size: 26px;
}

.work-section {
  padding-bottom: 150px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}

.project-card {
  padding: 20px;
  border: 1px solid var(--ink);
  background: rgba(255, 254, 250, 0.45);
}

.project-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-visual {
  position: relative;
  display: flex;
  min-height: 360px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.visual-one {
  background: var(--ink);
}

.visual-ring {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border: 2px solid var(--acid);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(217, 255, 67, 0.08),
    0 0 0 75px rgba(217, 255, 67, 0.04);
}

.visual-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
}

.dot-one {
  top: 26%;
  left: 25%;
}

.dot-two {
  right: 22%;
  bottom: 21%;
  background: var(--acid);
}

.visual-line {
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(-34deg);
}

.visual-two {
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.visual-two span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  transform: translateX(12%);
}

.visual-two span:nth-child(3) {
  transform: translateX(36%);
}

.project-copy {
  padding: 24px 4px 6px;
}

.project-copy h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.project-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-section {
  margin-bottom: 24px;
  padding: clamp(60px, 9vw, 120px);
  background: var(--blue);
  color: var(--white);
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.contact-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(45px, 7vw, 94px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.contact-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--white);
  font-size: clamp(15px, 2vw, 22px);
}

.contact-list {
  display: grid;
  gap: 24px;
  margin-top: 58px;
}

.contact-label {
  min-width: 68px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link span {
  color: var(--acid);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .profile-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .portrait {
    max-height: 520px;
  }

  .profile-meta {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .profile-meta > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .profile-meta > div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

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

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    height: 76px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px;
  }

  .hero {
    min-height: auto;
    padding: 74px 0 90px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 76px);
    line-height: 0.98;
  }

  .hero h1 span {
    margin-top: 12px;
    font-size: 0.82em;
    line-height: 1.02;
  }

  .profile-card {
    display: block;
  }

  .profile-meta {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
    border-left: 1px solid var(--ink);
  }

  .profile-meta > div + div {
    border-top: 0;
    border-left: 1px solid var(--ink);
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    grid-template-columns: 42px 1fr;
    margin-bottom: 45px;
  }

  .section-note {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .interest-item {
    grid-template-columns: 42px 1fr auto;
    padding: 28px 0;
  }

  .interest-item p {
    padding-right: 14px;
  }

  .project-visual {
    min-height: 290px;
  }

  .contact-section {
    padding: 54px 28px;
  }

  .contact-link {
    gap: 15px;
    overflow-wrap: anywhere;
  }

  footer {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  footer p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
