:root {
  --bg: #fcfbf8;
  --panel: #f4f6f2;
  --ink: #191919;
  --muted: #5f645f;
  --soft: #9aa095;
  --line: #dedfd9;
  --accent: #3f6357;
  --accent-soft: #e3ece5;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(16px);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.18rem;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a,
.quiet-link,
.project a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.quiet-link:hover,
.project a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  min-height: 62vh;
  padding: clamp(64px, 8vw, 104px) clamp(22px, 4vw, 56px)
    clamp(50px, 7vw, 82px);
}

.label,
.section-index,
.project-type {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 890px;
  margin-top: 22px;
  font-family: var(--sans);
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  font-family: var(--serif);
}

h2 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.3vw, 3.4rem);
  line-height: 1.06;
}

h3 {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.hero-aside {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-aside p,
.section-copy p,
.project p:not(.project-type) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
}

.quiet-link,
.project a {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about,
.media,
.connect {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
  padding: clamp(72px, 10vw, 136px) clamp(22px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

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

.section-copy p {
  max-width: 620px;
  margin-top: 24px;
}

.projects {
  padding: clamp(72px, 10vw, 136px) clamp(22px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.section-heading {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
  margin-bottom: clamp(34px, 6vw, 72px);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project {
  min-height: 340px;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--panel);
}

.project p:not(.project-type) {
  margin-top: 18px;
}

.media {
  background: var(--bg);
}

.connect {
  background: var(--accent-soft);
  align-items: start;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.connect-intro {
  min-width: 0;
}

.connect h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.contact-form {
  display: grid;
  gap: 22px;
  max-width: 640px;
}

.connect-note {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
}

.connect-note a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  font-size: clamp(0.92rem, 1vw, 1rem);
}

.connect-note a,
.legal-section a {
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
  word-break: normal;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(25, 25, 25, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  padding: 9px 0 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  margin-top: 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font: 650 0.74rem/1 var(--sans);
  letter-spacing: 0.1em;
  padding: 15px 22px;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.contact-form button:hover {
  background: transparent;
  color: var(--ink);
}

.hidden-field {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.thanks {
  width: min(720px, calc(100vw - 44px));
  padding-block: 80px;
}

.thanks .wordmark {
  display: inline-block;
  margin-bottom: 56px;
}

.thanks h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.thanks p:not(.eyebrow) {
  color: var(--muted);
}

.legal-page {
  width: min(920px, calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
}

.legal-page h1 {
  max-width: 720px;
  margin-bottom: clamp(48px, 7vw, 76px);
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about,
  .media,
  .connect,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .connect-note a {
    width: auto;
  }

  .project {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-block: 18px;
  }

  .nav-links {
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-section {
    grid-template-columns: 1fr;
  }
}
