:root {
  color-scheme: dark;
  --ink: #131619;
  --ink-depth: #0c1014;
  --cream: #fffaf2;
  --paper: #f6f4ef;
  --gold: #f3ce85;
  --muted: #bec6c3;
  --paper-muted: #5f5a52;
  --dark-line: #353b44;
  --paper-line: #d9d1c4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --max: 1240px;
  --gutter: clamp(18px, 4.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 16px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 18px; top: 12px; transform: translateY(-200%); padding: 10px 18px; background: var(--gold); color: var(--ink); }
.skip-link:focus { transform: none; }

.masthead { background: var(--ink-depth); border-bottom: 1px solid var(--dark-line); }
.masthead-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand-type { font: 700 26px/.85 var(--sans); letter-spacing: .12em; }
.brand-type span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.site-nav { display: flex; gap: clamp(4px, 1.2vw, 16px); }
.site-nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: clamp(8px, 1.2vw, 17px);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}
.site-nav a:hover, .site-nav a[aria-current] { background: #242b35; color: var(--cream); }

.hero {
  padding-block: clamp(48px, 6vw, 84px) 24px;
  background: radial-gradient(ellipse at 50% 68%, #2e353e 0%, #171d25 40%, var(--ink-depth) 86%);
}
.hero-copy { text-align: center; }
.company-name {
  color: var(--gold);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 650;
  letter-spacing: .035em;
}
.hero h1 {
  margin-block: 10px 14px;
  font: 650 clamp(44px, 5.4vw, 82px)/1.05 var(--sans);
  letter-spacing: -.065em;
}
.hero h1 span { white-space: nowrap; }
.hero-intro { max-width: 48ch; margin-inline: auto; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }

.showcase {
  --poster: clamp(214px, 28vw, 284px);
  margin-top: clamp(22px, 3.5vw, 45px);
}
.showcase-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: calc(var(--poster) * 10 / 7 + 25px);
  touch-action: pan-y pinch-zoom;
}
.featured-poster {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--poster);
  aspect-ratio: 7 / 10;
  background: var(--ink-depth);
  border: 1px solid #c6b386;
  border-radius: 11px;
  box-shadow: 0 15px 36px #05070bb5;
  transition: border-color 180ms ease;
}
.featured-poster:hover { border-color: var(--cream); }
.featured-poster img, .side-poster { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.featured-poster:focus-visible { outline-color: var(--gold); }
.side-poster {
  position: absolute;
  width: calc(var(--poster) * .86);
  height: auto;
  aspect-ratio: 7 / 10;
  border: 1px solid #7e7c7a;
  filter: brightness(.55) saturate(.82);
  pointer-events: none;
  box-shadow: 0 9px 22px #070b0c7a;
}
.side-poster-left { transform: translateX(-112%); }
.side-poster-right { transform: translateX(112%); }
.showcase-footer {
  text-align: center;
}
.slide-caption { min-height: 63px; padding-top: 5px; }
.slide-caption h2 { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
.slide-genre { display: block; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .10em; font-weight: 700; }
.slide-caption p { margin-top: 5px; color: var(--cream); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.3; font-weight: 650; }
.cover-controls { display: flex; align-items: center; }
.showcase-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(44px, 4vw, 52px);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 1px solid #737c88;
  border-radius: 13px;
  background: #202734;
  color: var(--cream);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.showcase-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.showcase-arrow-prev { inset-inline-start: max(12px, calc(50% - var(--poster) * 1.55 - 52px)); }
.showcase-arrow-next { inset-inline-end: max(12px, calc(50% - var(--poster) * 1.55 - 52px)); }
.showcase-arrow-prev::before { transform: translateX(2px) rotate(-135deg); }
.showcase-arrow-next::before { transform: translateX(-2px) rotate(45deg); }
.showcase-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid #657173;
  border-radius: 12px;
  background: transparent;
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.icon-button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.display-heading, .catalogue h1, .legal h1 {
  font: 650 clamp(36px, 4.9vw, 66px)/1.03 var(--sans);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.section-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.story-cta, .text-link, .series-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  text-underline-offset: 4px;
}
.text-link:hover, .series-link:hover, .story-cta:hover { text-decoration: underline; }
.home-stories, .collections, .partnerships, .catalogue, .legal {
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}
.home-stories :focus-visible, .collections :focus-visible, .partnerships :focus-visible,
.catalogue :focus-visible, .legal :focus-visible { outline-color: #875811; }
.home-stories { padding-block: clamp(48px, 6.5vw, 98px) 15px; }
.stories-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 26px;
  margin-bottom: clamp(22px, 3.2vw, 42px);
}
.stories-intro .section-kicker, .catalogue .section-kicker { margin-bottom: 8px; color: #755029; }
.stories-intro .story-cta { align-self: end; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 55px) clamp(20px, 3.5vw, 48px) 0;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}
.feature-panel.feature-lead {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  grid-template-rows: auto;
  align-items: center;
  padding-bottom: clamp(24px, 4vw, 55px);
  text-align: left;
}
.feature-sea { color: #f8f6f1; background: radial-gradient(ellipse at 77% 38%, #364a63, #162536 50%, #121b28 85%); }
.feature-pearl { background: radial-gradient(ellipse at 50% 85%, #c9d9e6, #e7edf2 72%); }
.feature-ember { background: radial-gradient(ellipse at 50% 85%, #dfbd93, #f3e6d3 75%); }
.feature-copy { width: 100%; max-width: 34rem; }
.feature-copy .section-kicker { color: #755029; }
.feature-sea .section-kicker { color: var(--gold); }
.feature-sea :focus-visible { outline-color: var(--gold); }
.feature-copy h3 {
  margin-block: 10px 12px;
  font: 650 clamp(26px, 3.2vw, 47px)/1.07 var(--sans);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.feature-lead .feature-copy h3 { font-size: clamp(30px, 4.4vw, 60px); }
.feature-copy p:not(.section-kicker) { color: #393d45; font-size: clamp(16px, 1.4vw, 19px); }
.feature-sea .feature-copy p:not(.section-kicker) { color: #e0e4e8; }
.feature-copy .story-cta {
  margin-top: 15px;
  padding-inline: 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background-color 180ms ease;
}
.feature-copy .story-cta:hover { background: #7b81912b; text-decoration: none; }
.feature-art { display: grid; width: min(62%, 245px); align-self: end; margin-bottom: -18px; }
.feature-lead .feature-art { width: min(73%, 328px); margin: 0; }
.feature-art img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 35px #1518214a;
}
.collections { padding-block: clamp(43px, 6vw, 90px); }
.collections h2 { font-size: clamp(29px, 3.7vw, 51px); margin-bottom: 24px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.collection-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: clamp(105px, 13vw, 165px);
  padding: 13px clamp(11px, 2vw, 21px);
  overflow: hidden;
  border-radius: 12px;
  background: #222d3c;
  color: #fff;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 700;
}
.collection-card img, .collection-card::after { position: absolute; width: 100%; height: 100%; inset: 0; }
.collection-card img { z-index: -2; object-fit: cover; object-position: center 29%; transition: transform 230ms ease; }
.collection-card::after { z-index: -1; content: ""; background: linear-gradient(0deg, #070b12f5 1%, #101621a6 37%, #11172622 100%); }
.collection-card > span { display: flex; width: 100%; gap: 8px; justify-content: space-between; }
.collection-card:hover img { transform: scale(1.045); }

.studio { padding-block: clamp(52px, 7vw, 94px); background: #182230; color: var(--cream); }
.studio .section-kicker { color: var(--gold); margin-bottom: 12px; }
.studio-intro { display: grid; grid-template-columns: 1fr minmax(0, .85fr); gap: 24px clamp(28px, 8vw, 130px); align-items: end; }
.studio p:not(.section-kicker) { color: #c5cbd3; }
.studio-intro > p { font-size: clamp(16px, 1.6vw, 21px); }
.studio-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px clamp(23px, 4vw, 48px);
  margin-top: clamp(26px, 4vw, 54px);
}
.studio-principles article { padding-top: 18px; border-top: 1px solid #586474; }
.studio-principles h3 { margin-bottom: 7px; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.partnerships { padding-block: clamp(54px, 7vw, 97px); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-block: 25px 17px; }
.partner-grid article { display: grid; align-content: start; gap: 9px; padding: clamp(21px, 3.5vw, 39px); border: 1px solid var(--paper-line); border-radius: 15px; background: #fffcf7; }
.partner-grid h3, .contact h3 { font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.035em; line-height: 1.22; }
.partner-grid p, .contact address, .legal address { color: var(--paper-muted); font-style: normal; }
.partner-grid .story-cta, .contact .text-link, .series-link { color: #704a19; }
.contact {
  display: grid;
  grid-template-columns: 1fr minmax(0, .7fr);
  gap: 6px 24px;
  padding: 20px clamp(12px, 3.5vw, 39px);
  align-items: center;
  border-top: 1px solid var(--paper-line);
}
.contact .text-link { max-width: 100%; overflow-wrap: anywhere; }

.catalogue-intro { text-align: center; padding-block: clamp(56px, 8vw, 104px) clamp(34px, 5vw, 66px); background: #eeebe4; }
.catalogue-intro h1 + p { max-width: 56ch; margin: 15px auto 0; color: var(--paper-muted); font-size: clamp(16px, 1.6vw, 20px); }
.genre-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 25px; }
.genre-nav a { display: inline-grid; place-items: center; min-height: 44px; border: 1px solid #9a9182; border-radius: 999px; padding-inline: 18px; font-size: 14px; font-weight: 650; transition: background-color 200ms ease, color 200ms ease; }
.genre-nav a:hover { background: var(--ink); color: var(--cream); }
.catalogue-groups { padding-bottom: clamp(48px, 7vw, 90px); }
.genre-section { padding-top: clamp(36px, 6vw, 78px); }
.genre-section + .genre-section { margin-top: clamp(29px, 5vw, 64px); border-top: 1px solid var(--paper-line); }
.genre-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 20px; margin-bottom: 22px; }
.genre-heading h2 { font: 650 clamp(28px, 4vw, 49px)/1.1 var(--sans); letter-spacing: -.05em; margin-bottom: 5px; }
.genre-heading p, .genre-heading > span { color: var(--paper-muted); }
.genre-heading > span { font-size: 14px; }
.series-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.series-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 24px;
  border: 1px solid var(--paper-line);
  border-radius: 13px;
  background: #fffdfa;
}
.series-card:target { outline: 3px solid #875811; outline-offset: 4px; }
.series-cover { display: block; aspect-ratio: 2 / 3; border-radius: 12px 12px 0 0; overflow: hidden; background: #20232a; }
.series-cover img { width: 100%; height: 100%; object-fit: contain; transition: transform 230ms ease; }
.series-cover:hover img { transform: scale(1.025); }
.series-meta { display: flex; flex: 1; flex-direction: column; padding: 13px clamp(12px, 1.3vw, 17px) 8px; }
.series-meta h3 { font-size: clamp(16px, 1.45vw, 20px); font-weight: 680; line-height: 1.2; letter-spacing: -.02em; }
.series-meta p { margin-block: 8px; color: var(--paper-muted); font-size: 14px; }
.series-meta .series-link { margin-top: auto; font-size: 14px; }

.site-footer { background: #0b1017; color: #b9c2ce; }
.footer-main {
  display: grid;
  grid-template-columns: 1.45fr .74fr 1.1fr .74fr;
  gap: 25px clamp(15px, 4vw, 54px);
  padding-block: clamp(34px, 6vw, 72px);
}
.footer-brand { min-width: 0; }
.footer-brand .brand { color: var(--cream); margin-bottom: 8px; }
.footer-brand .brand-type { color: var(--gold); }
.footer-company { color: var(--cream); font-weight: 650; }
.footer-brand p:not(.footer-company) { max-width: 28ch; margin-top: 5px; }
.footer-main p, .footer-main a, .footer-main address { font-size: 14px; }
.footer-brand > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-group h2 { color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.footer-group a { display: inline-flex; align-items: center; min-height: 34px; text-underline-offset: 4px; }
.footer-group address { margin-top: 8px; font-style: normal; }
.footer-main a:hover, .footer-main a[aria-current], .footer-bottom a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 18px; padding-block: 9px; border-top: 1px solid #374253; font-size: 13px; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; }

.legal { color-scheme: light; color: var(--ink); background: var(--paper); padding-block: clamp(52px, 8vw, 100px); }
.legal-inner { max-width: 760px; }
.legal-date { margin-top: 14px; color: var(--paper-muted); font-size: 14px; }
.legal-copy { display: grid; gap: 24px; margin-top: 34px; }
.legal-copy section { padding-top: 20px; border-top: 1px solid var(--paper-line); }
.legal-copy h2 { margin-bottom: 10px; font-size: 21px; line-height: 1.25; }
.legal-copy p + p { margin-top: 10px; }
.legal-copy a { color: #6e4715; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

.cover-dialog { width: min(820px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; border: 1px solid #687473; border-radius: 9px; background: #172124; color: var(--cream); overflow: auto; }
.cover-dialog::backdrop { background: rgb(5 8 9 / 88%); }
.cover-layout { display: grid; grid-template-columns: 1fr .82fr; position: relative; }
.cover-art { display: grid; place-items: center; background: var(--ink-depth); }
.cover-art img { width: 100%; height: min(78svh, 650px); object-fit: contain; }
.dialog-close { position: absolute; z-index: 1; right: 10px; top: 10px; background: var(--ink-depth); font-size: 25px; }
.cover-info { align-self: end; min-width: 0; padding: 50px clamp(18px, 3.8vw, 43px) 28px; }
.cover-info h2 { margin-block: 12px 25px; font: 400 clamp(23px, 3.3vw, 40px)/1.12 var(--serif); overflow-wrap: anywhere; }
.cover-description { margin: -12px 0 20px; color: var(--muted); }
.cover-controls { gap: 12px; }
.cover-controls > span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

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

@media (max-width: 760px) {
  .feature-panel.feature-lead { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .feature-lead .feature-art { width: min(64%, 280px); }
  .studio-intro { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-group a { min-height: 40px; }
}

@media (max-width: 679px) {
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .partner-grid, .studio-principles { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(36px, 11.7vw, 51px); }
  .hero h1 span { display: block; }
  .showcase { --poster: clamp(160px, 54vw, 235px); }
  .side-poster-left { transform: translateX(-100%); }
  .side-poster-right { transform: translateX(100%); }
  .showcase-arrow { background: #202734ed; }
}

@media (max-width: 480px) {
  .masthead-inner { gap: 8px; }
  .brand-type { font-size: 21px; }
  .brand-type span { font-size: 9px; letter-spacing: .06em; }
  .site-nav a { font-size: 13px; padding-inline: 6px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-main { column-gap: 16px; }
  .cover-layout { grid-template-columns: minmax(0, 1fr); }
  .cover-art img { height: min(51svh, 505px); }
  .cover-info { padding-top: 19px; }
  .cover-info h2 { margin-block: 8px 14px; }
  .cover-description { margin-top: -4px; }
}

@media (max-width: 390px) {
  .series-grid { grid-template-columns: minmax(0, 1fr); }
  .series-cover { aspect-ratio: 1 / 1; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
