:root {
  --background: #101210;
  --surface: #151815;
  --text: #d8dbd3;
  --muted: #949b90;
  --line: #30352f;
  --accent: #d1bd68;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 9%, rgba(209, 189, 104, 0.055), transparent 26rem),
    var(--background);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.012em;
}

::selection {
  background: var(--accent);
  color: var(--background);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.55rem 0.8rem;
  background: var(--accent);
  color: var(--background);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: grid;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  line-height: 1.45;
}

.wordmark span:last-child {
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

main,
footer {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.intro {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 8rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-heading > p,
.item-number {
  margin: 0 0 1.4rem;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  font-weight: 300;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8.2vw, 7.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro-copy {
  max-width: 650px;
  margin: 3rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.8vw, 1.24rem);
}

.text-link {
  width: fit-content;
  color: var(--text);
  font-size: 0.83rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.content-section {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(0, 2fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-copy {
  max-width: 720px;
}

.section-copy p {
  margin: 0 0 1.55rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.section-copy p:first-child {
  color: var(--text);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.work-grid article {
  min-height: 270px;
  padding: 2rem 2.2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.work-grid article:nth-child(odd) {
  padding-right: 2.2rem;
  border-right: 1px solid var(--line);
}

.work-grid article:nth-child(even) {
  padding-left: 2.2rem;
}

.work-grid h3 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.work-grid article > p:last-child {
  margin: 0;
  color: var(--muted);
}

.connect-section {
  padding: clamp(6rem, 12vw, 11rem) 0;
}

.connect-section h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.connect-section > p:not(.eyebrow):not(.contact-line) {
  max-width: 620px;
  margin: 2rem 0 3.6rem;
  color: var(--muted);
}

.social-links {
  border-top: 1px solid var(--line);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 400;
}

.social-links a span:last-child {
  color: var(--muted);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  transition: transform 160ms ease, color 160ms ease;
}

.social-links a:hover span:last-child {
  color: var(--accent);
  transform: translate(0.2rem, -0.2rem);
}

.contact-line {
  margin: 3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  padding: 2rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p:nth-child(2) {
  text-align: center;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 0.35rem;
}

@media (max-width: 760px) {
  .site-header {
    width: min(calc(100% - 2rem), var(--max-width));
    padding: 1.4rem 0;
  }

  nav {
    max-width: 210px;
    gap: 0.25rem 0.85rem;
  }

  nav a {
    font-size: 0.65rem;
  }

  main,
  footer {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .intro {
    min-height: 76vh;
    padding: 5rem 0 6rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 0;
  }

  .section-heading {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    align-items: baseline;
  }

  .section-heading > p {
    margin: 0;
  }

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

  .work-grid article,
  .work-grid article:nth-child(odd),
  .work-grid article:nth-child(even) {
    min-height: 0;
    padding: 2rem 0;
    border-right: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  footer p:nth-child(2) {
    text-align: left;
  }
}

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

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