@layer reset, tokens, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
  ol, ul { padding: 0; }
  button, a { font: inherit; }
  button { color: inherit; }
}

@layer tokens {
  :root {
    --ink: #11120f;
    --ink-soft: #262822;
    --muted: #66685f;
    --paper: #f5f3ed;
    --surface: #fcfbf7;
    --line: #d8d5ca;
    --line-strong: #b7b4aa;
    --orange: #f7931a;
    --orange-deep: #9b4a00;
    --orange-pale: #ffead0;
    --night: #172019;
    --sage: #dfe7dc;
    --green: #244e35;
    --max: 1180px;
    --radius: 6px;
    --header-height: 84px;
  }
}

@layer base {
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
  }
  body::before {
    background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #11120f09 25%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: -1;
  }
  a { color: inherit; }
  h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.045em; line-height: .98; }
  h1 { font-size: clamp(3.6rem, 8.3vw, 7.4rem); }
  h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
  h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
  h4 { font-size: 1.35rem; }
  em { color: var(--orange-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
  code { background: #e8e5dc; border-radius: 3px; font-size: .9em; padding: .12rem .35rem; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
}

@layer layout {
  .site-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e7e3d8;
    display: flex;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 0 max(1.25rem, calc((100vw - var(--max)) / 2));
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .site-header nav { align-items: center; display: flex; gap: clamp(.8rem, 1.8vw, 1.8rem); }
  .site-header nav a { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; }
  .site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }
  .site-header nav a[aria-current="page"]::after { background: var(--orange); content: ""; display: block; height: 2px; margin-top: .35rem; }
  main { margin: 0 auto; max-width: var(--max); min-height: 75vh; padding: 0 1.25rem 8rem; }
  .section { border-top: 1px solid var(--line); padding: clamp(5rem, 10vw, 9rem) 0; }
  .section-heading { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; margin-bottom: 4rem; }
  .section-heading .overline { grid-column: 1 / -1; }
  .section-heading p { color: var(--muted); font-size: 1.1rem; max-width: 500px; }
  footer {
    background: #000;
    color: #f6f4ed;
    display: grid;
    gap: 3rem;
    grid-template-columns: 2fr repeat(3, 1fr);
    padding: 5rem max(1.25rem, calc((100vw - var(--max)) / 2)) 2rem;
  }
  footer > div:not(.footer__brand) { display: flex; flex-direction: column; gap: .6rem; }
  footer > div > span { color: #8e9d91; font-size: .67rem; font-weight: 700; letter-spacing: .13em; margin-bottom: .5rem; text-transform: uppercase; }
  footer a:not(.brand) { font-size: .86rem; text-decoration: none; }
  .footer__brand p { color: #aab5ac; margin-top: 1.4rem; }
  .footer__constellation { border-top: 1px solid #ffffff24; display: block !important; grid-column: 1 / -1; padding-top: 1.5rem; }
  .footer__legal { border-top: 1px solid #ffffff24; color: #8e9d91; font-size: .76rem; grid-column: 1 / -1; padding-top: 1.5rem; }
}

@layer components {
  .skip-link { background: var(--ink); color: white; left: 1rem; padding: .7rem 1rem; position: fixed; top: -5rem; z-index: 100; }
  .skip-link:focus { top: 1rem; }
  .brand { align-items: center; display: inline-flex; font-size: .96rem; font-weight: 750; gap: .85rem; letter-spacing: -.02em; text-decoration: none; }
  .brand__mark { align-items: center; display: inline-flex; flex: 0 0 auto; justify-content: center; width: 3.75rem; }
  .brand__mark img { display: block; height: auto; max-height: 3rem; width: 100%; }
  .brand--footer .brand__mark { width: 3.4rem; }
  .menu-button { align-items: center; background: transparent; border: 1px solid var(--line-strong); border-radius: 99px; display: none; font-size: .8rem; justify-content: center; min-height: 44px; min-width: 44px; padding: .42rem .8rem; }
  .footer__constellation a { align-items: center; color: #aab5ac; display: inline-flex; font-size: .68rem !important; gap: .7rem; letter-spacing: .07em; text-transform: uppercase; }
  .footer__constellation img { height: 32px; object-fit: contain; width: 20px; }
  .overline { color: var(--orange-deep); display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
  .hero { display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: minmax(0, 1.5fr) minmax(270px, .5fr); min-height: min(780px, calc(100vh - var(--header-height))); padding: clamp(4rem, 10vh, 8rem) 0 6rem; }
  .hero__content h1 { margin-top: 1.4rem; }
  .hero__content > p { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.4rem); margin-top: 2rem; max-width: 650px; }
  .actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.5rem; }
  .button { align-items: center; border: 1px solid var(--ink); border-radius: 99px; display: inline-flex; font-size: .82rem; font-weight: 750; justify-content: center; letter-spacing: .02em; min-height: 48px; padding: .7rem 1.25rem; text-decoration: none; }
  .button--primary { background: var(--ink); color: white; }
  .button--primary:hover { background: var(--orange); color: var(--ink); }
  .button--secondary { background: transparent; }
  .button--light { border-color: white; color: white; margin-top: 2rem; }
  .orientation { background: var(--night); color: white; padding: 1.7rem; }
  .orientation > span { color: #94a197; font-family: ui-monospace, monospace; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
  .orientation ol { list-style: none; margin-top: 2rem; }
  .orientation li { border-top: 1px solid #ffffff26; display: flex; flex-direction: column; padding: 1rem 0; }
  .orientation li strong { font-size: .94rem; }
  .orientation li small { color: #a9b4ac; margin-top: .15rem; }
  .orientation > p { color: #94a197; font-size: .72rem; margin-top: 1.4rem; }
  .why { align-items: start; display: grid; gap: 4rem; grid-template-columns: 1.2fr .8fr; }
  .why h2 { margin-top: 1.2rem; }
  .why__copy { padding-top: 2.2rem; }
  .why__copy p { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }
  .text-link, .context-link { font-size: .84rem; font-weight: 750; text-decoration-color: var(--orange); text-underline-offset: .4rem; }
  .section-link { display: inline-block; margin-top: 2rem; }
  .path-preview { border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(5, 1fr); }
  .path-preview__item { border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; min-height: 190px; padding: 1.3rem 1rem; text-decoration: none; }
  .path-preview__item + .path-preview__item { border-left: 1px solid var(--line); }
  .path-preview__item:hover { background: var(--surface); }
  .path-preview__item > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .7rem; }
  .path-preview__item strong { font-size: .87rem; letter-spacing: .08em; margin-top: auto; }
  .path-preview__item small { color: var(--muted); margin-top: .35rem; }
  .event-feature { background: var(--surface); border: 1px solid var(--line-strong); display: grid; grid-template-columns: 185px minmax(0, 1fr) 180px; }
  .event-feature > div { padding: 1.8rem; }
  .event-feature__date { background: var(--orange); display: flex; flex-direction: column; }
  .event-feature__date span { font-size: .82rem; }
  .event-feature__date strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 400; margin-top: auto; }
  .meta-row { color: var(--orange-deep); display: flex; flex-wrap: wrap; font-family: ui-monospace, monospace; font-size: .65rem; gap: 1rem; letter-spacing: .08em; text-transform: uppercase; }
  .event-feature__body h3 { margin-top: 1.2rem; }
  .event-feature__body > p { color: var(--muted); margin-top: 1rem; max-width: 650px; }
  .event-relations { align-items: center; display: flex; flex-wrap: wrap; font-size: .75rem; gap: .7rem; margin-top: 1.5rem; }
  .event-relations strong { color: var(--muted); }
  .event-relations a { background: var(--orange-pale); border-radius: 99px; padding: .25rem .65rem; text-decoration: none; }
  .event-feature__place { border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
  .event-feature__place > span, .event-row > div:last-child > span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
  .event-feature__place strong { font-size: .9rem; margin: .5rem 0 1.5rem; }
  .event-feature__place a { font-size: .75rem; font-weight: 700; }
  .tool-grid { display: grid; gap: .8rem; grid-template-columns: repeat(3, 1fr); }
  .tool-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 300px; padding: 1.4rem; }
  .tool-card--priority { border-top: 4px solid var(--orange); }
  .tool-card__top { align-items: center; display: flex; justify-content: space-between; }
  .rank { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .68rem; }
  .offline { border: 1px solid var(--line-strong); border-radius: 99px; color: var(--muted); font-size: .59rem; letter-spacing: .06em; padding: .25rem .48rem; text-transform: uppercase; }
  .tool-card h3 { margin-top: 3.2rem; }
  .tool-card > p { color: var(--muted); margin-top: 1rem; }
  .tool-card dl { border-top: 1px solid var(--line); display: flex; gap: 1.5rem; margin-top: auto; padding-top: 1rem; }
  .tool-card dl div { display: flex; gap: .4rem; }
  .tool-card dt { color: var(--muted); font-size: .7rem; }
  .tool-card dd { font-size: .7rem; font-weight: 700; text-transform: uppercase; }
  .gate, .safe-candidate { color: var(--orange-deep); font-size: .68rem; margin-top: 1rem; }
  .safe-candidate { color: var(--green); }
  .metropole-band { background: var(--night); color: white; display: grid; gap: 5rem; grid-template-columns: 1fr 1fr; margin: 2rem 0; padding: clamp(3rem, 8vw, 7rem); }
  .metropole-band h2 { margin-top: 1.2rem; }
  .metropole-band > div:last-child { padding-top: 2.1rem; }
  .metropole-band p { color: #b5c0b7; font-size: 1.1rem; }
  .link-cards { display: grid; grid-template-columns: repeat(3, 1fr); }
  .link-cards a { border-bottom: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; min-height: 210px; padding: 1.4rem; text-decoration: none; }
  .link-cards a + a { border-left: 1px solid var(--line); }
  .link-cards span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .68rem; }
  .link-cards strong { font-size: 1.25rem; margin-top: auto; }
  .link-cards small { color: var(--muted); margin-top: .5rem; }
  .page-hero { border-bottom: 1px solid var(--line-strong); padding: clamp(5rem, 12vw, 10rem) 0 5rem; }
  .page-hero h1 { margin-top: 1.2rem; }
  .page-hero > p { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); margin-top: 2rem; max-width: 760px; }
  .page-hero--compact { padding-bottom: 7rem; }
  .anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
  .anchor-nav a { border: 1px solid var(--line-strong); border-radius: 99px; font-size: .68rem; font-weight: 750; letter-spacing: .07em; padding: .55rem .8rem; text-decoration: none; }
  .learning-area { border-bottom: 1px solid var(--line-strong); padding: 6rem 0; scroll-margin-top: 5rem; }
  .learning-area > header { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; margin-bottom: 3rem; }
  .learning-area > header span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .68rem; }
  .learning-area > header h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: .06em; margin-top: .5rem; }
  .learning-area > header > p { color: var(--muted); font-size: 1.05rem; max-width: 500px; }
  .module { background: var(--surface); border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 170px minmax(0, 1fr) 190px; padding: 1.6rem; scroll-margin-top: 5rem; }
  .module:last-child { border-bottom: 1px solid var(--line); }
  .module__status { align-items: start; display: flex; flex-direction: column; gap: .7rem; }
  .module__status > span:last-child { color: var(--muted); font-size: .7rem; }
  .status { border-radius: 99px; font-size: .62rem; font-weight: 750; letter-spacing: .06em; padding: .3rem .55rem; text-transform: uppercase; }
  .status--verfuegbar { background: #d5e9d8; color: #1b512b; }
  .status--in-vorbereitung { background: var(--orange-pale); color: #773900; }
  .status--spaeter { background: #e7e5df; color: var(--muted); }
  .module__copy > p { color: var(--muted); margin-top: .8rem; max-width: 650px; }
  .module__action { align-items: start; display: flex; flex-direction: column; gap: 1rem; }
  .module__action > span, .module__action > a { color: var(--muted); font-size: .72rem; }
  .context-link { color: var(--ink) !important; display: flex; gap: .4rem; }
  .boundary { border-left: 3px solid var(--orange); margin-top: 3rem; max-width: 820px; padding: .4rem 0 .4rem 1.4rem; }
  .boundary p { color: var(--muted); margin-top: .3rem; }
  .empty-state { border: 1px dashed var(--line-strong); padding: 2.5rem; }
  .empty-state p { color: var(--muted); margin: .7rem 0 1.5rem; max-width: 680px; }
  .empty-state--large { margin-top: 4rem; padding: clamp(2rem, 7vw, 5rem); }
  .empty-state--large h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-top: 1rem; }
  .schema-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: 5rem; padding: 1.5rem 0; }
  .schema-strip > span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
  .schema-strip ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin-top: .8rem; }
  .schema-strip li { font-size: .82rem; font-weight: 700; }
  .event-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 4rem 0 1rem; }
  .filter { background: transparent; border: 1px solid var(--line-strong); border-radius: 99px; cursor: pointer; font-size: .75rem; padding: .5rem .8rem; }
  .filter.active { background: var(--ink); color: white; }
  .event-list { border-top: 1px solid var(--line-strong); }
  .event-row { border-bottom: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 180px minmax(0, 1fr) 180px; padding: 1.6rem 0; }
  .event-row > div:first-child, .event-row > div:last-child { display: flex; flex-direction: column; }
  .event-row > div:first-child span { color: var(--muted); font-size: .78rem; }
  .event-row > div:first-child strong { margin-top: .3rem; }
  .event-row h3 { font-size: 1.45rem; margin-top: .4rem; }
  .event-row p { color: var(--muted); margin-top: .5rem; }
  .source-note { color: var(--muted); font-size: .72rem; margin-top: 1.3rem; }
  .safety-rule { background: var(--night); color: white; display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; margin: 4rem 0 1rem; padding: clamp(2rem, 5vw, 4rem); }
  .safety-rule h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-top: 1rem; }
  .safety-rule ul { list-style: none; }
  .safety-rule li { border-bottom: 1px solid #ffffff25; color: #b8c3ba; padding: .75rem 0; }
  .safety-rule li::before { color: var(--orange); content: "—"; margin-right: .7rem; }
  .role-grid { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; margin-top: 4rem; }
  .role-grid article { background: var(--surface); border: 1px solid var(--line); min-height: 420px; padding: clamp(2rem, 5vw, 4rem); }
  .role-grid__physical { background: var(--sage) !important; }
  .role-grid article > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .68rem; }
  .role-grid h2 { margin-top: 3rem; }
  .role-grid p { color: var(--muted); margin: 1.4rem 0 2rem; max-width: 520px; }
  .connection { border-bottom: 1px solid var(--line); margin-top: 5rem; max-width: 800px; padding-bottom: 4rem; }
  .connection > span { color: var(--orange-deep); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
  .connection p { font-size: 1.2rem; margin: 1rem 0 2rem; }
  .principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; }
  .principles article { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); min-height: 280px; padding: 1.5rem; }
  .principles article + article { border-left: 1px solid var(--line); }
  .principles span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .68rem; }
  .principles h2 { font-size: 2rem; margin-top: 4rem; }
  .principles p { color: var(--muted); margin-top: 1rem; }
  .product-note { background: var(--sage); margin-top: 5rem; padding: clamp(2rem, 6vw, 5rem); }
  .product-note h2 { font-size: clamp(2rem, 4vw, 3.8rem); margin-top: 1rem; max-width: 800px; }
  .product-note > p { color: var(--muted); font-size: 1.1rem; margin-top: 1.5rem; max-width: 750px; }
  .product-note > div { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
  .product-note > div span { background: #ffffff80; border: 1px solid #b9c5b7; border-radius: 99px; font-size: .7rem; padding: .4rem .7rem; }
  .product-note small { color: var(--muted); display: block; margin-top: 1.5rem; }
  .field-hero { display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1.6fr .9fr; min-height: min(720px, 70vh); padding: clamp(4rem, 10vh, 7rem) 0 5rem; }
  .field-hero__copy { display: flex; flex-direction: column; }
  .field-hero__copy h1 { margin-top: 1.4rem; font-size: clamp(2.6rem, 6vw, 4.2rem); }
  .field-hero__copy small { color: var(--muted); font-size: .82rem; margin-top: 1.5rem; }
  .field-note { background: var(--night); color: white; padding: 1.7rem; min-width: 260px; }
  .field-note span { color: #94a197; font-family: ui-monospace, monospace; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
  .field-note strong { margin: .7rem 0; display: block; font-size: 1.1rem; }
  .entry-section { border-top: 1px solid var(--line); padding: clamp(5rem, 10vw, 8rem) 0; }
  .entry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .entry-list a { border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; text-decoration: none; transition: border-color .2s; }
  .entry-list a:hover { border-color: var(--orange); }
  .entry-list span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
  .entry-list strong { font-size: 1.05rem; }
  .entry-list p { color: var(--muted); font-size: .88rem; margin: 0; }
  .entry-list small { color: var(--ink); font-weight: 700; }
  .journey { counter-reset: stage; padding: 2rem 0; }
  .journey--compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: none; }
  .journey__stage { counter-increment: stage; display: flex; gap: 1rem; }
  .journey--compact .journey__stage { flex-direction: column; }
  .journey__number, .journey--compact .journey__number { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: 1.3rem; font-weight: 700; }
  .journey__stage > div, .journey--compact .journey__stage > div { flex: 1; }
  .journey__stage .status, .journey--compact .journey__stage .status { margin-bottom: .5rem; }
  .journey__stage h3, .journey--compact .journey__stage h3 { font-size: 1.1rem; }
  .journey__meta { color: var(--muted); display: flex; gap: .6rem; font-size: .78rem; flex-wrap: wrap; margin-top: .4rem; }
  .journey-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
  .lesson-teaser { padding: clamp(4rem, 9vw, 7rem) 0; }
  .lesson-teaser > div { flex: 1; }
  .lesson-teaser h2 { margin-top: 1rem; }
  .lesson-teaser ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; margin-top: 1.2rem; }
  .lesson-teaser li { color: var(--muted); font-size: .9rem; }
  .mini-diagram { align-items: center; display: flex; gap: .6rem; min-width: 180px; }
  .mini-diagram span { font-size: .75rem; font-weight: 700; }
  .mini-diagram i { background: var(--line); height: 2px; flex: 1; }
  .tool-teaser { padding: clamp(4rem, 9vw, 7rem) 0; }
  .tool-teaser h2 { margin-top: 1rem; }
  .tool-teaser p { color: var(--muted); font-size: 1.05rem; margin: 1rem 0 1.5rem; }
  .tool-teaser small { color: var(--ink-soft); font-size: .82rem; }
  .brandability-showcase { background: #ece9df; border: 1px solid var(--line); display: grid; gap: 1px; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); margin: clamp(3rem, 8vw, 7rem) 0 0; overflow: hidden; position: relative; }
  .brandability-showcase::after { border: 1px solid #171b1830; border-radius: 50%; content: ""; height: 320px; pointer-events: none; position: absolute; right: -125px; top: -145px; width: 320px; }
  .brandability-showcase__identity { align-items: center; background: #f8f6ef; display: flex; justify-content: center; min-height: 360px; padding: 2rem; }
  .brandability-showcase__identity a { align-items: center; color: var(--ink-soft); display: flex; flex-direction: column; font: 700 .66rem/1.4 ui-monospace, monospace; gap: 1.3rem; letter-spacing: .11em; text-align: center; text-decoration: none; text-transform: uppercase; }
  .brandability-showcase__identity img { height: 130px; object-fit: contain; transition: transform .6s ease; width: 82px; }
  .brandability-showcase__identity a:hover img { transform: translateY(-5px); }
  .brandability-showcase__copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 7vw, 6rem); position: relative; z-index: 1; }
  .brandability-showcase__copy h2 { font-size: clamp(2.6rem, 5.8vw, 5.2rem); margin-top: 1rem; }
  .brandability-showcase__copy p { color: var(--muted); font-size: 1.05rem; margin-top: 1.6rem; max-width: 620px; }
  .domain-availability { align-items: end; background: #111713; color: #f8f6ef; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) auto; padding: clamp(2.4rem, 6vw, 5rem); position: relative; }
  .domain-availability::before { border: 1px solid #ffffff20; content: ""; inset: 1rem; pointer-events: none; position: absolute; }
  .domain-availability > div { position: relative; z-index: 1; }
  .domain-availability > div:first-child > span { color: #aab5ac; display: block; font: 700 .65rem/1.4 ui-monospace, monospace; letter-spacing: .12em; margin-bottom: .9rem; text-transform: uppercase; }
  .domain-availability strong { display: block; font-size: clamp(2.6rem, 8vw, 7.4rem); letter-spacing: -.075em; line-height: .92; overflow-wrap: anywhere; }
  .domain-availability__action { align-items: flex-end; display: flex; flex-direction: column; gap: 1.2rem; }
  .domain-availability__action > span { align-items: center; color: #c9d7cc; display: inline-flex; font: 700 .7rem/1 ui-monospace, monospace; gap: .55rem; letter-spacing: .14em; }
  .domain-availability__action i { background: #69b986; border-radius: 50%; box-shadow: 0 0 0 4px #69b9861f; height: 7px; width: 7px; }
  .domain-availability .button { background: #f7931a; border-color: #f7931a; color: #111713; white-space: nowrap; }
  .domain-availability .button:hover { background: #ffac44; transform: translateY(-2px); }
  .brandability-ticker { border: 1px solid var(--line); border-top: 0; color: var(--muted); overflow: hidden; padding: .8rem 0; white-space: nowrap; }
  .brandability-ticker p { animation: brandability-marquee 38s linear infinite; display: inline-block; font: 700 .62rem/1 ui-monospace, monospace; letter-spacing: .13em; min-width: max-content; padding-left: 100%; }
  @keyframes brandability-marquee { to { transform: translateX(-100%); } }
  .available-tool { display: grid; gap: 1.5rem; grid-template-columns: 1.2fr .8fr; margin: 3rem 0; }
  .available-tool div > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .06em; }
  .available-tool h2 { font-size: 1.6rem; margin-top: .8rem; }
  .available-tool p { color: var(--muted); max-width: 540px; }
  .available-tool small { color: var(--ink-soft); font-size: .8rem; }
  .tool-page { padding: 4rem 0; }
  .breadcrumb { color: var(--muted); display: inline-block; font-size: .78rem; font-weight: 700; margin-bottom: 2.5rem; text-decoration: none; }
  .tool-page__intro { display: grid; gap: 2rem; grid-template-columns: 1.4fr .6fr; }
  .tool-page__intro div > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .tool-page__intro h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .tool-safety { background: var(--orange-pale); padding: 1.2rem; }
  .tool-safety strong { color: #773900; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
  .converter { background: var(--surface); border: 1px solid var(--line); padding: 2rem; }
  .converter__row { display: flex; gap: 1rem; align-items: end; margin-bottom: 1.2rem; }
  .converter__input { display: flex; flex-direction: column; flex: 1; }
  .converter__input label { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .3rem; }
  .converter__input input { background: #e8e5dc; border: 1px solid var(--line-strong); border-radius: 4px; font-family: inherit; font-size: 1.4rem; padding: .6rem .8rem; width: 100%; }
  .converter__unit { display: flex; flex-direction: column; }
  .converter__unit label { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .3rem; }
  .converter__unit select, .converter__unit button { min-height: 44px; }
  .converter__unit select { background: #e8e5dc; border: 1px solid var(--line-strong); border-radius: 4px; font-family: inherit; font-size: 1.1rem; padding: .5rem .8rem; }
  .converter__unit button { background: var(--ink); border: 1px solid var(--ink); border-radius: 99px; color: white; cursor: pointer; font-size: .72rem; font-weight: 700; margin-top: .3rem; padding: .5rem .8rem; }
  .converter__result { align-items: end; display: flex; flex-wrap: wrap; gap: .3rem; min-width: 0; max-width: 100%; }
  .converter__result span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.6rem; font-weight: 700; max-width: 100%; overflow-wrap: anywhere; }
  .converter__result small { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
  .converter[data-error="true"] .converter__result span { color: var(--orange); }
  .tool-explanation { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
  .tool-explanation > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .06em; }
  .tool-explanation h2 { margin-top: 1rem; }
  .tool-explanation dl { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
  .roadmap-heading > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .lesson-page { padding: 2rem 0; }
  .lesson-header { border-bottom: 1px solid var(--line); padding-bottom: 2.5rem; }
  .breadcrumb { color: var(--muted); display: inline-block; font-size: .78rem; font-weight: 700; margin-bottom: 2rem; text-decoration: none; }
  .lesson-facts { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0; }
  .lesson-facts span { display: flex; flex-direction: column; gap: .2rem; }
  .lesson-facts small { color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .lesson-facts span > * { font-weight: 650; }
  .learning-goal { background: var(--orange-pale); margin: 1.5rem 0; padding: 1.2rem; }
  .learning-goal > span { color: #773900; font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
  .learning-goal p { color: #773900; font-size: 1rem; margin-top: .4rem; }
  .lesson-layout { display: grid; gap: 3rem; grid-template-columns: 280px 1fr; margin-top: 2rem; }
  .lesson-layout > * { min-width: 0; }
  .lesson-toc { position: sticky; top: 5rem; height: fit; }
  .lesson-toc span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
  .lesson-toc a { color: var(--muted); display: block; font-size: .82rem; padding: .25rem 0; text-decoration: none; }
  .lesson-toc a:hover { color: var(--ink); }
  .lesson-content h2 { margin-top: 2rem; }
  .lesson-content section { scroll-margin-top: 5rem; }
  .chapter { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 700; }
  .lesson-diagram { border: 1px solid var(--line); padding: 1.8rem; }
  .lesson-diagram figcaption { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 1rem; }
  .lesson-diagram ol { counter-reset: step; display: flex; flex-direction: column; gap: .8rem; list-style: none; padding: 0; }
  .lesson-diagram li { align-items: center; display: flex; gap: .8rem; }
  .lesson-diagram span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: 1.1rem; font-weight: 700; }
  .lesson-diagram strong { font-weight: 650; }
  .key-terms span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
  .key-terms h2 { margin-top: 1rem; }
  .key-terms dl { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.2rem; }
  .key-terms dt { font-weight: 650; }
  .key-terms dd { color: var(--muted); font-size: .9rem; }
  .safe-exercise { background: var(--surface); border: 1px solid var(--line); padding: 1.8rem; }
  .safe-exercise > span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
  .safe-exercise p { color: var(--ink-soft); line-height: 1.7; margin: .8rem 0; overflow-wrap: anywhere; }
  .safe-exercise small { color: var(--muted); display: block; font-size: .75rem; margin-top: 1rem; }
  .source-section { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
  .source-section span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
  .source-section h2 { margin-top: 1rem; }
  .source-list { overflow-wrap: anywhere; }
  .fee-table-scroll { max-width: 100%; overflow-x: auto; }
  .fee-table { min-width: 620px; }
  .nostr-source { background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 1.2fr .8fr; padding: 1.6rem; }
  .nostr-source div > span { color: var(--muted); font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 700; }
  .nostr-source h3 { font-size: 1.15rem; margin: .5rem 0; }
  .nostr-source p { color: var(--muted); font-size: .85rem; }
  .nostr-source code { background: #e8e5dc; border-radius: 3px; font-size: .75rem; padding: .12rem .35rem; word-break: break-all; }
  .nostr-source dt { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
  .nostr-source dd { font-size: .82rem; font-weight: 600; }
  .next-step { align-items: center; display: grid; gap: 1rem; grid-template-columns: 1fr auto; margin-top: 3rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
  .next-step span { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
  .next-step strong { font-size: 1.1rem; }
  .next-step small { color: var(--muted); }
}

@layer responsive {
  @media (max-width: 900px) {
    .menu-button { display: inline-flex; }
    .site-header nav { align-items: stretch; background: #fff; border-bottom: 1px solid #e7e3d8; display: none; flex-direction: column; left: 0; padding: 1.5rem; position: absolute; top: var(--header-height); width: 100%; }
    .site-header nav.open { display: flex; }
    .site-header nav a { align-items: center; display: flex; min-height: 44px; padding: .45rem; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .orientation { max-width: 420px; }
    .path-preview { grid-template-columns: repeat(3, 1fr); }
    .event-feature { grid-template-columns: 150px 1fr; }
    .event-feature__place { border-left: 0; border-top: 1px solid var(--line); grid-column: 1 / -1; }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .module { grid-template-columns: 135px 1fr; }
    .module__action { grid-column: 2; }
    footer { grid-template-columns: 2fr 1fr 1fr; }
    footer > div:nth-of-type(4) { grid-column: 2; }
    .field-hero, .entry-section, .entry-list, .lesson-teaser, .tool-teaser, .journey-hero, .journey-legend, .journey, .available-tool, .converter, .tool-page, .lesson-page { width: 100%; }
    .field-hero, .entry-section, .lesson-teaser, .tool-teaser, .available-tool, .tool-page, .lesson-page { grid-template-columns: 1fr; gap: 2rem; }
    .field-hero__copy h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
    .entry-list { grid-template-columns: 1fr; }
    .journey--compact { grid-template-columns: 1fr; }
    .tool-page__intro { grid-template-columns: 1fr; }
    .lesson-layout { grid-template-columns: 1fr; }
    .lesson-toc { position: static; }
    .converter__unit { flex-direction: row; align-items: end; }
    .nostr-source { grid-template-columns: 1fr; }
    .next-step { grid-template-columns: 1fr; }
    .next-step a { width: fit-content; }
  }
  @media (max-width: 640px) {
    :root { --header-height: 76px; }
    body::before { display: none; }
    .site-header { padding-inline: 1rem; }
    .brand { gap: .7rem; }
    .brand__mark { width: 3.15rem; }
    .brand__mark img { max-height: 2.55rem; }
    .brand--footer .brand__mark { width: 3.15rem; }
    h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
    .page-hero h1 { font-size: clamp(2.2rem, 11.5vw, 3.5rem); overflow-wrap: anywhere; }
    main { padding-bottom: 5rem; }
    .hero { gap: 3rem; padding: 4rem 0; }
    .hero__copy > p { font-size: 1.05rem; }
    .actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .why, .section-heading, .metropole-band, .learning-area > header, .safety-rule, .role-grid { grid-template-columns: 1fr; }
    .why { gap: 1rem; }
    .why__copy { padding-top: 0; }
    .path-preview { grid-template-columns: 1fr; }
    .path-preview__item { border-left: 0 !important; min-height: 115px; }
    .event-feature { grid-template-columns: 1fr; }
    .event-feature__date { min-height: 130px; }
    .event-feature__date strong { margin-top: 2rem; }
    .event-feature__place { grid-column: auto; }
    .tool-grid, .link-cards, .principles { grid-template-columns: 1fr; }
    .tool-card { min-height: 275px; }
    .metropole-band { gap: 1rem; margin-inline: -1.25rem; }
    .link-cards a + a, .principles article + article { border-left: 0; }
    .page-hero { padding-top: 5rem; }
    .empty-state--large h2 { overflow-wrap: anywhere; }
    .module { gap: 1.3rem; grid-template-columns: 1fr; padding: 1.3rem; }
    .module__status { align-items: center; flex-direction: row; }
    .module__action { border-top: 1px solid var(--line); grid-column: auto; padding-top: 1rem; }
    .lesson { margin-top: 2rem; }
    .event-row { grid-template-columns: 1fr; }
    .event-row > div:last-child { border-top: 1px solid var(--line); padding-top: 1rem; }
    .schema-strip ul { gap: .7rem 1rem; }
    .role-grid article { min-height: 340px; }
    footer { grid-template-columns: 1fr 1fr; }
    .footer__brand, .footer__legal { grid-column: 1 / -1; }
    footer > div:nth-of-type(4) { grid-column: auto; }
    .actions { flex-direction: column; }
    .entry-list { grid-template-columns: 1fr; gap: .75rem; }
    .journey--compact { max-width: 520px; margin-inline: auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .brandability-showcase__identity img, .domain-availability .button { transition: none; }
    .brandability-ticker p { animation: none; padding-left: 1rem; }
  }
  @media (prefers-contrast: more) { :root { --line: #777; --muted: #454740; } }
}

@layer components {
  .lab-hero { align-items: center; background: #fff; border-bottom: 1px solid var(--line); display: grid; gap: 4rem; grid-template-columns: 1.3fr .7fr; margin-inline: calc(50% - 50vw); min-height: 620px; overflow: hidden; padding: clamp(4rem, 9vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2)); position: relative; }
  .lab-hero::before { background: radial-gradient(circle, #f7931a16 1px, transparent 1.5px); background-size: 24px 24px; content: ""; inset: 0; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; position: absolute; }
  .lab-hero > * { position: relative; z-index: 1; }
  .lab-hero h1 { font-size: clamp(4.2rem, 11vw, 9rem); margin-top: 1rem; }
  .lab-hero p { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); margin-top: 1.8rem; max-width: 690px; }
  .lab-jump { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.2rem; }
  .lab-jump a { border: 1px solid var(--line-strong); border-radius: 99px; font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: .6rem .9rem; text-decoration: none; text-transform: uppercase; }
  .lab-jump a:hover { background: var(--orange); border-color: var(--orange); }
  .lab-orbit { aspect-ratio: 1; border: 1px solid #f7931a66; border-radius: 50%; display: grid; max-width: 360px; place-items: center; position: relative; width: 100%; }
  .lab-orbit::before, .lab-orbit::after { border: 1px solid #11120f26; border-radius: 50%; content: ""; inset: 17%; position: absolute; transform: rotate(34deg); }
  .lab-orbit::after { inset: 34%; transform: none; }
  .lab-orbit span { background: var(--orange); border-radius: 50%; height: 12px; left: 7%; position: absolute; top: 47%; width: 12px; }
  .lab-orbit span:nth-child(2) { left: auto; right: 20%; top: 8%; }
  .lab-orbit span:nth-child(3) { bottom: 13%; left: 58%; top: auto; }
  .lab-orbit b { font-family: ui-monospace, monospace; font-size: 2rem; letter-spacing: -.08em; }
  .sponsor-slot { align-items: center; background: #fff; border: 1px solid var(--line); display: grid; gap: 1.5rem; grid-template-columns: 130px 1fr auto; margin: 2rem 0 0; padding: 1.25rem 1.5rem; }
  .sponsor-slot__label { color: var(--muted); font-family: ui-monospace, monospace; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
  .sponsor-slot div { display: grid; gap: .15rem; }
  .sponsor-slot small { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
  .sponsor-slot strong { font-size: 1.15rem; }
  .sponsor-slot p { color: var(--muted); font-size: .8rem; }
  .sponsor-slot--compact { margin-bottom: 5rem; }
  .lab-tool { border-top: 1px solid var(--line-strong); padding: clamp(5rem, 10vw, 9rem) 0; scroll-margin-top: calc(var(--header-height) + 1rem); }
  .lab-tool > header { display: grid; gap: 2rem; grid-template-columns: .45fr 1.55fr; margin-bottom: 3rem; }
  .lab-index { color: var(--orange-deep); font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
  .lab-tool h2 { font-size: clamp(2.7rem, 6vw, 5rem); }
  .lab-tool header p { color: var(--muted); font-size: 1.05rem; margin-top: 1.3rem; max-width: 650px; }
  .lab-console { padding: clamp(1.4rem, 4vw, 3rem); }
  .lab-console--dark { background: #0d1510; color: #f8f7f2; }
  .lab-console label, .lab-controls label { color: currentColor; display: block; font-family: ui-monospace, monospace; font-size: .68rem; font-weight: 700; letter-spacing: .08em; margin: 1rem 0 .4rem; text-transform: uppercase; }
  .lab-console textarea, .lab-controls input:not([type="range"]), .lab-controls select { background: #fff; border: 1px solid var(--line-strong); border-radius: 0; color: var(--ink); font: inherit; min-height: 52px; padding: .75rem .9rem; width: 100%; }
  .lab-console textarea { background: #172019; border-color: #ffffff30; color: #fff; font-size: 1.1rem; resize: vertical; }
  .lab-console output { border-top: 1px solid #ffffff27; display: block; margin-top: 2rem; padding-top: 1.3rem; }
  .lab-console output small { color: #8fa094; display: block; font-family: ui-monospace, monospace; font-size: .65rem; letter-spacing: .1em; margin-bottom: .55rem; }
  .lab-console output code { background: transparent; color: #fff; display: block; font-size: .82rem; overflow-wrap: anywhere; padding: 0; }
  .hash-grid { display: grid; gap: 3px; grid-template-columns: repeat(32, minmax(4px, 1fr)); margin-top: 1.7rem; }
  .hash-grid span { background: color-mix(in srgb, var(--orange) calc((var(--cell) + 2) * 5%), #253129); color: transparent; height: 22px; }
  .hash-grid i { display: none; }
  .lab-console > p { color: #a9b4ac; font-size: .8rem; margin-top: 1rem; }
  .lab-source { color: var(--muted); font-size: .72rem; margin-top: 1.1rem; }
  .lab-split, .mining-lab { background: #fff; border: 1px solid var(--line); display: grid; gap: 1px; grid-template-columns: .8fr 1.2fr; }
  .lab-controls { background: var(--surface); padding: clamp(1.5rem, 4vw, 2.5rem); }
  .lab-controls input[type="range"] { accent-color: var(--orange); width: 100%; }
  .lab-controls output { color: var(--muted); display: block; font-family: ui-monospace, monospace; font-size: .7rem; }
  .lab-big-number { align-items: flex-end; background: var(--orange); display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(2rem, 6vw, 5rem); text-align: right; }
  .lab-big-number span { font-family: ui-monospace, monospace; font-size: clamp(2.6rem, 7vw, 5.7rem); font-weight: 700; letter-spacing: -.08em; max-width: 100%; overflow-wrap: anywhere; }
  .lab-big-number small { font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
  .lab-split--transaction { grid-template-columns: 1fr 1fr; }
  .lab-controls--grid { display: grid; gap: .5rem 1rem; grid-template-columns: 1fr 1fr; }
  .lab-controls--grid label { align-self: end; }
  .tx-result { background: #0d1510; color: white; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 4vw, 3rem); }
  .tx-result > div:first-child { display: flex; gap: 1.5rem; }
  .tx-result > div:first-child span { color: #a9b4ac; font-size: .75rem; }
  .tx-result b { color: #fff; font-family: ui-monospace, monospace; }
  .tx-result output b { display: block; font-size: clamp(3.4rem, 7vw, 6rem); letter-spacing: -.08em; line-height: 1; }
  .tx-result output small { color: var(--orange); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; margin-top: .5rem; text-transform: uppercase; }
  .tx-breakdown { margin-top: 2rem; }
  .tx-breakdown i { background: linear-gradient(90deg, var(--orange) var(--input-share, 70%), #415046 var(--input-share, 70%)); display: block; height: 8px; }
  .tx-breakdown span { color: #a9b4ac; font-size: .7rem; }
  .lab-tool--mining { border-bottom: 0; }
  .mining-icon { color: var(--orange-deep); height: 72px; margin-bottom: 1rem; width: 72px; }
  .mining-lab > div:last-child { background: #fff; padding: clamp(1.5rem, 4vw, 3rem); }
  .mining-chart { align-items: end; border-bottom: 1px solid var(--ink); display: grid; gap: 5px; grid-template-columns: repeat(12, 1fr); height: 220px; }
  .mining-chart span { background: linear-gradient(var(--orange), #ffc16f); height: var(--bar); min-height: 8px; }
  .mining-metrics { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
  .mining-metrics dt { color: var(--muted); font-size: .65rem; line-height: 1.3; }
  .mining-metrics dd { font-family: ui-monospace, monospace; font-size: 1rem; font-weight: 700; margin-top: .45rem; }
  .lab-metropole { background: #0d1510; color: #fff; display: grid; gap: 3rem; grid-template-columns: 1.3fr .7fr; margin-inline: calc(50% - 50vw); padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - var(--max)) / 2)); }
  .lab-metropole h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-top: 1rem; }
  .lab-metropole p { color: #a9b4ac; margin-top: 1rem; max-width: 620px; }
  .lab-metropole > div:last-child { align-items: flex-start; display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; }
  .lab-metropole .text-link { color: #fff; }
  .lab-credits { border-top: 1px solid var(--line); padding: 5rem 0; }
  .lab-credits h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-top: 1rem; }
  .lab-credits p { color: var(--muted); margin-top: 1rem; max-width: 720px; }
  .lab-controls .button { margin-top: 1.5rem; width: fit-content; }
  .lab-controls textarea { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); font: .78rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; max-width: 100%; padding: .8rem; resize: vertical; width: 100%; }
  .lab-output { background: #0d1510; color: #f8f7f2; display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: clamp(1.5rem, 4vw, 3rem); }
  .lab-output code, .lab-output pre { background: transparent; color: #f8f7f2; max-width: 100%; overflow-wrap: anywhere; white-space: pre-wrap; }
  .lab-output > span, .invoice-meta, .fee-meta, .routing-meta, .event-meta { color: #9dac9f; font: 700 .65rem/1.3 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
  .invoice-field, .fee-item, .routing-item, .event-field { border-bottom: 1px solid #ffffff20; display: grid; gap: .35rem; padding-bottom: .75rem; }
  .lab-controls--inline { align-items: end; display: grid; gap: 1rem; grid-template-columns: auto 1fr auto 1fr; }
  .lab-compare { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; margin-top: 1px; }
  .lab-compare output { background: #fff; display: grid; gap: .8rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
  .routing-summary, .routing-steps { display: grid; gap: .75rem; }
  .routing-hop { align-items: center; border-bottom: 1px solid #ffffff20; display: grid; gap: .5rem; grid-template-columns: auto 1fr auto; padding: .65rem 0; }
  .routing-hop .hop-cumulative { color: #9dac9f; font-size: .7rem; grid-column: 2 / -1; }
  .relay-map { align-items: center; background: #fff; border: 1px solid var(--line); display: grid; gap: .75rem; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; padding: clamp(1.5rem, 4vw, 3rem); }
  .relay-map span { border: 1px solid var(--line-strong); padding: .75rem 1rem; text-align: center; }
  .relay-map i { background: linear-gradient(90deg, var(--orange), var(--line-strong)); height: 2px; }
}

@layer responsive {
  @media (max-width: 900px) {
    .lab-hero { grid-template-columns: 1fr; }
    .lab-orbit { display: none; }
    .sponsor-slot { grid-template-columns: 1fr auto; }
    .sponsor-slot__label { grid-column: 1 / -1; }
    .lab-tool > header { grid-template-columns: 1fr; }
    .brandability-showcase { grid-template-columns: .7fr 1.3fr; }
  }
  @media (max-width: 640px) {
    .lab-hero { min-height: auto; padding-block: 5rem; }
    .lab-hero h1 { font-size: clamp(3.6rem, 20vw, 5.5rem); }
    .sponsor-slot { align-items: stretch; grid-template-columns: 1fr; }
    .sponsor-slot .button { width: 100%; }
    .lab-tool { padding-block: 5rem; }
    .lab-split, .lab-split--transaction, .mining-lab, .lab-metropole { grid-template-columns: 1fr; }
    .lab-controls--grid { grid-template-columns: 1fr; }
    .lab-big-number { min-height: 230px; padding: 2rem 1.25rem; }
    .hash-grid { grid-template-columns: repeat(16, 1fr); }
    .tx-result { min-height: 320px; }
    .mining-metrics { grid-template-columns: 1fr; }
    .lab-metropole { margin-inline: -1.25rem; }
    .brandability-showcase { grid-template-columns: 1fr; }
    .brandability-showcase__identity { min-height: 245px; }
    .brandability-showcase__copy { padding: 2rem 1.25rem 3rem; }
    .domain-availability { align-items: start; grid-template-columns: 1fr; padding: 3rem 1.25rem; }
    .domain-availability__action { align-items: flex-start; }
    .domain-availability .button { width: 100%; }
    .footer__constellation a { min-height: 44px; }
    .lab-controls--inline, .lab-compare, .relay-map { grid-template-columns: 1fr; }
    .relay-map i { height: 24px; justify-self: center; width: 2px; }
  }
}
