:root {
  --paper: #f3f1ff;
  --ink: #12121a;
  --blue: #2f40ff;
  --orange: #ff6036;
  --mint: #b9f4cc;
  --line: rgba(18, 18, 26, 0.2);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: white;
  background: var(--blue);
}

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

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

.cursor-dot {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--orange);
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
  opacity: 0;
  mix-blend-mode: multiply;
}

.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-dot.is-active {
  width: 42px;
  height: 42px;
  opacity: 0.75;
}

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

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.08em;
}

.brand span,
.period {
  color: var(--orange);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  font-size: 0.88rem;
  font-weight: 700;
}

nav a {
  position: relative;
}

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

nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  border-radius: 100px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100svh - 88px);
  padding: clamp(48px, 7vw, 104px) 0 40px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.13);
}

h1 {
  align-self: center;
  margin: 30px 0;
  font-family: var(--display);
  font-size: clamp(4rem, 12.5vw, 12rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.095em;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 > span:first-child {
  color: transparent;
  -webkit-text-stroke: max(2px, 0.02em) var(--ink);
}

.hero-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.intro {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.round-link {
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease;
}

.round-link:hover {
  background: var(--orange);
  transform: rotate(-7deg) scale(1.04);
}

.round-link svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.about {
  padding: clamp(96px, 14vw, 200px) 0;
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) 2fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.about h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.about h2 {
  font-size: clamp(2.75rem, 6vw, 6rem);
  line-height: 0.95;
}

.about > p:last-child {
  margin: 8px 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.work {
  padding: clamp(88px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.project-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  overflow: hidden;
  background: var(--mint);
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.project-visual {
  min-height: 500px;
  padding: clamp(24px, 5vw, 72px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background: var(--blue);
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.project-visual::before {
  width: min(55vw, 640px);
  aspect-ratio: 1;
}

.project-visual::after {
  width: min(37vw, 420px);
  aspect-ratio: 1;
}

.visual-word {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  letter-spacing: -0.08em;
}

.visual-mark {
  position: absolute;
  top: 26px;
  right: 30px;
  font-size: 2rem;
}

.project-copy {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 100px;
}

.project-copy p {
  margin: 0;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.project-copy div > p {
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.contact {
  padding: clamp(100px, 15vw, 220px) 0 clamp(80px, 10vw, 140px);
  text-align: center;
}

.contact h2 {
  margin: 24px auto 50px;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.9;
}

.contact-link {
  width: min(100%, 720px);
  margin-inline: auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  transition: padding-inline 180ms ease, color 180ms ease;
}

.contact-link:hover {
  padding-inline: 18px;
  color: var(--blue);
}

.link-note {
  margin: 16px 0 0;
  font-size: 0.76rem;
  opacity: 0.55;
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

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

  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 88px);
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 7.4rem);
    line-height: 0.84;
  }

  .hero-footer {
    align-items: center;
  }

  .round-link {
    width: 94px;
    height: 94px;
  }

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

  .about > p:last-child {
    max-width: 520px;
  }

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

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

  .project-copy {
    gap: 64px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 40px;
  }

  h1 {
    margin-block: 42px;
  }

  .hero-footer {
    align-items: flex-end;
    gap: 20px;
  }

  .intro {
    font-size: 1.1rem;
  }

  .round-link {
    width: 80px;
    height: 80px;
    padding: 10px;
    font-size: 0.62rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading .section-label {
    margin-bottom: 18px;
  }

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

  footer {
    min-height: 110px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  footer p {
    margin: 0;
  }
}

@media (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

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

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

  .cursor-dot {
    display: none;
  }
}
