:root {
  --paper: #f3efe7;
  --paper-strong: #e9e1d4;
  --ink: #171615;
  --muted: #69645d;
  --line: rgba(23, 22, 21, 0.18);
  --accent: #7f1d32;
  --accent-soft: #ead7db;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.site-net {
  --paper: #f1f0eb;
  --paper-strong: #dde3e6;
  --ink: #15202a;
  --muted: #5f6870;
  --line: rgba(21, 32, 42, 0.18);
  --accent: #174c6b;
  --accent-soft: #d7e4ea;
}

body.site-org {
  --paper: #f2efe4;
  --paper-strong: #dee2d2;
  --ink: #18221b;
  --muted: #60685f;
  --line: rgba(24, 34, 27, 0.18);
  --accent: #8a4b18;
  --accent-soft: #eadcc8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 16px; }

.network-bar {
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.network-inner,
.site-header-inner,
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.network-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}
.network-links { display: flex; flex-wrap: wrap; gap: 18px; }
.network-links a { text-decoration: none; color: var(--muted); }
.network-links a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.monogram {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}
.brand-name { font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.brand-role { display: block; color: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; margin-top: 4px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.main-nav a { text-decoration: none; }

.hero { padding: clamp(80px, 12vw, 170px) 0 clamp(68px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 9.5vw, 132px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: .93;
}
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-lead {
  max-width: 760px;
  margin: 38px 0 0 auto;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0 auto; max-width: 760px; }
.hero-gallery {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 70px;
}
.hero-gallery figure,
.project-gallery figure,
.author-band figure { margin: 0; }
.hero-gallery img,
.project-gallery img,
.author-band img {
  display: block;
  width: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}
.hero-gallery img { height: clamp(310px, 42vw, 560px); }
.hero-gallery .portrait img { object-position: center 30%; }
.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.button.primary { background: var(--ink); color: var(--paper); }
.button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 38px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(38px, 5vw, 68px); font-weight: 400; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

.section { padding: clamp(76px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; margin-bottom: 54px; }
.section-kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 5.5vw, 74px); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.section-intro { max-width: 760px; margin: 24px 0 0; font-size: 21px; }
.prose { max-width: 780px; margin-left: auto; }
.prose p:first-child::first-letter { float: left; margin: .05em .12em 0 0; color: var(--accent); font-family: var(--serif); font-size: 4.1em; line-height: .8; }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  grid-column: span 6;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, white 12%);
}
.card.wide { grid-column: span 8; }
.card.narrow { grid-column: span 4; }
.card-number { color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.card h3 { margin: 48px 0 12px; font-family: var(--serif); font-size: clamp(27px, 3vw, 40px); font-weight: 400; line-height: 1.08; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-block; margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: minmax(120px, .7fr) 2fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline-label { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline-item h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.timeline-item p { margin: 0; color: var(--muted); }

.article-list { border-top: 1px solid var(--line); }
.article-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.article-meta { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.article-row h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(25px, 3vw, 38px); font-weight: 400; line-height: 1.08; }
.article-row p { max-width: 720px; margin: 0; color: var(--muted); }
.arrow { font-size: 25px; text-decoration: none; }

.project-gallery {
  display: grid;
  grid-template-columns: 1.55fr .65fr;
  gap: 18px;
  margin-top: 56px;
}
.project-gallery img { height: 430px; }
.project-gallery .award img { object-position: center 45%; }

.author-band {
  display: grid;
  grid-template-columns: minmax(230px, 390px) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.author-band img { aspect-ratio: 1.22 / 1; object-position: center; }
.author-band h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(36px, 5vw, 66px); font-weight: 400; line-height: 1.02; }
.author-band p { max-width: 680px; margin: 0; color: var(--muted); font-size: 19px; }

.editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 84px);
}
.editorial-columns article { border-top: 1px solid var(--line); padding-top: 24px; }
.editorial-columns h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(27px, 3vw, 40px); font-weight: 400; line-height: 1.08; }
.editorial-columns p { color: var(--muted); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.catalog-item { min-height: 160px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog-item small { display: block; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.catalog-item strong { display: block; margin-top: 24px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.12; }
.catalog-item span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }

.feature-essay { max-width: 900px; margin-left: auto; }
.feature-essay h3 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); font-weight: 400; line-height: 1.02; }
.feature-essay p { font-size: 19px; }
.feature-essay .source-note { color: var(--muted); font-size: 12px; }

.quote { padding: clamp(70px, 10vw, 130px) 0; background: var(--ink); color: var(--paper); }
.quote blockquote { max-width: 980px; margin: 0; font-family: var(--serif); font-size: clamp(35px, 5.5vw, 72px); line-height: 1.08; }
.quote cite { display: block; margin-top: 30px; color: color-mix(in srgb, var(--paper) 65%, transparent); font-family: var(--sans); font-size: 12px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }

.notice { padding: 26px 30px; border-left: 4px solid var(--accent); background: var(--accent-soft); }
.notice strong { display: block; margin-bottom: 5px; }

.site-footer { padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.footer-title { margin: 0 0 10px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.footer-label { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 6px; }
.footer-links a { width: fit-content; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 58px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .network-inner { display: block; }
  .network-title { display: none; }
  .network-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; }
  .network-links a { padding: 2px; text-align: center; font-size: 9px; line-height: 1.25; }
  .site-header-inner { min-height: 68px; }
  .brand-role { display: none; }
  .main-nav { display: none; }
  .hero { padding-top: 76px; }
  .hero h1 { overflow-wrap: anywhere; font-size: clamp(46px, 15vw, 74px); }
  .hero-lead, .hero-actions { margin-left: 0; }
  .hero-gallery { grid-template-columns: 1fr; margin-top: 48px; }
  .hero-gallery img { height: 350px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .card, .card.wide, .card.narrow { grid-column: 1 / -1; min-height: 230px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .article-row { grid-template-columns: 1fr auto; }
  .article-meta { grid-column: 1 / -1; }
  .article-row p { grid-column: 1 / -1; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery img { height: 310px; }
  .author-band { grid-template-columns: 1fr; }
  .editorial-columns { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}

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