:root {
  --forma-ground: #FBE0D7;
  --forma-ink: #282424;
  --forma-blue: #1F438B;
  --forma-support: #E9E1DC;
  --forma-white: #FFFFFF;
  --forma-gutter: max(48px, calc((100vw - 1280px) / 2));
  font-family: 'Mona Sans', sans-serif;
  color: var(--forma-ink);
  background: var(--forma-white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; font-size: 18px; line-height: 1.65; }
a { color: var(--forma-blue); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--forma-blue); outline-offset: 5px; background: var(--forma-ground); color: var(--forma-ink); }
::selection { color: var(--forma-white); background: var(--forma-blue); }
figure { margin: 0; }
svg { vertical-align: middle; }
i[data-lucide] { display: inline-flex; font-style: normal; flex-shrink: 0; }
i[data-lucide] svg { display: block; width: 100%; height: 100%; }
.forma-skip { position: absolute; left: 24px; top: -100px; z-index: 20; padding: 8px 16px; background: var(--forma-white); }
.forma-skip:focus { top: 12px; }
.forma-masthead { width: min(1280px, calc(100% - 96px)); margin: 0 auto; padding-top: 18px; }
.forma-level { height: 60px; border: 4px solid var(--forma-ink); border-right: 0; display: flex; align-items: flex-end; position: relative; }
.forma-level::after { content: ''; position: absolute; right: 0; bottom: -4px; width: 56px; height: 4px; background: var(--forma-blue); }
.forma-level-name { display: inline-block; padding: 0 18px 3px; font: 28px/1.3 'Prosto One', sans-serif; color: var(--forma-ink); text-decoration: none; }
.forma-level-name:hover { color: var(--forma-blue); }
.forma-key { display: flex; align-items: center; gap: 26px; min-height: 46px; width: fit-content; }
.forma-key a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--forma-ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.forma-key a:hover, .forma-key a[aria-current='page'] { color: var(--forma-blue); text-decoration: underline; text-decoration-thickness: 2px; }
.forma-key svg, .forma-key i { width: 18px; height: 18px; flex-shrink: 0; }
.forma-key-blank { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.forma-main { width: 100%; }
h1, h2 { font-family: 'Prosto One', sans-serif; font-weight: 400; }
h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.12; letter-spacing: -.05em; margin: 0; }
h2 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.045em; margin: 0; }
p { margin: 0 0 22px; }

/* The photograph reaches both viewport edges. The peach sheet has an open
   cobalt edge, a raised paper tab and a flat offset second layer. */
.forma-arrival { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); grid-template-rows: auto auto; align-content: center; min-height: 620px; padding: 52px var(--forma-gutter) 66px; margin: 20px 0 152px; }
.forma-arrival::before { content: ''; grid-column: 2; grid-row: 1 / 3; background: var(--forma-ground); border: 4px solid var(--forma-blue); border-right: 0; box-shadow: 18px 18px 0 var(--forma-blue); z-index: -1; }
.forma-home-title { grid-column: 2; grid-row: 1; padding: 38px 40px 0; align-self: end; position: relative; }
.forma-home-title::before { content: ''; position: absolute; top: -18px; left: 42px; width: 82px; height: 18px; border-top: 4px solid var(--forma-blue); border-left: 4px solid var(--forma-blue); background: var(--forma-ground); animation: forma-paper-edge .65s ease-out both; }
.forma-opening-figure { position: absolute; inset: 0; z-index: -2; }
.forma-photo-shell { position: relative; height: 100%; }
.forma-photograph { background-color: var(--forma-support); background-repeat: no-repeat; background-size: cover; background-position: center; }
.forma-photo-opening { width: 100%; height: 100%; background-image: url('og-default.webp'); background-position: 26% 58%; clip-path: polygon(70px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 70px); }
.forma-home-lead { grid-column: 2; grid-row: 2; align-self: start; padding: 22px 40px 38px; margin: 0; font-size: 22px; line-height: 1.5; }
.forma-owner-aside { position: absolute; left: var(--forma-gutter); bottom: -68px; margin: 0; width: 360px; padding: 22px 26px 22px 36px; background: var(--forma-white); box-shadow: -10px 10px 0 var(--forma-blue); color: var(--forma-blue); font-size: 18px; line-height: 1.5; }
.forma-owner-aside::before { content: ''; position: absolute; left: 16px; top: 29px; width: 10px; height: 14px; border: 3px solid var(--forma-blue); border-right: 0; }

/* Large folios and displaced corner notes belong to the open paper pattern.
   Every topic still has exactly one broad, square, bottom-open prose outline. */
.forma-spread-stack { width: min(1128px, calc(100% - 152px)); margin: 0 auto; }
.forma-cut-spread { position: relative; margin: 0 64px 112px 0; }
.forma-cut-spread:nth-child(even) { margin-right: 0; margin-left: 64px; }
.forma-sheet-number { position: absolute; left: -34px; top: -48px; z-index: 1; color: var(--forma-blue); background: var(--forma-white); padding: 0 14px 0 0; font: 88px/1 'Prosto One', sans-serif; letter-spacing: -.08em; }
.forma-sheet-number::before { content: attr(data-folio); }
.forma-open-sheet { border: 4px solid var(--forma-ink); border-bottom: 0; padding: 44px 44px 52px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr); column-gap: 48px; align-content: start; }
.forma-cut-spread:nth-child(3n + 2) .forma-open-sheet { background: var(--forma-support); }
.forma-cut-spread:nth-child(3n) .forma-open-sheet { background: var(--forma-ground); }
.forma-topic-mark { display: flex; align-items: center; gap: 10px; grid-column: 1; grid-row: 1; color: var(--forma-blue); font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0 0 20px; }
.forma-topic-mark svg, .forma-topic-mark i { width: 26px; height: 26px; display: inline-block; flex-shrink: 0; }
.forma-open-sheet h2 { grid-column: 1; grid-row: 2; align-self: start; max-width: 17ch; }
.forma-essay { grid-column: 2; grid-row: 1 / 3; max-width: 64ch; }
.forma-essay p:last-child { margin-bottom: 0; }
.forma-two-corners { display: flex; justify-content: space-between; gap: 64px; margin: 24px -28px 0; }
.forma-corner-note { position: relative; width: min(43%, 37ch); padding-left: 22px; margin: 0; font-size: 17px; line-height: 1.6; }
.forma-corner-note::before { content: ''; position: absolute; left: 0; top: 4px; width: 10px; height: 20px; border-left: 4px solid var(--forma-blue); border-top: 4px solid var(--forma-blue); }
.forma-corner-note strong { display: block; font-size: 16px; font-weight: 700; color: var(--forma-blue); margin-bottom: 5px; }
.forma-corner-note span { display: block; }
.forma-reading-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 26px; padding: 6px 0; }
.forma-reading-link svg, .forma-reading-link i { width: 21px; height: 21px; flex-shrink: 0; position: relative; left: 0; transition: left .18s ease; }
.forma-reading-link:hover > svg, .forma-reading-link:focus-visible > svg, .forma-reading-link:hover > i, .forma-reading-link:focus-visible > i { left: 7px; }

.forma-entry { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .85fr); column-gap: 68px; row-gap: 34px; padding: 42px var(--forma-gutter) 0; margin: 0 0 104px; align-items: center; }
.forma-entry h1 { font-size: clamp(38px, 4vw, 56px); grid-column: 1; grid-row: 1; max-width: 24ch; }
.forma-entry-lead { grid-column: 2; grid-row: 1; font-size: 21px; line-height: 1.55; max-width: 40ch; margin: 0; padding: 0 0 0 24px; border-left: 4px solid var(--forma-blue); }
.forma-band-figure { grid-column: 1 / -1; grid-row: 2; margin-inline: calc(-1 * var(--forma-gutter)); }
.forma-photo-band { height: 280px; width: 100%; background-position: center 55%; clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 40px); }
.forma-photo-comparison { background-image: url('two-paper-folds.webp'); }
.forma-photo-copper-paper { background-image: url('cream-paper-return.webp'); }
.forma-photo-fragment { background-image: url('red-paper-end.webp'); }
.forma-photo-vessels { background-image: url('paper-openings.webp'); }
.forma-photo-mixture { background-image: url('three-paper-planes.webp'); }
.forma-photo-approach { background-image: url('hand-on-paper.webp'); }
.forma-entry-text { min-height: 320px; padding-bottom: 26px; }
.forma-source-register { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.forma-source-register dt { font-weight: 600; margin-top: 30px; line-height: 1.5; }
.forma-source-register dt:first-child { margin-top: 0; }
.forma-source-register dd { margin: 7px 0 0; font-size: 16px; }
.forma-source-setting { color: var(--forma-blue); }
.forma-footer { width: 100%; padding: 44px var(--forma-gutter) 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; background: var(--forma-blue); color: var(--forma-white); }
.forma-footer-guide { max-width: 58ch; font-size: 17px; line-height: 1.6; margin: 0; }
.forma-footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }
.forma-footer-links a { color: var(--forma-white); font-size: 16px; }
.forma-footer-links a:focus-visible { color: var(--forma-ink); }
.forma-copyright { grid-column: 1 / -1; font-size: 16px; margin: 0; }
.forma-absent { max-width: 940px; margin: 70px var(--forma-gutter) 140px; }
.forma-absent h1 { margin-bottom: 30px; }
.forma-absent p { max-width: 50ch; }
@keyframes forma-paper-edge { from { width: 42px; } to { width: 82px; } }

@media (max-width: 1040px) and (min-width: 701px) {
  :root { --forma-gutter: 36px; }
  .forma-masthead { width: calc(100% - 72px); }
  .forma-arrival { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); }
  .forma-home-title { padding-inline: 28px; font-size: 46px; }
  .forma-home-lead { padding-inline: 28px; font-size: 20px; }
  .forma-owner-aside { width: 320px; }
  .forma-key { gap: 18px; }
  .forma-spread-stack { width: calc(100% - 112px); }
  .forma-cut-spread { margin-right: 16px; }
  .forma-cut-spread:nth-child(even) { margin-left: 16px; }
  .forma-open-sheet { column-gap: 28px; padding: 36px 28px 44px; }
  .forma-open-sheet h2 { font-size: 28px; }
  .forma-two-corners { gap: 36px; margin-inline: -20px; }
  .forma-entry { column-gap: 36px; }
  .forma-entry-lead { font-size: 19px; padding-left: 18px; }
}
@media (max-width: 700px) {
  :root { --forma-gutter: 20px; }
  body { font-size: 18px; line-height: 1.65; }
  .forma-masthead { width: calc(100% - 40px); padding-top: 8px; }
  .forma-level { height: 44px; }
  .forma-level-name { font-size: 21px; padding: 0 10px 2px; }
  .forma-level::after { width: 24px; }
  .forma-key { gap: 0; min-height: 30px; margin-top: 4px; width: 100%; }
  .forma-key a { min-height: 30px; gap: 5px; font-size: 16px; line-height: 1.2; }
  .forma-key svg, .forma-key i { width: 16px; height: 16px; }
  .forma-key-blank { width: 20px; height: 20px; }
  .forma-key a:last-child i, .forma-key a:last-child > svg { display: none; }
  h1 { font-size: 32px; line-height: 1.12; letter-spacing: -.055em; }
  h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; }
  .forma-arrival { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 0 0 26px; margin: 20px 0 92px; background: var(--forma-ground); }
  .forma-arrival::before, .forma-home-title::before { display: none; animation: none; }
  .forma-home-title { margin: 0 20px 20px; padding: 0 0 20px; max-width: calc(100% - 40px); border-bottom: 4px solid var(--forma-blue); }
  .forma-opening-figure { position: static; width: 100%; }
  .forma-photo-shell { width: 330px; max-width: calc(100% - 40px); padding-top: 18px; margin-inline: auto; }
  .forma-photo-shell::before { content: ''; position: absolute; left: 56px; top: 0; width: 44px; height: 18px; background: var(--forma-white); border-top: 4px solid var(--forma-blue); border-left: 4px solid var(--forma-blue); }
  .forma-photo-opening { width: 100%; height: 180px; background-image: url('paper-pavilion.webp'); background-position: 50% 57%; clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 20px); }
  .forma-home-lead { padding: 0; margin: 20px 20px 0; font-size: 19px; line-height: 1.5; }
  .forma-owner-aside { position: relative; left: auto; bottom: auto; width: auto; margin: 22px 26px 0; padding: 16px 18px 16px 30px; font-size: 17px; line-height: 1.5; box-shadow: -6px 6px 0 var(--forma-blue); }
  .forma-owner-aside::before { left: 12px; top: 21px; width: 9px; height: 12px; }
  .forma-spread-stack { width: calc(100% - 40px); }
  .forma-cut-spread, .forma-cut-spread:nth-child(even) { margin: 0 0 86px; }
  .forma-sheet-number { left: 16px; top: -33px; padding-right: 10px; font-size: 56px; }
  .forma-open-sheet { display: block; padding: 38px 18px 30px; }
  .forma-topic-mark { font-size: 18px; margin-bottom: 20px; }
  .forma-open-sheet h2 { max-width: 100%; margin-bottom: 24px; }
  .forma-essay { max-width: 100%; }
  .forma-two-corners { flex-direction: column; gap: 20px; margin: 20px 0 0; }
  .forma-corner-note { width: 100%; max-width: 100%; padding-left: 20px; font-size: 17px; }
  .forma-corner-note strong { font-size: 16px; margin-bottom: 4px; }
  .forma-reading-link { gap: 10px; line-height: 1.5; }
  .forma-entry { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding: 28px 20px 0; margin: 0 0 86px; }
  .forma-entry h1 { font-size: 34px; max-width: 100%; }
  .forma-entry-lead { font-size: 19px; max-width: 100%; padding: 0 0 0 16px; }
  .forma-band-figure { width: calc(100% + 40px); margin: 0 -20px; }
  .forma-photo-band { height: 180px; width: 100%; background-position: center; clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 20px); }
  .forma-entry-text { min-height: 0; padding-bottom: 0; }
  .forma-source-register dt { overflow-wrap: anywhere; }
  .forma-footer { display: block; padding: 32px 20px 26px; }
  .forma-footer-links { margin: 26px 0; gap: 28px; }
  .forma-footer-guide { font-size: 17px; }
  .forma-copyright { font-size: 16px; }
  .forma-absent { margin: 48px 20px 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
