/* Andreus Forge. Colours and feel numbers first. No orange anywhere: the light here is blue-white. */
:root {
  --ink: #0a0f18;
  --ink-2: #101826;
  --steel-dark: #1a2433;
  --steel: #8fa3b8;
  --line: rgba(159, 212, 255, .16);
  --paper: #eef4fb;
  --soft: #c3d0de;
  --azure: #2f8cff;
  --azure-deep: #1563d6;
  --ice: #9fd4ff;
  --head: "Bahnschrift", "DIN Alternate", "Franklin Gothic Medium", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --top: 64px;
  --pad: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: var(--paper); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { flex: 1; display: flex; flex-direction: column; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ice); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; font-stretch: 87%; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); background: rgba(10, 15, 24, .94); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; }
.brand-name { font: 700 1.35rem/1 var(--head); font-stretch: 87%; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); }
.nav a:not(.btn) { position: relative; color: var(--paper); text-decoration: none; font-size: .9375rem; opacity: .86; padding: 8px 0; }
.nav a:not(.btn):hover { opacity: 1; color: var(--ice); }
.nav a:not(.btn)[aria-current] { opacity: 1; color: var(--ice); }
.nav a:not(.btn)[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--azure); box-shadow: 0 0 10px var(--azure); }
.nav-toggle { display: none; min-height: 42px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--steel-dark); color: var(--paper); font: 600 .9375rem var(--body); cursor: pointer; }

/* Buttons: a thick plate of blue light. Lifts under the pointer, sinks under the finger. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 7px; color: #fff; font: 700 1rem var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #4aa0ff 0%, var(--azure) 42%, var(--azure-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(234, 245, 255, .7), inset 0 -5px 0 rgba(4, 22, 58, .55), 0 0 0 1px rgba(159, 212, 255, .35), 0 14px 30px -14px rgba(47, 140, 255, .95);
  text-shadow: 0 1px 0 rgba(4, 22, 58, .5);
  transition: transform .16s cubic-bezier(.3, 1.6, .5, 1), box-shadow .16s ease, filter .16s ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 38%, rgba(234, 245, 255, .55) 50%, transparent 62%); translate: -110% 0; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(234, 245, 255, .8), inset 0 -6px 0 rgba(4, 22, 58, .55), 0 0 0 1px rgba(159, 212, 255, .6), 0 18px 34px -14px rgba(47, 140, 255, 1); }
.btn:hover::before { translate: 110% 0; transition: translate .6s ease; }
.btn:active { transform: translateY(3px); filter: brightness(.96); transition-duration: .05s; box-shadow: inset 0 2px 6px rgba(4, 22, 58, .6), inset 0 -1px 0 rgba(4, 22, 58, .55), 0 0 0 1px rgba(159, 212, 255, .9), 0 4px 12px -8px rgba(47, 140, 255, .9); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-quiet { background: linear-gradient(180deg, #223044, var(--steel-dark)); color: var(--paper); text-shadow: none; box-shadow: inset 0 1px 0 rgba(159, 212, 255, .22), inset 0 -4px 0 rgba(0, 0, 0, .4), 0 0 0 1px rgba(159, 212, 255, .4); }
.btn-quiet:hover { box-shadow: inset 0 1px 0 rgba(159, 212, 255, .3), inset 0 -5px 0 rgba(0, 0, 0, .4), 0 0 0 1px var(--ice), 0 14px 26px -16px rgba(47, 140, 255, .8); }
.btn-quiet:active { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), 0 0 0 1px var(--ice); }
.btn[aria-current] { filter: saturate(.7) brightness(.9); }
.spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: rgba(234, 245, 255, .75); translate: -50% -50%; pointer-events: none; animation: spark .5s ease-out forwards; }
@keyframes spark { to { scale: 18; opacity: 0; } }

/* Home: one full first screen. Text left, the forge right. */
.hero { position: relative; flex: 1; min-height: calc(100vh - var(--top)); min-height: calc(100svh - var(--top)); display: grid; grid-template-rows: 1fr auto; padding: 0 var(--pad); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, var(--ink) 0%, rgba(10, 15, 24, .92) 30%, rgba(10, 15, 24, .3) 58%, rgba(10, 15, 24, 0) 78%),
  linear-gradient(0deg, var(--ink) 0%, rgba(10, 15, 24, 0) 34%),
  url(img/hero-anvil-1920.webp) right center / cover no-repeat,
  radial-gradient(60% 80% at 78% 50%, #12305c 0%, var(--ink) 70%); }
.hero-copy { align-self: center; max-width: 640px; padding: clamp(12px, 3vh, 40px) 0; }
.hero h1 { font-size: clamp(2rem, min(4.6vw, 8.6vh), 4.2rem); }
.lede { margin: clamp(10px, 2.2vh, 22px) 0 0; font-size: clamp(1rem, 2.3vh, 1.2rem); line-height: 1.5; color: var(--soft); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(14px, 3vh, 30px) 0 0; }
.hero-by { margin: clamp(10px, 2vh, 18px) 0 0; font-size: .9375rem; color: var(--steel); }
.pledges { list-style: none; margin: 0 auto; padding: 0 0 clamp(12px, 2.4vh, 24px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: var(--wrap); width: 100%; }
.pledges a { display: block; height: 100%; padding: clamp(8px, 1.6vh, 14px) 16px; border-radius: 8px; background: rgba(16, 24, 38, .78); box-shadow: inset 0 0 0 1px var(--line); color: var(--paper); text-decoration: none; transition: box-shadow .2s ease, background-color .2s ease; }
.pledges a:hover { background: rgba(26, 36, 51, .95); box-shadow: inset 0 0 0 1px var(--ice), 0 0 22px -8px var(--azure); }
.pledges strong { display: block; font: 700 1.1rem/1.2 var(--head); font-stretch: 87%; color: var(--ice); }
.pledges span { font-size: .875rem; line-height: 1.35; color: var(--soft); display: block; margin-top: 2px; }

/* Inner pages: one panel that fills the first screen */
.panel { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 3.2vh, 44px) var(--pad); background: radial-gradient(90% 70% at 85% 0%, rgba(47, 140, 255, .13), transparent 60%), var(--ink); }
.panel h1 { font-size: clamp(1.8rem, min(3.6vw, 6.6vh), 3.1rem); }
.panel-lede { margin: clamp(6px, 1.4vh, 14px) 0 0; font-size: clamp(1rem, 2.1vh, 1.15rem); color: var(--soft); max-width: 40em; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(14px, 3vh, 30px) 0 0; }
.panel-note { margin: clamp(8px, 1.6vh, 16px) auto 0; font-size: .8125rem; color: var(--steel); }
.panel p { color: var(--soft); }

/* Before and after: the one toy on the site */
.cmp-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.35fr); gap: clamp(22px, 3.4vw, 52px); align-items: center; }
.cmp-copy p { margin: clamp(8px, 1.6vh, 14px) 0 0; font-size: clamp(.9375rem, 2vh, 1.0625rem); }
.cmp-task { color: var(--paper) !important; }
.cmp-read { font-weight: 600; color: var(--ice) !important; min-height: 1.6em; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp { --pos: 50%; position: relative; width: 100%; max-width: calc((100vh - 190px) * 1.78); justify-self: center; aspect-ratio: 1200 / 674; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 0 60px -20px rgba(47, 140, 255, .6); touch-action: pan-y; user-select: none; }
.cmp-after, .cmp-before, .cmp-before svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmp-after { object-fit: cover; object-position: top; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-tag { position: absolute; top: 12px; padding: 4px 12px; border-radius: 4px; font: 700 .8125rem var(--body); background: rgba(10, 15, 24, .85); color: var(--paper); transition: background-color .2s, color .2s; }
.cmp-tag-l { left: 12px; } .cmp-tag-r { right: 12px; }
.cmp.is-before .cmp-tag-l, .cmp.is-after .cmp-tag-r { background: var(--ice); color: var(--ink); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--ice); box-shadow: 0 0 16px 2px rgba(47, 140, 255, .95); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #5aa9ff, var(--azure-deep)); border: 3px solid var(--ice); box-shadow: 0 8px 22px -6px #000, 0 0 22px rgba(47, 140, 255, .8), inset 0 -4px 0 rgba(4, 22, 58, .45); transition: scale .15s cubic-bezier(.3, 1.6, .5, 1); }
.cmp-handle span::before, .cmp-handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid #fff; border-width: 0 0 3px 3px; }
.cmp-handle span::before { left: 12px; rotate: 45deg; translate: 0 -50%; }
.cmp-handle span::after { right: 12px; rotate: -135deg; translate: 0 -50%; }
.cmp:hover .cmp-handle span { scale: 1.06; }
.cmp.is-drag .cmp-handle span { scale: .92; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(.cmp-range:focus-visible) { outline: 3px solid var(--ice); outline-offset: 4px; }
.cmp.is-invite .cmp-handle, .cmp.is-invite .cmp-before { transition: left .9s cubic-bezier(.5, 0, .2, 1), clip-path .9s cubic-bezier(.5, 0, .2, 1); }

/* Three sizes: rows on a bench */
.jobs { display: grid; margin-top: clamp(12px, 2.6vh, 28px); border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 3vw, 44px); padding: clamp(10px, 2.2vh, 24px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.job h2 { font-size: clamp(1.4rem, min(2.6vw, 4.6vh), 2.1rem); color: var(--ice); }
.job p { margin: 0; font-size: clamp(.9375rem, 2vh, 1.0625rem); }
.job-when { color: var(--steel) !important; }

.steps { list-style: none; margin: clamp(14px, 3vh, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--azure); box-shadow: 0 -8px 18px -12px var(--azure); padding-top: clamp(8px, 1.6vh, 16px); }
.steps li::before { content: counter(s); display: block; font: 700 clamp(1.8rem, 5vh, 2.6rem)/1 var(--head); color: var(--steel); margin-bottom: 6px; }
.steps h2 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .9375rem; }

.examples { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 32px); margin-top: clamp(12px, 2.6vh, 26px); align-items: stretch; }
.example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 10px; overflow: hidden; background: var(--ink-2); color: var(--paper); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.example:hover { box-shadow: 0 0 0 2px var(--ice), 0 0 40px -14px var(--azure); }
.example img { width: 100%; height: 100%; min-height: 150px; max-height: calc(100vh - 330px); object-fit: cover; object-position: top left; }
.example-body { padding: clamp(14px, 2.4vh, 24px) 20px; display: flex; flex-direction: column; gap: 8px; }
.example-body strong { font: 700 1.45rem/1.15 var(--head); font-stretch: 87%; }
.example-body span { color: var(--soft); font-size: .9375rem; }
.example-body em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--ice); }
.example-live { grid-template-columns: minmax(0, 1fr); background: linear-gradient(135deg, #14233a, var(--ink-2)); }

.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4.4vw, 68px); align-items: center; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(12px, 2.6vh, 24px); }
.contact-points { margin: clamp(12px, 2.6vh, 24px) 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--soft); font-size: .9375rem; }
.contact-points li { padding-left: 20px; position: relative; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--azure); box-shadow: 0 0 8px var(--azure); }
.who { border-left: 3px solid var(--azure); padding-left: clamp(16px, 2.4vw, 28px); }
.who h2 { font-size: 1.4rem; margin-bottom: 10px; }
.who p { font-size: clamp(.9375rem, 2vh, 1.0625rem); }
.who-name { color: var(--paper) !important; font-weight: 600; margin: 0; }

.foot { padding: 14px var(--pad) 16px; border-top: 1px solid var(--line); text-align: center; color: var(--steel); font-size: .875rem; }
.foot p { margin: 0 0 2px; }
.foot-small { font-size: .75rem; opacity: .85; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: var(--top); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 16px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav .btn { margin-top: 12px; }
  .hero-art { background:
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 15, 24, .9) 46%, rgba(10, 15, 24, .4) 100%),
    url(img/hero-anvil-1920.webp) 72% center / cover no-repeat,
    radial-gradient(80% 60% at 70% 30%, #12305c 0%, var(--ink) 70%); }
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples, .contact, .cmp-grid, .example { grid-template-columns: minmax(0, 1fr); }
  .job { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cmp { max-width: none; }
  .panel { justify-content: flex-start; }
}
@media (max-width: 480px) { .pledges, .steps { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before, .cmp-handle span, .cmp.is-invite .cmp-handle, .cmp.is-invite .cmp-before, .pledges a, .example { transition: none; }
  .btn:hover { transform: none; }
  .spark { display: none; }
}

/* ---------- Round 2: Codex's cosmetic review. Less glow, one left edge, real pictures. ---------- */
:root { color-scheme: dark; --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2)); }
::selection { background: var(--ice); color: var(--ink); }
.top, .hero { padding-inline: var(--edge); }
.brand-mark { border-radius: 0; }
.nav a:not(.btn)[aria-current]::after { box-shadow: none; background: var(--ice); }
.btn[aria-current] { filter: none; }
.btn { outline-offset: 4px; }

/* Home: the four links become one low strip under a seam of light */
.pledges { gap: 0; padding: 0 0 clamp(8px, 1.8vh, 18px); background: url(img/seam-blue-1600.webp) center top / 100% 26px no-repeat; }
.pledges a { background: none; box-shadow: none; border-radius: 0; padding: clamp(12px, 2.2vh, 20px) 16px clamp(4px, 1vh, 10px); border-left: 1px solid var(--line); }
.pledges li:first-child a { border-left: 0; padding-left: 0; }
.pledges a:hover { background: none; box-shadow: none; }
.pledges a:hover strong { color: var(--ice); text-decoration: underline; text-underline-offset: 4px; }
.pledges strong { color: var(--paper); }
.pledges span { color: var(--steel); }
.hero h1 { max-width: 13em; }

/* Inner pages: heading always starts at the same height */
.panel { justify-content: flex-start; padding-top: clamp(18px, 4vh, 40px); padding-inline: var(--edge); background: var(--ink); }
.panel .wrap { max-width: none; }
.panel-star { position: relative; isolation: isolate; }
.panel-star::before { content: ""; position: absolute; inset: 0 0 auto 0; height: min(64vh, 420px); z-index: -1;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(10, 15, 24, .9) 38%, rgba(10, 15, 24, .15) 72%, rgba(10, 15, 24, .25) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(10, 15, 24, 0) 55%), url(img/hero-starforge-1920.webp) right 38% / cover no-repeat; }
.steps { background: url(img/seam-blue-1600.webp) center top / 100% 22px no-repeat; padding-top: 6px; }
.steps li { border-top: 0; box-shadow: none; }
.steps li::before { font-size: 1.7rem; }
.steps p { font-size: 1rem; }

/* The comparison: a recessed frame and a steel handle, so the pictures are the brightest thing */
.cmp { box-shadow: 0 0 0 1px rgba(159, 212, 255, .22), 0 0 0 7px #121a27, 0 0 0 8px rgba(159, 212, 255, .12), 0 18px 30px -18px #000; }
.cmp-handle { width: 2px; margin-left: -1px; box-shadow: 0 0 0 1px rgba(10, 15, 24, .5); }
.cmp-handle span { width: 44px; height: 44px; background: linear-gradient(180deg, #2a3a50, #162030); border: 2px solid var(--ice); box-shadow: 0 3px 6px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(159, 212, 255, .3); }
.cmp-handle span::before { left: 9px; }
.cmp-handle span::after { right: 9px; }
.cmp-handle span::before, .cmp-handle span::after { width: 8px; height: 8px; border-color: var(--ice); border-width: 0 0 2px 2px; }

/* Three sizes */
.jobs { border-top: 0; background: url(img/seam-blue-1600.webp) center top / 100% 22px no-repeat; }
.job { grid-template-columns: 10rem minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
.job h2 { color: var(--paper); font-size: 1.5rem; }
.job p { font-size: 1rem; }

/* Examples: two pictures of the real work, captions underneath */
.examples { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.example { display: flex; flex-direction: column; background: none; box-shadow: none; border-radius: 0; }
.example:hover { box-shadow: none; }
.example img { height: clamp(150px, calc(100vh - 372px), 420px); min-height: 0; max-height: none; width: 100%; object-fit: cover; object-position: top center; border-radius: 8px; box-shadow: 0 0 0 1px rgba(159, 212, 255, .22), 0 3px 6px rgba(0, 0, 0, .6); transition: box-shadow .15s ease; }
.example:hover img { box-shadow: 0 0 0 2px var(--ice), 0 3px 6px rgba(0, 0, 0, .6); }
.example-body { padding: 12px 0 0; gap: 4px; }
.example-body strong { font-size: 1.35rem; }
.example:hover strong { color: var(--ice); }

/* Free preview: the quiet page */
.contact { align-items: start; }
.who { border-left: 1px solid rgba(143, 163, 184, .45); }
.who p { max-width: 48ch; }
.link-btn { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ice); font: 600 1rem var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.contact-actions { align-items: center; }

.foot { text-align: left; padding-inline: var(--edge); }
.foot .wrap { max-width: none; margin: 0; }
@media (max-width: 860px) {
  .pledges { background-size: 100% 18px; }
  .pledges a { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .pledges li:first-child a { border-top: 0; }
  .job { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .example img { height: auto; aspect-ratio: 16 / 9; }
  .hero-art { background:
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 15, 24, .82) 40%, rgba(10, 15, 24, .15) 72%),
    url(img/hero-anvil-1920.webp) 78% top / auto 62% no-repeat, var(--ink); }
  .hero-copy { align-self: end; }
}

.brand-mark { width: 44px; height: 44px; }

/* ---------- Round 3: home is one full painting, top to bottom, with everything on one screen ---------- */
.is-home { --foot: 34px; height: 100vh; height: 100svh; min-height: 520px; position: relative; isolation: isolate; }
.is-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 15, 24, .94) 0%, rgba(10, 15, 24, .82) 28%, rgba(10, 15, 24, .22) 56%, rgba(10, 15, 24, 0) 76%),
  linear-gradient(0deg, rgba(10, 15, 24, .9) 0%, rgba(10, 15, 24, 0) 32%),
  linear-gradient(180deg, rgba(10, 15, 24, .7) 0%, rgba(10, 15, 24, 0) 16%),
  var(--home-art, url(img/hero-anvil-1920.webp)) right center / cover no-repeat, var(--ink); }
.is-home .top { background: none; border-bottom: 0; position: relative; }
.is-home main { min-height: 0; }
.is-home .hero { min-height: 0; padding-bottom: 0; }
.is-home .hero-art { display: none; }
.is-home .pledges { padding-bottom: clamp(6px, 1.4vh, 14px); }
.is-home .foot { border-top: 0; background: none; height: var(--foot); padding-block: 6px 0; font-size: .8125rem; }
@media (max-width: 860px) {
  .is-home { height: auto; min-height: 100svh; }
  .is-home::before { position: fixed; background:
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 15, 24, .86) 42%, rgba(10, 15, 24, .2) 74%),
    var(--home-art, url(img/hero-anvil-1920.webp)) 78% top / auto 62% no-repeat, var(--ink); }
  .is-home .foot { height: auto; padding-block: 12px 16px; }
}

/* ---------- Round 4b: slim interim buttons while the new plates are chosen (the forged plates were rejected as bulky) ---------- */
.btn { min-height: 48px; padding: 0 26px; border-radius: 3px; background: linear-gradient(180deg, #1b4f9e, #123a78); text-shadow: none; letter-spacing: .02em;
  box-shadow: inset 0 1px 0 var(--ice), inset 0 0 0 1px rgba(159, 212, 255, .35), 0 6px 14px -8px rgba(47, 140, 255, .7);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; filter: none; }
.btn::before { display: none; }
.btn:hover { transform: translateY(-1px); filter: none; background: linear-gradient(180deg, #2260bb, #164590); box-shadow: inset 0 1px 0 #eaf5ff, inset 0 0 0 1px rgba(159, 212, 255, .7), 0 8px 18px -8px rgba(47, 140, 255, .9); }
.btn:active { transform: translateY(1px); filter: none; background: #103366; box-shadow: inset 0 0 0 1px var(--ice), inset 0 2px 5px rgba(4, 12, 28, .7); }
.btn-quiet { background: rgba(16, 24, 38, .7); box-shadow: inset 0 0 0 1px rgba(159, 212, 255, .4); }
.btn-quiet:hover { background: rgba(26, 36, 51, .9); box-shadow: inset 0 0 0 1px var(--ice); }
.btn-quiet:active { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ice); }
.btn-small { min-height: 40px; padding: 0 18px; }
.spark { display: none; }

/* Round 5: Codex lettering and wider home painting */
.brand-word { height: 17px; width: auto; }
.is-home { --home-art: url(img/home-full-1920.webp); }
.is-home::before { background-position: 0 0, 0 0, 0 0, center center; }
@media (max-width: 480px) { .brand-word { height: 14px; } }

/* ---------- Round 6: Waterline Cut Crystal (Codex option 02). Buttons, menu rail and home tiles. ---------- */
/* Buttons: the plate is a nine-slice on ::before, so the live label can sit over the shoulders. */
.btn, .btn-quiet { position: relative; isolation: isolate; min-height: 52px; padding: 0 34px; border: 0; border-radius: 26px; background: none; box-shadow: none; filter: none; text-shadow: 0 1px 2px rgba(4, 12, 28, .7); letter-spacing: .01em; overflow: visible;
  transition: transform .12s ease; }
.btn::before { content: ""; display: block; position: absolute; inset: 0; z-index: -1; translate: none; background: none;
  border-style: solid; border-color: transparent; border-width: 13px 52px;
  border-image: url(img/c/crystal-main-rest.webp) 39 156 fill / 13px 52px stretch; transition: none; }
.btn:hover, .btn-quiet:hover { background: none; box-shadow: none; filter: none; transform: translateY(-1px); }
.btn:hover::before { border-image-source: url(img/c/crystal-main-hover.webp); translate: none; }
.btn:active, .btn-quiet:active { background: none; box-shadow: none; filter: none; transform: translateY(1px); transition-duration: .04s; }
.btn:active::before { border-image-source: url(img/c/crystal-main-pressed.webp); }
.btn-quiet::before { border-image-source: url(img/c/crystal-quiet-rest.webp); }
.btn-quiet:hover::before { border-image-source: url(img/c/crystal-quiet-hover.webp); }
.btn-quiet:active::before { border-image-source: url(img/c/crystal-quiet-pressed.webp); }
.btn-small { min-height: 44px; padding: 0 28px; border-radius: 22px; }
.btn-small::before { border-width: 11px 44px; border-image-width: 11px 44px; }
.btn:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }
body::after { content: ""; position: absolute; width: 0; height: 0; overflow: hidden; background: url(img/c/crystal-main-hover.webp), url(img/c/crystal-main-pressed.webp), url(img/c/crystal-quiet-hover.webp), url(img/c/crystal-quiet-pressed.webp), url(img/c/rail-hover.webp), url(img/c/tile-hover.webp); }

/* Menu: four links in one bar of crystal */
.rail { display: flex; height: 40px; background:
  url(img/c/rail-left.webp) left top / 38px 40px no-repeat,
  url(img/c/rail-right.webp) right top / 34px 40px no-repeat,
  url(img/c/rail-mid.webp) 38px 0 / calc(100% - 72px) 40px no-repeat; }
.nav .rail a { position: relative; display: flex; align-items: center; height: 40px; padding: 0 18px; color: var(--paper); opacity: 1; font-weight: 600; font-size: .9375rem; text-decoration: none; isolation: isolate; }
.nav .rail a:first-child { padding-left: 24px; }
.nav .rail a:last-child { padding-right: 24px; }
.nav .rail a + a::before { content: ""; position: absolute; left: -6px; top: 0; width: 12px; height: 40px; background: url(img/c/rail-joint.webp) center / 12px 40px no-repeat; }
.nav .rail a::after { content: ""; position: absolute; inset: 0 8px; z-index: -1; opacity: 0; box-shadow: none; background: none; height: auto;
  border-style: solid; border-color: transparent; border-width: 0 18px; border-image: url(img/c/rail-hover.webp) 0 54 fill / 0 18px stretch; transition: opacity .15s ease; }
.nav .rail a:hover { color: #fff; }
.nav .rail a:hover::after { opacity: 1; }
.nav .rail a[aria-current] { color: #fff; }
.nav .rail a[aria-current]::after { opacity: 1; inset: 0; border: 0; border-image: none; background: url(img/c/rail-current.webp) center / min(100px, 100%) 40px no-repeat; }

/* Home: the four links are one longer bar of the same crystal, sitting on the floor of the painting */
.pledges { gap: 0; padding: 0; margin-bottom: clamp(8px, 2.2vh, 20px); height: 76px; grid-template-columns: 1.32fr 1.12fr .96fr 1.22fr; background:
  url(img/c/tile-left.webp) left top / 48px 76px no-repeat,
  url(img/c/tile-right.webp) right top / 48px 76px no-repeat,
  url(img/c/tile-mid.webp) 48px 0 / calc(100% - 96px) 76px no-repeat; }
.is-home .pledges { padding-bottom: 0; }
.pledges li { position: relative; }
.pledges li + li::before { content: ""; position: absolute; left: -7px; top: 0; width: 14px; height: 76px; background: url(img/c/tile-joint.webp) center / 14px 76px no-repeat; pointer-events: none; }
.pledges a, .pledges li:first-child a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; height: 76px; padding: 0 22px; border: 0; background: none; }
.pledges li:first-child a { padding-left: 34px; }
.pledges li:last-child a { padding-right: 34px; }
.pledges a::after { content: ""; position: absolute; inset: 0 8px; z-index: -1; opacity: 0; border-style: solid; border-color: transparent; border-width: 0 24px; border-image: url(img/c/tile-hover.webp) 0 72 fill / 0 24px stretch; transition: opacity .15s ease; }
.pledges a:hover::after, .pledges a:focus-visible::after { opacity: 1; }
.pledges a:hover strong { text-decoration: none; color: #fff; }
.pledges a:active { transform: translateY(1px); }
.pledges strong { font: 700 1rem/1.25 var(--body); color: var(--paper); }
.pledges span { font-size: .875rem; line-height: 1.3; color: var(--soft); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 860px) {
  .rail { display: block; height: auto; background: none; }
  .nav .rail a { height: auto; padding: 14px 0 !important; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav .rail a::before, .nav .rail a::after { display: none; }
  .nav .rail a[aria-current] { color: var(--ice); }
  .pledges { height: auto; background: none; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 14px; }
  .pledges li + li::before { display: none; }
  .pledges a, .pledges li:first-child a, .pledges li:last-child a { height: auto; min-height: 64px; padding: 10px 30px; border: 0; }
  .pledges a::after { opacity: 1; inset: 0; border-width: 13px 52px; border-image: url(img/c/crystal-quiet-rest.webp) 39 156 fill / 13px 52px stretch; }
  .pledges span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active, .pledges a:active { transform: none; } .nav .rail a::after, .pledges a::after { transition: none; } }

/* ---------- Round 7: buttons are Codex's generated plate 04, Glacier Cleavage (three-slice: square ends fixed, middle stretched).
   To try plate 02 instead, change --plate to url(img/plate-02.webp). ---------- */
:root { --plate: url(img/plate-04.webp); }
.btn, .btn-quiet { min-height: 52px; padding: 0 40px; border-radius: 12px; text-shadow: 0 1px 3px rgba(2, 8, 20, .95), 0 0 10px rgba(2, 8, 20, .7); }
.btn::before { border-width: 0 52px; border-image: var(--plate) 0 208 fill / 0 52px stretch; transition: filter .15s ease; }
.btn:hover::before { border-image-source: var(--plate); filter: brightness(1.22) saturate(1.15); }
.btn:active::before { border-image-source: var(--plate); filter: brightness(.82) saturate(1.1); }
.btn-quiet::before { border-image-source: var(--plate); filter: saturate(.35) brightness(.72); }
.btn-quiet:hover::before { border-image-source: var(--plate); filter: saturate(.7) brightness(.95); }
.btn-quiet:active::before { border-image-source: var(--plate); filter: saturate(.5) brightness(.6); }
.btn-small { min-height: 44px; padding: 0 34px; border-radius: 10px; }
.btn-small::before { border-width: 0 44px; border-image-width: 0 44px; }
.brand-mark { width: 50px; height: 50px; margin-block: -4px; }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }

/* ---------- Round 8: one painted family for buttons, menu bar and home links (Codex, generated).
   Family 04 Glacier Cleavage is the default. Add ?family=02 to the address to see Dreamthread Glass. ---------- */
:root {
  --m-rest: url(img/f/g04-main-rest.webp); --m-hover: url(img/f/g04-main-hover.webp); --m-press: url(img/f/g04-main-pressed.webp);
  --q-rest: url(img/f/g04-quiet-rest.webp); --q-hover: url(img/f/g04-quiet-hover.webp); --q-press: url(img/f/g04-quiet-pressed.webp);
  --r-left: url(img/f/g04-rail-left.webp); --r-right: url(img/f/g04-rail-right.webp); --r-mid: url(img/f/g04-rail-mid.webp); --r-joint: url(img/f/g04-rail-joint.webp); --r-lit: url(img/f/g04-rail-lit.webp);
  --t-left: url(img/f/g04-tile-left.webp); --t-right: url(img/f/g04-tile-right.webp); --t-mid: url(img/f/g04-tile-mid.webp); --t-joint: url(img/f/g04-tile-joint.webp); --t-lit: url(img/f/g04-tile-lit.webp);
}
html[data-family="02"] {
  --m-rest: url(img/f/g02-main-rest.webp); --m-hover: url(img/f/g02-main-hover.webp); --m-press: url(img/f/g02-main-pressed.webp);
  --q-rest: url(img/f/g02-quiet-rest.webp); --q-hover: url(img/f/g02-quiet-hover.webp); --q-press: url(img/f/g02-quiet-pressed.webp);
  --r-left: url(img/f/g02-rail-left.webp); --r-right: url(img/f/g02-rail-right.webp); --r-mid: url(img/f/g02-rail-mid.webp); --r-joint: url(img/f/g02-rail-joint.webp); --r-lit: url(img/f/g02-rail-lit.webp);
  --t-left: url(img/f/g02-tile-left.webp); --t-right: url(img/f/g02-tile-right.webp); --t-mid: url(img/f/g02-tile-mid.webp); --t-joint: url(img/f/g02-tile-joint.webp); --t-lit: url(img/f/g02-tile-lit.webp);
}
.btn::before { border-image-source: var(--m-rest); filter: none; transition: none; }
.btn:hover::before { border-image-source: var(--m-hover); filter: none; }
.btn:active::before { border-image-source: var(--m-press); filter: none; }
.btn-quiet::before { border-image-source: var(--q-rest); filter: none; }
.btn-quiet:hover::before { border-image-source: var(--q-hover); filter: none; }
.btn-quiet:active::before { border-image-source: var(--q-press); filter: none; }
body::after { background: var(--m-hover), var(--m-press), var(--q-hover), var(--q-press), var(--r-lit), var(--t-lit); }

/* Menu bar */
.rail { position: relative; isolation: isolate; background: var(--r-left) left top / 28px 40px no-repeat, var(--r-right) right top / 28px 40px no-repeat; }
.rail::before { content: ""; position: absolute; inset: 0 28px; z-index: -2; background: var(--r-mid) left top / 128px 40px round; }
.nav .rail a { padding: 0 20px; text-shadow: 0 1px 3px rgba(2, 8, 20, .95); }
.nav .rail a:first-child { padding-left: 30px; }
.nav .rail a:last-child { padding-right: 30px; }
.nav .rail a + a::before { left: -11px; width: 22px; background: var(--r-joint) center / 22px 40px no-repeat; }
.nav .rail a::after { inset: 0 11px; border: 0; border-image: none; background: var(--r-lit) center top / 128px 40px round; }
.nav .rail a:first-child::after { left: 26px; }
.nav .rail a:last-child::after { right: 26px; }
.nav .rail a[aria-current]::after { inset: 0 11px; background: var(--r-lit) center top / 128px 40px round; }
.nav .rail a:first-child[aria-current]::after { left: 26px; }
.nav .rail a:last-child[aria-current]::after { right: 26px; }

/* Home link bar */
.pledges { position: relative; isolation: isolate; background: var(--t-left) left top / 42px 76px no-repeat, var(--t-right) right top / 42px 76px no-repeat; }
.pledges::before { content: ""; position: absolute; inset: 0 42px; z-index: -2; background: var(--t-mid) left top / 192px 76px round; }
.pledges li + li::before { left: -16px; width: 32px; background: var(--t-joint) center / 32px 76px no-repeat; }
.pledges a, .pledges li:first-child a { padding: 0 26px; text-shadow: 0 1px 3px rgba(2, 8, 20, .95); }
.pledges li:first-child a { padding-left: 42px; }
.pledges li:last-child a { padding-right: 42px; }
.pledges a::after { inset: 0 16px; border: 0; border-image: none; background: var(--t-lit) center top / 192px 76px round; }
.pledges li:first-child a::after { left: 40px; }
.pledges li:last-child a::after { right: 40px; }

@media (max-width: 860px) {
  .rail, .rail::before { background: none; }
  .pledges, .pledges::before { background: none; }
  .pledges a, .pledges li:first-child a, .pledges li:last-child a { padding: 10px 44px; }
  .pledges a::after, .pledges li:first-child a::after, .pledges li:last-child a::after { opacity: 1; inset: 0; background: none; border-style: solid; border-color: transparent; border-width: 0 64px; border-image: var(--q-rest) 0 208 fill / 0 64px stretch; }
}

/* ---------- Round 9: his choice on 1 Dec: ice (04) for the separate buttons, Dreamthread glass (02) for the joined menu bar and home links.
   ?family=04 shows everything in ice, ?family=02 everything in glass, ?family=mix returns to this. ---------- */
:root {
  --r-left: url(img/f/g02-rail-left.webp); --r-right: url(img/f/g02-rail-right.webp); --r-mid: url(img/f/g02-rail-mid.webp); --r-joint: url(img/f/g02-rail-joint.webp); --r-lit: url(img/f/g02-rail-lit.webp);
  --t-left: url(img/f/g02-tile-left.webp); --t-right: url(img/f/g02-tile-right.webp); --t-mid: url(img/f/g02-tile-mid.webp); --t-joint: url(img/f/g02-tile-joint.webp); --t-lit: url(img/f/g02-tile-lit.webp);
}
html[data-family="04"] {
  --r-left: url(img/f/g04-rail-left.webp); --r-right: url(img/f/g04-rail-right.webp); --r-mid: url(img/f/g04-rail-mid.webp); --r-joint: url(img/f/g04-rail-joint.webp); --r-lit: url(img/f/g04-rail-lit.webp);
  --t-left: url(img/f/g04-tile-left.webp); --t-right: url(img/f/g04-tile-right.webp); --t-mid: url(img/f/g04-tile-mid.webp); --t-joint: url(img/f/g04-tile-joint.webp); --t-lit: url(img/f/g04-tile-lit.webp);
}

/* ---------- Round 10 (6 Dec): his choice: the four home links become four separate ice plates (family 04),
   matching the single buttons, instead of the joined glass bar. ---------- */
.pledges, html[data-family] .pledges { gap: 14px; height: auto; background: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pledges::before { display: none; }
.pledges li + li::before { display: none; }
.pledges a, .pledges li:first-child a, .pledges li:last-child a { height: 72px; min-height: 0; padding: 0 40px; justify-content: center; text-align: center; align-items: center; }
.pledges a::after, .pledges li:first-child a::after, .pledges li:last-child a::after {
  opacity: 1; inset: 0; background: none; border-style: solid; border-color: transparent;
  border-width: 0 52px; border-image: var(--q-rest) 0 208 fill / 0 52px stretch; transition: none;
}
.pledges a:hover::after, .pledges a:focus-visible::after { border-image-source: var(--q-hover); }
.pledges a:active::after { border-image-source: var(--q-press); }
.pledges strong { font-size: 1rem; }
.pledges span { white-space: normal; overflow: visible; font-size: .82rem; }
@media (max-width: 1100px) { .pledges, html[data-family] .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .pledges, html[data-family] .pledges { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pledges a, .pledges li:first-child a, .pledges li:last-child a { height: auto; min-height: 62px; padding: 10px 44px; }
}
