@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: var(--mahnah-ink, #211e39);
  --paper: var(--mahnah-paper, #faf7ef);
  --brass: var(--mahnah-brass, #d7a54d);
  --muted: var(--mahnah-muted, #605d70);
  --rule: var(--mahnah-rule, #dcd7ce);
  --action: var(--mahnah-action, #2b47b8);
  --gutter: clamp(20px, 5.9vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-inline-size: 100%; }
a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--action); outline-offset: 5px; }
.skip, .sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  z-index: 5; top: 12px; left: 12px; width: auto; height: auto; padding: 8px 14px;
  clip-path: none; background: var(--paper);
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Manrope, Arial, sans-serif; }
.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site-head { border-bottom: 1px solid var(--rule); }
.head-bar, .head-bar nav, .site-foot>.wrap, .asset-links, .downloads { display: flex; align-items: center; }
.head-bar { justify-content: space-between; gap: 20px; min-height: 80px; }
.home { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.head-bar nav { gap: clamp(15px, 2.5vw, 37px); flex-wrap: wrap; }
.head-bar nav a { color: var(--ink); text-decoration: none; padding: 10px 0; font-weight: 550; }
.head-bar nav a:hover { text-decoration: underline; }
.cover { padding: clamp(26px, 3.9vw, 62px) 0 clamp(45px, 6.2vw, 100px); border-bottom: 1px solid var(--rule); }
.cover-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(26px, 4.8vw, 84px); align-items: stretch; }
.cover-copy { align-self: center; padding-block: clamp(10px, 3vw, 55px); }
h1 { font-size: clamp(64px, 7.65vw, 118px); line-height: .93; font-weight: 600; letter-spacing: -.082em; }
.cover-copy>p { max-width: 32em; margin-top: clamp(22px, 2.6vw, 42px); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.52; color: var(--muted); }
.cover-photo { width: 100%; min-width: 0; min-height: 0; position: relative; aspect-ratio: 1.36; overflow: hidden; background: var(--ink); border-radius: 3px; }
.cover-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.downloads { margin-top: 32px; flex-wrap: wrap; gap: 12px 20px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px;
  padding: 10px 15px; border: 1px solid var(--ink); border-radius: 4px;
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.button:hover { background: var(--action); border-color: var(--action); }
.button small, .text-link small { font-size: .75em; font-weight: 550; }
.button small { color: var(--brass); }
.text-link { display: inline-block; padding-block: 7px; font-weight: 600; }
.text-link small { margin-left: 3px; }
.download-icon {
  position: relative; width: 14px; height: 13px; margin-right: 1px;
  border: solid currentColor; border-width: 0 0 1.5px;
}
.download-icon::before { content: ""; position: absolute; left: 6px; top: -1px; width: 1.5px; height: 9px; background: currentColor; }
.download-icon::after { content: ""; position: absolute; left: 3.3px; top: 2.7px; width: 6.7px; height: 6.7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.sheet:not(.cover) { padding-block: clamp(56px, 7.4vw, 120px); }
.sheet { scroll-margin-top: 18px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7.6vw, 120px); align-items: end; margin-bottom: clamp(26px, 3.7vw, 58px); }
h2 { font-size: clamp(46px, 5.75vw, 86px); line-height: 1.02; font-weight: 600; letter-spacing: -.067em; }
h3 { font-weight: 650; font-size: 19px; line-height: 1.2; letter-spacing: -.035em; }
.section-intro>p { color: var(--muted); max-width: 36em; font-size: clamp(16px, 1.22vw, 19px); }
.print-head, .print-foot { display: none; }
.logo-pair, .logo-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.3vw, 35px); }
.logo-block { width: 100%; aspect-ratio: 2.85; min-height: 160px; display: grid; place-items: center; border-radius: 3px; }
.logo-block img { width: 60%; max-width: 312px; }
.light { border: 1px solid var(--rule); background: var(--paper); }
.dark { background: var(--ink); }
.logo-pair figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-block: 12px; }
.logo-pair figcaption>span { font-weight: 600; }
.logo-pair figcaption>a, .asset-links a, .document-note a { font-weight: 550; }
.logo-rules { border-top: 1px solid var(--rule); margin-top: clamp(17px, 3vw, 42px); padding-top: 26px; }
.rule-item { display: grid; grid-template-columns: minmax(105px, 31%) 1fr; gap: 17px; align-items: center; }
.rule-item p, .share-example figcaption p { color: var(--muted); margin-top: 7px; }
.rule-visual { display: flex; align-items: center; justify-content: center; min-height: 106px; }
.clear-zone { display: inline-flex; padding: 13px; border: 1px dashed var(--muted); }
/* Crop the 64-unit master to the 52 × 36 visible bounds before measuring clear space. */
.visible-symbol { display: block; position: relative; width: 52px; height: 36px; }
.visible-symbol img { position: absolute; top: -14px; left: -7px; width: 64px; max-width: none; height: 64px; }
.size-visual { flex-wrap: wrap; gap: 5px 12px; align-content: center; }
.size-visual>div { display: grid; justify-items: center; gap: 4px; }
.size-visual span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.minimum-lockup { width: 96px; }
.minimum-icon { width: 16px; height: 16px; }
.asset-links { flex-wrap: wrap; gap: 8px 22px; margin-top: 25px; }
.asset-links>span { font-weight: 650; }
.section-colour { background: #f2efe8; border-block: 1px solid var(--rule); }
.palette { display: grid; grid-template-columns: 1.16fr 1fr .84fr; }
.primary-colours { border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.swatch { display: flex; flex-direction: column; justify-content: space-between; gap: 38px; min-height: clamp(155px, 16vw, 230px); padding: clamp(17px, 2vw, 30px); }
.swatch h3 { font-size: clamp(25px, 2.3vw, 36px); font-weight: 600; letter-spacing: -.045em; }
.swatch span, .secondary-swatch h3 span { font-variant-numeric: tabular-nums; letter-spacing: .012em; }
.swatch p { line-height: 1.35; margin-top: 2px; }
.ink { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); }
.brass { background: var(--brass); }
.secondary-colours { gap: 18px; margin-top: 26px; }
.secondary-swatch { display: flex; gap: 12px; align-items: flex-start; }
.chip { flex: none; width: 24px; height: 38px; border-radius: 2px; }
.muted-chip { background: var(--muted); }
.rule-chip { background: var(--rule); }
.action-chip { background: var(--action); }
.secondary-swatch h3 { font: 650 16px/1.25 "DM Sans", Arial, sans-serif; letter-spacing: 0; }
.secondary-swatch h3 span { display: inline-block; margin-left: .35em; font-weight: 400; }
.secondary-swatch p { color: var(--muted); line-height: 1.35; margin-top: 3px; }
.section-type { background: var(--ink); color: var(--paper); }
.section-type .section-intro>p, .type-note p, .number-sample code { color: #d3cfdc; }
.specimen { display: grid; align-items: center; grid-template-columns: .65fr 1.35fr; gap: clamp(22px, 6vw, 90px); padding-block: clamp(23px, 2.6vw, 40px); border-top: 1px solid #514e60; }
.type-note h3 { font-family: "DM Sans", Arial, sans-serif; font-size: 17px; }
.type-note p { max-width: 24em; line-height: 1.45; margin-top: 6px; }
.display-sample { font: 600 clamp(45px, 5.6vw, 82px)/1.04 Manrope, Arial, sans-serif; letter-spacing: -.061em; }
.body-sample { max-width: 28em; }
.body-sample strong { font-weight: 600; }
.body-sample p { font: 400 clamp(22px, 2.2vw, 34px)/1.25 "DM Sans", Arial, sans-serif; letter-spacing: -.025em; margin-top: 8px; }
.number-sample span { display: block; color: var(--brass); font: 400 clamp(36px, 4.5vw, 64px)/1.1 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.number-sample code { display: inline-block; font: .85em ui-monospace, monospace; margin-top: 9px; }
.application-grid { display: grid; grid-template-columns: 1.17fr .83fr; gap: clamp(22px, 3.8vw, 62px); align-items: start; }
.document-stage { padding: clamp(18px, 3.6vw, 56px); background: #e9e5db; border-radius: 3px; }
.worksheet { padding: clamp(22px, 3vw, 43px); background: #fffdfa; border: 1px solid var(--rule); box-shadow: 0 4px 12px #211e390a; }
.document-logo { width: 108px; margin-bottom: clamp(23px, 2.5vw, 38px); }
.worksheet h3 { font-size: clamp(23px, 2.1vw, 31px); font-weight: 600; }
.period, .document-note { color: var(--muted); font-size: 14px; }
.period { margin-top: 3px; }
.worksheet table { width: 100%; border-collapse: collapse; margin-block: 20px; font-variant-numeric: tabular-nums; }
.worksheet th, .worksheet td { text-align: left; padding: 9px 0; line-height: 1.3; }
.worksheet thead th { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--rule); }
.worksheet tbody th { font-weight: 400; }
.worksheet td { font-family: Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.worksheet tr>:last-child { text-align: right; }
.worksheet tfoot>* { border-top: 1.5px solid var(--ink); }
.worksheet tfoot td, .worksheet tfoot th { font-weight: 650; }
.share-example>a { display: block; }
.share-example img { width: 100%; aspect-ratio: 1200/630; object-fit: contain; border: 1px solid var(--rule); border-radius: 3px; }
.share-example figcaption { padding-top: 18px; }
.share-example p { max-width: 30em; }
.share-example .text-link { margin-top: 5px; }
.site-foot { border-top: 1px solid var(--rule); }
.site-foot>.wrap { min-height: 90px; gap: 19px; }
.site-foot span { color: var(--muted); }
.site-foot>.wrap>a:last-child { margin-left: auto; }

@media (max-width: 950px) {
  .cover-layout { grid-template-columns: .95fr 1fr; gap: 26px; }
  .section-intro { gap: 38px; }
  .rule-item { grid-template-columns: 100px 1fr; gap: 10px; }
  .section-logo .asset-links { margin-top: 22px; }
}
@media (max-width: 730px) {
  .head-bar { min-height: 66px; }
  .home img { width: 112px; }
  .head-bar nav { gap: 14px; }
  .cover { padding-top: 28px; }
  .cover-layout { grid-template-columns: 1fr; gap: 22px; }
  .cover-copy { padding: 0; }
  h1 { font-size: clamp(62px, 12vw, 83px); }
  h1 br { display: none; }
  h1 br::after { content: " "; }
  .cover-copy>p { margin-top: 18px; }
  .cover-photo { min-height: 0; max-height: 360px; aspect-ratio: 1.72; }
  .downloads { margin-top: 20px; }
  .section-intro { grid-template-columns: 1fr; gap: 12px; }
  .section-intro>p { max-width: 39em; }
  .logo-rules { grid-template-columns: 1fr; }
  .rule-item { grid-template-columns: 126px 1fr; gap: 18px; }
  .logo-block { min-height: 120px; aspect-ratio: 2.2; }
  .secondary-colours { grid-template-columns: 1fr; gap: 15px; }
  .chip { width: 34px; height: 34px; }
  .specimen { grid-template-columns: 1fr; gap: 17px; }
  .type-note p { max-width: 36em; }
  .application-grid { grid-template-columns: 1fr; }
  .share-example { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
  .share-example figcaption { padding: 0; }
}
@media (max-width: 510px) {
  .head-bar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding-block: 7px; }
  .head-bar nav { width: 100%; justify-content: space-between; gap: 8px; }
  .head-bar nav a { padding: 3px 0 8px; }
  h1 br { display: initial; }
  h1 br::after { content: ""; }
  .logo-pair { grid-template-columns: 1fr; gap: 10px; }
  .logo-block { min-height: 0; aspect-ratio: 2.85; }
  .rule-item { grid-template-columns: 96px 1fr; gap: 14px; }
  .palette.primary-colours { grid-template-columns: 1fr; }
  .swatch { display: grid; align-items: center; grid-template-columns: .58fr 1.42fr; min-height: 83px; gap: 16px; }
  .share-example { grid-template-columns: 1fr; gap: 12px; }
  .document-stage { padding: 12px; }
  .worksheet { padding: 18px; }
  .site-foot>.wrap { flex-wrap: wrap; gap: 10px 16px; padding-block: 18px; }
  .site-foot span { font-size: 14px; }
}
@media print {
  @page { size: letter landscape; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 12pt; line-height: 1.4; }
  .site-head, .site-foot, .skip { display: none; }
  .sheet, .sheet:not(.cover) { border: 0; padding: 0; margin: 0; break-after: page; }
  .sheet:last-child { break-after: auto; }
  .sheet>.wrap { width: 11in; height: 8.5in; margin: 0; padding: .4in .57in .32in; display: flex; flex-direction: column; }
  .print-head, .print-foot { display: flex; align-items: center; justify-content: space-between; flex: none; font-size: 9pt; }
  .print-head { margin-bottom: .38in; padding-bottom: .13in; border-bottom: .65pt solid var(--rule); }
  .print-head img { width: .95in; }
  .print-head span, .print-foot { color: var(--muted); }
  .print-foot { margin-top: auto; padding-top: .14in; border-top: .65pt solid var(--rule); }
  .cover-layout { flex: 1; min-height: 0; grid-template-columns: .85fr 1.15fr; gap: .36in; padding-bottom: .31in; }
  .cover-copy { align-self: center; padding: 0; }
  h1 { font-size: 65pt; }
  h1 br { display: initial; }
  h1 br::after { content: ""; }
  .cover-copy>p { font-size: 13pt; line-height: 1.46; margin-top: .32in; }
  .cover-photo { height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; }
  .downloads { margin-top: .26in; gap: .08in .2in; }
  .button { min-height: 0; padding: .08in .12in; }
  .cover .text-link[href$=".pdf"] { display: none; }
  .section-intro { grid-template-columns: .95fr 1.05fr; gap: .5in; margin-bottom: .28in; }
  h2 { font-size: 41pt; }
  h3 { font-size: 13pt; }
  .section-intro>p { font-size: 12pt; line-height: 1.4; }
  .logo-pair, .logo-rules { grid-template-columns: 1fr 1fr; gap: .24in; }
  .logo-block { width: 100%; min-height: 0; height: 1.88in; aspect-ratio: auto; }
  .logo-block img { width: 59%; }
  .logo-pair figcaption { padding-block: .1in; }
  .logo-rules { padding-top: .17in; margin-top: .17in; }
  .rule-item { grid-template-columns: 1.16in 1fr; gap: .14in; }
  .rule-visual { min-height: .85in; }
  .asset-links, .section-logo .asset-links { margin-top: .22in; }
  .palette.primary-colours, .secondary-colours { grid-template-columns: 1.16fr 1fr .84fr; }
  .swatch { display: flex; align-items: flex-start; min-height: 2.45in; padding: .22in; }
  .swatch h3 { font-size: 23pt; }
  .secondary-colours { gap: .15in; margin-top: .23in; }
  .secondary-swatch h3 { font-size: 12pt; }
  .section-type .print-head span, .section-type .print-foot { color: #d3cfdc; }
  .section-type .print-head, .section-type .print-foot { border-color: #514e60; }
  .specimen { grid-template-columns: .65fr 1.35fr; gap: .55in; padding-block: .245in; }
  .type-note h3 { font-size: 13pt; }
  .display-sample { font-size: 47pt; }
  .body-sample p { font-size: 19pt; }
  .number-sample span { font-size: 33pt; }
  .application-grid { grid-template-columns: 1.2fr .8fr; gap: .36in; }
  .document-stage { padding: .3in; }
  .worksheet { padding: .27in; }
  .document-logo { margin-bottom: .22in; }
  .worksheet h3 { font-size: 17pt; }
  .period, .document-note, .worksheet thead th { font-size: 9.3pt; }
  .worksheet table { margin-block: .15in; }
  .worksheet th, .worksheet td { padding-block: .07in; }
  .share-example { display: block; }
  .share-example figcaption { padding-top: .12in; }
}
