:root {
  --paper: #f5f1e8;
  --ink: #1b241d;
  --muted: #5f655e;
  --line: rgba(27, 36, 29, 0.22);
  --accent: #ef5b35;
  --lime: #d9e45d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.brand { font-family: "DM Sans", sans-serif; font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.header-link { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.header-link span, .card-copy a span, .closing a span { color: var(--accent); }

.hero {
  min-height: min(740px, calc(100svh - 76px));
  padding: 26px 0 72px;
  display: grid;
  grid-template-columns: 1fr minmax(0, 8fr) 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 32px;
}

.hero-meta, .section-number, .card-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}

.hero-meta { color: var(--muted); }
.hero-meta p { margin: 0 0 5px; }

.hero-copy { align-self: center; max-width: 860px; padding: 80px 0 20px; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 1rem; font-weight: 600; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 35px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4.5rem, 10vw, 9.3rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

h1 em { color: var(--accent); font-style: italic; }

.lede { max-width: 510px; margin-bottom: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; }

.hero-mark {
  align-self: end;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
}

.statement, .closing {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-number { margin: 4px 0 0; color: var(--muted); }

.statement > div { max-width: 700px; }
h2 { margin-bottom: 25px; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(3rem, 5.5vw, 5.4rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.92; }
.statement > div > p { max-width: 540px; margin-bottom: 0; font-size: 1.2rem; line-height: 1.6; }

.work { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0; }
.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.work-heading h2 { margin: 0; }

.feature-card { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 510px; background: var(--ink); color: var(--paper); }
.card-art { position: relative; overflow: hidden; min-height: 320px; background: var(--lime); }
.orb { position: absolute; display: block; border-radius: 50%; }
.orb-one { width: 80%; aspect-ratio: 1; left: -15%; bottom: -36%; background: var(--accent); }
.orb-two { width: 43%; aspect-ratio: 1; top: 13%; right: 14%; background: var(--ink); }
.card-index { position: absolute; top: 24px; left: 26px; color: var(--ink); font-family: "DM Mono", monospace; font-size: 0.72rem; }

.card-copy { align-self: center; padding: 50px clamp(32px, 6vw, 80px); }
.card-label { margin-bottom: 34px; color: var(--lime); }
h3 { max-width: 390px; margin-bottom: 20px; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2.5rem, 4vw, 4.1rem); font-weight: 400; letter-spacing: -0.05em; line-height: 0.94; }
.card-copy p:not(.card-label) { max-width: 390px; margin-bottom: 29px; color: rgba(245, 241, 232, 0.75); line-height: 1.55; }
.card-copy a, .closing a { font-size: 0.92rem; font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 5px; }

.closing { grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: clamp(80px, 12vw, 160px); }
.closing > p:not(.section-number) { max-width: 350px; margin: 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2.3rem, 4.2vw, 4rem); letter-spacing: -0.045em; line-height: 0.94; }
.closing a { justify-self: start; margin-bottom: 7px; }

footer { display: flex; justify-content: space-between; padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font-family: "DM Mono", monospace; font-size: 0.7rem; letter-spacing: 0.03em; }
footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 36px, 1200px); }
  .site-header { height: 64px; }
  .hero { min-height: 640px; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; padding: 22px 0 48px; }
  .hero-copy { grid-column: 1 / -1; padding: 73px 0 20px; }
  .hero-mark { grid-column: 2; justify-self: end; }
  .statement, .closing { grid-template-columns: 1fr; gap: 35px; }
  .work-heading { display: block; }
  .work-heading .section-number { margin-bottom: 24px; }
  .feature-card { grid-template-columns: 1fr; }
  .card-art { min-height: 290px; }
  .card-copy { padding: 43px 30px 50px; }
  .closing { gap: 30px; }
  footer { padding: 20px 0; }
  footer p:last-child { display: none; }
}

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