@font-face {
  font-family: "Derthona Display";
  src: url("assets/fonts/DerthonaDisplay-Regular.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face { font-family: "TeX Gyre Heros"; src: url("assets/fonts/TeXGyreHeros-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("assets/fonts/TeXGyreHeros-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("assets/fonts/TeXGyreHeros-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("assets/fonts/TeXGyreHeros-BoldItalic.woff2") format("woff2"); font-weight: 700 900; font-style: italic; font-display: swap; }
@font-face { font-family: "PP Fragment"; src: url("assets/fonts/PPFragment-GlareRegular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Fragment"; src: url("assets/fonts/PPFragment-GlareRegularItalic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "PP Fragment"; src: url("assets/fonts/PPFragment-GlareExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Fragment"; src: url("assets/fonts/PPFragment-GlareBlack.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --red: #ef3340;
  --black: #2d2926;
  --white: #fff;
  --warm: #f2efeb;
  --pad: clamp(24px, 5vw, 80px);
  --sans: "TeX Gyre Heros", Arial, Helvetica, sans-serif;
  --display: "Derthona Display", "Arial Narrow", Impact, sans-serif;
  --accent: "PP Fragment", Georgia, serif;
  --action-size: 11px;
  --action-tracking: .09em;
  --action-transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .35s cubic-bezier(.16,1,.3,1);
  --action-hover-light: #d32331;
  --action-hover-dark: #ff7580;
}

html[data-theme="light"] {
  color-scheme: light;
  --theme-bg: #fff;
  --theme-text: #2d2926;
  --theme-surface: #f2efeb;
  --theme-muted: #746f6c;
  --theme-header: rgba(255, 255, 255, .92);
  --action-hover: var(--action-hover-light);
  --line: rgba(45, 41, 38, .18);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --theme-bg: #2d2926;
  --theme-text: #fff;
  --theme-surface: #383431;
  --theme-muted: #bdb7b2;
  --theme-header: rgba(45, 41, 38, .92);
  --action-hover: var(--action-hover-dark);
  --line: rgba(255, 255, 255, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--theme-bg); color: var(--theme-text); font-family: var(--sans); transition: background-color .35s ease, color .35s ease; }
/* Derthona Display maps its standard forms to lowercase code points.
   Keep alternate forms only inside the interactive and instructional specimens. */
body :is(
  h1, h2, h3, h4, h5, h6,
  .brand-link,
  .statement,
  .trait-list li,
  .tensions > div,
  .pillars-grid strong,
  .scale-readout strong,
  .type-display p,
  .font-package-download strong,
  .glyph-accordion summary,
  .type-family-display .type-specimen,
  .voice-do p:not(.micro-label),
  .voice-dont p:not(.micro-label),
  .brand-quote,
  .identity-type strong,
  .principles-list strong
) { text-transform: lowercase !important; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }

.access-gate { display: none; }
html[data-auth="locked"] body { min-height: 100svh; overflow: hidden; }
html[data-auth="locked"] body > :not(.access-gate) { visibility: hidden; }
html[data-auth="locked"] .access-gate {
  position: fixed; z-index: 1000; inset: 0; padding: var(--pad);
  display: grid; place-items: center; visibility: visible;
  color: var(--theme-text); background: var(--theme-bg);
}
.access-gate-card { width: min(100%, 720px); display: grid; grid-template-columns: 120px 1fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.access-gate-logo { width: 120px; max-height: 120px; object-fit: contain; }
.access-gate-card > div, .access-password-label, .access-password-row, .access-error { grid-column: 2; }
.access-gate-card h1 { margin: 24px 0 22px; color: var(--red); font: 700 clamp(54px, 8vw, 92px)/.84 var(--display); letter-spacing: -.025em; }
.access-gate-copy { max-width: 440px; margin: 0; color: var(--theme-muted); font-size: 16px; line-height: 1.5; }
.access-password-label { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.access-password-row { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--theme-text); }
.access-password-row input { min-width: 0; padding: 14px 0; border: 0; outline: 0; color: var(--theme-text); background: transparent; font: 500 20px/1.2 var(--sans); }
.access-password-row input:focus-visible { box-shadow: 0 2px 0 var(--red); }
.access-password-row button { padding: 14px 0 14px 24px; border: 0; background: transparent; color: var(--theme-text); cursor: pointer; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-transform: uppercase; transition: var(--action-transition); }
.access-password-row button:hover, .access-password-row button:focus-visible { color: var(--action-hover); transform: translateX(3px); outline: 0; }
.access-error { min-height: 20px; margin: -18px 0 0; color: var(--red); font-size: 12px; font-weight: 500; }

.topbar {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: 66px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between;
  color: var(--theme-text); border-bottom: 1px solid var(--line); background: var(--theme-header); backdrop-filter: blur(14px);
  transition: color .35s ease, background-color .35s ease, border-color .35s ease;
}
.brand-link { display: flex; gap: 12px; align-items: center; text-decoration: none; font: 700 14px/1 var(--display); letter-spacing: .08em; transition: color .25s ease, opacity .25s ease; }
.brand-symbol { width: 24px; height: 32px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.site-nav a { position: relative; text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: color .25s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.menu-toggle { display: none; color: inherit; border: 0; background: transparent; text-transform: uppercase; font-size: 12px; font-weight: 700; transition: color .25s ease; }
.theme-toggle { width: 24px; height: 24px; padding: 3px; display: grid; place-items: center; border: 0; background: transparent; color: inherit; cursor: pointer; }
.theme-toggle-dot { width: 14px; height: 14px; display: block; border: 1px solid currentColor; border-radius: 50%; background: var(--theme-text); transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .35s ease, box-shadow .35s ease; }
.theme-toggle:hover .theme-toggle-dot { transform: scale(1.18); }
.theme-toggle:focus-visible { outline: 2px solid var(--action-hover); outline-offset: 4px; border-radius: 50%; }
.theme-toggle-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (hover: hover) {
  .brand-link:hover, .menu-toggle:hover, .site-nav a:hover, .scroll-cue:hover, .manual-footer a:hover, .lightbox-close:hover { color: var(--action-hover); }
  .site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .scroll-cue:hover { transform: translateY(-2px); }
  .logo-theme-switch button:hover { color: var(--action-hover); }
}

.brand-link:focus-visible, .menu-toggle:focus-visible, .site-nav a:focus-visible, .scroll-cue:focus-visible, .manual-footer a:focus-visible, .lightbox-close:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 5px; }

.progress { position: fixed; z-index: 200; left: 0; top: 0; width: 0; height: 4px; background: var(--red); }
.section, .hero { position: relative; padding: 130px var(--pad); overflow: hidden; }
.section { scroll-margin-top: 66px; }
.section-dark, .section-light, .section-warm { background: var(--theme-bg); color: var(--theme-text); transition: background-color .35s ease, color .35s ease; }
.section-warm { border-top: 1px solid var(--line); }
.section-red { background: var(--red); color: var(--white); }
.eyebrow, .micro-label { margin: 0; font-family: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--red); }
.section-number { display: none; }
.section-head { position: relative; max-width: 960px; margin-bottom: 80px; }
.section-head h2 { margin: 26px 0 0; font: 700 clamp(44px, 6vw, 88px)/.92 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.section-intro { max-width: 650px; margin: 38px 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }

.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr; align-items: center; padding-top: 100px; }
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 2; max-width: min(62vw, 850px); }
.hero .eyebrow { color: var(--theme-text); }
.hero-copy h1 { margin: 32px 0; font: 700 clamp(56px, 6.3vw, 92px)/.88 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-copy h1 span:last-child { color: var(--red); }
.hero-lead { max-width: 560px; margin: 0 0 28px; font-size: clamp(18px, 2vw, 25px); line-height: 1.45; }
.hero-mark { position: absolute; z-index: 1; top: 50%; right: -12vh; width: auto; height: 70%; padding: 0; transform: translateY(-50%); pointer-events: none; }
.hero-mark img { width: auto; height: 100%; max-width: none; }
.hero-index { display: none; }
.scroll-cue { position: relative; z-index: 2; padding: 6px 0 5px; display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: var(--action-size); font-weight: 700; text-transform: uppercase; letter-spacing: var(--action-tracking); transition: var(--action-transition); }
.scroll-cue span { color: var(--action-hover); font-size: 17px; line-height: 1; }

.position-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.position-card { padding: clamp(32px, 5vw, 72px); }
.position-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-card { grid-column: 1 / -1; }
.statement { max-width: 920px; margin: 54px 0 0; font: 700 clamp(38px, 5vw, 72px)/.95 var(--display); text-transform: uppercase; }
.foundation-copy { max-width: 520px; margin: 50px 0 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; }
.trait-list { list-style: none; padding: 0; margin: 68px 0 0; }
.trait-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font: 700 clamp(25px, 3vw, 42px)/1 var(--display); text-transform: uppercase; }
.tension-block { margin-top: 110px; }
.tensions { margin-top: 35px; }
.tensions > div { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 40px; padding: 25px 0; border-top: 1px solid var(--line); font: 700 clamp(24px, 3vw, 44px)/1 var(--display); text-transform: uppercase; }
.tensions > div:last-child { border-bottom: 1px solid var(--line); }
.tensions span:last-child { text-align: right; }
.tensions span:last-child { font: 400 clamp(15px, 1.6vw, 21px)/1.4 var(--sans); text-transform: none; }
.tensions i { display: none; }
.pillars-block { margin-top: 110px; }
.pillars-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillars-grid > div { min-height: 210px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-grid strong { font: 700 clamp(28px, 3vw, 44px)/1 var(--display); text-transform: uppercase; }
.pillars-grid span { max-width: 320px; line-height: 1.5; }

.logo-scale-tool { margin-bottom: 120px; border: 1px solid var(--line); background: var(--theme-surface); transition: background-color .35s ease, border-color .35s ease; }
.scale-tool-head { padding: clamp(30px, 4vw, 56px); display: grid; grid-template-columns: 1fr .72fr; gap: 60px; border-bottom: 1px solid var(--line); }
.scale-tool-head h3 { margin: 24px 0 0; font: 700 clamp(38px, 5vw, 72px)/.9 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.scale-tool-head > p { align-self: end; max-width: 520px; margin: 0; font-size: 18px; line-height: 1.55; }
.scale-stage { position: relative; min-height: clamp(390px, 48vw, 650px); display: grid; place-items: center; overflow: hidden; }
.scale-grid { display: none; }
.scale-logo-wrap { position: relative; z-index: 1; width: min(66%, 720px); height: 290px; display: grid; place-items: center; }
.scale-logo { width: var(--logo-width, 58%); height: var(--logo-height, 190px); object-fit: contain; transition: opacity .16s ease, transform .38s cubic-bezier(.2,.75,.25,1), width .38s cubic-bezier(.2,.75,.25,1), height .38s cubic-bezier(.2,.75,.25,1); }
.scale-logo.is-changing { opacity: 0; transform: scale(.88); }
.scale-readout { position: absolute; left: 34px; bottom: 28px; z-index: 2; display: grid; gap: 4px; }
.scale-readout span, .scale-readout small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.scale-readout strong { font: 700 22px/1 var(--display); text-transform: uppercase; }
.scale-control { padding: 30px clamp(30px, 4vw, 56px) 42px; border-top: 1px solid var(--line); }
.scale-control label { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.range-wrap { position: relative; --range-position: 32%; }
.range-wrap::before { content: ""; position: absolute; z-index: 1; left: 2px; top: 11px; width: var(--range-position); height: 2px; background: var(--red); pointer-events: none; }
.scale-control input { position: relative; z-index: 2; width: 100%; height: 24px; margin: 0; appearance: none; background: transparent; cursor: ew-resize; }
.scale-control input:focus { outline: none; }
.scale-control input:focus-visible { outline: 2px solid var(--red); outline-offset: 7px; border-radius: 2px; }
.scale-control input::-webkit-slider-runnable-track { height: 2px; background: var(--theme-text); }
.scale-control input::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -13px; appearance: none; border: 7px solid var(--red); border-radius: 50%; background: var(--theme-bg); box-shadow: 0 0 0 1px var(--theme-text); }
.scale-control input::-moz-range-track { height: 2px; background: var(--theme-text); }
.scale-control input::-moz-range-thumb { width: 14px; height: 14px; border: 7px solid var(--red); border-radius: 50%; background: var(--theme-bg); }
.range-ticks { position: absolute; inset: 11px 2px auto; display: flex; justify-content: space-between; }
.range-ticks i { width: 1px; height: 10px; background: var(--theme-text); transform: translateY(-4px); }

.logo-theme-bar { padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-bottom: 0; }
.logo-theme-bar > div:first-child { display: grid; gap: 8px; }
.logo-theme-bar > div:first-child > span { font-size: 14px; color: var(--theme-muted); }
.logo-library-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.logo-theme-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.logo-theme-switch button { min-width: 82px; padding: 10px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--theme-text); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .25s ease, background-color .25s ease; }
.logo-theme-switch button[aria-pressed="true"] { background: var(--theme-text); color: var(--theme-bg); }
.logo-theme-switch button:focus-visible { outline: 2px solid var(--action-hover); outline-offset: 2px; }
.logo-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(45,41,38,.15); border: 1px solid rgba(45,41,38,.15); transition: background-color .25s ease; }
.logo-card { min-height: 390px; background: var(--white); color: var(--black); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.logo-card img { width: 100%; height: 270px; padding: clamp(20px, 2.5vw, 42px); box-sizing: border-box; object-fit: contain; }
.logo-showcase[data-theme="dark"] { background: rgba(255,255,255,.18); border-color: var(--black); }
.logo-showcase[data-theme="dark"] .logo-card { background: var(--black); color: var(--white); }
.logo-showcase[data-theme="light"] { --action-hover: var(--action-hover-light); }
.logo-showcase[data-theme="dark"] { --action-hover: var(--action-hover-dark); }
.logo-showcase .logo-card, .logo-showcase .logo-card img { transition: background-color .25s ease, color .25s ease, opacity .18s ease; }
.logo-showcase.is-switching .logo-card img { opacity: 0; }
.logo-card-wide { grid-column: span 2; }
.logo-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.asset-download { min-height: 28px; padding: 5px 0 4px; display: inline-flex; align-items: center; align-self: flex-start; border-bottom: 1px solid currentColor; color: inherit; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-decoration: none; text-transform: uppercase; transition: var(--action-transition); }
.asset-download[hidden] { display: none; }
.asset-download:hover { color: var(--action-hover); transform: translateY(-2px); }
.asset-download:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 4px; }
.asset-downloads { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.clearspace { margin-top: 120px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: center; }
.clearspace h3 { margin: 35px 0 25px; font: 700 clamp(34px, 4.5vw, 64px)/.95 var(--display); text-transform: uppercase; }
.clearspace p:last-child { max-width: 470px; font-size: 18px; line-height: 1.55; }
.clearspace img { background: var(--white); padding: 24px; }
.clearspace-asset { display: grid; gap: 18px; }
.static-downloads { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.static-downloads a { min-height: 28px; padding: 5px 0 4px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; color: inherit; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-decoration: none; text-transform: uppercase; transition: var(--action-transition); }
.static-downloads a:hover { color: var(--action-hover); transform: translateY(-2px); }
.static-downloads a:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 4px; }
.composed-logos { margin-top: 150px; padding-top: 36px; border-top: 1px solid var(--line); }
.composed-head { margin-bottom: 70px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.composed-head h3 { margin: 0 0 28px; font: 700 clamp(38px, 5vw, 72px)/.92 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.composed-head > div > p { max-width: 700px; margin: 0; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.5; }
.composed-theme-bar { margin-top: 0; }
.composed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.composed-card { min-height: 520px; padding: clamp(26px, 3vw, 42px); display: flex; flex-direction: column; justify-content: space-between; background: var(--white); color: var(--black); }
.composed-card img { width: 100%; height: 350px; padding: clamp(24px, 3vw, 52px); box-sizing: border-box; object-fit: contain; }
.composed-grid[data-theme="dark"] { border-color: var(--black); background: rgba(255,255,255,.18); }
.composed-grid[data-theme="dark"] .composed-card { background: var(--black); color: var(--white); }
.composed-grid[data-theme="light"] { --action-hover: var(--action-hover-light); }
.composed-grid[data-theme="dark"] { --action-hover: var(--action-hover-dark); }
.composed-grid .composed-card, .composed-grid .composed-card img { transition: background-color .25s ease, color .25s ease, opacity .18s ease; }
.composed-grid.is-switching .composed-card img { opacity: 0; }
.composed-respect { margin-top: 70px; padding-top: 36px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; border-top: 1px solid var(--line); }
.composed-respect h4 { margin: 34px 0 24px; font: 700 clamp(32px, 4vw, 58px)/.95 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.composed-respect-copy > p:last-child { max-width: 480px; margin: 0; font-size: 18px; line-height: 1.55; }
.composed-respect-asset { display: grid; gap: 18px; }
.composed-respect-asset img { width: 100%; padding: 24px; background: var(--white); }

.color-section { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.color-section .section-head { margin-left: var(--pad); }
.color-usage-note { width: fit-content; margin: 30px 0 0; display: flex; align-items: center; gap: 10px; color: var(--theme-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.color-usage-note span { color: var(--red); font-size: 16px; line-height: 1; }
.palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 610px; }
.swatch { border: 0; border-radius: 0; padding: 42px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; cursor: pointer; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .25s ease; }
.swatch:hover { transform: translateY(-12px); }
.swatch:focus-visible { position: relative; z-index: 2; outline: 3px solid var(--action-hover); outline-offset: -6px; }
.swatch-red:focus-visible, .swatch-black:focus-visible { outline-color: var(--white); }
.swatch-white:focus-visible { outline-color: var(--black); }
.swatch-red { background: var(--red); color: var(--white); }
.swatch-black { background: var(--black); color: var(--white); }
.swatch-white { background: var(--white); color: var(--black); border-top: 1px solid var(--line); }
.swatch-name { margin-bottom: auto; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }
.swatch-codes { display: grid; gap: 10px; font-family: var(--sans); font-size: clamp(16px, 1.7vw, 23px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.swatch .swatch-codes span { font: inherit; }
.copy-status { position: absolute; right: var(--pad); bottom: 20px; z-index: 2; margin: 0; color: var(--theme-text); font-size: 12px; font-weight: 700; }
.color-cursor-hint { position: fixed; z-index: 120; left: 0; top: 0; padding: 9px 12px; color: var(--theme-bg); background: var(--theme-text); border-radius: 999px; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.color-cursor-hint.is-visible { opacity: 1; transform: none; }

@media (hover: none), (pointer: coarse) {
  .color-cursor-hint { display: none; }
}

.type-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.type-section .section-head { margin: 0; }
.type-display { align-self: center; color: var(--red); }
.type-display p { margin: 0; font: 700 clamp(70px, 12vw, 180px)/.74 var(--display); letter-spacing: -.04em; }
.display-font-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.display-font-intro, .display-font-actions { padding: clamp(30px, 4vw, 56px) 0; }
.display-font-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.display-font-intro h3 { grid-column: 2; margin: 0; color: var(--red); font: 700 clamp(56px, 8vw, 118px)/.82 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.display-font-intro > p:last-child { grid-column: 2; max-width: 620px; margin: 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
.display-font-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; border-top: 1px solid var(--line); }
.font-actions-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 24px; }
.font-package { grid-column: 2; }
.font-package-download { min-height: 108px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: var(--action-transition); }
.font-package-download > span { display: flex; flex-direction: column; gap: 8px; }
.font-package-download strong { font: 700 clamp(24px, 2.6vw, 38px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.font-package-download small { font: 500 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.font-package-download > b { color: var(--red); font: 400 26px/1 var(--sans); }
.font-package-download:hover { color: var(--action-hover); background: var(--theme-surface); transform: translateY(-2px); }
.font-package-download:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 3px; }
.font-guide-trigger { width: fit-content; min-height: 30px; margin-top: 14px; padding: 6px 0 5px; display: inline-flex; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-align: left; text-transform: uppercase; cursor: pointer; transition: var(--action-transition); }
.font-guide-trigger span { color: var(--action-hover); font-size: 16px; }
.font-guide-trigger:hover { color: var(--action-hover); transform: translateY(-2px); }
.font-guide-trigger:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 4px; }
.display-guidelines { padding: clamp(34px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.display-guidelines-head { margin-bottom: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.display-guidelines-head > div { grid-column: 2; }
.display-guidelines-head h4 { margin: 0; color: var(--red); font: 700 clamp(44px, 6vw, 82px)/.88 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.display-guidelines-head > div > p { max-width: 650px; margin: 24px 0 0; color: var(--theme-muted); font-size: clamp(16px, 1.7vw, 22px); line-height: 1.45; }
.display-guidelines-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.display-guidelines-grid article { min-width: 0; padding: clamp(26px, 3.2vw, 46px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.display-guidelines-grid h5 { margin: 54px 0 28px; color: var(--red); font: 700 clamp(32px, 3.4vw, 50px)/.9 var(--display); text-transform: uppercase; }
.display-guidelines-grid article > p:not(.guideline-number) { margin: 0; font-size: 15px; line-height: 1.55; }
.display-guidelines-grid article > p + p { margin-top: 22px; }
.display-guidelines-grid strong { font-weight: 700; }
.display-guidelines-grid em { font-style: italic; font-weight: 400; }
.guideline-number { margin: 0; color: var(--theme-muted); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.type-tester { --tester-size: 112px; padding: clamp(28px, 4vw, 56px) 0 26px; border-top: 1px solid var(--line); }
.type-tester-head { margin-bottom: 22px; }
.type-tester-head .micro-label { margin: 0; }
.type-tester-controls { padding: 20px 0; display: flex; align-items: center; gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.type-case-note { margin: 0; color: var(--theme-muted); font: 500 11px/1.35 var(--sans); letter-spacing: .06em; white-space: nowrap; }
.type-case-note strong { color: var(--theme-text); font-weight: 700; }
.type-size-control { min-width: 0; flex: 1; display: flex; align-items: center; gap: 16px; color: var(--theme-muted); font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.type-size-control span { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.type-size-control output { color: var(--theme-text); }
.type-size-control input { flex: 1; min-width: 90px; accent-color: var(--red); cursor: ew-resize; }
.type-tester-input { min-height: calc(var(--tester-size) * .95); margin-top: clamp(42px, 6vw, 76px); padding: .03em 0 .16em; color: var(--red); font: 700 var(--tester-size)/.84 var(--display); font-kerning: normal; letter-spacing: normal; white-space: pre-wrap; overflow-wrap: anywhere; outline: 0; caret-color: var(--red); transition: color .25s ease; }
.type-tester-input:focus { color: var(--theme-text); }
.type-tester-hint { margin: 22px 0 0; color: var(--theme-muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.glyph-accordion { border-top: 1px solid var(--line); }
.glyph-accordion summary { min-height: 92px; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; cursor: pointer; list-style: none; font: 700 clamp(28px, 3vw, 48px)/.9 var(--display); text-transform: uppercase; }
.glyph-accordion summary::-webkit-details-marker { display: none; }
.glyph-accordion summary:hover .glyph-accordion-action { color: var(--action-hover); }
.glyph-accordion summary:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 5px; }
.glyph-accordion summary > span:first-child { display: flex; align-items: baseline; gap: 18px; }
.glyph-accordion summary small { color: var(--theme-muted); font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.glyph-accordion-action { display: flex; align-items: center; gap: 16px; color: var(--theme-muted); font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.glyph-accordion-action b { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 400 24px/1 var(--sans); transition: transform .35s cubic-bezier(.16,1,.3,1), color .25s ease; }
.glyph-accordion[open] .glyph-accordion-action b { transform: rotate(45deg); color: var(--red); }
.glyph-accordion[open] summary { border-bottom: 1px solid var(--line); }
.glyph-sections { padding: 36px 0 0; display: grid; gap: 54px; }
.glyph-section:last-child { padding-bottom: 56px; }
.glyph-section h4 { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.glyph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.glyph-card { min-height: 108px; padding: 13px 10px 11px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glyph-character { min-height: 58px; display: grid; place-items: center; color: var(--red); font: 700 clamp(34px, 3.2vw, 54px)/1 var(--display); transform-origin: center; transition: transform .32s cubic-bezier(.16,1,.3,1); }
.glyph-character.is-combining { font-size: clamp(25px, 2.4vw, 42px); }
.glyph-code { color: var(--theme-muted); font: 500 10px/1 var(--sans); letter-spacing: .06em; text-align: center; }
.type-families { grid-column: 1 / -1; margin-top: 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.type-family { min-height: 470px; padding: clamp(28px, 3.5vw, 50px); display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.type-family .type-specimen { flex: 1; margin: 60px 0 45px; }
.type-family-display .type-specimen { color: var(--red); font: 700 clamp(38px, 4vw, 62px)/.95 var(--display); }
.type-family-heros .type-specimen { font: 500 clamp(28px, 3vw, 45px)/1.08 var(--sans); }
.type-family-fragment .type-specimen { font: 400 clamp(30px, 3.5vw, 52px)/1.08 var(--accent); }
.type-family > div { padding-top: 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.type-family > div strong { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.type-family > div span { color: var(--theme-muted); font-size: 15px; line-height: 1.45; }
.type-family .type-role { margin-top: 8px; color: var(--red); font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.type-download { width: fit-content; min-height: 30px; margin-top: 14px; padding: 6px 0 5px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; color: var(--theme-text); font-size: var(--action-size); font-style: normal; font-weight: 700; letter-spacing: var(--action-tracking); text-decoration: none; text-transform: uppercase; transition: var(--action-transition); }
.type-download:hover { color: var(--action-hover); transform: translateY(-2px); }
.type-download:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 4px; }

.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.voice-do, .voice-dont { padding: clamp(30px, 5vw, 70px); background: var(--theme-surface); }
.voice-do { color: var(--theme-text); }
.voice-dont { color: var(--theme-muted); }
.voice-do p:not(.micro-label), .voice-dont p:not(.micro-label) { margin: 30px 0 0; font: 700 clamp(30px, 4vw, 58px)/1 var(--display); text-transform: uppercase; }
.voice-do .micro-label { color: var(--red); }
.brand-quote { margin: 120px 0 0; max-width: 1100px; font: 700 clamp(40px, 6vw, 88px)/.98 var(--display); text-transform: uppercase; }

.manifesto-section .section-head { margin-bottom: 55px; }
.manifesto-copy { max-width: 1120px; }
.manifesto-copy p { margin: 0; font: 400 clamp(30px, 4.3vw, 62px)/1.16 var(--accent); }
.keywords { margin-top: 100px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 26px; }
.keywords span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.identity-grid article { min-height: 520px; padding: clamp(28px, 4vw, 54px); display: grid; grid-template-rows: minmax(250px, 1fr) auto auto; align-items: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.identity-grid img { width: 100%; height: 100%; max-height: 280px; margin: 0; align-self: center; object-fit: contain; }
.identity-grid .micro-label { margin-top: 48px; }
.identity-grid article > p:last-child { margin: 22px 0 0; line-height: 1.5; }
.identity-type strong { width: 100%; height: 100%; display: grid; place-items: center; color: var(--red); font: 700 clamp(44px, 5vw, 76px)/1 var(--display); }

.principles-section .eyebrow { color: var(--theme-text); }
.principles-list { list-style: none; padding: 0; margin: 80px 0 150px; }
.principles-list li { display: grid; grid-template-columns: 70px 1fr 1fr; align-items: baseline; gap: 25px; padding: 26px 0; border-top: 1px solid var(--line); }
.principles-list li:last-child { border-bottom: 1px solid var(--line); }
.principles-list span { font-size: 12px; font-weight: 700; }
.principles-list strong { font: 700 clamp(30px, 4.5vw, 62px)/1 var(--display); text-transform: uppercase; }
.principles-list em { font-size: clamp(16px, 2vw, 24px); font-style: normal; }

.templates-section, .visuals-section { border-top: 1px solid var(--line); }
.template-group + .template-group { margin-top: 130px; }
.template-group-head { margin-bottom: 34px; padding-top: 26px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 8vw; border-top: 1px solid var(--line); }
.template-group-head p { margin: 0; }
.template-group-head > p:last-child { color: var(--theme-muted); font-size: 15px; line-height: 1.45; }
.template-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.template-grid-business { grid-template-columns: minmax(0, 1fr); }
.template-grid-letterheads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.template-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--theme-surface); }
.template-preview { padding: clamp(24px, 3vw, 48px); display: grid; place-items: center; overflow: hidden; background: #E8E6E3; }
.template-preview-business { aspect-ratio: 2.3 / 1; }
.template-preview-letterhead { min-height: 560px; }
.template-preview img { width: 100%; height: 100%; min-width: 0; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(45,41,38,.08)); }
.template-card-meta { min-height: 68px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.template-card-meta > span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.template-card-actions { display: flex; align-items: center; gap: 20px; }
.template-card-meta a { min-height: 28px; padding: 5px 0 4px; display: inline-flex; align-items: center; flex: 0 0 auto; border-bottom: 1px solid currentColor; color: inherit; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-decoration: none; text-transform: uppercase; transition: var(--action-transition); }
.template-card-meta a:hover { color: var(--action-hover); transform: translateY(-2px); }
.template-card-meta a:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 4px; }
.visual-concept { width: 100%; margin: 0 0 100px; padding-top: 30px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 8vw; border-top: 1px solid var(--line); }
.visual-concept > p:last-child { margin: 0; font: 400 clamp(24px, 3.1vw, 44px)/1.18 var(--accent); }
.curve-variations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.curve-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.curve-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: var(--black); }
.curve-card > div, .visual-tile > div { min-height: 68px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.curve-card a, .visual-tile a { min-height: 28px; padding: 5px 0 4px; display: inline-flex; align-items: center; flex: 0 0 auto; border-bottom: 1px solid currentColor; color: inherit; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-decoration: none; text-transform: uppercase; transition: var(--action-transition); }
.visual-downloads { display: inline-flex; align-items: center; gap: 14px; }
.curve-card a:hover, .visual-tile a:hover { color: var(--action-hover); transform: translateY(-2px); }
.curve-card a:focus-visible, .visual-tile a:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 4px; }
.visual-applications { margin-top: 140px; }
.visual-applications-head { margin-bottom: 70px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 8vw; align-items: start; }
.visual-applications-head h3 { margin: 0; font: 700 clamp(42px, 6vw, 88px)/.9 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.visual-gallery { columns: 2; column-gap: clamp(18px, 2.5vw, 34px); }
.visual-tile { margin: 0 0 clamp(18px, 2.5vw, 34px); display: inline-block; width: 100%; break-inside: avoid; border: 1px solid var(--line); background: var(--theme-surface); vertical-align: top; }
.visual-tile img { width: 100%; height: auto; }
.visual-tile > div span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.manual-footer { padding: 52px var(--pad); display: grid; grid-template-columns: 250px 1fr auto; gap: 50px; align-items: center; border-top: 1px solid var(--line); background: var(--theme-bg); color: var(--theme-text); transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.manual-footer img { max-height: 70px; }
.manual-footer p { margin: 0; max-width: 580px; font-weight: 700; }
.manual-footer a { font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px 28px; }
.footer-actions a { padding: 6px 0 5px; border-bottom: 1px solid currentColor; font-size: var(--action-size); letter-spacing: var(--action-tracking); white-space: nowrap; transition: var(--action-transition); }
.footer-actions a:hover { color: var(--action-hover); transform: translateY(-2px); }
.footer-credits { grid-column: 1 / -1; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; border-top: 1px solid var(--line); }
.manual-footer .footer-credits p { max-width: none; color: var(--theme-muted); font-size: 12px; font-weight: 500; }
.manual-footer .footer-credits a { min-height: 26px; margin-left: 4px; padding: 4px 0 3px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; color: var(--theme-text); font-size: var(--action-size); letter-spacing: var(--action-tracking); transition: var(--action-transition); }
.manual-footer .footer-credits a:hover { color: var(--action-hover); transform: translateY(-2px); }

@media (hover: hover) {
  .glyph-card:hover .glyph-character { transform: scale(1.16); }
}

main img[data-lightbox-ready] { cursor: zoom-in; }
.image-lightbox { width: min(94vw, 1500px); max-width: none; height: min(92vh, 1050px); max-height: none; padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.image-lightbox { --action-hover: var(--action-hover-dark); }
.image-lightbox::backdrop { background: rgba(15,14,13,.92); backdrop-filter: blur(10px); }
.lightbox-close { position: absolute; z-index: 2; top: -38px; right: 0; padding: 0; border: 0; background: transparent; color: var(--white); font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-transform: uppercase; cursor: pointer; transition: color .25s ease; }
.lightbox-canvas { width: 100%; height: 100%; margin: 0; padding: clamp(24px, 4vw, 60px); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 22px; background: var(--white); color: var(--black); }
.lightbox-canvas.is-dark { background: var(--black); color: var(--white); }
.lightbox-canvas img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-canvas figcaption { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-align: center; text-transform: uppercase; }

.font-guide-dialog { width: min(94vw, 1180px); max-width: none; height: min(92svh, 960px); max-height: none; padding: 0; border: 1px solid var(--line); background: var(--theme-bg); color: var(--theme-text); overflow: hidden; }
.font-guide-dialog::backdrop { background: rgba(15,14,13,.78); backdrop-filter: blur(8px); }
.font-guide-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.font-guide-header { position: relative; padding: clamp(28px, 4vw, 54px); display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.font-guide-header h2 { margin: 18px 0 0; color: var(--red); font: 700 clamp(48px, 6vw, 82px)/.84 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.font-guide-close { padding: 0; border: 0; background: transparent; color: inherit; font-size: var(--action-size); font-weight: 700; letter-spacing: var(--action-tracking); text-transform: uppercase; cursor: pointer; transition: color .25s ease; }
.font-guide-close:hover { color: var(--action-hover); }
.font-guide-close:focus-visible { color: var(--action-hover); outline: 2px solid var(--action-hover); outline-offset: 5px; }
.font-guide-scroll { overflow-y: auto; overscroll-behavior: contain; }
.font-guide-section { padding: clamp(34px, 5vw, 72px); display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); gap: clamp(34px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.font-guide-section > div:first-child > h3 { margin: 18px 0 0; font: 700 clamp(34px, 4vw, 56px)/.9 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.font-guide-lead { margin: 28px 0 0; color: var(--theme-muted); font-size: 16px; line-height: 1.55; }
.font-format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.font-format-grid article { min-height: 220px; padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.font-guide-tag { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.font-format-grid h4 { margin: 42px 0 16px; font: 700 clamp(42px, 5vw, 68px)/.8 var(--display); }
.font-format-grid p, .font-install-grid li { margin: 0; color: var(--theme-muted); font-size: 14px; line-height: 1.55; }
.font-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.font-install-grid article { padding: clamp(24px, 3vw, 38px); background: var(--theme-bg); }
.font-install-grid h4 { margin: 0 0 24px; color: var(--red); font: 700 28px/1 var(--display); text-transform: uppercase; }
.font-install-grid ol { margin: 0; padding-left: 20px; }
.font-install-grid li + li { margin-top: 12px; }
.font-case-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.font-case-guide article { min-height: 230px; padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.font-case-guide article > p:last-child { margin: 24px 0 0; color: var(--theme-muted); font-size: 14px; line-height: 1.55; }
.font-case-sample { margin: 48px 0 0; color: var(--red); font: 700 clamp(32px, 4vw, 54px)/.88 var(--display); overflow-wrap: anywhere; }
.font-case-note { grid-column: 1 / -1; margin: 0; padding: 22px clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--theme-muted); font-size: 13px; line-height: 1.5; }
.font-web-section pre { margin: 0; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); background: var(--theme-surface); overflow-x: auto; color: var(--theme-text); font: 500 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; tab-size: 2; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  body.menu-open { overflow: hidden; }
  .brand-link, .menu-toggle { position: relative; z-index: 103; }
  .menu-toggle { display: block; cursor: pointer; }
  .site-nav {
    position: fixed; z-index: 102; inset: 0; height: 100svh; padding: 112px var(--pad) 48px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(18px, 3.2vh, 32px);
    color: var(--theme-text); background: var(--theme-bg); mix-blend-mode: normal;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-18px) scale(.985);
    transition: opacity .42s ease, visibility .42s ease, transform .55s cubic-bezier(.16,1,.3,1), background-color .35s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-nav a { font: 700 clamp(34px, 10vw, 54px)/.88 var(--display); letter-spacing: -.01em; text-transform: lowercase; }
  .site-nav a, .site-nav .theme-toggle { opacity: 0; transform: translateY(22px); transition: opacity .32s ease, transform .48s cubic-bezier(.16,1,.3,1); }
  .site-nav.is-open a, .site-nav.is-open .theme-toggle { opacity: 1; transform: none; }
  .site-nav.is-open a:nth-child(1) { transition-delay: .08s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: .12s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: .16s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: .20s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: .24s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: .28s; }
  .site-nav.is-open a:nth-child(7) { transition-delay: .32s; }
  .site-nav.is-open a:nth-child(8) { transition-delay: .36s; }
  .site-nav.is-open .theme-toggle { transition-delay: .40s; }
  .theme-toggle { width: auto; height: auto; margin-top: clamp(8px, 1.5vh, 18px); padding: 0; display: flex; align-items: center; gap: 13px; }
  .theme-toggle-dot { width: 18px; height: 18px; }
  .theme-toggle-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .hero { padding-top: 120px; padding-bottom: 100px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 46px); line-height: .94; }
  .hero-mark { top: 50%; right: auto; left: 50%; width: 96vw; height: auto; max-height: 80%; transform: translate(-50%, -50%); opacity: .18; }
  .hero-mark img { width: 100%; height: auto; max-height: 100%; }
  .hero::before { right: 45%; }
  .position-grid, .clearspace, .voice-grid, .type-section, .composed-head, .composed-respect { grid-template-columns: 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-grid article { min-height: 460px; grid-template-rows: 220px auto auto; }
  .identity-grid img { max-height: 220px; }
  .logo-showcase { grid-template-columns: 1fr 1fr; }
  .logo-theme-bar { align-items: flex-start; flex-direction: column; }
  .logo-library-controls { justify-content: flex-start; }
  .scale-tool-head { grid-template-columns: 1fr; gap: 24px; }
  .scale-logo-wrap { width: 86%; }
  .logo-card-wide { grid-column: span 2; }
  .clearspace { gap: 40px; }
  .composed-head { gap: 28px; }
  .composed-grid { grid-template-columns: 1fr; }
  .composed-respect { gap: 40px; }
  .palette { grid-template-columns: 1fr; }
  .swatch { min-height: 370px; }
  .display-font-intro, .display-font-actions { grid-template-columns: 1fr; gap: 22px; }
  .display-font-intro h3, .display-font-intro > p:last-child, .font-package { grid-column: 1; }
  .display-guidelines-head { grid-template-columns: 1fr; gap: 22px; }
  .display-guidelines-head > div { grid-column: 1; }
  .display-guidelines-grid { grid-template-columns: 1fr; }
  .type-families { grid-template-columns: 1fr; }
  .type-family { min-height: 400px; }
  .template-group-head { grid-template-columns: 1fr; gap: 12px; }
  .template-grid-business, .template-grid-letterheads { grid-template-columns: 1fr; }
  .template-preview-letterhead { min-height: 640px; }
  .visual-concept, .visual-applications-head { grid-template-columns: 1fr; gap: 28px; }
  .curve-variations { grid-template-columns: 1fr; }
  .visual-gallery { columns: 1; }
  .manual-footer { grid-template-columns: 1fr; }
  .manual-footer img { max-width: 250px; }
  .footer-actions { justify-content: flex-start; flex-wrap: wrap; }
  .footer-credits { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .access-gate { align-items: center; }
  .access-gate-card { grid-template-columns: 1fr; gap: 24px; }
  .access-gate-logo { width: 84px; }
  .access-gate-card > div, .access-password-label, .access-password-row, .access-error { grid-column: 1; }
  .access-gate-card h1 { margin-top: 18px; }
  .access-password-label { margin-top: 8px; }
  .access-error { margin-top: -12px; }
  .section, .hero { padding-top: 100px; padding-bottom: 100px; }
  .section-head { margin-bottom: 55px; }
  .section-number { top: 105px; }
  .logo-showcase { grid-template-columns: 1fr; }
  .logo-library-controls { width: 100%; display: grid; grid-template-columns: 1fr; gap: 8px; }
  .logo-theme-switch { width: 100%; min-width: 0; }
  .logo-theme-switch button { flex: 1; min-width: 0; padding: 11px 10px; font-size: 10px; }
  .logo-scale-tool { margin-bottom: 80px; }
  .scale-stage { min-height: 390px; }
  .scale-logo-wrap { width: 92%; height: 230px; }
  .scale-readout { left: 24px; bottom: 20px; }
  .logo-card-wide { grid-column: auto; }
  .logo-card { min-height: 340px; }
  .tensions > div { grid-template-columns: 1fr; gap: 10px; }
  .tensions span:last-child { text-align: left; color: var(--red); }
  .tensions i { display: none; }
  .principles-list li { grid-template-columns: 40px 1fr; }
  .principles-list em { grid-column: 2; }
  .pillars-grid { grid-template-columns: 1fr; }
  .display-font-intro h3 { font-size: clamp(52px, 16vw, 76px); }
  .font-guide-dialog { width: 100vw; height: 100svh; border: 0; }
  .font-guide-header { padding: 24px; }
  .font-guide-header h2 { font-size: clamp(46px, 15vw, 66px); }
  .font-guide-section { padding: 36px 24px; grid-template-columns: 1fr; gap: 30px; }
  .font-format-grid, .font-install-grid, .font-case-guide { grid-template-columns: 1fr; }
  .font-case-note { grid-column: auto; }
  .font-format-grid article { min-height: 180px; }
  .type-tester { --tester-size: 72px; }
  .type-tester-controls { align-items: stretch; flex-direction: column; gap: 20px; }
  .type-size-control { width: 100%; min-width: 0; }
  .template-group + .template-group { margin-top: 90px; }
  .template-preview { padding: 24px; }
  .template-card-meta { align-items: flex-start; flex-direction: column; }
  .template-card-actions { flex-wrap: wrap; }
  .template-preview-letterhead { min-height: 500px; }
  .glyph-accordion summary { min-height: 118px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .glyph-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
  .glyph-card { min-height: 92px; }
  .image-lightbox { width: 94vw; height: 84vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .site-nav, .site-nav a, .site-nav .theme-toggle, .font-guide-trigger span, body { transition: none; }
}
