/* Iron Labs cream fightbook — static preview of the shipped sheet.
   Carbon ink on aged newsprint. Tokens taken from the app, not restyled. */

:root {
  --background: oklch(0.927 0.008 92);
  --foreground: oklch(0.16 0.005 70);
  --card: oklch(0.953 0.006 92);
  --muted-foreground: oklch(0.43 0.008 70);
  --border: oklch(0.69 0.009 85);
  --ink: oklch(0.16 0.005 70);
  --caption: oklch(0.48 0.008 70);
  --font-sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Archivo Narrow", "Arial Narrow", sans-serif;
  --font-poster: "Big Shoulders Display", "Archivo Narrow", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, a, input { font: inherit; }

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--background);
}

.poster {
  font-family: var(--font-poster);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.stamp-mono {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stamp-box {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border: 1px solid currentColor;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted { color: var(--muted-foreground); }
.caption { color: var(--caption); }
.tabular { font-variant-numeric: tabular-nums; }

.rule-double-b {
  border-bottom: 1px solid var(--foreground);
  box-shadow: 0 3px 0 -2px var(--foreground);
}

.crop-marks { position: relative; }
.crop-marks::before,
.crop-marks::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.55;
}
.crop-marks::before {
  top: 6px;
  left: 6px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.crop-marks::after {
  right: 6px;
  bottom: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-xs { width: 0.75rem; height: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--background);
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover {
  background: color-mix(in oklch, var(--ink) 90%, var(--background));
  color: var(--background);
}
.btn-lg { height: 44px; min-height: 44px; padding: 0 2.25rem; }
.btn-block { width: 100%; }
.btn-outline {
  height: 44px;
  min-height: 44px;
  background: transparent;
  color: var(--foreground);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--background);
}
.btn-invert {
  border-color: var(--background);
  background: var(--background);
  color: var(--foreground);
  box-shadow: none;
}
.btn-invert:hover {
  background: transparent;
  color: var(--background);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  border-bottom: 1px solid var(--foreground);
  background: var(--background);
}
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  height: 4.5rem;
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.brand { display: flex; align-items: baseline; gap: 0.75rem; }
.brand .poster { font-size: 1.7rem; }
.brand .stamp-mono { display: none; color: var(--caption); }
.site-nav { display: none; align-items: center; justify-content: center; gap: 2.5rem; }
.site-nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 0.25rem;
  color: var(--muted-foreground);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--foreground);
  border-bottom-color: var(--foreground);
}
.site-header__bar .btn-outline { justify-self: end; padding: 0 1rem; }

@media (min-width: 640px) {
  .site-header__bar {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 2rem;
  }
  .site-nav { display: flex; }
}
@media (min-width: 1024px) {
  .brand .stamp-mono { display: inline; }
}

/* Sheet */
.fb-sheet { overflow: hidden; padding-top: 4.5rem; }

.fb-marker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  padding: 0.6rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--foreground);
  border-bottom: 1px solid var(--foreground);
  box-shadow: 0 3px 0 -2px var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.fb-marker span::after { content: " //"; opacity: 0.45; }
.fb-marker span:last-child::after { content: ""; }

.fb-masthead {
  position: relative;
  max-width: 90rem;
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 3rem) clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
}
.fb-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.fb-eyebrow::before,
.fb-eyebrow::after {
  content: "";
  width: clamp(1.5rem, 8vw, 6rem);
  height: 1px;
  background: currentColor;
}
.fb-title {
  margin: 1.1rem 0 0;
  font-family: var(--font-poster);
  font-size: clamp(2.45rem, 10.2vw, 9.5rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.fb-title > span { display: block; overflow: hidden; }
.fb-title > span > span {
  display: block;
  animation: fb-line 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fb-title > span:nth-child(2) > span { animation-delay: 0.08s; }
.fb-title > span:nth-child(3) > span { animation-delay: 0.16s; }
.fb-title em {
  display: block;
  font-family: var(--font-display);
  font-size: 0.34em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
  padding: 0.22em 0;
}
.fb-sub {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.6;
  color: var(--muted-foreground);
}
.fb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.8rem;
  animation: fb-rise 0.7s 0.28s both;
}
.fb-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fb-plate { position: relative; border-top: 1px solid var(--foreground); border-bottom: 1px solid var(--foreground); }
.fb-plate figure {
  position: relative;
  height: clamp(20rem, 52vw, 40rem);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.fb-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 20%;
  animation: fb-plate-in 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fb-plate figure::after { content: none; }
.fb-plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fb-assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--foreground);
}
.fb-assure span {
  padding: 0.9rem 0.5rem;
  border-right: 1px solid var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.fb-assure span:last-child { border-right: 0; }

.fb-run {
  overflow: hidden;
  border-bottom: 1px solid var(--foreground);
  background: var(--ink);
  color: var(--background);
}
.fb-run > div {
  display: flex;
  width: max-content;
  gap: 2.4rem;
  padding: 0.6rem 0;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: none;
}

.fb-section {
  max-width: 96rem;
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 3vw, 3rem);
}
.fb-head {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(13rem, 21rem);
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--foreground);
  box-shadow: 0 3px 0 -2px var(--foreground);
}
.fb-head > span {
  align-self: start;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.fb-head h2 {
  max-width: 14ch;
  margin: 0.55rem 0 0;
  font-family: var(--font-poster);
  font-weight: 800;
  line-height: 0.82;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.5vw, 6.4rem);
}
.fb-head > p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.fb-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  border: 1px solid var(--foreground);
}
.fb-frame { padding: 0.7rem; border-right: 1px solid var(--foreground); }
.fb-frame:last-child { border-right: 0; }
.fb-frame figure {
  height: clamp(13rem, 21vw, 21rem);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.fb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.fb-frame:hover img { filter: none; }
.fb-frame__cap {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0 0.35rem;
  border-bottom: 1px solid var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--foreground);
}
.fb-frame h3 {
  margin: 0.8rem 0 0;
  font-family: var(--font-poster);
  font-weight: 800;
  font-size: clamp(1.9rem, 2.6vw, 2.9rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.fb-frame p {
  margin: 0.55rem 0 0.3rem;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.fb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: start;
}
.fb-card-grid.flat { margin-top: 2.5rem; }

.compare-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--foreground);
}

.ticket,
.ticket-invert {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--foreground);
  background: var(--card);
}
.ticket-invert {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--background);
}
@media (min-width: 1024px) {
  .ticket-invert.lift { margin-top: -1.25rem; margin-bottom: 1.25rem; }
}
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--foreground);
}
.ticket-invert .ticket-top { border-bottom-color: color-mix(in oklch, var(--background) 35%, transparent); }
.ticket-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem 1rem 0.25rem;
}
.ticket-name {
  margin: 0.75rem 0 0;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
}
.ticket-diff { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.6; }
.ticket .ticket-diff,
.ticket .ticket-kicker,
.ticket .ticket-note { color: var(--muted-foreground); }
.ticket-invert .ticket-kicker,
.ticket-invert .ticket-note { color: color-mix(in oklch, var(--background) 60%, transparent); }
.ticket-invert .ticket-diff { color: color-mix(in oklch, var(--background) 70%, transparent); }
.ticket-list {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted-foreground);
}
.ticket-invert .ticket-list {
  border-top-color: color-mix(in oklch, var(--background) 30%, transparent);
  color: color-mix(in oklch, var(--background) 75%, transparent);
}
.ticket-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.ticket-list li span:first-child { padding-top: 0.125rem; opacity: 0.6; }
.ticket-foot { margin-top: auto; padding-top: 2rem; }
.ticket-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ticket-price { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.ticket-note { min-height: 2.25rem; margin: 0.75rem 0 0; font-size: 0.7rem; line-height: 1.35; }
.ticket-perf {
  margin: 0.5rem 0.75rem 0;
  border-top: 1px dashed color-mix(in oklch, currentColor 55%, transparent);
  background-image:
    radial-gradient(circle at 0 0, transparent 5px, currentColor 5px, currentColor 5.6px, transparent 5.7px),
    radial-gradient(circle at 100% 0, transparent 5px, currentColor 5px, currentColor 5.6px, transparent 5.7px);
  background-repeat: no-repeat;
  background-size: 12px 12px, 12px 12px;
  background-position: left top, right top;
  min-height: 8px;
}
.ticket-actions {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
}
.ticket-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 1px solid var(--border);
}
.ticket-invert .ticket-details { border-color: color-mix(in oklch, var(--background) 40%, transparent); }

.site-footer {
  position: relative;
  margin-top: 6rem;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--background);
}
.site-footer__in { max-width: 96rem; margin: 0 auto; padding: 3.5rem 1.25rem 2rem; }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in oklch, var(--background) 25%, transparent);
  color: color-mix(in oklch, var(--background) 60%, transparent);
}
.site-footer__grid {
  display: grid;
  gap: 3rem;
}
.site-footer .wordmark { margin: 0; font-size: clamp(3.5rem, 9vw, 8rem); }
.site-footer__blurb {
  max-width: 24rem;
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--background) 65%, transparent);
}
.site-footer h2 {
  margin: 0;
  color: color-mix(in oklch, var(--background) 55%, transparent);
}
.site-footer ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.75rem; }
.site-footer li a {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.site-footer li a:hover { color: var(--background); }
.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklch, var(--background) 25%, transparent);
  color: color-mix(in oklch, var(--background) 55%, transparent);
}
@media (min-width: 640px) {
  .site-footer__in { padding-left: 2rem; padding-right: 2rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .site-footer__brand { grid-column: span 1; }
}

.archive-page {
  max-width: 96rem;
  margin-inline: auto;
  padding: 8.5rem clamp(1.25rem, 3vw, 3rem) 6rem;
}
.page-title {
  margin: 1rem 0 0;
  text-align: center;
  font-size: clamp(3rem, 10vw, 9rem);
}
.page-deck {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.page-head {
  border-bottom: 1px solid var(--foreground);
  padding: 2.5rem 0;
  text-align: center;
}

.spec { margin-top: 6rem; }
.spec-head {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
}
.spec-head h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.4rem); }
.spec-table { min-width: 780px; }
.spec-row,
.spec-labels {
  display: grid;
  grid-template-columns: 12rem repeat(3, 1fr);
  gap: 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.spec-labels {
  padding: 1rem 0;
  border-bottom-color: var(--foreground);
}
.spec-row strong { align-self: center; }
.spec-row span,
.spec-labels span { padding: 0 1rem; }
.spec-scroll { overflow-x: auto; }
.ink-note {
  display: grid;
  gap: 1.5rem;
  margin-top: 5rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--background);
}
.ink-note p { margin: 0; max-width: 42rem; font-size: 0.875rem; line-height: 1.6; color: color-mix(in oklch, var(--background) 75%, transparent); }
.ink-kicker { color: color-mix(in oklch, var(--background) 60%, transparent); }

.method-split {
  display: grid;
  margin-top: 3rem;
}
.method-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border: 1px solid var(--foreground);
}
.method-copy p { margin: 0; }
.method-copy .lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.6; }
.method-copy .quiet { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.method-copy .btn { align-self: flex-start; margin-top: 2rem; }
.archival {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--foreground);
  background: var(--ink);
}
.archival img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.42) brightness(0.82);
}
.fig-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.65rem;
  border-top: 1px solid var(--foreground);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rules { margin-top: 6rem; }
.rules-head {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
}
.rules-head h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.4rem); }
.rules-grid { display: grid; }
.rule {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.rule h3 { margin: 1.5rem 0 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.rule p { max-width: 32rem; margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

.product-hero {
  display: grid;
  border-bottom: 1px solid var(--foreground);
}
.product-hero h1 { margin: 1.5rem 0 0; max-width: 14ch; font-size: clamp(3rem, 9vw, 8rem); }
.product-hero .deck { max-width: 36rem; margin: 1.5rem 0 0; color: var(--muted-foreground); }
.admit {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
}
.admit .poster { margin: 0.75rem 0 0; font-size: clamp(3rem, 6vw, 5rem); }
.admit .boundary { margin: 0.75rem 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--muted-foreground); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--muted-foreground);
}
.receive {
  display: grid;
  gap: 4rem;
  margin-top: 5rem;
}
.receive h2,
.boundary-block h2,
.elsewhere h2 { margin: 1rem 0 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.receive ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--foreground); box-shadow: 0 -3px 0 -2px var(--foreground); }
.receive li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.boundary-block {
  display: grid;
  gap: 2rem;
  margin-top: 5rem;
  padding: 3rem 2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--background);
}
.boundary-block .lead { margin: 0; font-size: 1.125rem; }
.boundary-block .quiet { margin: 1rem 0 0; max-width: 42rem; font-size: 0.875rem; line-height: 1.6; color: color-mix(in oklch, var(--background) 65%, transparent); }
.elsewhere { margin-top: 6rem; }
.plan-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.plan-name { margin: 0; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.plan-price { font-size: clamp(2rem, 3vw, 2.8rem); }

.cart-layout {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
}
.empty-card {
  padding: 4rem 1.5rem;
  border: 1px solid var(--foreground);
  text-align: center;
}
.empty-card h2 { margin: 0; font-size: 2.25rem; }
.empty-card p { max-width: 20rem; margin: 0.75rem auto 0; font-size: 0.875rem; color: var(--muted-foreground); }
.summary {
  padding: 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--background);
}
.summary h2 { margin: 0.75rem 0 0; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.summary dl { margin: 1.5rem 0 0; }
.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}
.summary-row dt { color: color-mix(in oklch, var(--background) 60%, transparent); }
.summary-total { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid color-mix(in oklch, var(--background) 25%, transparent); }
.summary-total dd { font-size: 1.875rem; }
.summary .fine {
  margin: 1rem 0 0;
  text-align: center;
  color: color-mix(in oklch, var(--background) 55%, transparent);
  line-height: 1.5;
}
.cart-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--foreground); }
.cart-line {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.qty button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--foreground);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}
.line-name { font-size: 1.875rem; }
.line-price { font-size: 0.875rem; }
.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  padding: 0.15rem;
}
.remove-line {
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  cursor: pointer;
}
.remove-line:hover { color: var(--foreground); }

.drawer[hidden] { display: none; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: oklch(0.16 0.005 70 / 0.35);
  cursor: pointer;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 32rem);
  height: 100%;
  background: var(--background);
  border-left: 1px solid var(--foreground);
}
.drawer__head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--foreground);
}
.drawer__head h2 { margin: 0.35rem 0 0; font-size: 3rem; }
.drawer__body { flex: 1; overflow: auto; padding: 0 1.5rem 1.5rem; }
.drawer__foot {
  padding: 1.25rem 1.5rem 1.25rem;
  border-top: 1px solid var(--foreground);
  background: var(--ink);
  color: var(--background);
}
.drawer__sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.drawer__sub span:first-child { color: color-mix(in oklch, var(--background) 60%, transparent); }
.drawer__foot .ticket-perf { margin: 0 -1.5rem 1.25rem; }
.drawer__foot .fine {
  margin: 0.75rem 0 0;
  text-align: center;
  color: color-mix(in oklch, var(--background) 55%, transparent);
}
.perf-bleed { margin-left: -1.5rem; margin-right: -1.5rem; }
.fb-sheet.is-slice { padding-top: 0; }
.is-section .site-footer { margin-top: 0; }

@keyframes fb-line {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: none; }
}
@keyframes fb-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fb-plate-in {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fb-run { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .fb-contact {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .fb-frame { flex: 0 0 78vw; scroll-snap-align: start; }
  .fb-card-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .fb-head { grid-template-columns: 2.5rem 1fr; }
  .fb-head > p { grid-column: 2; }
  .cart-layout { grid-template-columns: 1fr; }
}
@media (min-width: 901px) {
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .method-split { grid-template-columns: 0.85fr 1.15fr; }
  .method-copy { border-right: 0; }
  .rules-head,
  .spec-head { grid-template-columns: 7rem 1fr; align-items: end; }
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .rule:nth-child(odd) { padding-right: 2.5rem; }
  .rule:nth-child(even) { padding-left: 2.5rem; border-left: 1px solid var(--border); }
  .cart-layout { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .summary { position: sticky; top: 8rem; }
}
@media (min-width: 1024px) {
  .product-hero { grid-template-columns: 1.25fr 0.75fr; }
  .product-hero__copy { padding: 2.5rem 3rem 2.5rem 0; }
  .admit { margin-top: 2.5rem; }
  .receive,
  .boundary-block { grid-template-columns: 0.55fr 1.45fr; }
  .ink-note { grid-template-columns: 7rem 1fr; }
}
@media (max-width: 1023px) {
  .product-hero__copy { padding: 2.5rem 0; }
}
@media (max-width: 640px) {
  .fb-assure { grid-template-columns: repeat(2, 1fr); }
  .fb-assure span:nth-child(2) { border-right: 0; }
  .fb-assure span:nth-child(-n + 2) { border-bottom: 1px solid var(--foreground); }
  .fb-marker span:nth-child(n + 4) { display: none; }
  .fb-plate figure { height: 26rem; }
  .fb-plate img { object-position: 54% 30%; }
  .ticket-body,
  .ticket-actions { padding-left: 1.25rem; padding-right: 1.25rem; }
  .ticket-actions { padding-left: 1.25rem; }
}
@media (min-width: 640px) {
  .ticket-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .ticket-actions { padding-left: 1.25rem; padding-right: 1.25rem; }
  .summary { padding: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-title > span > span,
  .fb-actions,
  .fb-plate img,
  .fb-run > div { animation: none; }
  .fb-frame img { transition: none; }
  html { scroll-behavior: auto; }
}
@media (min-width: 640px) {
  .summary .perf-bleed { margin-left: -2rem; margin-right: -2rem; }
}

/* Dark shop. Homepage, plans, and product pages. Method, cart, and slices stay on the sheet. */
body:is(.home, .shop),
body.shop {
  --background: oklch(0.145 0.012 70);
  --foreground: oklch(0.96 0.008 95);
  --card: oklch(0.20 0.012 70);
  --muted-foreground: oklch(0.76 0.012 90);
  --border: oklch(0.38 0.012 70);
  --ink: oklch(0.94 0.014 95);
  --caption: oklch(0.74 0.012 90);
  --metal: oklch(0.78 0.11 85);
  background-image: none;
  color-scheme: dark;
}
:is(.home, .shop) .fb-marker,
:is(.home, .shop) .fb-head { box-shadow: none; }
:is(.home, .shop) .fb-marker {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
:is(.home, .shop) .fb-marker span::after { content: none; }
:is(.home, .shop) .fb-head h2 { letter-spacing: -0.03em; }
:is(.home, .shop) .fb-assure span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--foreground);
}
.fb-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}
:is(.home, .shop) .fb-card-grid { align-items: stretch; }
:is(.home, .shop) #choose-your-level .ticket {
  background: transparent;
}
:is(.home, .shop) .ticket-invert {
  background: var(--ink);
  border-top: 3px solid var(--metal);
}
:is(.home, .shop) .ticket-invert .ticket-list li span:first-child {
  opacity: 1;
  color: oklch(0.32 0.014 70);
}
:is(.home, .shop) .ticket-invert :focus-visible {
  outline-color: oklch(0.22 0.014 70);
}
:is(.home, .shop) .fb-title { line-height: 0.9; }
:is(.home, .shop) .fb-title > span { overflow: visible; }
:is(.home, .shop) .ticket-invert .ticket-name {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}
:is(.home, .shop) .ticket-invert .ticket-price {
  font-size: clamp(2.8rem, 4.6vw, 4.1rem);
}
:is(.home, .shop) .ticket .ticket-price {
  font-size: clamp(2rem, 3vw, 2.7rem);
}
:is(.home, .shop) .ticket-invert .ticket-kicker,
:is(.home, .shop) .ticket-invert .ticket-note,
:is(.home, .shop) .ticket-invert .ticket-diff,
:is(.home, .shop) .ticket-invert .ticket-list {
  color: oklch(0.30 0.014 70);
}
:is(.home, .shop) .ticket-invert .ticket-top,
:is(.home, .shop) .ticket-invert .ticket-list,
:is(.home, .shop) .ticket-invert .ticket-details {
  border-color: oklch(0.62 0.03 85);
}
:is(.home, .shop) .ticket-details,
:is(.home, .shop) .compare-link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
:is(.home, .shop) .fb-plate figure { background: oklch(0.12 0.01 70); }
:is(.home, .shop) .ticket-list { font-size: 0.875rem; }
:is(.home, .shop) .site-footer {
  background: oklch(0.12 0.008 70);
  color: oklch(0.96 0.008 95);
  border-top-color: oklch(0.36 0.01 70);
}
:is(.home, .shop) .site-footer__meta,
:is(.home, .shop) .site-footer h2,
:is(.home, .shop) .site-footer__blurb,
:is(.home, .shop) .site-footer li a,
:is(.home, .shop) .site-footer__legal {
  color: oklch(0.80 0.012 90);
}
:is(.home, .shop) .site-footer li a:hover { color: oklch(0.97 0.005 95); }
:is(.home, .shop) .site-footer__meta,
:is(.home, .shop) .site-footer__legal { border-color: oklch(0.36 0.01 70); }
:is(.home, .shop) .drawer__foot .ticket-perf { display: none; }
@media (min-width: 901px) {
  :is(.home, .shop) .fb-card-grid {
    grid-template-columns: 0.84fr 1.2fr 0.84fr;
    align-items: stretch;
  }
}
@media (max-width: 900px) {
  .fb-contact {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
  }
  .fb-frame {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid var(--foreground);
  }
  .fb-frame:last-child { border-bottom: 0; }
  .fb-frame figure { height: auto; }
  .fb-frame img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  :is(.home, .shop) .fb-head { grid-template-columns: 1fr; }
  :is(.home, .shop) .fb-head > p { grid-column: auto; }
}
@media (max-width: 640px) {
  .fb-plate figure { height: 62vw; max-height: 18rem; }
  .fb-plate img { object-position: 62% 22%; }
  .fb-title { font-size: 2.4rem; }
}

/* Plans and product pages. Same shop, no archive costume. */
.shop .crop-marks::before,
.shop .crop-marks::after { content: none; }
.shop .ticket-perf { display: none; }
.shop .rule-double-b,
.shop .receive ol { box-shadow: none; }
.shop .page-title,
.shop .product-hero h1,
.shop .receive h2,
.shop .boundary-block h2,
.shop .elsewhere h2,
.shop .spec-head h2 {
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.shop .page-title { font-size: clamp(2.6rem, 7.2vw, 7rem); }
.shop .product-hero h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); max-width: 11ch; }
.shop .fb-eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; }
.shop .page-deck,
.shop .product-hero .deck { font-size: 1rem; line-height: 1.55; }
.shop .stamp-box,
.shop .spec-row strong,
.shop .spec-labels,
.shop .back-link,
.shop .ink-kicker,
.shop .receive .stamp-mono,
.shop .elsewhere > .stamp-mono { font-size: 0.75rem; letter-spacing: 0.08em; }
.shop .ticket { background: transparent; }
.shop .ticket-note { font-size: 0.8125rem; }
.shop .ticket-list li span:first-child { opacity: 1; }
.shop .ink-note,
.shop .boundary-block {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--foreground);
}
.shop .ink-note p,
.shop .boundary-block .lead { color: var(--foreground); }
.shop .ink-kicker,
.shop .boundary-block .quiet { color: var(--muted-foreground); }
.shop .ticket-invert .boundary,
.shop .ticket-invert .admit .boundary { color: oklch(0.30 0.014 70); }
.shop .admit .btn { margin-top: 1.25rem; }
@media (min-width: 1024px) {
  .shop .product-hero .admit { margin: 0; height: auto; align-self: end; }
}
.shop .plan-grid .is-lead { border-top: 3px solid var(--metal); }
.shop .plan-grid .is-lead .plan-name { font-size: clamp(2.3rem, 3.6vw, 3.3rem); }
.shop .site-footer__meta,
.shop .site-footer__legal { font-size: 0.75rem; }
.shop .spec-row span,
.shop .spec-labels span { min-width: 0; }
@media (min-width: 901px) {
  .shop .plan-grid { grid-template-columns: 1fr; max-width: 42rem; }
  .shop .plan-grid:has(.is-lead) {
    max-width: none;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: stretch;
  }
  .shop .plan-grid .is-lead { order: -1; }
}
@media (max-width: 700px) {
  .shop .spec-scroll { overflow: visible; }
  .shop .spec-table { min-width: 0; }
  .shop .spec-labels { display: none; }
  .shop .spec-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .shop .spec-row span { display: block; padding: 0; }
  .shop .spec-row span::before {
    content: attr(data-plan);
    display: block;
    margin-bottom: 0.15rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--caption);
  }
  .shop .spec-row span.is-lead {
    padding-top: 0.45rem;
    border-top: 3px solid var(--metal);
  }
}
.shop .spec-row span.is-lead { color: var(--foreground); }
@media (min-width: 701px) {
  .shop .spec-row span.is-lead,
  .shop .spec-labels span.is-lead {
    box-shadow: inset 0 3px 0 var(--metal);
    padding-top: 0.55rem;
  }
}
@media (max-width: 640px) {
  .shop .page-title,
  .shop .product-hero h1 { font-size: 2.5rem; }
  .shop .archive-page { padding-top: 6.5rem; }
  .shop .product-hero__copy { padding-top: 1.25rem; }
  .shop .admit { margin-bottom: 0; padding: 1.25rem; }
  .shop .fb-marker span:nth-child(n + 4) { display: block; }
}
