:root {
  color-scheme: dark;
  --ink: #0c0e0c;
  --ink-soft: #141714;
  --ink-raised: #1a1d19;
  --paper: #f2ecdd;
  --paper-soft: #c9c4b7;
  --muted: #8f938a;
  --line: rgba(242, 236, 221, 0.13);
  --line-strong: rgba(242, 236, 221, 0.24);
  --lime: #dcff67;
  --coral: #ff715d;
  --blue: #6aa8ff;
  --purple: #b794ff;
  --danger: #ff8a7c;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 20%, rgba(79, 108, 82, 0.15), transparent 31%),
    radial-gradient(circle at 85% 65%, rgba(85, 64, 105, 0.12), transparent 28%),
    var(--ink);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button:not(:disabled),
a {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: #11140d;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.page-grain {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 50;
  width: min(calc(100% - 72px), var(--max-width));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  width: 13px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.brand-mark i + i {
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-button {
  min-height: 44px;
  padding: 0 4px;
  background: transparent;
  color: var(--paper-soft);
  font-size: 13px;
  font-weight: 650;
}

.nav-button:hover {
  color: var(--paper);
}

.profile-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.profile-button span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}

.landing-view {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  width: min(calc(100% - 72px), var(--max-width));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.78fr);
  gap: clamp(64px, 8vw, 132px);
  align-items: center;
  padding: 76px 0 96px;
}

.ambient-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-one {
  width: 260px;
  height: 260px;
  top: 22%;
  left: -210px;
  background: radial-gradient(circle at 70% 50%, rgba(220, 255, 103, 0.12), transparent 68%);
}

.orb-two {
  width: 390px;
  height: 390px;
  right: -260px;
  bottom: -12%;
  border: 1px solid rgba(220, 255, 103, 0.09);
  box-shadow: inset 0 0 90px rgba(220, 255, 103, 0.03);
}

.hero-copy {
  max-width: 750px;
  padding-bottom: 14px;
}

.eyebrow,
.micro-label {
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px rgba(220, 255, 103, 0.55);
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(53px, 5.35vw, 83px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.97;
}

.hero-copy h1 em {
  color: var(--lime);
  font-weight: inherit;
}

.hero-copy h1 > span {
  display: block;
  color: #96998f;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 36px;
  color: var(--paper-soft);
  font-size: 17px;
  line-height: 1.7;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #989c92;
  font-size: 12px;
}

.hero-proof span {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hero-proof span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -15px;
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

.hero-proof strong {
  color: var(--paper);
}

.session-card {
  position: relative;
  min-height: 554px;
  padding: 28px;
  overflow: visible;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 32%),
    rgba(21, 24, 20, 0.92);
  box-shadow: var(--shadow);
}

.session-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(220, 255, 103, 0.16), transparent 28%);
  filter: blur(12px);
  opacity: 0.35;
}

.session-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.session-kicker,
.session-count {
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.session-count {
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 2px;
  margin: 18px 0 33px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-track span {
  display: block;
  width: 33.33%;
  height: 100%;
  background: var(--lime);
  transition: width 340ms cubic-bezier(.2,.8,.2,1);
}

.session-content {
  animation: rise-in 360ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.session-heading {
  margin-bottom: 25px;
}

.session-heading h2 {
  max-width: 390px;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.session-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.title-search-wrap {
  position: relative;
  z-index: 6;
}

.title-search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 700;
}

.title-search {
  position: relative;
}

.title-search::before {
  content: "⌕";
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 1;
  color: var(--paper-soft);
  font-size: 22px;
  transform: translateY(-53%);
  pointer-events: none;
}

.title-search input {
  width: 100%;
  height: 58px;
  padding: 0 50px 0 48px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  outline: none;
  background: rgba(3, 5, 3, 0.4);
  color: var(--paper);
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.title-search input::placeholder,
.refine-form input::placeholder,
.free-text textarea::placeholder {
  color: #73776f;
}

.title-search input:focus,
.refine-form input:focus,
.free-text textarea:focus {
  border-color: rgba(220, 255, 103, 0.72);
  box-shadow: 0 0 0 3px rgba(220, 255, 103, 0.09);
}

.search-key {
  position: absolute;
  top: 50%;
  right: 14px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: #858981;
  font-size: 9px;
  transform: translateY(-50%);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 255px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #1c201b;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

.search-option {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 9px;
  background: transparent;
  text-align: left;
}

.search-option:hover,
.search-option.is-active {
  background: rgba(255, 255, 255, 0.075);
}

.search-option__swatch {
  align-self: stretch;
  border-radius: 5px;
  background: linear-gradient(var(--angle, 145deg), var(--swatch-a), var(--swatch-b));
}

.search-option strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.search-option small,
.search-option > small {
  color: var(--muted);
  font-size: 10px;
}

.search-empty {
  padding: 18px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.search-option:has(.search-option__poster),
.search-option:has(.search-option__thumbnail),
.search-option:has(.search-option__thumb),
.search-option:has(.catalog-image),
.search-option.search-option--remote {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.search-option__poster,
.search-option__thumbnail,
.search-option__thumb {
  position: relative;
  width: 34px;
  height: 46px;
  align-self: center;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(150deg, #405d67, #18211f 64%, #b68a54);
}

.search-option__poster img,
.search-option__thumbnail img,
.search-option__thumb img,
.search-option__swatch .catalog-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.search-option__swatch:has(.catalog-image) {
  width: 34px;
  min-height: 46px;
  position: relative;
  align-self: center;
  overflow: hidden;
}

.search-option__swatch .catalog-image.is-broken {
  display: none;
}

.search-option__meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.search-option__source,
.search-source,
.source-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #9da497;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  font-style: normal;
}

.search-option__source::before,
.search-source::before,
.source-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.source-badge--motif::before {
  background: var(--lime);
}

.source-badge--tmdb::before {
  background: var(--blue);
}

.search-status,
.search-loading,
.search-error,
.catalogue-status,
.catalog-status {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.search-status--loading::before,
.search-loading::before,
.catalogue-status.is-checking::before,
.catalog-status.is-checking::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 236, 221, 0.2);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: catalogue-spin 700ms linear infinite;
}

.search-loading:has(> i)::before {
  display: none;
}

.search-loading > i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 236, 221, 0.2);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: catalogue-spin 700ms linear infinite;
}

.search-option.is-loading {
  opacity: 0.68;
}

.search-status--offline,
.search-status--error,
.search-error,
.catalogue-status.is-offline,
.catalog-status.is-offline {
  color: #b8aa90;
}

.search-status--online,
.catalogue-status.is-online,
.catalog-status.is-online {
  color: #aebc90;
}

@keyframes catalogue-spin {
  to { transform: rotate(360deg); }
}

.quick-picks {
  margin-top: 20px;
}

.quick-picks > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-pick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-pick,
.refine-examples button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper-soft);
  font-size: 11px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.quick-pick:hover,
.refine-examples button:hover {
  border-color: rgba(220, 255, 103, 0.4);
  background: rgba(220, 255, 103, 0.07);
  color: var(--paper);
}

.catalog-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 24px 0 0;
  color: #757a71;
  font-size: 10px;
}

.catalog-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #757a71;
}

.catalog-note.is-online i,
.catalog-note[data-catalogue-status="online"] i {
  background: var(--lime);
  box-shadow: 0 0 12px rgba(220, 255, 103, 0.42);
}

.catalog-note.is-offline i,
.catalog-note[data-catalogue-status="offline"] i {
  background: #b8966f;
}

.catalog-status {
  flex-wrap: wrap;
  row-gap: 3px;
}

.catalog-status strong {
  color: var(--paper-soft);
  font-size: 10px;
}

.catalog-status span {
  flex-basis: calc(100% - 12px);
  margin-left: 12px;
  color: #6f746b;
}

.catalog-status[data-mode="live"] i {
  background: var(--lime);
  box-shadow: 0 0 12px rgba(220, 255, 103, 0.42);
}

.catalog-status[data-mode="checking"] i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 236, 221, 0.2);
  border-top-color: var(--lime);
  background: transparent;
  animation: catalogue-spin 700ms linear infinite;
}

.catalog-status[data-mode="fallback"] i {
  background: #b8966f;
}

.anchor-summary {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 10px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.anchor-mini-art {
  width: 54px;
  height: 68px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--a), var(--b) 64%, var(--c));
}

.anchor-mini-art img,
.anchor-poster,
.anchor-poster-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  color: transparent;
}

.anchor-mini-art img.is-broken,
.anchor-poster.is-broken,
.anchor-poster-image.is-broken {
  display: none;
}

.basic-profile-note {
  display: block;
  max-width: 300px;
  margin-top: 5px;
  color: #9e9179;
  font-size: 9px;
  line-height: 1.35;
}

.anchor-mini-art::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  right: -10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.anchor-summary strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.anchor-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.anchor-summary button {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.anchor-summary button:hover {
  color: var(--paper);
}

.question-group {
  margin-bottom: 22px;
}

.question-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 700;
}

.question-label span {
  color: var(--muted);
  font-weight: 500;
}

.reaction-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.reaction-option,
.context-option {
  position: relative;
}

.reaction-option input,
.reason-chip input,
.context-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.reaction-option label {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper-soft);
  font-size: 9px;
  cursor: pointer;
}

.reaction-option label b {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 18px;
  font-weight: 400;
}

.reaction-option input:checked + label,
.context-option input:checked + label {
  border-color: rgba(220, 255, 103, 0.62);
  background: rgba(220, 255, 103, 0.09);
  color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(220, 255, 103, 0.08);
}

.reaction-option input:focus-visible + label,
.reason-chip input:focus-visible + label,
.context-option input:focus-visible + label {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.reason-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reason-chip {
  position: relative;
}

.reason-chip label {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper-soft);
  font-size: 10px;
  cursor: pointer;
  transition: 150ms ease;
}

.reason-chip label i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.065);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 11px;
  font-style: normal;
}

.reason-chip input:checked + label {
  border-color: rgba(220, 255, 103, 0.56);
  background: rgba(220, 255, 103, 0.09);
  color: var(--paper);
}

.reason-chip input:checked + label i {
  background: var(--lime);
  color: #12150e;
}

.session-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button {
  background: var(--lime);
  color: #11150c;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #e6ff8d;
}

.primary-button span {
  font-size: 17px;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
}

.secondary-button:hover {
  border-color: rgba(220, 255, 103, 0.45);
  background: rgba(220, 255, 103, 0.07);
}

.ghost-button {
  padding-left: 0;
  background: transparent;
  color: var(--paper-soft);
}

.ghost-button:hover {
  color: var(--paper);
}

.primary-button--compact {
  min-height: 44px;
  padding: 0 18px;
}

.context-stack {
  display: grid;
  gap: 18px;
}

.context-row {
  display: grid;
  gap: 9px;
}

.context-row > span,
.free-text label {
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 700;
}

.context-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.context-option label {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper-soft);
  font-size: 10px;
  cursor: pointer;
}

.free-text {
  margin-top: 18px;
}

.free-text label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.free-text label span {
  color: var(--muted);
  font-weight: 500;
}

.free-text textarea {
  width: 100%;
  height: 72px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: rgba(3, 5, 3, 0.36);
  color: var(--paper);
  font-size: 11px;
  line-height: 1.5;
}

.signal-ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #111310;
}

.signal-ribbon > p {
  display: none;
}

.signal-ribbon__items {
  width: min(calc(100% - 72px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #888c83;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.signal-ribbon__items i {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.48;
}

.method-preview {
  width: min(calc(100% - 72px), var(--max-width));
  margin: 0 auto;
  padding: 134px 0 150px;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 66px;
}

.section-intro h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.section-intro > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.method-card {
  position: relative;
  min-height: 348px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.method-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: 14px;
  right: 10px;
  border-radius: 50%;
  background: var(--card-color);
  filter: blur(80px);
  opacity: 0.09;
}

.method-card--lime { --card-color: var(--lime); }
.method-card--coral { --card-color: var(--coral); }
.method-card--blue { --card-color: var(--blue); }

.method-number {
  position: absolute;
  top: 23px;
  right: 24px;
  color: #73776f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.method-icon {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 20px 0 32px;
}

.method-icon--orbit {
  border: 1px solid rgba(220, 255, 103, 0.33);
  border-radius: 50%;
}

.method-icon--orbit::before,
.method-icon--orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(220, 255, 103, 0.24);
  border-radius: 50%;
}

.method-icon--orbit::before { inset: 20px; }
.method-icon--orbit::after { inset: 42px; background: var(--lime); border: 0; box-shadow: 0 0 25px rgba(220,255,103,.38); }

.method-icon--orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 22px;
  right: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.method-icon--waves {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

.method-icon--waves i {
  display: block;
  height: 18px;
  border-top: 1px solid rgba(255, 113, 93, 0.58);
  border-radius: 50%;
  transform: skewX(-25deg);
}

.method-icon--waves i:nth-child(2) { width: 84%; margin-left: 10%; opacity: .68; }
.method-icon--waves i:nth-child(3) { width: 60%; margin-left: 20%; opacity: .38; }

.method-icon--dial {
  border: 1px solid rgba(106, 168, 255, 0.38);
  border-radius: 50%;
}

.method-icon--dial::before {
  content: "";
  position: absolute;
  inset: 19px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 32%, transparent 32% 55%, rgba(106,168,255,.35) 55% 75%, transparent 75%);
  mask: radial-gradient(circle, transparent 55%, #000 56%);
}

.method-icon--dial i {
  position: absolute;
  width: 2px;
  height: 48px;
  left: 50%;
  bottom: 50%;
  background: var(--blue);
  transform: rotate(37deg);
  transform-origin: bottom;
}

.method-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.method-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.62;
}

.results-view {
  width: min(calc(100% - 72px), var(--max-width));
  margin: 0 auto;
  padding: 80px 0 128px;
}

.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.results-heading .text-button {
  margin-bottom: 29px;
}

.results-heading .eyebrow {
  margin-bottom: 14px;
}

.results-heading h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.results-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.text-button {
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 700;
}

.text-button:hover {
  color: var(--lime);
}

.loading-panel {
  min-height: 474px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-soft);
}

.loading-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
}

.loading-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.loading-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.skeleton-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 15px;
}

.skeleton-row i {
  height: 270px;
  display: block;
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(255,255,255,.035) 20%, rgba(255,255,255,.08) 42%, rgba(255,255,255,.035) 64%);
  background-size: 300% 100%;
  animation: shimmer 1.6s ease infinite;
}

@keyframes shimmer { to { background-position: -150% 0; } }

.feature-result {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1.3fr) minmax(240px, .65fr);
  min-height: 500px;
  gap: clamp(32px, 4.5vw, 70px);
  align-items: center;
  padding: clamp(28px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 50%, color-mix(in srgb, var(--feature-a) 18%, transparent), transparent 34%),
    linear-gradient(120deg, rgba(255,255,255,.035), transparent 35%),
    #141714;
  box-shadow: 0 25px 85px rgba(0, 0, 0, 0.25);
}

.feature-result::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: -240px;
  right: -170px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 9px;
  background:
    radial-gradient(circle at 76% 22%, color-mix(in srgb, var(--poster-c) 74%, transparent), transparent 22%),
    linear-gradient(150deg, var(--poster-a), var(--poster-b) 63%, var(--poster-c));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

.poster-image,
.poster__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  color: transparent;
  background: transparent;
  opacity: 0;
  transition: opacity 180ms ease;
}

.poster-image.is-broken,
.poster__image.is-broken,
.poster-image[hidden],
.poster__image[hidden] {
  display: none;
}

.poster--image-loaded > .poster-image,
.poster--image-loaded > .poster__image {
  opacity: 1;
}

.poster--image-loaded .poster-art-line,
.poster--image-loaded .poster-copy {
  opacity: 0;
}

.poster--image-loaded::before,
.poster--image-loaded::after {
  opacity: 0;
}

.poster:has(> .poster-image) .poster-copy,
.poster:has(> .poster__image) .poster-copy {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.92);
}

.poster::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90%;
  height: 56%;
  left: -25%;
  top: 10%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.poster::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 66%;
  aspect-ratio: 1;
  right: -18%;
  bottom: 11%;
  border-radius: 50%;
  background: rgba(5, 8, 6, 0.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 0 28px rgba(255,255,255,.035);
}

.poster-art-line {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 18%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(18deg);
  transform-origin: top;
}

.poster-art-line + .poster-art-line {
  left: 73%;
  transform: rotate(-12deg);
  opacity: .46;
}

.poster-copy {
  position: absolute;
  z-index: 2;
  left: 17px;
  right: 17px;
  bottom: 18px;
}

.poster-copy small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poster-copy strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 29px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: .98;
  text-wrap: balance;
}

.poster--small {
  border-radius: 8px;
}

.poster--small .poster-copy {
  left: 12px;
  right: 12px;
  bottom: 13px;
}

.poster--small .poster-copy strong {
  font-size: clamp(17px, 1.8vw, 23px);
}

.poster--small .poster-copy small {
  font-size: 6px;
}

.feature-copy {
  position: relative;
  z-index: 2;
}

.match-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.match-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.feature-copy h3 {
  max-width: 680px;
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 65px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 10px;
}

.title-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: #5f635c;
}

.match-reason {
  max-width: 630px;
  margin-bottom: 16px;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.67;
}

.match-reason strong {
  color: var(--paper);
  font-weight: 650;
}

.difference-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 600px;
  margin-bottom: 28px;
  color: #93978e;
  font-size: 11px;
  line-height: 1.55;
}

.difference-note i {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: normal;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.save-button.is-saved {
  border-color: rgba(220, 255, 103, 0.52);
  background: rgba(220, 255, 103, 0.09);
  color: var(--lime);
}

.feature-breakdown {
  position: relative;
  z-index: 2;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 6, 4, 0.26);
}

.breakdown-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.breakdown-top span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breakdown-top strong {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.factor-list {
  display: grid;
  gap: 15px;
}

.factor-item__label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--paper-soft);
  font-size: 9px;
}

.factor-item__label span:last-child {
  color: var(--muted);
}

.factor-track,
.taste-bar__track {
  height: 3px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.factor-track i,
.taste-bar__track i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.breakdown-button {
  width: 100%;
  min-height: 40px;
  margin-top: 21px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--paper-soft);
  font-size: 10px;
  text-align: left;
}

.breakdown-button:hover {
  color: var(--lime);
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
  margin-top: 88px;
}

.recommendation-column__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.recommendation-column__head .micro-label,
.taste-panel .micro-label,
.refine-panel .micro-label {
  margin-bottom: 7px;
}

.recommendation-column__head h3,
.taste-panel h3,
.refine-panel h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.recommendation-column__head > span {
  color: var(--muted);
  font-size: 10px;
}

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

.recommendation-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 270px;
  gap: 18px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.recommendation-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.recommendation-card .poster {
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 2px 2px 0;
}

.card-type {
  margin-bottom: 9px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-copy h4 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.card-meta {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 9px;
}

.card-reason {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: var(--paper-soft);
  font-size: 10px;
  line-height: 1.52;
}

.card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.card-actions button {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--paper-soft);
  font-size: 13px;
}

.card-actions button:hover {
  border-color: rgba(220, 255, 103, 0.4);
  color: var(--lime);
}

.card-actions .is-saved {
  background: rgba(220, 255, 103, 0.08);
  color: var(--lime);
}

.taste-panel {
  position: sticky;
  top: 24px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #141714;
}

.taste-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.taste-panel h3 {
  font-size: 24px;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-dot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.taste-anchor {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.taste-anchor > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.taste-anchor strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.taste-anchor p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.taste-bars {
  display: grid;
  gap: 15px;
  padding: 22px 0;
}

.taste-bar__label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--paper-soft);
  font-size: 9px;
}

.taste-bar__label span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.active-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.active-signal {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(220, 255, 103, 0.2);
  border-radius: 999px;
  background: rgba(220, 255, 103, 0.055);
  color: var(--paper-soft);
  font-size: 8px;
}

.active-signal button {
  width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
  color: var(--muted);
}

.active-signal button:hover {
  color: var(--paper);
}

.taste-caveat {
  margin: 19px 0 0;
  color: #7d8178;
  font-size: 9px;
  line-height: 1.55;
}

.refine-panel {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(390px, 1fr);
  gap: 28px 45px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 3% 50%, rgba(183, 148, 255, 0.11), transparent 20%),
    var(--ink-soft);
}

.refine-panel__copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.refine-spark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 148, 255, 0.32);
  border-radius: 50%;
  color: var(--purple);
}

.refine-panel h3 {
  font-size: 23px;
}

.refine-form {
  position: relative;
  display: flex;
  gap: 8px;
}

.refine-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: rgba(3, 5, 3, 0.36);
  font-size: 11px;
}

.refine-examples {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: -18px;
}

.refine-examples button {
  min-height: 31px;
  font-size: 9px;
}

.site-footer {
  width: min(calc(100% - 72px), var(--max-width));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #757970;
  font-size: 10px;
}

.brand--small {
  color: var(--paper-soft);
  font-size: 11px;
}

.brand--small .brand-mark {
  width: 22px;
  height: 22px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper-soft);
  text-decoration: underline;
  text-decoration-color: rgba(242, 236, 221, 0.28);
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--paper);
  text-decoration-color: var(--lime);
}

.credits-page {
  width: min(calc(100% - 72px), 1080px);
  min-height: calc(100vh - 204px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.credits-hero {
  max-width: 820px;
  margin-bottom: 58px;
}

.credits-hero h1 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.credits-hero h1 em {
  color: var(--lime);
  font-weight: inherit;
}

.credits-hero > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--paper-soft);
  font-size: 16px;
  line-height: 1.7;
}

.credits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
}

.credits-card {
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--ink-soft);
}

.credits-card--tmdb {
  grid-row: span 2;
}

.credits-card h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.credits-card p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.credits-card p:last-child {
  margin-bottom: 0;
}

.tmdb-attribution {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.tmdb-logo {
  width: 58px;
  height: 58px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.tmdb-attribution span {
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tmdb-notice {
  padding: 18px;
  border-left: 2px solid var(--blue);
  background: rgba(106, 168, 255, 0.06);
  color: var(--paper-soft) !important;
}

.credits-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(242, 236, 221, 0.28);
  text-underline-offset: 4px;
}

.credits-link:hover,
.back-link:hover {
  color: var(--lime);
  text-decoration-color: currentColor;
}

.back-link {
  margin-top: 36px;
}

dialog {
  color: var(--paper);
}

dialog::backdrop {
  background: rgba(2, 3, 2, 0.78);
  backdrop-filter: blur(8px);
}

.info-dialog,
.detail-dialog {
  position: fixed;
  width: min(calc(100% - 32px), 660px);
  max-height: min(800px, calc(100vh - 48px));
  padding: 42px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #171a16;
  box-shadow: var(--shadow);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper-soft);
  font-size: 23px;
}

.info-dialog .eyebrow,
.detail-dialog .eyebrow {
  margin-bottom: 17px;
}

.info-dialog h2,
.detail-dialog h2 {
  max-width: 510px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.dialog-lede {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--paper-soft);
  font-size: 13px;
  line-height: 1.65;
}

.weight-list {
  display: grid;
  gap: 14px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weight-list > div {
  display: grid;
  grid-template-columns: 1fr 42px 125px;
  gap: 15px;
  align-items: center;
}

.weight-list > div > span {
  height: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.weight-list > div > span i {
  display: block;
  width: var(--weight);
  height: 100%;
  background: var(--lime);
}

.weight-list strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.weight-list p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.dialog-note {
  margin: 23px 0 0;
  color: #7d8178;
  font-size: 10px;
  line-height: 1.6;
}

.detail-hero {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  align-items: start;
  margin-bottom: 28px;
}

.detail-hero .poster {
  width: 150px;
}

.detail-hero h2 {
  font-size: 36px;
}

.detail-copy {
  color: var(--paper-soft);
  font-size: 12px;
  line-height: 1.65;
}

.detail-factor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.detail-factor {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}

.detail-factor span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-factor strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  min-width: min(380px, calc(100% - 28px));
  max-width: calc(100% - 28px);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #22261f;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  color: var(--paper-soft);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.toast button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--lime);
  color: #12150e;
  font-size: 9px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .landing-view {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr);
    gap: 55px;
  }

  .feature-result {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .feature-breakdown {
    grid-column: 2;
  }

  .recommendation-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header,
  .landing-view,
  .signal-ribbon__items,
  .method-preview,
  .results-view,
  .site-footer,
  .credits-page {
    width: min(calc(100% - 42px), var(--max-width));
  }

  .landing-view {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .session-card {
    width: min(100%, 640px);
    min-height: 530px;
  }

  .signal-ribbon__items span:nth-of-type(even),
  .signal-ribbon__items i:nth-of-type(even) {
    display: none;
  }

  .method-cards {
    grid-template-columns: 1fr 1fr;
  }

  .method-card:last-child {
    grid-column: span 2;
  }

  .feature-result {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .taste-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 26px;
  }

  .taste-panel__head {
    grid-column: span 2;
  }

  .taste-anchor {
    border-bottom: 0;
  }

  .taste-bars {
    padding-bottom: 16px;
  }

  .active-signals,
  .taste-caveat {
    grid-column: span 2;
  }

  .refine-panel {
    grid-template-columns: 1fr;
  }

  .refine-examples {
    grid-column: 1;
    margin-top: -16px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .landing-view,
  .signal-ribbon__items,
  .method-preview,
  .results-view,
  .site-footer,
  .credits-page {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    height: 76px;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav .nav-button:first-child {
    display: none;
  }

  .nav-button {
    font-size: 11px;
  }

  .landing-view {
    padding: 55px 0 72px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 14vw, 65px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof span::after {
    display: none;
  }

  .session-card {
    min-height: 550px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .session-heading h2 {
    font-size: 30px;
  }

  .reaction-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-ribbon__items {
    min-height: 62px;
    font-size: 13px;
  }

  .signal-ribbon__items span:nth-of-type(3),
  .signal-ribbon__items i:nth-of-type(3) {
    display: none;
  }

  .method-preview {
    padding: 90px 0;
  }

  .method-cards {
    grid-template-columns: 1fr;
  }

  .method-card:last-child {
    grid-column: auto;
  }

  .method-card {
    min-height: 320px;
  }

  .results-view {
    padding-top: 54px;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-heading h2 {
    font-size: 46px;
  }

  .feature-result {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .feature-result > .poster {
    width: min(68%, 245px);
    margin: 0 auto;
  }

  .feature-copy h3 {
    font-size: 44px;
  }

  .feature-breakdown {
    grid-column: 1;
  }

  .results-layout {
    margin-top: 65px;
  }

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

  .recommendation-card {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .taste-panel {
    display: block;
  }

  .taste-panel__head {
    grid-column: auto;
  }

  .taste-anchor {
    border-bottom: 1px solid var(--line);
  }

  .refine-panel {
    padding: 23px 18px;
  }

  .refine-form {
    flex-direction: column;
  }

  .refine-form button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
    padding: 28px 0;
  }

  .site-footer p {
    max-width: 520px;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }

  .credits-page {
    padding: 66px 0 82px;
  }

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

  .credits-card--tmdb {
    grid-row: auto;
  }

  .info-dialog,
  .detail-dialog {
    padding: 35px 22px 25px;
  }

  .weight-list > div {
    grid-template-columns: 1fr 36px 90px;
  }

  .detail-hero {
    grid-template-columns: 100px 1fr;
  }

  .detail-hero .poster {
    width: 100px;
  }

  .detail-hero h2 {
    font-size: 29px;
  }
}

@media (max-width: 430px) {
  .brand {
    letter-spacing: .13em;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .quick-pick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quick-pick {
    padding: 0 8px;
  }

  .recommendation-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 13px;
    padding: 12px;
  }

  .poster--small .poster-copy strong {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .card-copy h4 {
    font-size: 21px;
  }

  .card-reason {
    -webkit-line-clamp: 3;
  }

  .action-row .secondary-button,
  .action-row .primary-button {
    flex: 1;
  }

  .detail-factor-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
