:root {
  --ink: #172018;
  --muted: #5f695f;
  --paper: #f4f1e9;
  --cream: #e9e3d5;
  --line: #cfc9bb;
  --green: #184c35;
  --white: #fbfaf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.wordmark span { color: #b34529; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { border: 1px solid var(--ink); padding: 8px 14px; border-radius: 100px; }
.nav-contact:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

.hero { padding: 120px 0 130px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 24px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 900px; margin-bottom: 38px; font-size: clamp(64px, 10vw, 132px); }
.lede { max-width: 650px; margin-bottom: 42px; font-size: clamp(20px, 2.25vw, 27px); line-height: 1.42; letter-spacing: -.025em; }
.text-link { display: inline-block; font-size: 14px; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.work, .about, .contact { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start; margin-bottom: 80px; }
.section-heading h2 { max-width: 720px; font-size: clamp(43px, 6vw, 72px); }
.experiment { display: grid; grid-template-columns: .9fr 2fr; gap: 70px; }
.experiment-copy { position: sticky; top: 32px; align-self: start; }
.status { display: flex; align-items: center; gap: 8px; margin-bottom: 38px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: #b34529; }
.experiment h3 { margin-bottom: 24px; font-size: 42px; line-height: 1.04; }
.experiment-copy > p:not(.status) { color: var(--muted); }
.note { font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.prototype-grid { display: grid; gap: 14px; }
.prototype {
  min-height: 210px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 8px 24px;
  text-decoration: none;
  border: 1px solid rgba(23,32,24,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.prototype:hover, .prototype:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23,32,24,.09); }
.prototype-number { grid-row: 1 / 4; font-size: 12px; opacity: .6; }
.prototype-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.prototype strong { align-self: center; max-width: 520px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4vw, 49px); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.prototype-action { align-self: end; font-size: 13px; font-weight: 650; }
.prototype-sand { background: #e5d5bb; }
.prototype-green { background: #cbd9cb; }
.prototype-violet { background: #d8d1e7; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: start; }
.about h2 { max-width: 680px; font-size: clamp(47px, 6vw, 76px); }
.about-copy { max-width: 520px; padding-top: 8px; font-size: 19px; }
.about-copy p:last-child { color: var(--muted); margin-bottom: 0; }
.contact { padding-bottom: 120px; }
.contact h2 { margin-bottom: 48px; font-size: clamp(50px, 8vw, 94px); }
.email { font-size: clamp(20px, 3vw, 36px); text-decoration-thickness: 1px; text-underline-offset: 8px; }
footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; gap: 42px; align-items: center; color: var(--muted); font-size: 12px; }
.wordmark-small { color: var(--ink); font-size: 23px; }
footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 32px, 1180px); }
  .site-header { height: 72px; }
  nav a:not(.nav-contact) { display: none; }
  .hero { padding: 84px 0 92px; }
  h1 { margin-bottom: 30px; font-size: clamp(58px, 18vw, 84px); }
  .lede { font-size: 20px; }
  .work, .about, .contact { padding: 78px 0; }
  .section-heading, .experiment, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-heading { margin-bottom: 56px; }
  .section-heading h2 { font-size: 45px; }
  .experiment-copy { position: static; }
  .experiment h3 { font-size: 38px; }
  .prototype { min-height: 180px; padding: 22px; gap: 8px 16px; }
  .prototype strong { font-size: 34px; }
  .about-grid { gap: 26px; }
  .about h2 { font-size: 48px; }
  .about-copy { font-size: 17px; }
  footer { padding: 42px 0; min-height: 0; grid-template-columns: 1fr; gap: 12px; }
}

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