:root {
  --teal: #307f89;
  --terracotta: #c67962;
  --pine: #174b52;
  --ink: #25282a;
  --paper: #f7f1e8;
  --patina: #a9c8c3;
  --white: #ffffff;
  --line: rgba(37, 40, 42, .18);
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: Inter, "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 3.25vw;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
  background: rgba(247, 241, 232, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand-home { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-home img { width: 30px; height: 30px; }
.site-header nav { display: flex; justify-content: center; gap: clamp(.8rem, 2vw, 2rem); }
.site-header nav a { text-decoration: none; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a:hover { color: var(--terracotta); }
.version { font-size: .72rem; letter-spacing: .08em; }

.chapter { min-height: 100vh; padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 7vw, 8rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.chapter-label { display: flex; align-items: center; gap: .85rem; margin-bottom: clamp(3rem, 7vw, 7rem); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.chapter-label::after { content: ""; height: 1px; width: min(260px, 24vw); background: currentColor; opacity: .34; }
.chapter-label span { color: var(--terracotta); }
.chapter-label.light { color: white; }
.chapter-label.light span { color: var(--patina); }
.eyebrow, .spec-label { margin: 0 0 1rem; font-size: .72rem; line-height: 1.3; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.terracotta { color: var(--terracotta); }
.teal-text { color: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h2 { font-size: clamp(3rem, 6vw, 6.8rem); line-height: .98; }
h3 { font-size: 1.4rem; line-height: 1.15; }

.cover { background: var(--paper); display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr auto; gap: 4rem; padding-top: 8rem; }
.cover-number { position: absolute; top: 2rem; left: 3rem; font-size: .75rem; letter-spacing: .14em; }
.cover-logo-wrap { align-self: center; max-width: 820px; }
.cover-logo { width: 100%; }
.cover-title { align-self: end; position: relative; z-index: 2; }
.cover-title h1 { font-size: clamp(3.8rem, 7vw, 8rem); line-height: .93; }
.cover-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid var(--ink); font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }

.editorial-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.lede-column { padding-top: .5rem; max-width: 640px; }
.lede { font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw, 3rem); line-height: 1.16; color: var(--teal); }
.foundation-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin: 7rem 0; }
.foundation-grid article { padding: 3rem; min-height: 280px; border-right: 1px solid var(--line); }
.foundation-grid article:last-child { border-right: 0; }
.foundation-grid h3 { font-family: var(--serif); font-size: 2.7rem; font-weight: 400; margin-top: 3rem; }
.card-index { color: var(--terracotta); font-size: .75rem; letter-spacing: .12em; }
.promise-band { display: grid; grid-template-columns: .3fr 1fr; gap: 2rem; padding: 4rem 0 0; border-top: 1px solid var(--ink); }
.promise-band > p { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.promise-band blockquote { margin: 0; max-width: 1050px; color: var(--teal); font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 5rem); line-height: 1.06; }

.logo-section { background: var(--teal); color: white; display: grid; grid-template-columns: 1fr .42fr; align-content: center; gap: 4rem 7vw; }
.logo-section .chapter-label { grid-column: 1 / -1; margin-bottom: 1rem; }
.logo-stage { min-height: 54vh; display: flex; align-items: center; justify-content: center; padding: 8%; background: var(--white); }
.logo-stage img { width: min(900px, 90%); }
.logo-intro { align-self: end; }
.logo-intro h2 { font-size: clamp(3rem, 5vw, 5.8rem); }
.logo-intro p { max-width: 500px; color: rgba(255,255,255,.78); }

.lockup-grid { display: grid; grid-template-columns: 1.2fr .8fr .58fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lockup-card { min-height: 520px; padding: 2.25rem; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lockup-card img { width: 80%; max-height: 280px; object-fit: contain; margin: auto; }
.lockup-card p { margin: 2rem 0 0; color: #5c6263; font-size: .92rem; max-width: 420px; }
.mark-card img { width: 55%; }

.anatomy { background: var(--paper); }
.anatomy-layout { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 10vw; }
.anatomy-mark { position: relative; padding: 8%; }
.anatomy-mark img { width: min(580px, 90%); margin: auto; }
.guide-line { position: absolute; left: 52%; width: 56%; height: 1px; background: var(--terracotta); }
.guide-line::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; background: var(--terracotta); border-radius: 50%; }
.guide-line.one { top: 44%; }.guide-line.two { top: 56%; }
.equals-large { display: flex; flex-direction: column; gap: 1rem; width: 170px; margin-bottom: 3rem; }
.equals-large i { display: block; height: 30px; background: var(--terracotta); }
.anatomy-copy h2 { font-size: clamp(3rem, 5vw, 5.7rem); }
.anatomy-copy p { max-width: 600px; }

.spacing-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: center; }
.clearspace-demo { position: relative; padding: 11%; border: 1px dashed var(--terracotta); background: white; }
.clearspace-demo img { width: 100%; }
.x { position: absolute; color: var(--terracotta); font: 700 .75rem var(--sans); text-transform: uppercase; }
.x.top { top: 4%; left: 50%; }.x.bottom { bottom: 4%; left: 50%; }.x.left { left: 4%; top: 50%; }.x.right { right: 4%; top: 50%; }
.spec-stack article { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.spec-stack article:last-child { border-bottom: 1px solid var(--line); }
.spec-stack strong { display: block; margin-bottom: .5rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }

.misuse h2 { max-width: 820px; }
.dont-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 5rem; }
.dont-grid article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dont-grid p { padding: 0 1.4rem 1.4rem; font-size: .85rem; }
.dont-art { height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: white; }
.dont-art img { width: 78%; }
.stretched img { transform: scaleX(1.28); }.rotated img { transform: rotate(-10deg); }.shadowed img { filter: drop-shadow(12px 14px 7px rgba(0,0,0,.35)); }.low-contrast { background: var(--patina); opacity: .5; }
.rule-note { margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid var(--terracotta); border-bottom: 1px solid var(--terracotta); }
.rule-note span { margin-right: 1.5rem; color: var(--terracotta); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.color-section { background: var(--pine); color: white; }
.color-head { display: grid; grid-template-columns: 1fr .58fr; gap: 8vw; align-items: end; }
.color-head p { max-width: 580px; color: rgba(255,255,255,.74); }
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; }
.swatch { min-height: 380px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; color: white; border: 1px solid rgba(255,255,255,.22); }
.swatch h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.swatch p { opacity: .72; }
.swatch dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.5rem; margin: 0; font-size: .78rem; }
.swatch dt { opacity: .6; }.swatch dd { margin: 0; }
.swatch.teal { background: var(--teal); }.swatch.terra { background: var(--terracotta); }.swatch.pine { background: var(--pine); }.swatch.ink { background: var(--ink); }.swatch.paper { background: var(--paper); color: var(--ink); }.swatch.patina { background: var(--patina); color: var(--ink); }
.proportion { height: 110px; margin-top: 4rem; display: flex; overflow: hidden; }
.proportion div { width: var(--w); background: var(--c); padding: 1rem; color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.proportion div:nth-child(2), .proportion div:nth-child(4) { color: white; }

.type-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.type-intro > div { padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.display-sample { margin: 0; font: 400 clamp(3.3rem, 6.2vw, 7rem)/.96 var(--serif); letter-spacing: -.04em; }
.sans-sample { margin: 0; color: var(--teal); font: 500 clamp(3rem, 5.4vw, 6.2rem)/.98 var(--sans); letter-spacing: -.045em; }
.type-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; margin-top: 6rem; }
.type-specs article { padding-top: 2rem; border-top: 1px solid var(--line); }
.alphabet { font-size: clamp(2rem, 3.6vw, 4.3rem); line-height: 1.25; }.alphabet.serif { font-family: var(--serif); }.alphabet.sans { font-family: var(--sans); color: var(--teal); }
.type-note { margin-top: 5rem; padding: 1.4rem; background: white; border-left: 5px solid var(--terracotta); }

.system-section { background: var(--teal); color: white; }
.system-head { display: grid; grid-template-columns: 1fr .58fr; align-items: end; gap: 8vw; }
.system-head p { max-width: 560px; color: rgba(255,255,255,.76); }
.motif-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6rem; border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.motif-grid article { min-height: 450px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.motif-grid h3 { margin-top: 3rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.motif-grid p { color: rgba(255,255,255,.72); font-size: .9rem; }
.motif { height: 190px; display: flex; align-items: center; justify-content: center; position: relative; background: rgba(255,255,255,.07); overflow: hidden; }
.equals-motif { flex-direction: column; gap: 16px; }.equals-motif i { width: 46%; height: 20px; background: var(--terracotta); }
.lines-motif { flex-direction: column; gap: 18px; }.lines-motif i { width: 72%; height: 2px; background: var(--paper); }
.diamond-motif i { position: absolute; width: 90px; height: 90px; border-radius: 25px; transform: rotate(45deg); border: 2px solid var(--paper); }.diamond-motif i:first-child { left: 26%; }.diamond-motif i:last-child { right: 26%; border-color: var(--terracotta); }
.field-motif i { height: 100%; width: 50%; }.field-motif i:first-child { background: var(--pine); }.field-motif i:last-child { background: var(--patina); }

.voice-hero h2 { color: var(--teal); max-width: 1250px; }
.message-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.message-grid article { min-height: 340px; padding: 2.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.message-grid h3 { margin-top: 7rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.8rem); font-weight: 400; }
.voice-table { display: grid; grid-template-columns: 1fr 1fr; margin-top: 5rem; }
.voice-table > div { padding: 2.5rem; border: 1px solid var(--line); }
.voice-table > div + div { border-left: 0; }
.voice-table strong { display: block; margin-bottom: 2rem; color: var(--terracotta); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.voice-table p { margin-bottom: .5rem; }

.applications { background: var(--pine); color: white; }
.applications-head { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 8vw; }
.applications-head p { color: rgba(255,255,255,.74); }
.application-board { margin: 6rem 0 0; }
.application-board img { width: 100%; border: 1px solid rgba(255,255,255,.22); }
.application-board figcaption { margin-top: 1rem; color: rgba(255,255,255,.62); font-size: .75rem; }

.resources-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.resource-list article { display: grid; grid-template-columns: 50px 1fr; gap: 1.4rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.resource-list article:last-child { border-bottom: 1px solid var(--line); }
.resource-list > article > span { color: var(--terracotta); font-size: .75rem; }
.resource-list h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.closing { min-height: 52vh; margin-top: 8rem; padding: 8%; display: flex; flex-direction: column; justify-content: space-between; background: white; }
.closing img { width: min(760px, 78%); margin: auto; }
.closing div { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }.site-header nav { display: none; }.brand-home span { display: none; }
  .chapter { min-height: auto; padding: 5rem 1.5rem; }
  .cover { min-height: calc(100vh - 72px); grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: 6rem; }
  .cover-title { align-self: center; }.cover-footer { flex-direction: column; gap: .5rem; }
  .editorial-split, .logo-section, .anatomy-layout, .spacing-grid, .color-head, .type-intro, .type-specs, .system-head, .applications-head, .resources-grid { grid-template-columns: 1fr; }
  .foundation-grid, .swatch-grid, .message-grid { grid-template-columns: 1fr; }
  .foundation-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .logo-section .chapter-label { grid-column: auto; }.logo-stage { min-height: 360px; }
  .lockup-grid { grid-template-columns: 1fr; }.lockup-card { min-height: 390px; }
  .dont-grid, .motif-grid { grid-template-columns: 1fr 1fr; }
  .motif-grid article { min-height: 380px; }
  .swatch { min-height: 300px; }.proportion { height: auto; flex-direction: column; }.proportion div { width: 100%; min-height: 54px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .chapter-label { margin-bottom: 3.5rem; }
  .cover-logo { margin-top: 2rem; }.cover-title h1 { font-size: 3.8rem; }
  h2 { font-size: 3.1rem; }
  .promise-band { grid-template-columns: 1fr; }
  .lockup-card { min-height: 330px; padding: 1.4rem; }
  .dont-grid, .motif-grid { grid-template-columns: 1fr; }
  .dont-art { height: 210px; }
  .message-grid h3 { margin-top: 4rem; }
  .voice-table { grid-template-columns: 1fr; }.voice-table > div + div { border-left: 1px solid var(--line); border-top: 0; }
  .closing { padding: 2rem; }.closing img { width: 100%; }.closing div { flex-direction: column; gap: .5rem; }
}

@media print {
  .site-header { display: none; }
  .chapter { min-height: 100vh; break-after: page; page-break-after: always; padding: .55in; }
  .chapter:last-child { break-after: auto; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
