:root {
  --accent: #ff4f00;
  --accent-hover: #e64700;
  --accent-ink: #1b1b1a;
  --bg: #0b0b0a;
  --bg-secondary: #121210;
  --bg-tertiary: #181815;
  --fg: #f1eee8;
  --fg-secondary: #c3beb4;
  --fg-tertiary: #918a7f;
  --border: rgba(241, 238, 232, 0.12);
  --border-strong: rgba(241, 238, 232, 0.2);
  --shadow-card: inset -3px 0 0 rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.28), 0 6px 14px rgba(0, 0, 0, 0.18);
  --shadow-card-hover: inset -4px 0 0 rgba(255, 255, 255, 0.15), 0 28px 56px rgba(0, 0, 0, 0.34), 0 10px 20px rgba(0, 0, 0, 0.2);
  --radius-card: 12px;
  --radius-media: 8px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

.band {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.band--gallery,
.band--cta {
  background: var(--bg-secondary);
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header {
  max-width: 720px;
}

.section-header h2 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2rem, 2.6vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-header p {
  margin: 12px 0 0;
  max-width: 42rem;
  color: var(--fg-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 48px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.wordmark__accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.96rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
  transform: none;
}

.btn[aria-disabled="true"]:hover {
  transform: none;
}

.btn--solid {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.hero {
  padding: 16px 0 48px;
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

.hero-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 13ch;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(3rem, 4.1vw, 3.9rem);
  line-height: 1.02;
}

.hero-copy p {
  margin: 16px 0 0;
  max-width: 38rem;
  color: var(--fg-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.card,
.mode-tile,
.flow-card,
.taste-card,
.pricing-card,
.sitcom-block,
.closing {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: color-mix(in oklch, var(--bg-secondary), transparent 4%);
  box-shadow: var(--shadow-card);
}

.hero-carousel {
  --hero-stage-width: 560px;
  --hero-cover-size: 360px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--hero-stage-width);
  margin-left: auto;
  margin-right: auto;
}

.hero-carousel__stage {
  position: relative;
  width: min(100%, var(--hero-stage-width));
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel__card {
  position: relative;
  width: min(100%, var(--hero-cover-size));
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: color-mix(in oklch, var(--bg-secondary), transparent 4%);
  color: var(--fg);
  cursor: pointer;
  overflow: hidden;
}

.hero-carousel__card:hover,
.card:hover,
.mode-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.hero-carousel__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-tertiary);
}

.hero-carousel__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  background: color-mix(in oklch, var(--bg-secondary), transparent 4%);
}

.hero-carousel__text strong {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.05;
}

.hero-carousel__text p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-carousel__text--quote p {
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.12;
  color: var(--fg);
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 11, 10, 0.75);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.pill--accent {
  background: color-mix(in oklch, var(--accent), transparent 15%);
  border-color: color-mix(in oklch, var(--accent), transparent 8%);
  color: var(--accent-ink);
}

.hero-carousel__meta {
  color: var(--accent);
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-carousel__pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
}

.hero-carousel__play {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.75);
  color: var(--fg);
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.75);
  color: var(--fg);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-carousel__arrow--prev {
  left: max(0px, calc(50% - (var(--hero-cover-size) / 2) - 26px));
}

.hero-carousel__arrow--next {
  right: max(0px, calc(50% - (var(--hero-cover-size) / 2) - 26px));
}

.hero-carousel__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  max-width: 32rem;
  text-align: center;
}

.hero-carousel__caption strong {
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1rem;
  line-height: 1.1;
}

.hero-carousel__caption span {
  color: var(--fg-secondary);
  font-size: 0.82rem;
}

.hero-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in oklch, var(--fg-tertiary), transparent 22%);
  cursor: pointer;
}

.hero-carousel__dot.is-active {
  background: var(--accent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 20px;
}

.filter {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0.8rem;
  min-height: 100%;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
  cursor: pointer;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--fg-tertiary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.12;
}

.card__desc {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.79rem;
  line-height: 1.4;
}

.media-box,
.audio-box,
.placeholder-box,
.sitcom-preview {
  border-radius: var(--radius-media);
  overflow: hidden;
}

.media-box {
  min-height: 188px;
  max-height: 220px;
  background: var(--bg-tertiary);
}

.media-box img,
.media-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.audio-box {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 8px;
}

.audio-box__quote,
.placeholder-box__quote {
  margin: 0;
  max-width: 16ch;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.06;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-play {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
}

.audio-track {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(241, 238, 232, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.audio-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
}

.audio-time {
  color: var(--fg-tertiary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
}

.placeholder-box {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 0.8rem;
  background:
    linear-gradient(180deg, transparent 0%, rgba(11, 11, 10, 0.12) 100%),
    repeating-linear-gradient(90deg, rgba(241, 238, 232, 0.05) 0, rgba(241, 238, 232, 0.05) 1px, transparent 1px, transparent 64px);
}

.placeholder-box__desc,
.sitcom-preview p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.sitcom-preview {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.sitcom-preview__top,
.sitcom-preview__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sitcom-preview__meta,
.format-tag,
.step-index,
.flow-label,
.price-cadence,
.footer-small {
  color: var(--fg-tertiary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

.how-grid h2,
.modes-header h2,
.pricing-header h2,
.two-column h2,
.closing h2 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.95rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.how-grid .lede,
.modes-header p,
.pricing-header p,
.two-column p,
.closing p,
.footer-summary {
  margin: 12px 0 0;
  color: var(--fg-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.step h3 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1rem;
  line-height: 1.22;
}

.step p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.flow-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
}

.flow-card > * + * {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.flow-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flow-block strong,
.taste-row strong {
  font-weight: 600;
  color: var(--fg);
}

.flow-block p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.direction-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.direction-list li {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--fg-secondary);
  font-size: 0.76rem;
}

.direction-list .selected {
  background: color-mix(in oklch, var(--accent), transparent 85%);
  border-color: var(--accent);
  color: var(--fg);
}

.modes-header,
.pricing-header {
  max-width: 720px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.mode-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 220px;
  padding: 16px;
  text-decoration: none;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}

.mode-tile__glyph {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mode-tile h3 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1.18;
}

.mode-tile p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.mode-tile .format-tag {
  margin-top: auto;
}

.taste-card {
  padding: 20px;
}

.taste-card__header,
.taste-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.taste-card__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.taste-row {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
  width: min(100%, 1120px);
  margin: 24px auto 0;
}

.pricing-card {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  min-height: 100%;
  box-shadow: none;
}

.pricing-card--highlighted {
  border-color: var(--accent);
  transform: translateY(-8px);
}

.pricing-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.pricing-heading h3 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1.08rem;
}

.pricing-badge {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent), transparent 82%);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price strong {
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  line-height: 1;
}

.price-cadence {
  font-size: 0.8rem;
}

.pricing-tagline {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 0.86rem;
  line-height: 1.45;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fg-secondary);
  font-size: 0.84rem;
  line-height: 1.42;
}

.pricing-check {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.closing p {
  max-width: 42rem;
}

.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-summary {
  max-width: 40rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.72);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  max-height: 90vh;
  margin: 5vh auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.9);
  color: var(--fg);
  cursor: pointer;
}

.modal__header {
  padding-right: 48px;
}

.modal__header h3 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1.05;
}

.modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--fg-tertiary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 20px;
  margin-top: 20px;
  max-height: calc(90vh - 120px);
}

.modal__media,
.modal__aside {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

.modal__media video,
.modal__media img {
  width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  background: var(--bg-tertiary);
  object-fit: contain;
}

.modal__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.modal__section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.modal__prompt {
  margin: 0;
  color: var(--fg-secondary);
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.83rem;
  line-height: 1.65;
}

.modal__copy {
  margin: 0;
  color: var(--fg-secondary);
}

.modal__quote {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.script-block {
  padding: 16px;
}

.script-heading,
.script-line strong,
.beat-card .format-tag {
  color: var(--fg);
}

.script-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
}

.script-line strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beat-grid,
.character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beat-card,
.character-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in oklch, var(--bg-primary), transparent 2%);
}

.muted {
  color: var(--fg-secondary);
}

@media (max-width: 1100px) {
  .mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column,
  .how-grid,
  .modal__body {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    --hero-stage-width: 520px;
    --hero-cover-size: 336px;
  }

  .hero-carousel__stage {
    width: min(100%, var(--hero-stage-width));
    height: 366px;
  }

  .artifact-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card {
    grid-column: span 3;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    align-items: stretch;
  }

  .pricing-card--highlighted {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 0 16px;
  }

  .nav {
    flex-wrap: wrap;
    padding-bottom: 32px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 8.8vw, 3rem);
    max-width: none;
  }

  .hero-carousel__stage {
    width: 100%;
    height: 320px;
  }

  .hero-carousel__card {
    width: min(100%, 280px);
  }

  .hero-carousel__arrow--prev {
    left: max(0px, calc(50% - (var(--hero-cover-size) / 2) - 22px));
  }

  .hero-carousel__arrow--next {
    right: max(0px, calc(50% - (var(--hero-cover-size) / 2) - 22px));
  }

  .mode-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78%);
    grid-template-columns: none;
    overflow-x: auto;
  }

  .artifact-grid {
    grid-template-columns: 1fr;
  }

  .card {
    grid-column: span 1;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .script-line {
    grid-template-columns: 1fr;
  }

  .beat-grid,
  .character-grid {
    grid-template-columns: 1fr;
  }
}
