:root {
  --paper: #fcfcfb;
  --panel: #f8f8f6;
  --ink: #151515;
  --muted: #565656;
  --line: #deded9;
  --coral: #f45f47;
  --shell: min(1160px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand,
.site-header nav a,
.eyebrow,
.meta,
.project-link,
.footer-links a {
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 42px;
}

.site-header a {
  text-underline-offset: 6px;
}

.site-header a:hover,
.site-header a:focus-visible {
  text-decoration: underline;
}

.hero {
  min-height: 535px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(3.25rem, 6vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 400;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.accent-rule {
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 26px;
  background: var(--coral);
}

.accent-rule.small {
  width: 15px;
  height: 2px;
  margin: 15px 0;
}

.hero-mark {
  width: clamp(170px, 21vw, 255px);
  aspect-ratio: 1;
  border-radius: 50%;
  justify-self: center;
  background: var(--coral);
  transform: translate(60px, -52px);
}

.work-section {
  background: var(--panel);
  padding: 35px 0 0;
}

.eyebrow {
  margin: 0;
  padding-bottom: 24px;
}

.project {
  min-height: 310px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.project:last-child {
  border-bottom: 1px solid var(--line);
}

.project-copy {
  max-width: 370px;
}

.project-copy h3 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.035em;
}

.meta {
  margin: 0 0 16px;
}

.project-copy > p:not(.meta) {
  color: var(--muted);
  margin: 0 0 28px;
}

.project-link {
  color: var(--coral);
}

.project-link span {
  display: inline-block;
  margin-left: 18px;
  font-size: 1.15rem;
  transition: transform .2s ease;
}

.project-link:hover span,
.project-link:focus-visible span {
  transform: translateX(6px);
}

.project-image {
  height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translateX(60px);
}

.project-image img {
  display: block;
  width: min(100%, 340px);
  height: 250px;
  object-fit: contain;
  transition: transform .3s ease;
}

.project:hover .project-image img {
  transform: translateY(-4px);
}

.about {
  padding: 110px 0 0;
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 72px;
}

.about-visual {
  display: grid;
  justify-items: start;
  gap: 32px;
  min-width: 0;
}

.about-visual .eyebrow {
  padding-bottom: 0;
}

.about-visual img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.about p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -.03em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: .75fr 1fr .75fr;
  align-items: start;
  gap: 64px;
}

.monogram {
  color: var(--coral);
  font-size: 2.75rem;
  letter-spacing: -.07em;
}

.contact a,
.contact p {
  margin: 0;
  text-decoration: none;
}

.footer-links {
  justify-self: end;
  display: grid;
  gap: 22px;
}

.footer-links a {
  width: fit-content;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}

@media (max-width: 800px) {
  :root { --shell: min(100% - 32px, 680px); }

  .site-header {
    min-height: 76px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 610px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 45px;
  }

  .hero-mark {
    width: 155px;
    justify-self: start;
    margin-left: 45%;
    transform: none;
  }

  .desktop-break { display: none; }

  .project {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 44px 0;
  }

  .project-image {
    height: 235px;
    order: -1;
    justify-content: flex-start;
    transform: none;
  }

  .project-image img {
    max-height: 220px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 80px 0;
  }

  .about-visual {
    gap: 24px;
  }

  .about-visual img {
    width: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
