:root {
  --ink: #171b1e;
  --paper: #f3eddf;
  --white: #fffaf0;
  --red: #d54b32;
  --blue: #1757a6;
  --cyan: #b9dfe0;
  --sand: #d8c3a5;
  --muted: #5e6467;
  --line: rgba(23,27,30,.28);
  --serif: "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --max: 1180px;
  --ease: cubic-bezier(.2,.7,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.68 var(--sans); }
body::before { position: fixed; z-index: -1; inset: 0; background-image: linear-gradient(rgba(23,27,30,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23,27,30,.035) 1px, transparent 1px); background-size: 32px 32px; content: ""; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--red); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; color: white; background: var(--blue); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 780px); margin-inline: auto; }

.site-header { position: relative; z-index: 20; border-bottom: 2px solid var(--ink); background: var(--paper); }
.nav-row { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: stretch; color: var(--ink); font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 46px; min-height: 46px; display: grid; place-items: center; margin-right: .75rem; color: white; background: var(--red); font: 800 1.2rem var(--serif); }
.brand-mark::before { content: "T"; }
.brand small { display: block; margin-top: .25rem; color: var(--muted); font: .6rem var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; border: 1px solid var(--ink); }
.site-nav a { padding: .68rem .8rem; border-right: 1px solid var(--ink); font: 750 .72rem var(--mono); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.site-nav a:last-child { border-right: 0; }
.site-nav a:hover,.site-nav a[aria-current="page"] { color: white; background: var(--blue); }
.menu-button { display: none; padding: .6rem .8rem; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-weight: 850; }

.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--blue); font: 800 .7rem var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 8px; border-block: 1px solid currentColor; content: ""; }
h1,h2,h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem,7.5vw,7.4rem); }
h2 { font-size: clamp(2.3rem,4.7vw,4.4rem); }
h3 { font-size: clamp(1.45rem,2.2vw,2.05rem); }
p { margin: 0 0 1.15rem; }
.lead { max-width: 730px; color: var(--muted); font: 1.25rem/1.56 var(--serif); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .75rem 1rem; border: 2px solid var(--ink); color: white; background: var(--ink); font-weight: 850; text-decoration: none; transition: transform .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.button:hover { color: white; background: var(--red); transform: translate(-3px,-3px); box-shadow: 3px 3px 0 var(--ink); }
.button.light { color: var(--ink); background: transparent; }
.button.light:hover { color: white; background: var(--blue); }

.home-hero { padding: clamp(3rem,7vw,7rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; border: 2px solid var(--ink); background: var(--white); }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 650px; padding: clamp(2rem,5vw,4.5rem); border-right: 2px solid var(--ink); overflow: hidden; }
.hero-copy::before { position: absolute; right: -110px; top: -105px; width: 330px; aspect-ratio: 1; border: 2px solid var(--blue); border-radius: 50%; content: ""; box-shadow: 0 0 0 52px var(--cyan); }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 em { display: block; color: var(--red); font-style: italic; }
.hero-bottom { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-image { position: relative; min-height: 650px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.drawing-label { position: absolute; left: 1rem; bottom: 1rem; width: min(310px,calc(100% - 2rem)); padding: .8rem; border: 2px solid var(--ink); background: var(--paper); font: .7rem/1.5 var(--mono); text-transform: uppercase; }
.dimension { position: absolute; z-index: 2; right: .8rem; top: 1rem; bottom: 1rem; width: 22px; border-block: 1px solid white; color: white; font: .6rem var(--mono); writing-mode: vertical-rl; text-align: center; }

.measure-strip { border-block: 2px solid var(--ink); background: var(--cyan); }
.measure-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.measure { padding: 1.2rem; border-right: 1px solid var(--ink); }
.measure:last-child { border-right: 0; }
.measure strong { display: block; margin-bottom: .4rem; color: var(--blue); font: 700 2rem/1 var(--serif); }
.measure span { font: .68rem/1.5 var(--mono); text-transform: uppercase; }

.section { padding: clamp(4.5rem,9vw,8rem) 0; }
.ink-field { color: white; background: var(--ink); }
.ink-field .lead,.ink-field p { color: #c8ccce; }
.ink-field .eyebrow { color: var(--cyan); }
.section-head { display: grid; grid-template-columns: 1fr .55fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head p { margin: 0; color: var(--muted); }
.element-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 1rem; }
.element-card { grid-column: span 6; position: relative; min-height: 510px; border: 2px solid var(--ink); background: var(--white); }
.element-card:nth-child(2),.element-card:nth-child(3) { grid-column: span 5; }
.element-card:nth-child(3) { grid-column-start: 2; }
.element-card picture img { width: 100%; height: 305px; object-fit: cover; border-bottom: 2px solid var(--ink); filter: saturate(.78); transition: filter .4s var(--ease); }
.element-card:hover picture img { filter: saturate(1); }
.element-copy { padding: 1.35rem; }
.element-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; color: var(--muted); font: 700 .65rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.element-card h2,.element-card h3 { font-size: clamp(1.7rem,2.7vw,2.55rem); }
.element-card h2 a,.element-card h3 a { text-decoration: none; }
.element-card p { margin-top: .7rem; color: var(--muted); }
.plate { position: absolute; z-index: 2; right: 0; top: 0; display: grid; place-items: center; width: 50px; height: 50px; color: white; background: var(--red); font: 800 .7rem var(--mono); }

.arch-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,7vw,7rem); align-items: start; }
.arch-diagram { position: sticky; top: 2rem; min-height: 520px; border: 2px solid #fff; background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.3) 50%, transparent 50.2%), repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.08) 31px 32px); overflow: hidden; }
.arch-diagram::before { position: absolute; left: 15%; right: 15%; bottom: -2px; height: 75%; border: 2px solid var(--cyan); border-bottom: 0; border-radius: 50% 50% 0 0; content: ""; }
.arch-diagram span { position: absolute; left: 1rem; top: 1rem; max-width: 190px; color: var(--cyan); font: .7rem/1.5 var(--mono); text-transform: uppercase; }
.reading-list { counter-reset: read; }
.reading-step { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.7rem 0; border-top: 1px solid rgba(255,255,255,.3); }
.reading-step::before { counter-increment: read; content: "R-0" counter(read); color: var(--red); font: 800 .8rem var(--mono); }
.reading-step p { margin: .7rem 0 0; color: #c8ccce; }

.page-hero { padding: clamp(4.5rem,9vw,8rem) 0 4rem; border-bottom: 2px solid var(--ink); background: linear-gradient(90deg,var(--paper) 0 70%,var(--cyan) 70% 100%); }
.page-hero .lead { margin-top: 1.4rem; }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font: .68rem var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: .5rem; color: var(--red); content: "/"; }
.article-shell { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: clamp(2rem,7vw,6rem); align-items: start; }
.article-main { min-width: 0; }
.article-main .lead { margin: 1.2rem 0 1.5rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 1.5rem 0; color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.article-image { margin: 2rem 0 2.5rem; }
.article-image img { width: 100%; max-height: 700px; object-fit: cover; border: 2px solid var(--ink); }
.image-credit { margin-top: .6rem; color: var(--muted); font: .68rem/1.5 var(--mono); }
.prose { font: 1.08rem/1.86 var(--serif); }
.prose h2 { margin: 3.25rem 0 1rem; font-size: clamp(2rem,3.5vw,3rem); }
.prose h3 { margin: 2rem 0 .8rem; font-size: 1.5rem; }
.prose a { color: var(--blue); font-weight: 700; }
.prose blockquote { margin: 2rem 0; padding: 1.35rem; border: 2px solid var(--ink); border-left: 12px solid var(--red); background: var(--white); font-size: 1.3rem; font-style: italic; }
.prose ul,.prose ol { padding-left: 1.4rem; }
.detail-box { margin: 2rem 0; padding: 1.4rem; border: 2px solid var(--ink); background: var(--cyan); font-family: var(--sans); font-size: .94rem; }
.detail-box h3 { margin: 0 0 .8rem; color: var(--blue); font: 800 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-aside { position: sticky; top: 2rem; padding: 1.2rem; border: 2px solid var(--ink); background: var(--white); }
.article-aside h2 { margin-bottom: .8rem; color: var(--red); font: 800 .72rem var(--mono); text-transform: uppercase; }
.article-aside ul { margin: 0; padding: 0; list-style: none; }
.article-aside li { padding: .75rem 0; border-top: 1px solid var(--line); font-size: .87rem; }
.article-aside p { margin-top: 1rem; color: var(--muted); font-size: .78rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); background: var(--white); }
.split picture img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; border-right: 2px solid var(--ink); }
.split-copy { padding: clamp(2rem,5vw,4.5rem); }
.split-copy h2 { margin-bottom: 1rem; }
.split-copy p { color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 2px solid var(--ink); }
.practice-card { min-height: 270px; padding: 1.35rem; border-right: 1px solid var(--ink); background: var(--white); }
.practice-card:last-child { border-right: 0; }
.practice-card b { display: block; margin-bottom: 3rem; color: var(--blue); font: .72rem var(--mono); }
.practice-card p { color: var(--muted); }
.callout { padding: clamp(2rem,5vw,4rem); border: 2px solid var(--ink); background: var(--cyan); box-shadow: 10px 10px 0 var(--red); }
.callout h2 { max-width: 850px; margin-bottom: 1rem; }
.callout p { max-width: 680px; }
.source-list { margin: 2rem 0; padding: 0; list-style: none; }
.source-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.source-list strong { display: block; font: 1.25rem var(--serif); }
.source-list span { color: var(--muted); font-size: .86rem; }
.legal h2 { margin: 2.8rem 0 .8rem; font-size: 2rem; }
.legal h3 { margin: 1.8rem 0 .6rem; font-size: 1.35rem; }
.legal p,.legal li { color: var(--muted); }
.lost { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.lost .lead { margin: 1.5rem auto 2rem; }
.center { justify-content: center; }

.site-footer { padding: 4rem 0 1.5rem; border-top: 2px solid var(--ink); color: white; background: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .6fr; gap: 2rem; }
.site-footer .brand { color: white; }
.site-footer .brand-mark { background: var(--ink); }
.site-footer .brand small { color: #d4e1f3; }
.footer-intro { max-width: 420px; margin-top: 1rem; color: #d4e1f3; }
.footer-title { margin-bottom: .8rem; color: var(--cyan); font: .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .5rem 0; }
.footer-links a { color: white; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.4); color: #d4e1f3; font: .66rem var(--mono); text-transform: uppercase; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease),transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .menu-button { display: inline-flex; }
  .site-nav { position: absolute; left: 1.25rem; right: 1.25rem; top: calc(100% + 2px); display: none; padding: .75rem; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
  .site-nav.is-open { display: grid; }
  .site-nav a { border-right: 0; border-bottom: 1px solid var(--ink); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero-grid,.section-head,.arch-grid,.article-shell,.split { grid-template-columns: 1fr; }
  .hero-copy { min-height: 560px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .hero-image { min-height: 520px; }
  .arch-diagram,.article-aside { position: relative; top: auto; }
  .arch-diagram { min-height: 350px; }
  .split picture img { min-height: 350px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice-card:nth-child(2) { border-right: 0; }
  .practice-card:last-child { grid-column: 1/-1; border-top: 1px solid var(--ink); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 600px) {
  .wrap,.narrow { width: min(calc(100% - 1.25rem),var(--max)); }
  .nav-row { min-height: 72px; }
  .brand { font-size: .9rem; }
  .brand small { font-size: .53rem; }
  .brand-mark { width: 39px; min-height: 39px; }
  .hero-copy { min-height: 530px; padding: 1.5rem; }
  .hero-image { min-height: 460px; }
  .measure-grid { grid-template-columns: 1fr 1fr; }
  .measure:nth-child(2) { border-right: 0; }
  .measure:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .element-card,.element-card:nth-child(2),.element-card:nth-child(3) { grid-column: 1/-1; min-height: 0; }
  .element-card:nth-child(3) { grid-column-start: 1; }
  .element-card picture img { height: 260px; }
  .practice-grid,.footer-grid { grid-template-columns: 1fr; }
  .practice-card,.practice-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .practice-card:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: .5rem; }
}

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

