:root {
  --cream: #f7f1e4;
  --cream-soft: #fbf7ed;
  --cream-deep: #efe6d1;
  --mint: #bee7c9;
  --mint-soft: #ddf4e5;
  --graphite: #23231f;
  --copper: #b87333;
  --line: rgba(35, 35, 31, 0.12);
  --line-strong: rgba(35, 35, 31, 0.35);
  --max: 1280px;
  --gutter: clamp(24px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--cream);
  font-family: "IBM Plex Sans", "Hanken Grotesk", "Barlow", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--graphite); outline-offset: 4px; }
img { display: block; max-width: 100%; }

.page-grid {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 18% 18%, rgba(221,244,229,.30), transparent 34%),
    radial-gradient(circle at 84% 64%, rgba(190,231,201,.18), transparent 32%);
  background-size: auto, auto;
  background-repeat: no-repeat, no-repeat;
}
.page-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .4;
  background-image: url("header-graphy-original.png");
  background-size: 80px 160px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}
.site-header, main, footer {
  position: relative;
  z-index: 1;
}
.container { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }

.nav { min-height: 88px; align-items: center; border-bottom: 1px solid var(--line); }
.brand { grid-column: span 6; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; }
.brand img { width: 44px; height: 44px; object-fit: contain; opacity: .86; mix-blend-mode: multiply; }
.brand-title, .brand-subtitle { display: block; text-transform: uppercase; }
.brand-title { font-size: 14px; line-height: 1; font-weight: 500; letter-spacing: .22em; }
.brand-subtitle { margin-top: 6px; font-size: 12px; line-height: 1; letter-spacing: .18em; opacity: .52; }
.nav-links { grid-column: span 6; display: flex; justify-content: flex-end; gap: 32px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .68; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { opacity: 1; }

.hero { padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(88px, 11vw, 144px); }
.eyebrow { grid-column: span 2; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .45; }
.hero-main { grid-column: 4 / span 8; }
h1 { margin: 0; max-width: 960px; font-size: clamp(56px, 8.8vw, 138px); line-height: .88; font-weight: 300; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.intro { grid-column: span 7; max-width: 58ch; margin: 0; font-size: 18px; line-height: 1.72; opacity: .72; text-wrap: pretty; }
.focus { grid-column: 9 / span 4; border-left: 2px solid var(--line-strong); padding-left: 20px; padding-top: 4px; align-self: start; font-size: 14px; line-height: 1.65; opacity: .7; }
.label { margin: 0 0 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }

.content { background: rgba(251, 247, 237, .74); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(80px, 9vw, 112px) 0; }
.section-label { grid-column: span 3; margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .45; }
.work-list { grid-column: span 9; border-top: 1px solid rgba(35,35,31,.18); border-bottom: 1px solid rgba(35,35,31,.18); }
.work-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); padding: clamp(32px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.work-row:last-child { border-bottom: 0; }
.work-row:hover .arrow { transform: translateX(6px); }
.num { grid-column: span 2; font-size: 14px; opacity: .45; font-variant-numeric: tabular-nums; }
.work-title { grid-column: span 6; }
.work-title h2 { margin: 0; font-size: clamp(34px, 4vw, 64px); line-height: .94; font-weight: 300; letter-spacing: -.04em; }
.work-title p { max-width: 52ch; margin: 18px 0 0; font-size: 16px; line-height: 1.7; opacity: .66; text-wrap: pretty; }
.meta { grid-column: span 3; font-size: 13px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; opacity: .45; }
.arrow { grid-column: span 1; justify-self: end; color: var(--copper); font-size: 34px; line-height: 1; font-weight: 300; transition: transform .18s ease; }

.notes { padding: clamp(80px, 9vw, 112px) 0; }
.note-grid { grid-column: span 9; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.note { min-height: 260px; background: var(--cream-soft); padding: clamp(24px, 3vw, 32px); }
.note.mint { background-color: var(--mint-soft); background-image: linear-gradient(90deg, rgba(221,244,229,.94), rgba(221,244,229,.78)); background-repeat: no-repeat; }
.note h3 { margin: 48px 0 0; font-size: 26px; line-height: 1.08; font-weight: 300; letter-spacing: -.03em; }
.note p { margin: 20px 0 0; font-size: 14px; line-height: 1.65; opacity: .66; text-wrap: pretty; }
.note .label { margin-top: 0; }

.project-hero, .article-hero { padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(48px, 7vw, 88px); }
.project-title, .article-title { grid-column: 3 / span 7; }
.project-title p, .article-title p { max-width: 58ch; margin: 32px 0 0; font-size: 18px; line-height: 1.72; opacity: .72; text-wrap: pretty; }
.project-meta { grid-column: 11 / span 2; margin: 0; font-size: 12px; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; opacity: .52; }
.image-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); padding-bottom: clamp(72px, 8vw, 104px); }
.image-strip figure { margin: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.image-strip figure:first-child { grid-column: span 7; }
.image-strip figure:not(:first-child) { grid-column: span 5; }
.image-strip img, .article-media img { width: 100%; background: var(--cream-deep); }
figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .5; }
.project-sections, .article-body { padding: clamp(72px, 8vw, 104px) var(--gutter); border-top: 1px solid var(--line); }
.project-section, .article-block { grid-column: span 6; max-width: 60ch; }
.project-section p:last-child, .article-block p:last-child { margin: 0; font-size: 18px; line-height: 1.75; opacity: .72; text-wrap: pretty; }
.article-media { padding-bottom: clamp(48px, 7vw, 88px); }
.article-media img { max-height: 760px; object-fit: cover; }
.article-links { grid-column: span 12; display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .68; }
.article-links a { min-height: 44px; display: inline-flex; align-items: center; }

footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .46; }
.footer-name { grid-column: span 6; }
.footer-links { grid-column: span 6; display: flex; justify-content: flex-end; gap: 24px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width: 860px) {
  .brand, .nav-links, .eyebrow, .hero-main, .section-label, .work-list, .note-grid, .project-title, .article-title, .project-meta { grid-column: span 12; }
  .nav-links { justify-content: flex-start; gap: 20px; flex-wrap: wrap; }
  h1 { font-size: clamp(48px, 16vw, 76px); }
  .intro, .focus, .project-section, .article-block { grid-column: span 12; }
  .focus { margin-top: 8px; }
  .num, .work-title, .meta, .arrow { grid-column: span 12; justify-self: start; }
  .arrow { margin-top: -8px; }
  .note-grid { grid-template-columns: 1fr; }
  .image-strip figure:first-child, .image-strip figure:not(:first-child) { grid-column: span 12; }
  .footer-name, .footer-links { grid-column: span 12; justify-content: flex-start; flex-wrap: wrap; }
}
