*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: var(--lh);
  color: var(--ink);
  background: var(--bg);
  min-width: 0;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { width: 100%; }
a { color: var(--rose-deep); text-underline-offset: 2px; }
.prose a { text-decoration: underline; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 400;
}
.skip:focus { top: 12px; }
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  min-width: 0;
}
.container-wide {
  width: min(100% - (var(--gutter) * 2), 1280px);
  margin-inline: auto;
  min-width: 0;
}
section[id] { scroll-margin-top: 88px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(255, 246, 248, 0.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: var(--paper-rule-strong);
  min-height: var(--header-h);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  background: var(--rose);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 16px;
  min-width: 0;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a[aria-current="page"],
.main-nav a.is-active { border-bottom-color: var(--rose); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: var(--cta-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  white-space: nowrap;
}
.header-cta:hover { background: var(--rose-deep); }
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 10px 9px;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 500;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  min-height: 3px;
  width: 100%;
  background: var(--ink);
  flex-shrink: 0;
  line-height: 0;
  font-size: 0;
}
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(53, 25, 35, 0.45);
  z-index: 199;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  background: var(--surface);
  border-left: var(--paper-rule-strong);
  z-index: 400;
  padding: 20px 20px 28px;
  transform: translateX(104%);
  transition: transform 0.2s ease, visibility 0s linear 0.2s;
  overflow: auto;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.2s ease, visibility 0s linear 0s;
}
body.nav-open,
html.is-drawer-open,
html.is-drawer-open body { overflow: hidden; }
body.nav-open .drawer-backdrop,
html.is-drawer-open .drawer-backdrop { display: block; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.drawer-close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 510;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--surface-2);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.drawer-nav a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.drawer-cta {
  display: flex;
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}
h1, h2, h3, h4 {
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.08rem; color: var(--ink); max-width: 62ch; }
.kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
  white-space: nowrap;
  background: var(--surface);
  color: var(--ink);
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-ghost { background: transparent; }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue-ink); }
.hero {
  padding: 28px 0 10px;
  background:
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: var(--paper-rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: stretch;
}
.hero-still {
  min-width: 0;
  border: 8px solid var(--ink);
  background: var(--surface-2);
  position: relative;
}
.hero-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0 8px;
}
.hero-copy h1 { margin-bottom: 14px; }
.hero-copy .lede { margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rail {
  background: var(--ink);
  color: #fff;
  padding: 14px 0;
}
.rail-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.rail a,
.rail-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  background: transparent;
}
.rail a:hover { background: var(--rose); border-color: var(--rose); }
.rail-num {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
}
.band { padding: 56px 0; }
.band-rose { background: var(--surface-2); }
.band-white { background: var(--surface); }
.band-paper { background: var(--bg); }
.band-ink { background: var(--ink); color: #fff8fa; }
.band-ink a { color: #ffd7e1; }
.ruled { border-top: var(--paper-rule-strong); border-bottom: var(--paper-rule); }
.section-head { max-width: 68ch; margin-bottom: 22px; }
.tabset { min-width: 0; }
.tablist {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ink);
}
.tablist button {
  appearance: none;
  background: var(--surface-2);
  border: 2px solid var(--ink);
  border-bottom: 0;
  margin-right: -2px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.tablist button[aria-selected="true"] {
  background: var(--rose);
  color: #fff;
}
.tabpanel {
  border: 2px solid var(--ink);
  border-top: 0;
  background: var(--surface);
  padding: 22px;
  min-width: 0;
}
.tab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}
.bound-list { list-style: none; margin: 0; padding: 0; }
.bound-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.bound-list strong { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); }
.framed {
  border: 8px solid var(--ink);
  background: var(--surface);
  padding: 10px;
  min-width: 0;
}
.framed img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.framed figcaption {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 10px 4px 2px;
}
.callouts {
  display: grid;
  gap: 12px;
}
.callout {
  border-left: 4px solid var(--rose);
  background: var(--surface);
  padding: 12px 14px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.split-wide {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
}
.reveal-note {
  border: 2px solid var(--ink);
  background: var(--surface);
  margin-bottom: 12px;
}
.reveal-trigger {
  width: 100%;
  text-align: left;
  background: var(--surface-2);
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 14px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.reveal-body { padding: 14px 16px 16px; }
.access-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
}
.access-copy { padding: 22px; background: var(--surface); min-width: 0; }
.access-meta {
  padding: 22px;
  background: var(--ink);
  color: #fff;
  min-width: 0;
}
.sheet {
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(
    180deg,
    #fff 0 42px,
    #fff6f8 42px 43px
  );
}
.sheet-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.sheet-num {
  font-weight: 800;
  color: var(--rose);
}
.canvas {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  background: var(--surface);
  border: 2px solid var(--ink);
  padding: 22px;
}
.canvas img { aspect-ratio: 5 / 4; object-fit: cover; }
.boundary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
}
.boundary > div { padding: 22px; min-width: 0; }
.boundary .yes { background: #eef7f1; }
.boundary .no { background: #fff1e8; }
.stop {
  background: var(--rose);
  color: #fff;
  padding: 36px 0;
  border-top: 8px solid var(--ink);
  border-bottom: 8px solid var(--ink);
}
.stop h2, .stop p { color: #fff; }
.workshop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.workshop article {
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 16px 16px 8px;
  min-width: 0;
}
.checkpoint {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 3px solid var(--ink);
  padding: 28px;
}
.register { display: grid; gap: 12px; }
.register a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.register time {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
}
.compliance {
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--surface-2);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.ledger { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--surface);
}
.data-table th,
.data-table td {
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.step {
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 16px;
  min-width: 0;
}
.step-num {
  width: 32px;
  height: 32px;
  background: var(--rose);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.snap {
  background: var(--surface);
  border-top: 6px solid var(--rose);
  border: 2px solid var(--ink);
  padding: 16px;
  min-width: 0;
}
.path-list { list-style: none; margin: 0; padding: 0; }
.path-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.faq-grid { display: grid; gap: 10px; }
.faq details,
.q-item {
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 0;
}
.faq summary,
.q-item summary {
  cursor: pointer;
  font-weight: 800;
  padding: 14px 16px;
}
.q-body, .faq details p { padding: 0 16px 14px; }
.job-list { list-style: none; margin: 0; padding: 0; }
.job-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 2px solid var(--ink);
  min-width: 0;
}
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 20px;
  align-items: center;
}
.colophon {
  font-size: 0.95rem;
  color: var(--muted);
}
.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 22px 0;
}
.inline-image-row img,
.inline-image-row .visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 6px solid var(--ink);
}
.page-hero {
  padding: 34px 0 18px;
  border-bottom: var(--paper-rule-strong);
  background: var(--surface);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: center;
}
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 6px solid var(--ink);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.86rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.figure {
  margin: 22px 0;
}
.figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 6px solid var(--ink);
}
.figure figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.card,
.data-card,
.step-card,
.loose-card,
.hub-card {
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 16px 16px 8px;
  min-width: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.site-footer {
  background: var(--ink);
  color: #f8e6eb;
  padding: 42px 0 28px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.site-footer a { color: #ffd7e1; text-decoration: none; }
.site-footer h2 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.86rem;
  color: #e7c4cd;
}
.mobile-sticky {
  display: none;
}
.disclaimer { font-size: 0.9rem; color: var(--muted); }
.stat-tile {
  border: 2px solid var(--ink);
  padding: 14px;
  background: var(--surface);
  min-width: 0;
}
.stat-tile b { display: block; font-size: 1.4rem; }
@media (max-width: 1023px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  html.is-drawer-open .site-header { position: static; z-index: auto; }
  html.is-drawer-open .hamburger span { opacity: 0; }
  html.is-drawer-open .mobile-sticky { z-index: 60; }
}
@media (max-width: 899px) {
  .hero { padding: 18px 0 8px; }
  .hero-grid,
  .page-hero-grid,
  .tab-grid,
  .split,
  .split-wide,
  .access-strip,
  .canvas,
  .boundary,
  .checkpoint,
  .inline-image-row,
  .final-cta {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-still img {
    min-height: 0;
    max-height: 420px;
    aspect-ratio: 16 / 10;
  }
  .hero { min-height: 0; }
  .stepper,
  .workshop,
  .snapshot,
  .footer-grid,
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .bound-list li,
  .sheet-row,
  .register a,
  .job-list li {
    grid-template-columns: minmax(0, 1fr);
  }
  .mobile-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 240;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 246, 248, 0.96);
    border-top: 2px solid var(--ink);
  }
  .mobile-sticky .btn {
    width: 100%;
  }
  body { padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 639px) {
  body { font-size: 17px; }
  .framed { border-width: 5px; padding: 6px; }
  .tablist { overflow-x: auto; }
}