:root {
  color-scheme: dark;
  --background: #101013;
  --foreground: #f7f5f7;
  --card: #1c1c21;
  --secondary: #25252c;
  --accent: #2c2c32;
  --border: #26262c;
  --muted-foreground: #aaa9b2;
  --faint: #7c7b84;
  --primary: #f0a0bd;
  --primary-foreground: #101013;
  --ring: #ae5d7b;
  --radius: 10px;
  --radius-xl: 14px;
  --radius-2xl: 18px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Allo, ui-sans-serif, -apple-system, system-ui, sans-serif;
  font-weight: 420;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--ring), transparent 50%);
  outline-offset: 2px;
  border-radius: var(--radius);
}
img {
  display: block;
  max-width: 100%;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 620;
  text-wrap: balance;
}
h1 {
  font-size: clamp(1.875rem, 7vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h2 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
h3 {
  font-size: 1rem;
  line-height: 1.4;
}
p {
  margin: 0;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 520;
  letter-spacing: normal;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.btn-lg {
  height: 44px;
  padding: 0 20px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: color-mix(in oklch, var(--primary), transparent 20%);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--foreground);
}
.btn-secondary:hover {
  background: color-mix(in oklch, var(--secondary), var(--foreground) 5%);
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 72rem;
  min-height: 56px;
  margin: 0 auto;
  padding: 8px 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand img {
  width: 28px;
  height: 28px;
}
.brand span {
  display: none;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.09em;
}
.site-head nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 520;
}
.nav-link:hover {
  background: color-mix(in oklch, var(--secondary), transparent 50%);
  color: var(--foreground);
}
.site-head .btn {
  margin-left: 4px;
}
@media (min-width: 768px) {
  .site-head {
    padding: 24px 32px 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand span {
    display: inline;
  }
}

.page {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 8px 16px 32px;
}
@media (min-width: 768px) {
  .page {
    padding: 8px 32px 32px;
  }
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: -16px;
  color: var(--faint);
  font-size: 0.875rem;
}
.crumbs a {
  color: var(--muted-foreground);
}
.crumbs a:hover {
  color: var(--foreground);
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 48rem;
  padding-top: 8px;
}
.lead {
  color: color-mix(in oklch, var(--foreground), transparent 10%);
  font-size: 1rem;
  line-height: 1.6;
}
.small {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.55;
}
.note {
  color: var(--faint);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--secondary);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-name {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 12px 8px;
  background: linear-gradient(to top, color-mix(in oklch, var(--background), transparent 10%), transparent);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  text-wrap: balance;
}
.cover-empty {
  background: linear-gradient(to bottom, var(--accent), var(--card));
}
.cover-empty .cover-name {
  padding: 12px;
  background: none;
  font-size: 1.25rem;
  letter-spacing: -0.012em;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.card .cover {
  transition: transform 0.2s;
}
.card:hover .cover {
  transform: translateY(-4px);
}
.card-tag {
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.card-hook {
  display: -webkit-box;
  overflow: hidden;
  color: color-mix(in oklch, var(--foreground), transparent 10%);
  font-size: 0.875rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  }
}
.shelf {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shelf h2 a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chevron {
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-top: 2px solid var(--muted-foreground);
  border-right: 2px solid var(--muted-foreground);
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.shelf h2 a:hover .chevron {
  border-color: var(--foreground);
  transform: translateX(2px) rotate(45deg);
}
.row {
  display: flex;
  gap: 16px;
  margin: -4px -16px 0;
  padding: 4px 16px 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.row::-webkit-scrollbar {
  display: none;
}
.row .card {
  flex: none;
  width: 128px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .row {
    margin: -4px -32px 0;
    padding: 4px 32px 16px;
  }
  .row .card {
    width: 160px;
  }
}

.how ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 48rem;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.how strong {
  color: var(--foreground);
  font-weight: 620;
}
.faq {
  display: flex;
  flex-direction: column;
  max-width: 48rem;
}
.faq h3 {
  margin: 20px 0 6px;
}
.faq p {
  color: var(--muted-foreground);
  line-height: 1.6;
}
.more {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--secondary);
  font-size: 0.875rem;
  font-weight: 520;
}
.chips a:hover {
  background: color-mix(in oklch, var(--secondary), var(--foreground) 5%);
}

.story {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
}
.story-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
  margin: 0 -16px;
  overflow: hidden;
  background: var(--secondary);
}
.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.story-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--background) 5%,
    color-mix(in oklch, var(--background), transparent 40%) 30%,
    transparent 60%
  );
}
.story-cover-empty {
  aspect-ratio: 5 / 2;
  background: linear-gradient(to bottom, var(--accent), var(--background));
}
.story-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  margin-top: -128px;
}
.story-cover-empty + .story-copy {
  margin-top: -64px;
}
.story-desc {
  max-width: 48ch;
  color: color-mix(in oklch, var(--foreground), transparent 10%);
  font-size: 1rem;
  line-height: 1.625;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -8px;
}
.tags li {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 26px;
  background: var(--secondary);
  font-size: 0.75rem;
  font-weight: 520;
  letter-spacing: 0.01em;
}
.actions {
  display: grid;
  gap: 8px;
}
@media (min-width: 768px) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 0;
    min-height: 28rem;
  }
  .story-cover {
    position: absolute;
    inset: 0 0 0 43%;
    z-index: -1;
    max-height: none;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
  }
  .story-cover img {
    object-position: center 30%;
  }
  .story-cover::after {
    background: linear-gradient(
      to right,
      var(--background),
      color-mix(in oklch, var(--background), transparent 75%) 40%,
      transparent 75%
    );
  }
  .story-copy,
  .story-cover-empty + .story-copy {
    margin-top: 0;
    padding: 24px 16px 24px 0;
  }
  .actions {
    display: flex;
    flex-wrap: wrap;
  }
}

.title {
  font-size: clamp(2.625rem, 8.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: normal;
  overflow-wrap: anywhere;
  font-kerning: normal;
}
.title .stack {
  display: block;
  font-size: 1.4em;
  line-height: 0.9;
}
.title .stack span {
  display: block;
}
@media (min-width: 768px) {
  .title .stack {
    font-size: 1.3em;
  }
}
.title-editorial {
  font-family: "Instrument Serif", Georgia, serif;
}
.title-couture {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2.375rem, 8vw, 3.25rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
}
.title-noir {
  font-family: Melodrama, Georgia, serif;
  font-size: clamp(2.75rem, 9.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: 0.005em;
}
.title-gothic {
  font-family: "Pirata One", Georgia, serif;
  font-size: clamp(2.5rem, 8.5vw, 3.375rem);
  letter-spacing: 0.01em;
}
.title-regal {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.125rem, 7.5vw, 2.875rem);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.title-bookish {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 3.25rem);
  font-weight: 600;
}
.title-oldprint {
  font-family: "IM Fell English", Georgia, serif;
  font-size: clamp(2.375rem, 8vw, 3.25rem);
}
.title-deco {
  font-family: Limelight, Georgia, serif;
  font-size: clamp(2rem, 7vw, 2.75rem);
  letter-spacing: 0.01em;
}
.title-athletic {
  font-family: Tanker, Allo, sans-serif;
  font-size: clamp(2.5rem, 9vw, 3.5rem);
  letter-spacing: 0.01em;
}
.title-motorsport {
  font-family: Panchang, Allo, sans-serif;
  font-size: clamp(1.375rem, 5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.title-military {
  font-family: "Bespoke Stencil", Allo, sans-serif;
  font-size: clamp(2.25rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.005em;
}
.title-romcom {
  font-family: Britney, Allo, sans-serif;
  font-size: clamp(2.125rem, 7.5vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.title-star {
  font-family: Stardom, Georgia, serif;
  font-size: clamp(2.375rem, 8vw, 3.25rem);
}
.title-cozy {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.375rem, 8vw, 3.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.title-western {
  font-family: Rye, Georgia, serif;
  font-size: clamp(2rem, 7vw, 2.625rem);
}
@media (min-width: 768px) {
  .title-editorial {
    font-size: clamp(2.5rem, 3.75vw, 3.25rem);
  }
  .title-couture,
  .title-bookish,
  .title-oldprint,
  .title-star {
    font-size: clamp(2.25rem, 3.5vw, 3rem);
  }
  .title-noir {
    font-size: clamp(2.625rem, 4vw, 3.5rem);
  }
  .title-gothic {
    font-size: clamp(2.375rem, 3.5vw, 3.125rem);
  }
  .title-regal,
  .title-military {
    font-size: clamp(2.125rem, 3.25vw, 2.75rem);
  }
  .title-deco {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }
  .title-athletic {
    font-size: clamp(2.375rem, 3.75vw, 3.25rem);
  }
  .title-motorsport {
    font-size: clamp(1.375rem, 2.25vw, 1.875rem);
  }
  .title-romcom {
    font-size: clamp(2rem, 3.25vw, 2.625rem);
  }
  .title-cozy {
    font-size: clamp(2.25rem, 3.5vw, 2.875rem);
  }
  .title-western {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
  }
}

.opening {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 45rem;
  padding: 20px;
  border-radius: var(--radius-2xl);
  background: var(--card);
}
.opening p {
  color: color-mix(in oklch, var(--foreground), transparent 10%);
  font-size: 1rem;
  line-height: 1.65;
}
.opening em {
  color: var(--foreground);
}
.opening .after {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}
.texts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.opening .bubble {
  align-self: flex-start;
  max-width: 85%;
  padding: 8px 14px;
  border-radius: 16px 16px 16px 6px;
  background: var(--secondary);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.guide {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 48rem;
}
.guide-part {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.guide-part > p {
  color: color-mix(in oklch, var(--foreground), transparent 10%);
  font-size: 1rem;
  line-height: 1.65;
}
.guide-part > p a {
  color: var(--primary);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.picks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pick {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (min-width: 768px) {
  .pick {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
  }
}
.pick-cover .cover-name {
  display: none;
}
.pick-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.pick-copy h3 {
  font-size: 1.125rem;
}
.pick-copy p {
  color: color-mix(in oklch, var(--foreground), transparent 10%);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.pick-copy .pick-tags {
  margin-top: -4px;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}
.guide-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 48rem;
}
.guide-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--card);
  transition: background-color 0.15s;
}
.guide-list a:hover {
  background: var(--secondary);
}
.guide-list strong {
  font-weight: 620;
  line-height: 1.35;
}
.guide-list span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 24px 16px 32px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.site-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.site-foot a {
  color: var(--muted-foreground);
}
.site-foot a:hover {
  color: var(--foreground);
}
@media (min-width: 768px) {
  .site-foot {
    padding: 24px 32px 40px;
  }
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-xl);
  background: var(--card);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}
.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table-wrap thead th {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 620;
}
.table-wrap tbody th {
  font-weight: 620;
  white-space: nowrap;
}
.table-wrap td {
  color: color-mix(in oklch, var(--foreground), transparent 10%);
}
.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 639px) {
  .table-wrap {
    background: none;
    border-radius: 0;
    overflow: visible;
  }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap th,
  .table-wrap td {
    display: block;
  }
  .table-wrap thead {
    display: none;
  }
  .table-wrap tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .table-wrap tr {
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    background: var(--card);
  }
  .table-wrap tbody th {
    padding: 0 0 8px;
    border: 0;
    font-size: 1rem;
    white-space: normal;
  }
  .table-wrap td {
    padding: 6px 0 0;
    border: 0;
  }
  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    color: var(--faint);
    font-size: 0.75rem;
    font-weight: 620;
  }
  .table-wrap td[data-label=""]::before {
    display: none;
  }
}
