:root { --paper: #efeee8; --ink: #10100f; --muted: #6b6a64; --line: #b9b8b0; --accent: #e43a25; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-width: 320px; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.topbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 60px; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(239,238,232,.92); backdrop-filter: blur(16px); }
.brand { font-weight: 700; letter-spacing: .2em; }
.page-id { color: var(--accent); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.topnav { display: flex; justify-content: flex-end; gap: 28px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.topnav a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(470px,1.3fr); min-height: min(780px, calc(100svh - 60px)); border-bottom: 1px solid var(--line); }
.hero-index { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 20px; border-right: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.hero-index dl { display: grid; gap: 16px; }
.hero-index dt { margin-bottom: 4px; color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.hero-index dd { line-height: 1.5; }
.hero-main { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 24px 20px 28px; }
h1 { font-size: clamp(90px, 15vw, 260px); font-weight: 600; line-height: .72; letter-spacing: -.095em; }
h1 span { display: block; }
h1 span:last-child { margin-left: .32em; }
.hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 820px; margin-left: auto; line-height: 1.65; }
.hero-copy p:first-child { font-size: clamp(17px, 1.7vw, 25px); line-height: 1.35; letter-spacing: -.025em; }
.hero-copy p:last-child { color: var(--muted); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; min-height: 150px; padding: 24px 20px; border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: clamp(44px, 6.8vw, 112px); font-weight: 500; line-height: .8; letter-spacing: -.06em; }
.section-head p { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.project-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-card:nth-child(even) { border-right: 0; }
.project-titlebar { display: grid; grid-template-columns: 56px 1fr; min-height: 78px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.project-number { color: var(--accent); font-size: 9px; letter-spacing: .08em; }
.project-titlebar h3 { margin-bottom: 5px; font-size: clamp(14px, 1.35vw, 20px); font-weight: 600; letter-spacing: -.015em; }
.project-subtitle { color: var(--muted); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #cac9c1; isolation: isolate; }
.project-image { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.03); }
.project-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; overflow: hidden; }
.project-placeholder::before, .project-placeholder::after { content: ""; position: absolute; pointer-events: none; }
.project-placeholder::before { inset: 12% 10%; border: 1px solid rgba(255,255,255,.55); transform: rotate(-4deg); }
.project-placeholder::after { width: 58%; aspect-ratio: 1; top: 18%; right: 10%; border-radius: 50%; border: 1px solid rgba(20,20,18,.38); box-shadow: -80px 52px 0 -1px rgba(228,58,37,.32); }
.placeholder-index, .placeholder-copy { position: relative; z-index: 2; }
.placeholder-index { align-self: flex-end; font-size: clamp(62px, 11vw, 180px); font-weight: 600; line-height: .72; letter-spacing: -.08em; color: rgba(255,255,255,.72); mix-blend-mode: overlay; }
.placeholder-copy { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.palette-oxide { background: linear-gradient(135deg,#bcb49d 0 34%,#4e3d37 34.5% 41%,#8e7662 41.5% 68%,#d8cbb0 68.5%); }
.palette-river { background: radial-gradient(ellipse at 64% 46%,transparent 0 10%,#91a2a1 10.5% 13%,transparent 13.5%),linear-gradient(16deg,#354344 0 38%,#b8b3a5 38.5% 42%,#405153 42.5%); }
.palette-concrete { background: linear-gradient(148deg,#7c7e79 0 23%,#c8c4b9 23.5% 49%,#64645f 49.5% 63%,#a0a29b 63.5%); }
.palette-night { background: radial-gradient(circle at 62% 46%,#eee0bd 0 2%,#c15234 2.5% 5%,#4b3d36 5.5% 18%,transparent 18.5%),linear-gradient(120deg,#252a2d,#7b7064 54%,#282a2d); }
.media-caption { position: absolute; right: 12px; bottom: 10px; z-index: 4; padding: 6px 8px; background: rgba(15,15,14,.78); color: #fff; font-size: 7px; letter-spacing: .13em; text-transform: uppercase; }

.project-meta { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.project-meta > div { min-width: 0; padding: 12px 14px; border-right: 1px solid var(--line); }
.project-meta > div:last-child { border-right: 0; }
.meta-label { margin-bottom: 5px; color: var(--muted); font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.meta-value { font-size: 10px; line-height: 1.45; }
details { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 10px 14px; cursor: pointer; list-style: none; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 17px; }
details[open] summary::after { content: "−"; }
.project-detail { display: grid; grid-template-columns: .8fr 1.7fr; gap: 22px; padding: 4px 14px 20px; line-height: 1.6; }
.detail-label { color: var(--muted); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.project-tags { grid-column: 2; margin-top: 8px; color: var(--accent); font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.is-draft { color: #55544f; }
.is-draft .project-media { filter: grayscale(.55); }
.is-draft .project-titlebar h3 { font-weight: 400; }
.noscript-note { padding: 30px 20px; border-bottom: 1px solid var(--line); }

.about { display: grid; grid-template-columns: .7fr 1.3fr; min-height: 480px; border-bottom: 1px solid var(--line); }
.about > h2 { padding: 22px 20px; border-right: 1px solid var(--line); font-size: 9px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.about-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 80px; padding: 22px 20px; }
.lead { max-width: 970px; font-size: clamp(34px, 5.2vw, 84px); line-height: .98; letter-spacing: -.055em; }
.about-note { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 780px; margin-left: auto; color: var(--muted); line-height: 1.65; }
footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; min-height: 180px; padding: 22px 20px; background: var(--ink); color: var(--paper); }
.footer-brand { font-size: clamp(48px, 8vw, 132px); font-weight: 600; line-height: .74; letter-spacing: -.07em; }
.footer-links { display: flex; gap: 26px; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a:hover { color: #ff5a43; }

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; padding: 0 14px; }
  .page-id { display: none; }
  .topnav { gap: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-index { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-index dl { grid-template-columns: 1fr 1fr; }
  .hero-main { min-height: 600px; padding: 22px 14px; }
  h1 { font-size: clamp(86px, 28vw, 150px); }
  h1 span:last-child { margin-left: 0; }
  .hero-copy { grid-template-columns: 1fr; gap: 18px; }
  .section-head { min-height: 126px; padding: 20px 14px; }
  .section-head p { text-align: right; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { border-right: 0; }
  .project-titlebar { grid-template-columns: 48px 1fr; }
  .project-detail { grid-template-columns: 1fr; gap: 10px; }
  .project-tags { grid-column: 1; }
  .about { grid-template-columns: 1fr; }
  .about > h2 { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-note { grid-template-columns: 1fr; }
}

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