:root {
  --paper: #f1efe9;
  --paper-deep: #e5e1d8;
  --ink: #191918;
  --muted: #6d6a64;
  --line: rgba(25, 25, 24, .18);
  --accent: #bc4c2a;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.1rem, 3vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
.brand { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.4rem); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { padding: 2.2rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.language-switch { display: flex; align-items: center; gap: .28rem; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.language-switch button { padding: .35rem .25rem; border: 0; border-bottom: 1px solid transparent; background: transparent; color: inherit; cursor: pointer; font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.language-switch button:hover, .language-switch button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; text-transform: uppercase; letter-spacing: .08em; }
main { min-height: 65vh; }
.eyebrow { margin: 0 0 .8rem; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3.3rem, 8.5vw, 9rem); }
h2 { font-size: clamp(2rem, 4vw, 4.5rem); }
p { max-width: 68ch; }
.text-link { display: inline-flex; gap: .8rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link span { color: var(--accent); }
.button-link { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .75rem 1.2rem; border: 1px solid var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: .2s; }
.button-link:hover { background: var(--ink); color: var(--paper); }
.home-hero { min-height: calc(100vh - 5.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(26rem, 1fr); }
.home-hero > figure { min-height: 65vh; margin: 0; overflow: hidden; background: #222; }
.home-hero > figure img { height: 100%; object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(3rem, 6vw, 7rem) var(--pad); }
.hero-copy h1 { font-size: clamp(3.6rem, 5.2vw, 6.2rem); }
.hero-copy > p:not(.eyebrow) { margin: 2rem 0 2.5rem; color: var(--muted); }
.section { padding: clamp(5rem, 10vw, 11rem) var(--pad); }
.intro { border-top: 1px solid var(--line); }
.project-list { border-top: 1px solid var(--line); margin: 2rem 0 3rem; }
.project-card { display: grid; grid-template-columns: minmax(12rem, .55fr) 1fr; gap: clamp(1.5rem, 5vw, 6rem); align-items: center; padding: clamp(1.6rem, 3vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.project-card figure { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: var(--paper-deep); }
.project-card img, .work-card img, .journal-card img, .print-card img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img, .work-card:hover img, .journal-card:hover img, .print-card:hover img { transform: scale(1.025); }
.project-card h2 { margin: .2rem 0 1rem; }
.project-card p:last-child { color: var(--muted); }
.archive-note { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; background: var(--ink); color: var(--paper); }
.archive-note .eyebrow { color: #aaa79f; }
.archive-note h2 { max-width: 12ch; margin-top: 0; }
.archive-note p { color: #c9c6bf; }
.page-intro { padding: clamp(5rem, 10vw, 10rem) var(--pad); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 12ch; }
.page-intro > p:not(.eyebrow) { margin: 2rem 0 0; color: var(--muted); font-size: 1.1rem; }
.page-intro .button-link { margin-top: 2rem; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6rem clamp(1.5rem, 4vw, 5rem); padding: clamp(4rem, 7vw, 8rem) var(--pad); }
.work-card figure { aspect-ratio: 4 / 3; margin: 0 0 1.5rem; overflow: hidden; background: var(--paper-deep); }
.work-card h2 { margin: .4rem 0 1rem; font-size: clamp(2.1rem, 3.2vw, 4rem); }
.work-card > p:last-child { color: var(--muted); }
.project-header { max-width: 92rem; padding: clamp(4rem, 8vw, 9rem) var(--pad); }
.project-header h1 { max-width: 13ch; margin: 1rem 0 2.5rem; font-size: clamp(3.2rem, 7vw, 7.5rem); }
.back-link { display: inline-block; margin-bottom: clamp(3rem, 7vw, 8rem); color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prose { max-width: 46rem; font-family: var(--display); font-size: clamp(1.16rem, 1.6vw, 1.42rem); line-height: 1.65; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose img { margin: 2.5rem auto; }
.prose figure { margin: 2.5rem 0; }
.prose figcaption { color: var(--muted); font-family: var(--sans); font-size: .78rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 1.5vw, 1.5rem); padding: 0 var(--pad); }
.gallery-image { margin: 0; }
.gallery-image figcaption { padding: .6rem 0 1.2rem; color: var(--muted); font-size: .74rem; }
.image-button { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-image .image-button { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-deep); }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.document-card { grid-column: 1 / -1; display: grid; grid-template-columns: 6rem 1fr; gap: 2rem; align-items: center; min-height: 12rem; padding: 2rem; border: 1px solid var(--line); }
.document-card > span { display: grid; place-items: center; aspect-ratio: 1; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.document-card h2 { margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 4rem); }
.document-card p { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.print-callout { display: grid; grid-template-columns: .6fr 1.5fr 1fr; gap: 2rem; align-items: start; margin-top: clamp(5rem, 9vw, 10rem); padding: clamp(4rem, 7vw, 7rem) var(--pad); background: var(--paper-deep); }
.print-callout h2 { max-width: 12ch; margin: 0; font-size: clamp(2.4rem, 4vw, 5rem); }
.print-callout .button-link { margin-top: 1rem; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5rem clamp(1.3rem, 3vw, 3rem); padding: clamp(4rem, 7vw, 8rem) var(--pad); }
.journal-card figure { aspect-ratio: 4 / 3; margin: 0 0 1.2rem; overflow: hidden; background: var(--paper-deep); }
.journal-card time, .journal-entry time { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.journal-card h2 { margin: .5rem 0 .7rem; font-size: clamp(2rem, 3vw, 3.3rem); }
.journal-card p { color: var(--muted); font-size: .9rem; }
.journal-entry { max-width: 66rem; margin: 0 auto; padding: clamp(4rem, 8vw, 9rem) var(--pad); }
.journal-entry header h1 { margin: 1.2rem 0 4rem; }
.journal-entry .prose { margin: 0 auto; }
.legacy-content > a:first-child + img, .legacy-content > img:first-child { margin-top: 0; }
.journal-entry footer { max-width: 46rem; margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 2fr .7fr; gap: clamp(3rem, 10vw, 10rem); align-items: start; padding: clamp(4rem, 7vw, 8rem) var(--pad); }
.about-layout aside { position: sticky; top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.contact-page { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 9vw, 10rem) var(--pad); }
.contact-page h1 { margin-bottom: 2rem; }
.contact-page > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.contact-email { display: inline-block; width: fit-content; margin-top: 2rem; border-bottom: 1px solid; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 4rem); }
.copyright-page { min-height: 70vh; padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.copyright-page h1 { max-width: 13ch; margin-bottom: clamp(3rem, 6vw, 6rem); font-size: clamp(3.2rem, 7vw, 7rem); }
.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 1.5rem; padding: clamp(4rem, 7vw, 8rem) var(--pad); }
.print-card figure { aspect-ratio: 4 / 3; margin: 0 0 1.2rem; overflow: hidden; background: var(--paper-deep); }
.print-card h2 { margin: 0 0 .5rem; font-size: clamp(1.7rem, 2.5vw, 2.7rem); line-height: 1.1; }
.print-card span { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-archive { padding: clamp(4rem, 8vw, 9rem) var(--pad); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(20rem, .7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.product-layout > figure { margin: 0; }
.product-layout h1 { margin-bottom: 2rem; font-size: clamp(3rem, 6vw, 7rem); }
.product-layout .button-link { margin-top: 1.5rem; }
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: var(--pad); }
.not-found h1 { max-width: 10ch; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; letter-spacing: .03em; }
.site-footer a { text-decoration: underline; text-underline-offset: .18em; }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 3rem; border: 0; background: rgba(16, 16, 15, .96); color: white; }
.lightbox::backdrop { background: rgba(16, 16, 15, .96); }
.lightbox img { width: 100%; height: calc(100vh - 8rem); object-fit: contain; }
.lightbox p { margin: .8rem auto 0; text-align: center; font-size: .8rem; }
.lightbox-close { position: fixed; right: 1rem; top: 1rem; z-index: 2; border: 1px solid rgba(255,255,255,.5); background: #111; color: white; padding: .55rem .8rem; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 62vh; }
  .work-grid, .gallery { grid-template-columns: 1fr; }
  .journal-grid, .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-callout { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 4.5rem; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; display: none; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 1rem var(--pad) 1.5rem; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .home-hero { min-height: auto; }
  .home-hero > figure { min-height: 55vh; }
  .hero-copy { min-height: 55vh; }
  .project-card { grid-template-columns: 1fr; }
  .archive-note, .about-layout { grid-template-columns: 1fr; }
  .about-layout aside { position: static; }
  .journal-grid, .print-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: .4rem; }
  .site-footer p { margin: 0; }
  .lightbox { padding: 2.8rem .5rem 1rem; }
}

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