/* ────────────────────────────────────────────────────────── core.css — Chromatic Editorial System, shared layer. IDENTICAL in 2026-site, dev-site and bonus-time. Change it in all three or not at all. Each site supplies, before this file: faces.css @font-face rules, the type slots and fallback roles palette.js writes the six roles (+ field / on-ink / mark) per scheme Roles --bg --bg-deeper --ink --ink-soft --rule --accent --field --on-ink --digression --mark --shadow --lead --on-lead --deep --on-deep (colour blocks, DDR-012) Slots --display --deck --text --sans --mono --std --ui ────────────────────────────────────────────────────────── */ :root { --frame: 2px; --hair: 1px; --frame-heavy: 3px; --gap-grid: 2px; --gutter: clamp(20px, 4vw, 56px); } /* ── Base (site.css) ─────────────────────────────── */ * { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } img, video { max-width: 100%; height: auto; } body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-weight: 500; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } a { color: var(--ink); text-decoration: none; } ::selection { background: var(--accent); color: var(--bg); } :focus-visible { outline: var(--frame) solid var(--accent); outline-offset: 3px; border-radius: 0; } /* ── Masthead (.design / .dev) ───────────────────── */ .masthead { padding: clamp(20px, 3.4vw, 44px) 0 clamp(16px, 2vw, 22px); } .masthead .name { display: inline-block; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 8vw, 92px); letter-spacing: -0.03em; line-height: 0.92; color: var(--ink); } .masthead .name:hover { color: var(--accent); } .tagline { margin: clamp(14px, 2vw, 22px) 0 0; font-family: var(--deck); font-weight: 600; font-size: clamp(19px, 2.5vw, 30px); line-height: 1.12; letter-spacing: -0.015em; } .tagline span { display: block; text-wrap: balance; } .intro-lede { margin: clamp(18px, 2.6vw, 30px) 0 0; max-width: 54ch; font-family: var(--text); font-weight: 500; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.4; text-wrap: pretty; } /* ── Cross-site links ────────────────────────────── */ .site-links, .topnav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 6px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; } .sitelink, .live-link, .ulink { color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; white-space: nowrap; } .live-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; } .sitelink:hover, .live-link:hover, .ulink:hover { color: var(--accent); } .sitelink[aria-current="page"] { border-bottom-color: var(--ink); } .site-links .sep { color: var(--ink-soft); } /* ── Section: mono label + link list (.design) ───── */ .section { display: grid; grid-template-columns: minmax(120px, 0.4fr) minmax(0, 2fr); gap: clamp(8px, 2vw, 36px); padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: var(--hair) solid var(--rule); } .section > h2 { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; } .section ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(7px, 0.9vw, 11px); } .section li { font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.35; text-wrap: pretty; overflow-wrap: anywhere; } .section a:hover { color: var(--accent); } .src { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.01em; } @media (max-width: 680px) { .section { grid-template-columns: 1fr; gap: 8px; } } /* ── Now strip (.design) ─────────────────────────── */ .nowstrip { display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(10px, 2vw, 24px); padding: clamp(14px, 2vw, 20px) 0; border-top: var(--frame) solid var(--ink); border-bottom: var(--frame) solid var(--ink); font-size: 15px; } .nowstrip__label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-right: 8px; } .nowstrip b { font-weight: 600; } .nowstrip a { border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .nowstrip a:hover { color: var(--accent); } /* ── Index grid + cell (.dev) ────────────────────── */ .index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--frame) solid var(--ink); border-left: var(--frame) solid var(--ink); } .cell { border-right: var(--frame) solid var(--ink); border-bottom: var(--frame) solid var(--ink); padding: clamp(16px, 1.9vw, 26px); display: flex; flex-direction: column; gap: clamp(12px, 1.3vw, 18px); min-width: 0; } .cell__head { font-family: var(--mono); font-size: 12px; } .cell__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; } .cell__title a { color: inherit; } .cell__title a:hover { color: var(--accent); } .cell__media { display: block; position: relative; overflow: hidden; background: var(--bg-deeper); border: var(--frame) solid var(--ink); aspect-ratio: 16 / 10; transition: border-color .14s ease; } .cell:hover .cell__media { border-color: var(--accent); } .cell__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; display: block; } .cell__prose { margin: 0; font-weight: 500; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; text-wrap: pretty; } .cell--feature { grid-column: 1 / -1; background: var(--bg-deeper); border-left: 6px solid var(--accent); gap: clamp(8px, 1vw, 12px); } .cell__kicker { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); } .cell--feature .cell__title { font-size: clamp(26px, 3vw, 42px); max-width: 22ch; } @media (max-width: 1040px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 680px) { .index { grid-template-columns: 1fr; } } /* Hatch placeholder, recoloured per theme: stripes in --rule on --bg-deeper */ .hatch { background-color: var(--bg-deeper); background-image: repeating-linear-gradient(110deg, var(--rule) 0 6px, transparent 6px 16px); } /* ── Experiments: a ruled text list (.dev) ───────── */ .experiments__head { margin: 0 0 clamp(12px, 1.6vw, 18px); font-family: var(--mono); font-size: clamp(16px, 1.9vw, 21px); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; } .experiments__head span { text-transform: none; letter-spacing: 0.01em; color: var(--ink-soft); } .experiments__list { margin: 0; padding: 0; list-style: none; border-top: var(--frame) solid var(--ink); } .exp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: clamp(12px, 1.6vw, 18px) 0; border-bottom: var(--hair) solid var(--rule); } .exp__name { font-family: var(--sans); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.01em; } .exp__year { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); } .exp__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 12px; } .exp__links a { border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; white-space: nowrap; } .exp__links a:hover { color: var(--accent); } .exp__note { flex-basis: 100%; margin-top: 2px; font-size: clamp(13px, 1.1vw, 15px); line-height: 1.5; color: var(--ink-soft); max-width: 72ch; } /* ── Colophon, with Digressions ──────────────────── */ .colophon { max-width: 78ch; font-family: var(--mono); font-size: 12px; line-height: 1.65; letter-spacing: 0.01em; color: var(--ink-soft); } .colophon h2 { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); } .colophon p { margin: 0; } .colophon p + p { margin-top: 0.7em; } .colophon b { color: var(--ink); font-weight: 600; } .colophon__digression { color: var(--digression); } .colophon__digression::before { content: "\21B3 "; color: var(--accent); } .digression__label { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-right: 6px; } /* One colophon size on every site; .dev keeps its right alignment. */ .site--dev .colophon { margin-left: auto; text-align: right; } /* ── Footer ──────────────────────────────────────── */ .foot { padding: clamp(16px, 2vw, 24px) 0 0; font-size: 14px; color: var(--ink-soft); border-top: var(--frame) solid var(--ink); } .foot a { color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .foot a:hover { color: var(--accent); } .foot__contact { margin: 0; } /* ── Palette dock — square, ruled ────────────────── */ .palette-dock { display: inline-flex; gap: 8px; align-items: center; padding: 7px 9px; background: var(--bg); border: var(--frame) solid var(--ink); border-radius: 0; } .palette-dock--fixed { position: fixed; bottom: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); z-index: 80; } .palette-dock__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-soft); } .palette-swatch { width: 15px; height: 15px; border-radius: 0; border: var(--hair) solid var(--ink); background: var(--sw-bg); padding: 0; cursor: pointer; position: relative; transition: transform .1s ease; } .palette-swatch::after { content: ""; position: absolute; inset: 3px; background: var(--sw-accent); transform: scale(0); transition: transform .12s ease; } .palette-swatch:hover { transform: translateY(-2px); } .palette-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); } .palette-swatch[aria-pressed="true"]::after { transform: scale(1); } /* ── Masthead front door: shell, banner, modules ─── */ .shell { max-width: var(--shell-max, 1080px); margin: 0 auto; background: var(--bg); border: var(--frame-heavy) solid var(--ink); box-shadow: 8px 8px 0 var(--shadow, rgba(0, 23, 31, .45)); } .banner { padding: clamp(16px, 2.6vw, 30px) clamp(14px, 2.4vw, 28px) clamp(12px, 2vw, 20px); border-bottom: var(--frame-heavy) solid var(--ink); } .banner h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 6.4vw, 78px); line-height: .96; letter-spacing: -.01em; text-transform: uppercase; } .mod { border: var(--frame) solid var(--ink); background: var(--bg); overflow: hidden; } .mod { margin-bottom: clamp(14px, 2vw, 22px); } .mod:last-child { margin-bottom: 0; } .mod__t { margin: 0; padding: 8px 12px; background: var(--ink); color: var(--on-ink); font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; } .mod__b { padding: clamp(13px, 1.8vw, 19px); } .mod__b > :first-child { margin-top: 0; } .mod__b > :last-child { margin-bottom: 0; } .blurb p { margin: 0 0 .85em; max-width: 66ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; font-weight: 400; } .ups { margin: 0; padding: 0; list-style: none; } .ups li { position: relative; padding-left: 21px; margin-bottom: .62em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; font-weight: 400; } .ups li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; background: var(--mark, var(--bg-deeper)); } ul.talk, .out { margin: 0; padding: 0; list-style: none; } ul.talk li, .out li { margin-bottom: 9px; padding-bottom: 9px; border-bottom: var(--hair) dashed var(--rule); font-family: var(--std); font-weight: 500; font-size: 15px; line-height: 1.25; } ul.talk li:last-child, .out li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; } /* ── Doors: the family links as a 2px-gap grid ───── */ .doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); background: var(--ink); border: var(--frame) solid var(--ink); } .door { position: relative; background: var(--bg); padding: clamp(14px, 2vw, 22px); } .door:hover { background: var(--bg-deeper); } .door__t { margin: 0; font-family: var(--std); font-weight: 500; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.1; overflow-wrap: anywhere; } .door__t a::after { content: ""; position: absolute; inset: 0; } .door__n { display: block; margin-top: 4px; font-family: var(--ui); font-weight: 500; font-size: 12px; color: var(--ink-soft); } .door:hover .door__n { color: var(--ink); } @media (max-width: 430px) { .doors { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } } /* ══════════════════════════════════════════════════════════ PAGE-TYPE COMPONENTS ══════════════════════════════════════════════════════════ */ .wrap { max-width: 1280px; margin: 0 auto; padding: clamp(16px, 2.4vw, 28px) var(--gutter) clamp(40px, 6vw, 80px); } .foot { margin-top: clamp(72px, 12vw, 160px); display: grid; gap: clamp(16px, 2.2vw, 26px); } .ph-defs { position: absolute; width: 0; height: 0; pointer-events: none; } /* ── Page-type label (page-types/ only) ──────────── */ .pt-label { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 0; padding: 8px var(--gutter); background: var(--ink); color: var(--on-ink, var(--bg)); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; } .pt-label a { color: inherit; border-bottom: var(--frame) solid var(--accent); text-decoration: none; } /* ── Masthead row (.design inner pages) ──────────── */ .masthead { position: relative; } .masthead__top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; } .site-link { position: absolute; top: clamp(20px, 3.4vw, 44px); right: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; white-space: nowrap; color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .site-link:hover { color: var(--accent); } .site-links a { color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .site-links a:hover { color: var(--accent); } .nowstrip .pages { margin-left: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(10px, 1.6vw, 18px); } .nowstrip .pages .sep { color: var(--ink-soft); } .section ul.icons { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.8vw, 22px); align-items: center; } .section ul.icons a { display: inline-flex; font-size: clamp(19px, 1.7vw, 23px); line-height: 1; color: var(--ink); transition: transform .1s ease, color .12s ease; } .section ul.icons a:hover { color: var(--accent); transform: translateY(-2px); } .src a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; } .src a:hover { color: var(--accent); } .colophon__digression a { color: inherit; text-decoration: underline; text-underline-offset: 2px; } /* ── Page nav: ruled mono links between sibling pages ─ */ .pagenav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin: 0 0 clamp(22px, 3.5vw, 36px); padding: clamp(11px, 1.5vw, 15px) 0; border-top: var(--frame) solid var(--ink); border-bottom: var(--frame) solid var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; } .pagenav a { color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .pagenav a:hover { color: var(--accent); } .pagenav .sep { color: var(--ink-soft); } .pagenav [aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; } /* ── Prose: bio, lead ────────────────────────────── */ .bio, .lead { max-width: 62ch; margin: clamp(14px, 2vw, 22px) 0 clamp(28px, 5vw, 48px); } .lead { max-width: 64ch; } .bio p, .lead p, .lead { font-family: var(--text); font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; text-wrap: pretty; } .bio p, .lead p { margin: 0; } .bio p + p, .lead p + p { margin-top: 1em; } .bio a, .lead a { border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .bio a:hover, .lead a:hover { color: var(--accent); } .portrait { margin: 0 0 clamp(20px, 3vw, 32px); max-width: 520px; } .portrait img { display: block; width: 100%; height: auto; border: var(--frame) solid var(--ink); } .portrait figcaption { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-soft); } /* ── Pull quote ──────────────────────────────────── */ .pullquote { max-width: 64ch; margin: clamp(20px, 3vw, 32px) 0 clamp(30px, 5vw, 52px); padding-left: clamp(16px, 2vw, 24px); border-left: var(--frame) solid var(--accent); } .pullquote blockquote { margin: 0; } .pullquote p { margin: 0; font-family: var(--deck); font-weight: 600; font-size: clamp(18px, 1.9vw, 25px); line-height: 1.32; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; } .pullquote figcaption { margin-top: clamp(12px, 1.6vw, 18px); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft); } /* ── Numbered area: how-I-work practice blocks ───── */ .area { padding: clamp(22px, 3.4vw, 40px) 0; border-top: var(--frame) solid var(--ink); display: grid; grid-template-columns: minmax(48px, 0.16fr) minmax(0, 2fr); gap: clamp(12px, 2.4vw, 40px); } .area__n { font-family: var(--mono); font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; color: var(--ink-soft); line-height: 1; } .area__h { margin: 0 0 clamp(12px, 1.6vw, 16px); font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.0; color: var(--ink); text-wrap: balance; } .area__p { margin: 0 0 clamp(14px, 1.8vw, 20px); max-width: 64ch; font-family: var(--text); font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; text-wrap: pretty; } .area__p:last-of-type { margin-bottom: clamp(18px, 2.4vw, 26px); } .kw { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1.9; color: var(--ink-soft); } .kw li { white-space: nowrap; } .kw li:not(:last-child)::after { content: "\00B7"; margin: 0 9px; color: var(--accent); } @media (max-width: 680px) { .area { grid-template-columns: 1fr; gap: 6px; } .area__n { font-size: 13px; letter-spacing: 0.14em; } } /* ── Ruled section with mono head (reading) ──────── */ .sec { padding: clamp(20px, 3vw, 32px) 0; border-top: var(--frame) solid var(--ink); } .sec__h { margin: 0 0 clamp(16px, 2vw, 22px); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); } .empty { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); } /* ── Book list (reading) ─────────────────────────── */ .booklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: clamp(16px, 2.4vw, 30px); } @media (max-width: 380px) { .booklist { grid-template-columns: repeat(2, 1fr); } } .booklist .book { display: flex; flex-direction: column; gap: 10px; } .booklist .book__cover { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--bg-deeper); border: var(--frame) solid var(--ink); overflow: hidden; transition: border-color .14s ease; } .booklist .book__cover:hover { border-color: var(--accent); } .booklist .book__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; } .booklist .book__cover-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 42px; color: var(--ink); z-index: 0; } .booklist .book__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: anywhere; } .booklist .book__title a:hover { color: var(--accent); } .booklist .book__by { margin: 0; font-family: var(--text); font-weight: 500; font-size: 13px; color: var(--ink-soft); } /* ── Talks chronology ────────────────────────────── */ .talks-list { list-style: none; margin: 0; padding: 0; border-top: var(--frame) solid var(--ink); } .talks-list > .talk { display: grid; grid-template-columns: minmax(74px, 94px) minmax(0, 1fr); gap: clamp(10px, 2vw, 24px); padding: clamp(11px, 1.4vw, 16px) 0; border-bottom: var(--hair) solid var(--rule); align-items: baseline; } .talk__date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; } .talk__line { margin: 0; font-family: var(--text); font-weight: 500; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.4; text-wrap: pretty; } .talk__event { font-weight: 700; color: var(--ink); } .talk__event a { color: var(--ink); border-bottom: var(--hair) solid var(--accent); padding-bottom: 1px; } .talk__event a:hover { color: var(--accent); } .talk__loc { color: var(--ink-soft); } .talk__name { color: var(--ink); } .talk__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; } .talk__desc { margin: 6px 0 0; max-width: 74ch; font-family: var(--text); font-weight: 500; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; } .badges { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; } .badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border: var(--frame) solid var(--ink); padding: 2px 8px; line-height: 1.25; white-space: nowrap; transition: background-color .12s ease, color .12s ease, border-color .12s ease; } .badge:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); } .badge i { font-size: 10px; } @media (max-width: 560px) { .talks-list > .talk { grid-template-columns: 1fr; gap: 3px; } } /* ── Intro (.dev catalogue) ──────────────────────── */ .intro { margin: clamp(20px, 3vw, 32px) 0 0; padding: 0 0 clamp(28px, 5vw, 52px); max-width: 62ch; } .intro p { margin: 0; font-family: var(--text); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); text-wrap: pretty; } .intro p + p { margin-top: 1em; } .intro a { color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .intro a:hover { color: var(--accent); } .intro--lede { margin-top: 0; padding-bottom: clamp(20px, 3vw, 36px); max-width: 100ch; } .intro--lede p { font-size: clamp(20px, 2.1vw, 27px); } .experiments { margin: clamp(40px, 6vw, 72px) 0; } .exp--featured { background: var(--bg-deeper); border-left: 4px solid var(--accent); padding-left: clamp(10px, 1.2vw, 16px); padding-right: clamp(10px, 1.2vw, 16px); } .exp--featured .exp__note, .exp--featured .exp__year { color: var(--ink); } .cell--static:hover .cell__media { border-color: var(--ink); } .cell__media svg.ph, .cell__media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; } .cell__media img { z-index: 1; background: var(--bg-deeper); } .cell--feature .cell__prose { font-size: clamp(15px, 1.2vw, 18px); max-width: 70ch; } /* ── Project article (.dev) ──────────────────────── */ .project { max-width: 760px; } .project__title { margin: 0 0 clamp(8px, 1.5vw, 16px); font-family: var(--sans); font-weight: 600; font-size: clamp(40px, 6vw, 76px); line-height: 1.0; letter-spacing: -0.025em; text-wrap: balance; } .project__lede { margin: 0 0 clamp(16px, 2vw, 20px); font-family: var(--sans); font-weight: 500; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; color: var(--ink); max-width: 54ch; text-wrap: pretty; } .project__lede--fi { margin: -8px 0 clamp(16px, 2vw, 20px); font-weight: 400; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.45; color: var(--ink-soft); } .project__meta { margin: 0 0 clamp(28px, 4vw, 48px); font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; } .project__meta .sep { color: var(--ink-soft); } .project__body { display: grid; gap: clamp(20px, 2.6vw, 32px); } .project__body > p { margin: 0; font-family: var(--sans); font-size: clamp(17px, 1.35vw, 18px); line-height: 1.65; color: var(--ink); max-width: 64ch; text-wrap: pretty; } .project__body a { color: var(--ink); border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .project__body a:hover { color: var(--accent); } .project__body h2 { margin: clamp(28px, 4vw, 48px) 0 4px; font-family: var(--sans); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); } .project__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-family: var(--sans); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--ink); max-width: 64ch; } .project__body ul li { padding-left: 22px; position: relative; } .project__body ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1px; background: var(--ink-soft); } .project__body ul li b { font-weight: 600; } .figure { margin: clamp(28px, 4vw, 48px) 0 0; background: var(--bg-deeper); overflow: hidden; position: relative; } .figure img, .figure svg.ph { display: block; width: 100%; height: auto; } .figure svg.ph { aspect-ratio: 16 / 10; } .figure figcaption { margin-top: 10px; padding: 0 2px; font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--ink-soft); background: var(--bg); } .figpair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 18px); margin: clamp(28px, 4vw, 48px) 0 0; } .figpair .figure { margin: 0; } @media (max-width: 640px) { .figpair { grid-template-columns: 1fr; } } /* ══════════════════════════════════════════════════════════ MASTHEAD FRONT DOOR — profile shell, rail, modules Scoped to body.site--masthead where the base differs. ══════════════════════════════════════════════════════════ */ body.site--masthead { padding: clamp(12px, 2.5vw, 34px) clamp(10px, 2vw, 24px) clamp(40px, 6vw, 70px); background: var(--field); background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 9px); font-weight: 400; line-height: 1.5; } body.site--masthead .pt-label { margin: calc(-1 * clamp(12px, 2.5vw, 34px)) calc(-1 * clamp(10px, 2vw, 24px)) clamp(12px, 2.5vw, 34px); } .site--masthead a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; } .site--masthead a:hover { color: var(--ink); } .cols { display: grid; grid-template-columns: minmax(200px, 290px) minmax(0, 1fr); gap: 0; } .cols > * { min-width: 0; } .cols--one { grid-template-columns: minmax(0, 1fr); } .rail { padding: clamp(14px, 2.2vw, 22px); background: color-mix(in srgb, var(--bg-deeper) 7%, var(--bg)); } .main { padding: clamp(16px, 2.2vw, 26px); } .main--wide { padding-top: 0; } @media (min-width: 781px) { .railwrap { grid-column: 1; grid-row: 1; align-self: start; border-right: var(--frame-heavy) solid var(--ink); } .rail--b { padding-top: 0; } .main--top { grid-column: 2; grid-row: 1; } .main--wide { grid-column: 1 / -1; grid-row: 2; } } .banner__k { display: block; margin: 0 0 8px; font-family: var(--std); font-weight: 500; font-size: 13px; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-soft); } .banner__k a { text-decoration: none; } .cg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-grid); background: var(--ink); } .cg > * { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 8px; background: var(--bg); border: 0; cursor: pointer; font-family: var(--ui); font-weight: 500; font-size: 12px; color: var(--accent); text-align: center; text-decoration: none; } .cg > *:hover { background: var(--ink); color: var(--on-ink, var(--bg)); } .lede .mod__b { padding: clamp(16px, 2.2vw, 25px); } .lede p { margin: 0 0 .7em; max-width: 62ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; } .lede p:last-child { margin-bottom: 0; } .lede p:first-child { font-family: var(--std); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; } .blurb p:last-child { margin-bottom: 0; } .blurb ul, .blurb ol { max-width: 66ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; } .blurb li { margin-bottom: .5em; } .blurb cite { font-style: italic; } .ups li:last-child { margin-bottom: 0; } .favs { margin: 0; } .favs dt { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); } .favs dd { margin: 0 0 9px; padding-bottom: 9px; border-bottom: var(--hair) dashed var(--rule); font-family: var(--std); font-weight: 500; font-size: 15px; line-height: 1.2; } .favs dd:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; } .out a { display: flex; align-items: center; gap: 6px; font-family: var(--std); font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none; } .out a:hover { text-decoration: underline; } .out__mark { width: 14px; height: 14px; flex: none; fill: currentColor; } .np { font-family: var(--ui); font-weight: 500; font-size: 13px; line-height: 1.4; } .np__label { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; } .np__track { display: block; font-family: var(--std); font-size: 16px; line-height: 1.2; } .np__artist { display: block; color: var(--ink-soft); margin-top: 2px; } .np a { text-decoration: none; } .books { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .books .book__body, .books .book__by, .books .book__title { display: none; } .books .book__cover { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--bg-deeper); overflow: hidden; } .books .book__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .books .book__cover-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; color: var(--ink); } .top8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); background: var(--ink); } .t8 { background: var(--bg); display: flex; flex-direction: column; } .t8 img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--rule); } .doors--3 { grid-template-columns: repeat(3, 1fr); } .site--masthead .doors { border: 0; grid-template-columns: repeat(2, 1fr); } .site--masthead .doors--3 { grid-template-columns: repeat(3, 1fr); } .site--masthead .door__t a { text-decoration: none; } .site--masthead .door:hover .door__t a { color: var(--ink); } .players { display: grid; gap: var(--gap-grid); background: var(--ink); } .player { background: var(--bg); } .player__n { margin: 0; padding: 9px 12px 7px; font-family: var(--std); font-weight: 500; font-size: clamp(15px, 1.4vw, 19px); } .player__n a { text-decoration: none; } .player iframe { display: block; width: 100%; height: 152px; border: 0; background: var(--rule); } .player--video iframe { height: auto; aspect-ratio: 16 / 9; } .footbar { padding: 13px clamp(14px, 2.4vw, 28px); border-top: var(--frame-heavy) solid var(--ink); background: var(--bg); font-family: var(--ui); font-weight: 500; font-size: 12px; color: var(--ink-soft); } .footbar button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; } .footbar button:hover { color: var(--ink); } /* Course page */ .facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: clamp(15px, 1.1vw, 17px); } .facts dt { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; } .facts dd { margin: 0; } .panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap-grid); background: var(--ink); margin-top: 14px; } .panel { background: var(--bg); padding: 14px 16px; } .panel__t { margin: 0 0 10px; font-family: var(--std); font-weight: 500; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.15; } .panel__n { display: inline-block; margin-right: 6px; font-family: var(--ui); font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); } .panel__eq { margin: 0 0 10px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1; } .panel p, .panel ul, .panel ol { margin: 0; font-size: 15px; line-height: 1.5; } .panel ul, .panel ol { padding-left: 1.3em; } .panel li { margin-bottom: .35em; } .lenses { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; font-size: 15px; line-height: 1.45; } .lenses dt { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; } .lenses dd { margin: 0; } .weeks { margin: 14px 0 0; padding: 0; list-style: none; } .weeks li { display: grid; grid-template-columns: 3ch 1fr; gap: 2px 14px; padding: 8px 0; border-bottom: var(--hair) dashed var(--rule); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; } .weeks li:last-child { border-bottom: 0; } .weeks b { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); padding-top: 3px; } .weeks i { grid-column: 2; font-style: normal; font-size: 14px; color: var(--ink-soft); } @media (min-width: 781px) { .weeks--note li { grid-template-columns: 3ch 1fr max-content; } .weeks--note i { grid-column: auto; font-family: var(--ui); font-size: 12px; letter-spacing: .04em; padding-top: 3px; } } /* ══════════════════════════════════════════════════════════ DDR-010 — the masthead follows the Front door type Neue Montreal Black 900 / Extrabold 800, Author 600 subtitle, Neue Montreal Book text, 1280px shell, no uppercase labels. Front-door story structure from the "System test, Front door type" board: bar, hero, band, chapters, strip, footer. ══════════════════════════════════════════════════════════ */ .site--masthead .banner h1 { font-weight: 900; letter-spacing: -.05em; text-transform: none; } .site--masthead .banner__k, .site--masthead .favs dt, .site--masthead .np__label, .site--masthead .facts dt, .site--masthead .lenses dt { text-transform: none; letter-spacing: 0; font-size: 13px; } .site--masthead ul.talk li, .site--masthead .out li, .site--masthead .favs dd, .site--masthead .out a { font-weight: 800; letter-spacing: -.02em; } .site--masthead .door__t, .site--masthead .panel__t, .site--masthead .player__n { font-weight: 800; letter-spacing: -.02em; } .banner--bar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; background: var(--bg); } .banner .name { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -.05em; color: var(--ink); } .site--masthead .banner .name { text-decoration: none; color: var(--ink); } .banner__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-family: var(--ui); font-weight: 500; font-size: 15px; } .site--masthead .banner__nav a { color: var(--ink); text-decoration: none; } .site--masthead .banner__nav a:hover { color: var(--accent); } .mail { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: var(--frame) solid var(--ink); background: var(--bg); color: var(--ink); cursor: pointer; transition: transform .12s ease; } .mail:hover { transform: translateY(-2px); background: var(--bg-deeper); } .mail svg { width: 20px; height: 20px; display: block; } .pad { padding: clamp(64px, 8vw, 112px) clamp(24px, 4.5vw, 64px); } .hero { border-bottom: var(--frame-heavy) solid var(--ink); } .hero h1 { margin: 0 0 32px; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7.6vw, 112px); line-height: .92; letter-spacing: -.06em; } .hero .sub { margin: 0 0 28px; font-family: var(--serif, var(--deck)); font-weight: 600; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.015em; } .hero .sub b { font-weight: 700; background: var(--bg-deeper); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; } .hero .more { margin: 0; max-width: 820px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; font-weight: 400; } .band { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px clamp(24px, 4vw, 56px); background: var(--bg-deeper); border-bottom: var(--frame) solid var(--ink); } .site--masthead a.band { color: var(--ink); text-decoration: none; } .band svg { width: 24px; height: 24px; flex: none; } .band__t { font-family: var(--std); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; } .band__a { font-family: var(--ui); font-weight: 500; font-size: 15px; } .band:hover .band__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; } .chapter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); border-bottom: var(--frame-heavy) solid var(--ink); } .chapter h2 { margin: 0 0 32px; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5.4vw, 78px); line-height: .92; letter-spacing: -.055em; } .chapter h3 { margin: 0 0 28px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.7vw, 37px); line-height: 1.16; letter-spacing: -.03em; } .chapter h3 strong { font-weight: 900; } .chapter p { margin: 0 0 28px; max-width: 720px; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.55; font-weight: 400; } .chapter p strong { font-weight: 500; } .chapter img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: var(--frame-heavy) solid var(--ink); box-shadow: 8px 8px 0 var(--ink); } .site--masthead .chapter a { color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--accent); } .site--masthead .chapter a:hover { color: var(--accent); } .strip { border-bottom: var(--frame) solid var(--ink); } .strip h2, .foot--masthead .colophon h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -.05em; text-transform: none; color: var(--ink); } .covers { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); gap: var(--gap-grid); background: var(--ink); border: var(--frame) solid var(--ink); width: max-content; max-width: 100%; } .covers span { aspect-ratio: 2 / 3; background: var(--bg-deeper); display: flex; align-items: center; justify-content: center; font-family: var(--std); font-size: 20px; } .go { display: inline-block; margin-top: 12px; font-family: var(--ui); font-weight: 500; font-size: 15px; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--accent); } .site--masthead .go { color: var(--ink); } .elsewhere { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 22px; font-family: var(--ui); font-weight: 500; font-size: 15px; } .site--masthead .elsewhere a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; } .site--masthead .elsewhere a:hover { color: var(--accent); } .elsewhere svg { width: 14px; height: 14px; fill: currentColor; display: block; } @media (max-width: 760px) { .chapter { grid-template-columns: 1fr; } .banner--bar { position: static; } } /* ══════════════════════════════════════════════════════════ DDR-011 — .design and .dev take the Front door scale body.scale--front: hero 112, subtitle 46, intro 23, H2 78, H3 37, body 25, no uppercase labels. Each site keeps its own faces (Author display, Hanken text, Azeret / RX100 mono). ══════════════════════════════════════════════════════════ */ .scale--front .masthead .name, .scale--front .project__title { font-size: clamp(56px, 7.6vw, 112px); line-height: .92; letter-spacing: -.04em; } .scale--front .tagline, .scale--front .intro--lede p, .scale--front .project__lede { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.015em; } .scale--front .intro-lede, .scale--front .intro p, .scale--front .bio p, .scale--front .lead, .scale--front .lead p, .scale--front .project__lede--fi { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; } .scale--front .intro-lede, .scale--front .bio, .scale--front .lead { max-width: 820px; } .scale--front .section { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); padding: clamp(40px, 5vw, 72px) 0; } .scale--front .section > h2, .scale--front .area__h { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5.4vw, 78px); line-height: .92; letter-spacing: -.04em; text-transform: none; } .scale--front .section li, .scale--front .talk__line { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.4; } .scale--front .area__p, .scale--front .project__body > p, .scale--front .project__body ul { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.55; } .scale--front .project__body h2, .scale--front .pullquote p, .scale--front .exp__name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.7vw, 37px); line-height: 1.16; letter-spacing: -.03em; } .scale--front .cell__title { font-size: clamp(26px, 2.7vw, 37px); line-height: 1.1; } .scale--front .cell__prose, .scale--front .exp__note, .scale--front .talk__desc { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; } .scale--front .booklist .book__title { font-size: clamp(17px, 1.4vw, 20px); } .scale--front .sec__h, .scale--front .experiments__head, .scale--front .colophon h2, .scale--front .strip h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -.04em; text-transform: none; color: var(--ink); } .scale--front .experiments__head span { font-family: var(--text); font-weight: 500; font-size: .5em; letter-spacing: 0; } .scale--front .nowstrip__label, .scale--front .cell__kicker, .scale--front .talk__date, .scale--front .talk__role, .scale--front .badge, .scale--front .digression__label, .scale--front .area__n, .scale--front .pt-label { text-transform: none; letter-spacing: 0; } .scale--front .nowstrip { font-size: clamp(17px, 1.4vw, 20px); } .scale--front .nowstrip__label, .scale--front .cell__kicker, .scale--front .talk__date { font-size: 14px; } .scale--front .src, .scale--front .project__meta { font-size: 14px; } .scale--front .site-links, .scale--front .sitelink, .scale--front .pagenav, .scale--front .live-link, .scale--front .site-link { font-size: 15px; } /* Story home on the house sites: the Front door structure inside .wrap */ .wrap .pad { padding-left: 0; padding-right: 0; } .scale--front .banner--bar { margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); } .scale--front .banner--bar .name { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; } .scale--front .banner__nav a { color: var(--ink); } .scale--front .banner__nav a:hover { color: var(--accent); } .scale--front .hero h1, .scale--front .chapter h2 { font-weight: 700; letter-spacing: -.04em; } .scale--front .hero h1 span { display: block; } .scale--front .hero .more a, .scale--front .chapter a { border-bottom: var(--frame) solid var(--accent); padding-bottom: 1px; } .scale--front a.band { color: var(--ink); margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); } .chapter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.2vw, 16px); } .chapter li { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.4; text-wrap: pretty; } .chapter .chapter__more { margin-top: 18px; } .scale--front .elsewhere a { color: var(--ink); } .scale--front .elsewhere a:hover { color: var(--accent); } .scale--front .elsewhere i { font-size: 15px; } /* Screenshots keep the house frame: 16:10, anchored top centre. */ .site--dev .chapter img { aspect-ratio: 16 / 10; object-position: top center; } @media (max-width: 900px) { .top8 { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 780px) { .cols { grid-template-columns: minmax(0, 1fr); } .railwrap { display: contents; } .rail--a { grid-row: 1; border-bottom: var(--frame-heavy) solid var(--ink); } .main--top { grid-row: 2; } .main--wide { grid-row: 3; } .rail--b { grid-row: 4; border-top: var(--frame-heavy) solid var(--ink); } .top8 { grid-template-columns: repeat(4, 1fr); } .books { grid-template-columns: repeat(6, 1fr); } .site--masthead .doors, .site--masthead .doors--3 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 430px) { .cg { grid-template-columns: 1fr; } .site--masthead .doors, .site--masthead .doors--3, .doors { grid-template-columns: 1fr; } } /* ══════════════════════════════════════════════════════════ COLOUR BLOCKS (DDR-012) — the Front door's colour structure, portable to every site. A block is a full-bleed band filled from one of five pairs. Inside it the roles re-point to that pair, so every component in the block (links, frames, buttons, photos, highlights) stays legible with no per-block rules. .block--bg bg / ink plain ground .block--deeper bg-deeper/ ink the soft fill (Jasmine, Steel Blue, Sky Aqua) .block--lead lead / on-lead the loud fill: hero (large type only, DDR-013) .block--deep deep / on-deep one dark chapter .block--ink ink / on-ink band, strip, footer Page rhythm: ink top bar with a lead rule, hero in lead, then chapters alternating bg and deeper with one deep, the band and the strip in ink. No two neighbouring blocks share a fill. ══════════════════════════════════════════════════════════ */ /* Page-level copies of the roles. A :root custom property resolves once against the page scheme, so blocks can read the page colours after they re-point the role names. */ :root { --k-bg: var(--bg); --k-bg-deeper: var(--bg-deeper); --k-ink: var(--ink); --k-accent: var(--accent); --k-lead: var(--lead, var(--bg-deeper)); --k-on-lead: var(--on-lead, var(--ink)); --k-deep: var(--deep, var(--ink)); --k-on-deep: var(--on-deep, var(--bg)); --k-on-ink: var(--on-ink, var(--bg)); } /* Bleeding fills must never widen the page. */ html:has(.block), body:has(.block) { overflow-x: clip; } .block { position: relative; background: var(--bg); color: var(--ink); /* bleed the fill to the viewport edges from inside any container */ box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); } .block--bg { --bg: var(--k-bg); --ink: var(--k-ink); --accent: var(--k-accent); } .block--deeper { --bg: var(--k-bg-deeper); --bg-deeper: var(--k-bg); --ink: var(--k-ink); --ink-soft: var(--k-ink); --rule: var(--k-ink); --accent: var(--k-ink); } .block--lead { --bg: var(--k-lead); --bg-deeper: var(--k-bg-deeper); --ink: var(--k-on-lead); --ink-soft: var(--k-on-lead); --rule: var(--k-on-lead); --accent: var(--k-on-lead); } .block--deep { --bg: var(--k-deep); --bg-deeper: var(--k-bg-deeper); --ink: var(--k-on-deep); --ink-soft: var(--k-on-deep); --rule: var(--k-on-deep); --accent: var(--k-on-deep); } .block--ink { --bg: var(--k-ink); --bg-deeper: var(--k-bg-deeper); --ink: var(--k-on-ink); --ink-soft: var(--k-on-ink); --rule: var(--k-on-ink); --accent: var(--k-on-ink); } /* The structural rule between blocks stays in page ink, edge to edge. */ .block + .block::before { content: ""; position: absolute; top: 0; left: -100vmax; right: -100vmax; height: var(--frame-heavy); background: var(--k-ink); pointer-events: none; } .block.hero, .block.chapter, .block.band, .block.strip { border-bottom: 0; } /* Text and links inside a block take the block's ink. Inside a filled block (any but bg) the signal colour equals the text colour, so a hover inverts the link instead of recolouring it. */ .block a { color: var(--ink); } .block .hero__more a, .block .more a, .block.chapter a, .block .chapter__body a, .block .go { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--accent); border-bottom: 0; padding-bottom: 0; } .block--lead a:hover, .block--deep a:hover, .block--ink a:hover, .block--deeper a:hover { background: var(--ink); color: var(--bg); text-decoration-color: var(--bg); } .block--bg a:hover { color: var(--accent); } /* The subtitle highlight is always the page's soft fill with page ink. */ .block .sub b { background: var(--k-bg-deeper); color: var(--k-ink); } .block--deeper .sub b { background: var(--k-bg); } /* A page built from blocks: the page wrap keeps its width and gutter but no top or bottom padding, so the first block meets the top. */ .wrap--blocks { padding-top: 0; padding-bottom: clamp(32px, 4vw, 56px); } .wrap--blocks > .block:not(.topbar):not(.band) { padding-left: clamp(0px, 2vw, 24px); padding-right: clamp(0px, 2vw, 24px); } .wrap--blocks > .colophon { margin-top: clamp(24px, 3vw, 40px); } /* ── TopBar: the sticky name bar ─────────────────── */ .topbar { position: sticky; top: 0; z-index: 20; margin-bottom: 8px; } .topbar.block { clip-path: inset(0 -100vmax -8px); box-shadow: 0 0 0 100vmax var(--bg); } .topbar.block::after { content: ""; position: absolute; left: -100vmax; right: -100vmax; bottom: -8px; height: 8px; background: var(--k-lead); } .topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 0; } .topbar .name { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -.05em; color: var(--ink); text-decoration: none; } .topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-family: var(--ui); font-weight: 500; font-size: 15px; } .topbar nav a { color: var(--ink); text-decoration: none; } .topbar nav a:hover { background: none; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; } @media (max-width: 760px) { .topbar { position: static; } } /* ── Buttons: framed, hard shadow, square ────────── */ .btn, .btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: var(--frame-heavy) solid var(--k-ink); background: var(--k-bg); color: var(--k-ink); box-shadow: 4px 4px 0 var(--k-ink); font-family: var(--ui); font-weight: 500; font-size: 15px; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; } .btn { min-height: 44px; padding: 9px 16px; } .btn-icon { width: 48px; height: 48px; padding: 0; } .btn-icon svg { width: 22px; height: 22px; display: block; } .btn:hover, .btn-icon:hover, .block .btn:hover, .block .btn-icon:hover { background: var(--k-deep); color: var(--k-on-deep); text-decoration: none; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--k-ink); } /* ── Readability on bright fills (DDR-013) ────────── A lead fill (Coral, Pumpkin, Camel, Fresh Sky) is a mid tone: dark text on it reaches APCA Lc 49 to 55, enough for large type only. Everything set on a lead block is 28px or larger at weight 500+. */ .block--lead .more, .block--lead .hero__more { font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.3; } .block--lead .sub { font-weight: 600; } .block--lead .src, .block--lead small { font-size: inherit; } /* ── Hero inside a block ─────────────────────────── */ .hero.block { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(64px, 8vw, 128px); } .hero.block h1 { max-width: 1180px; } .hero.block .sub { max-width: 1100px; } /* ── Band: one line of live data in ink ──────────── */ a.band.block, .band.block { display: flex; padding-top: 28px; padding-bottom: 28px; border-bottom: 0; color: var(--ink); text-decoration: none; } .band.block:hover { background: var(--bg); color: var(--ink); } .band.block:hover .band__t { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; } .band.block svg { color: var(--ink); width: 28px; height: 28px; } .band.block .band__a { font-size: 18px; } /* ── Chapter inside a block ──────────────────────── */ .chapter.block { padding-top: clamp(80px, 10vw, 144px); padding-bottom: clamp(80px, 10vw, 144px); } .chapter.block img { border-color: var(--k-ink); box-shadow: 8px 8px 0 var(--k-ink); } .block--deep.chapter img, .block--ink.chapter img { box-shadow: 8px 8px 0 var(--k-bg-deeper); } .block--deeper.chapter img { box-shadow: 8px 8px 0 var(--k-lead); } /* ── Strip: closing shelf in ink ─────────────────── */ .strip.block { padding-top: 56px; padding-bottom: 60px; } .strip.block h2 { color: var(--ink); } .strip.block .covers { background: transparent; border: 0; gap: 8px; } .strip.block .covers span { background: var(--k-bg-deeper); color: var(--k-ink); border: var(--frame-heavy) solid var(--k-ink); } /* ── Photo row: three framed photos on ink ───────── */ .photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--k-ink); padding: 3px 0; box-shadow: 0 0 0 100vmax var(--k-ink); clip-path: inset(0 -100vmax); } .photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } @media (max-width: 760px) { .photos { grid-template-columns: 1fr; } } /* ── Socials: icon squares, no words ─────────────── */ .socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; } .soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: var(--frame-heavy) solid var(--ink); background: var(--bg); color: var(--ink); text-decoration: none; } .soc svg { width: 20px; height: 20px; display: block; fill: currentColor; } .soc i { font-size: 19px; line-height: 1; } .block .soc:hover, .soc:hover { background: var(--k-deep); color: var(--k-on-deep); } .foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; } @media (prefers-reduced-motion: reduce) { .btn, .btn-icon { transition: none; } } /* A masthead page built from blocks drops the field ground, the framed shell spacing and the underlined link default. */ body.site--blocks { padding: 0; background: var(--k-bg); background-image: none; } body.site--blocks .pt-label { margin: 0; } .site--blocks a.soc, .site--blocks .soc { color: var(--k-ink); text-decoration: none; } .site--blocks .block a:not(.soc):not(.btn):not(.btn-icon) { color: var(--ink); } .site--blocks .topbar a, .site--blocks a.band { text-decoration: none; } .site--blocks .colophon h2, .scale--front.site--blocks .colophon h2 { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; letter-spacing: -.04em; text-transform: none; color: var(--k-ink); } .foot-bar-wrap { padding-top: 24px; } .foot-bar-wrap > .socials { margin-bottom: 8px; } .site--blocks .foot { margin-top: clamp(24px, 3vw, 40px); } /* Soft-filled items inside a dark block (featured rows and cells) take the page's own ink, the pair that passes on bg-deeper. */ .block--ink .exp--featured, .block--deep .exp--featured, .block--lead .exp--featured, .block--ink .cell--feature, .block--deep .cell--feature, .block--lead .cell--feature { --ink: var(--k-ink); --ink-soft: var(--k-ink); --accent: var(--k-ink); background: var(--k-bg-deeper); color: var(--k-ink); } .block .exp--featured a, .block .cell--feature a { color: var(--k-ink); } /* Inline icon, replacing the Font Awesome glyph (DDR-007). Sized from the inherited font-size so the icon rows keep the scale they had as a font. */ .icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; flex: none; } /* A home page whose name is its h1. The heading carries no box of its own so the masthead keeps the baseline flex layout it had as a bare link. */ .masthead__name { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; } /* The TopBar name is a link inside the ink block. The block's hover rule inverts links (background takes the ink colour), and the name keeps its own light colour, so on hover the name became a blank light box. The name never inverts: on hover it keeps its colour and takes an underline. */ .site--blocks .topbar a.name:hover, .site--blocks .topbar .name a:hover, .site--blocks .topbar a.name:focus-visible, .site--blocks .topbar .name a:focus-visible { background: none; color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; } /* ══════════════════════════════════════════════════════════ NARRATIVE LAYER (DDR-014) — the structure the three sites share so one career reads the same way across them. Order on a page: hero (the claim), offers or steps (how the work starts), evidence (what it did), tiles (the public record), cta (the way in). Each piece is a plain framed box in the block's own roles, so it inherits whatever colour the block and the site's palette engine give it. No site-specific colour belongs in here. .nar-sec / .nar-h / .nar-note section, heading, standfirst .offers / .offer what someone can engage .steps / .step how an engagement starts .evg / .ev evidence: a role, what changed .specs measured facts under a card .cta the closing invitation Set on a bg, deeper, deep or ink block. Not on lead: DDR-013 caps a lead fill at large type only, and these carry body copy. ══════════════════════════════════════════════════════════ */ .nar-sec { padding-top: clamp(44px, 5.5vw, 80px); padding-bottom: clamp(44px, 5.5vw, 80px); } .nar-h { margin: 0 0 14px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; letter-spacing: -.055em; color: var(--ink); text-wrap: balance; } .nar-note { margin: 0 0 28px; max-width: 58ch; font-family: var(--deck); font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink); text-wrap: pretty; } .nar-note:last-child { margin-bottom: 0; } /* ── Offers: what someone can actually engage ────── */ .offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; } .offer { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; border: var(--frame-heavy) solid var(--k-ink); background: var(--k-bg); color: var(--k-ink); } .offer h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.12; letter-spacing: -.03em; } .offer p { margin: 0; font-family: var(--text); font-weight: 500; font-size: clamp(16px, 1.15vw, 17px); line-height: 1.5; text-wrap: pretty; } .offer .btn { align-self: start; margin-top: auto; } .block .offer a:not(.btn) { color: var(--k-ink); } /* ── Steps: how an engagement starts ─────────────── */ .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; } .step { padding: 20px 20px 22px; border: var(--frame-heavy) solid var(--k-ink); background: var(--k-bg); color: var(--k-ink); } .step b { display: block; margin-bottom: 10px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.1; letter-spacing: -.03em; } .step p { margin: 0; font-family: var(--text); font-weight: 500; font-size: clamp(15px, 1.1vw, 16px); line-height: 1.5; text-wrap: pretty; } /* ── Evidence: a role, and what changed because of it ─ */ .evg { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; } .ev { display: flex; flex-direction: column; border: var(--frame-heavy) solid var(--k-ink); background: var(--k-bg); color: var(--k-ink); } .ev img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: var(--frame-heavy) solid var(--k-ink); } .ev__b { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; } .ev__lab { font-family: var(--deck); font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--k-ink); } .ev__t { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -.03em; } .ev__p { margin: 0; font-family: var(--text); font-weight: 500; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; text-wrap: pretty; } .block .ev a { color: var(--k-ink); } /* ── Specs: measured facts, one row each. A row is only written when the value is known; an empty row is a claim the page cannot support, so it is left out. ── */ .specs { margin: 2px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 16px; font-family: var(--text); font-size: 15px; line-height: 1.45; } .specs dt { font-family: var(--deck); font-weight: 500; color: var(--k-ink); } .specs dd { margin: 0; font-weight: 500; } /* ── CTA: the closing invitation ─────────────────── */ .cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: clamp(56px, 6.5vw, 96px); padding-bottom: clamp(56px, 6.5vw, 96px); } .cta h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: .92; letter-spacing: -.06em; color: var(--ink); text-wrap: balance; } .cta__b { display: grid; gap: 22px; justify-items: start; } .cta__b p { margin: 0; max-width: 46ch; font-family: var(--deck); font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink); text-wrap: pretty; } @media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); } } /* ── Button row and the two button weights. Promoted here from the masthead's home.css so all three sites offer the same two ways in: the filled primary and the framed secondary. masthead's home.css still restates these after core.css with the same values, so its pages are unchanged. ── */ .cta-row { display: flex; flex-wrap: wrap; gap: 14px; } .btn--lead, .site--blocks .block .btn--lead { background: var(--k-ink); color: var(--k-bg); border-color: var(--k-ink); box-shadow: 5px 5px 0 var(--k-lead); font-family: var(--deck); font-weight: 500; font-size: 18px; min-height: 52px; padding: 12px 24px; gap: 10px; } .btn--ghost, .site--blocks .block .btn--ghost { background: var(--k-bg); color: var(--k-ink); border-color: var(--k-ink); box-shadow: 5px 5px 0 var(--k-ink); font-family: var(--deck); font-weight: 500; font-size: 18px; min-height: 52px; padding: 12px 24px; } .btn--lead svg { width: 18px; height: 18px; } .site--blocks .block .btn--lead:hover { background: var(--k-bg); color: var(--k-ink); } .site--blocks .block .btn--ghost:hover { background: var(--k-ink); color: var(--k-bg); } /* A small button for a card: the offer cards carry one each. */ .btn--sm, .site--blocks .block .btn--sm { font-size: 16px; min-height: 44px; padding: 9px 16px; box-shadow: 4px 4px 0 var(--k-ink); } /* ── A card that takes the lead fill, and a card that is a link. Both work on .offer, .step and .ev, so a card can carry its own colour without a section of its own, and a card can be the way to a page. ── */ /* .card--lead is the bright mid-tone fill. DDR-013 caps it at large type only, so put nothing under 28px on it. For a card carrying body copy or a list, use .card--deep, whose pair is audited at normal sizes. */ .card--lead, .block .card--lead { background: var(--k-lead); color: var(--k-on-lead); border-color: var(--k-ink); } .block .card--lead a { color: var(--k-on-lead); } .card--lead .kw { color: var(--k-on-lead); } .card--lead .kw li:not(:last-child)::after { color: var(--k-on-lead); } a.step, a.offer, .site--blocks .block a.step, .site--blocks .block a.offer { text-decoration: none; transition: transform .12s ease; } .site--blocks .block a.step:hover, .site--blocks .block a.offer:hover { transform: translateY(-3px); background: var(--k-ink); color: var(--k-bg); text-decoration: none; } .site--blocks .block a.step:hover p, .site--blocks .block a.offer:hover p { color: var(--k-bg); } .card--deep, .block .card--deep { background: var(--k-deep); color: var(--k-on-deep); border-color: var(--k-ink); } .block .card--deep a { color: var(--k-on-deep); } .card--deep p, .card--deep ul, .card--deep li { color: var(--k-on-deep); } /* A list of topics inside a card: readable size, no mono, no middots. */ .card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-family: var(--text); font-weight: 500; font-size: clamp(15px, 1.1vw, 16px); line-height: 1.35; } @media (prefers-reduced-motion: reduce) { a.step, a.offer { transition: none; } } /* ── Wordmark wall ──────────────────────────────── Places someone has worked, as marks rather than a table of roles. A cell holds a word today and takes an later without the grid changing: the image is capped at the cell's height and centred, so a wordmark SVG and a square logo both sit on the same baseline. */ .marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; } .mark { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 16px 14px; color: var(--ink); text-align: center; } .mark span { font-family: var(--display); font-weight: 800; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; } .mark img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; } .block .marks a.mark { text-decoration: none; } .site--blocks .block a.mark:hover { background: var(--k-ink); color: var(--k-bg); } /* ── Gallery ────────────────────────────────────── A row of photographs that takes however many there are. auto-fit means two, three, five or eight all lay out without touching the CSS, and a short row never stretches one image across the page. Add an and stop. A
with a
works in the same grid. */ .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: clamp(28px, 4vw, 44px) 0; } .gallery > * { margin: 0; min-width: 0; } .gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-deeper); } .gallery figcaption { margin-top: 8px; font-family: var(--mono); font-size: 12px; line-height: 1.45; color: var(--ink-soft); } .gallery--tall img { aspect-ratio: 3 / 4; } @media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } } /* Colophon in the footer (project pages on this stylesheet) */ .colo { display: grid; gap: 6px; } .colo h2 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; } .colo p { margin: 0; }