/* Hallmark · shape: Stage hero, then sections set apart by space and smoked wells, not rules · genre: atmospheric · theme: kiln (dealt 2/3, seed studio-minecraft-mod-studio-d941·65972bf8·2026-12-03·r0) · kiln: ember · redesign: full · job: visit · vibe: "a dark workshop, one ember, in-game light"
 * paper: oklch(14% 0.01 40) · accent: oklch(70% 0.19 42), the studio's own rust #FF6A2B · display: Oxanium with Noto Sans TC (brand kept: the mark's wordmark is geometric, so Boska is not used) · body: Noto Sans TC · hero: the studio mark drawing itself, then the line and two pills · nav: edge-aligned, glyph and wordmark left, the current page a smoked pill · footer: a mast on the ground, the glyph over the repositories · imagery: in-game scenery the studio shot, rounded, never on every screen · signature: the mark drawing itself on the first screen
 * axes: dark/geometric-tech/warm · posture: one ember, only ever a fill · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, the pages are short and plain by the owner's choice */
/* Hallmark · dropped the fixed meridian spine, the rule between sections and every row rule · the owner found the lines too many */
/* Hallmark · waive 80 · the svg is the mark in the nav, hero and studio stage · it is the studio's own logo, its ring, meridian and wordmark, not a drawing of a subject */
/* Hallmark · waive 77 · prose sections are a heading and one paragraph · the owner wants plain studio pages, so prose stays at reading measure instead of gaining mass it has no material for */
/* Hallmark · waive 44c · inner pages open on a title and a line · on works, news, studio and the game page the first section starts on the same screen as the title, which is the point of a plain studio site */
@import url("./tokens.css?v=e1aa4ffe66");
@import url("./base.css?v=604395dec0");

body { background: var(--color-paper); }
main { display: block; }

/* ── nav ─────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 82%, transparent); backdrop-filter: blur(12px); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); border-radius: var(--radius-pill); }
.brand .glyph { width: 30px; height: 30px; }
.brand .wordmark { width: 150px; height: auto; }
.glyph-ink, .wordmark, .mark-ring, .mark-meridian, .mark-word { fill: var(--color-ink); }
.glyph-signal, .mark-signal { fill: var(--color-accent); }
.nav-links { display: flex; gap: var(--space-2xs); list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav-links a:hover { color: var(--color-ink); background: var(--color-paper-2); }
.nav-links a:active { background: var(--color-paper-3); }
.nav-links a[aria-current="page"] { color: var(--color-ink); background: var(--color-paper-3); }

/* ── type ────────────────────────────────────── */
h1, h2, h3 { font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.12; color: var(--color-ink); }
.display { font-size: var(--text-display); line-height: 1.04; }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-title); }
.lead { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 34rem; }
.body { color: var(--color-ink-2); max-width: 40rem; }
.label { font-size: var(--text-sm); color: var(--color-muted); }
.latin { font-family: var(--font-display); }
.section-head { display: grid; gap: var(--space-md); max-width: 44rem; margin-bottom: var(--space-xl); }

/* ── sections: space and wells do the separating ── */
.section { padding-block: var(--section-gap-s); }
.page-head { padding-block: var(--space-3xl) var(--space-xl); }
.page-head .lead { margin-top: var(--space-md); }
.band { background: var(--color-paper-2); color: var(--color-ink); padding-block: var(--section-gap-s); margin-block: var(--space-xl); }
main > :last-child.band { margin-bottom: 0; }

/* ── controls: an ember pill and a smoked pill ── */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); font-weight: 500; text-decoration: none; cursor: pointer; background: var(--color-accent); color: var(--color-accent-ink); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"], .btn:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }
.btn--quiet { background: var(--color-paper-3); color: var(--color-ink); }
.btn--quiet:hover { background: color-mix(in oklab, var(--color-paper-3) 70%, var(--color-ink) 12%); }
.band .btn--quiet { background: var(--color-paper); color: var(--color-ink); }
.link { color: var(--color-ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-ink-2); }
.more { margin-top: var(--space-xl); }

/* ── hero: the mark draws itself ─────────────── */
.hero { min-height: min(calc(100svh - 72px), 680px); display: grid; align-content: center; padding-block: var(--space-2xl); }
.hero .mark { width: min(100%, 620px); height: auto; overflow: visible; margin-bottom: var(--space-xl); }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: var(--space-lg); }

/* ── split: words one side, a picture the other ── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--flip > .photo-wrap { order: -1; }
.statement { font-size: var(--text-display-s); line-height: 1.06; }
.split .lead, .split .body { margin-top: var(--space-lg); }

/* ── pictures ────────────────────────────────── */
.figure { margin: 0; min-width: 0; }
.figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-photo); background: var(--color-paper-2); box-shadow: var(--shadow-card); }
.figure figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }

/* ── wells: smoked panels, no edge ───────────── */
.wells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.wells--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wells--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.well { display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-xl) var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius-well); min-width: 0; }
.band .well { background: var(--color-paper-3); color: var(--color-ink); }
.well h3 + .body, .well .label + h3 { margin-top: var(--space-2xs); }
.well .link { margin-top: var(--space-sm); justify-self: start; }
.well--now { background: var(--color-paper-3); }
.tag { justify-self: start; display: inline-flex; align-items: center; min-height: 26px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-xs); font-weight: 500; }

/* ── rows: a list set apart by space ─────────── */
.rows { display: grid; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.rows > div, .rows > li { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: var(--gap-columns); align-items: baseline; }
.rows dt, .rows .key { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); color: var(--color-ink); }
.rows dd { margin: 0; color: var(--color-ink-2); max-width: 52rem; }
.versions .key { font-size: var(--text-2xl); font-variant-numeric: tabular-nums lining-nums; }
.versions .key small { display: block; margin-top: var(--space-2xs); font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); }
.versions .what { color: var(--color-ink-2); }
.versions .what strong { display: block; color: var(--color-ink); font-weight: 700; margin-bottom: var(--space-2xs); }

/* ── the mark on the studio page ─────────────── */
.stage { padding: var(--space-3xl) var(--space-xl); background: var(--color-paper-2); border-radius: var(--radius-photo); display: grid; justify-items: center; }
.stage .mark { width: min(100%, 720px); height: auto; overflow: visible; }
.stage-actions { display: flex; justify-content: center; margin-top: var(--space-lg); }

/* the mark drawing itself: meridian, ring, the name behind a cut, the zero last */
.mark-meridian, .mark-ring, .mark-signal, .mark-wipe, .mark-cut { transform-box: fill-box; }
.mark-drop { transform-box: fill-box; transform-origin: top; animation: drop 600ms var(--ease-out) 200ms both; }
.mark-ring { transform-origin: center; animation: close 750ms var(--ease-out) 700ms both; }
.mark-wipe { transform-origin: left; animation: wipe 950ms var(--ease-in-out) 1350ms both; }
.mark-cut { fill: var(--color-ink); animation: cut 950ms var(--ease-in-out) 1350ms both; }
.mark-signal { transform-origin: center; animation: light 500ms var(--ease-out) 2450ms both; }
@keyframes drop { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes close { from { opacity: 0; transform: rotate(-24deg) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cut { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(670px); } }
@keyframes light { 0% { opacity: 0; transform: scale(0.4); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }
.replay .mark-drop, .replay .mark-ring, .replay .mark-wipe, .replay .mark-cut, .replay .mark-signal { animation-name: none; }

/* one reveal: the hero's words rise in after the mark */
.rise { animation: rise 700ms var(--ease-out) 1900ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── footer ──────────────────────────────────── */
.foot { background: var(--color-paper); padding-block: var(--space-3xl) var(--space-xl); }
.foot .glyph { width: 48px; height: 48px; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap-columns); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.foot-links h3 { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); font-weight: 400; letter-spacing: 0; margin-bottom: var(--space-xs); }
.foot-links a { display: inline-block; padding-block: var(--space-3xs); }
.foot-links .link { text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklab, var(--color-accent) 60%, transparent); }
.foot-base { margin-top: var(--space-2xl); font-size: var(--text-xs); color: var(--color-muted); }
.small { font-size: var(--text-sm); color: var(--color-muted); }

/* ── narrow windows ──────────────────────────── */
@media (max-width: 60rem) {
  .split, .split--flip { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split--flip > .photo-wrap { order: 0; }
  .wells, .wells--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows > div, .rows > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .nav .container { flex-wrap: wrap; padding-block: var(--space-xs); }
  .brand .wordmark { width: 120px; }
  .nav-links a { padding: 0 var(--space-sm); }
}
@media (max-width: 40rem) {
  .wells, .wells--two, .wells--four, .figures, .foot-links { grid-template-columns: minmax(0, 1fr); }
  .stage { padding: var(--space-xl) var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
  .mark-drop, .mark-ring, .mark-wipe, .mark-signal, .rise { animation: none; }
  .mark-cut { animation: none; opacity: 0; }
}
.well dt { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); line-height: 1.12; color: var(--color-ink); }
.well dd { margin: 0; }
