:root {
  --black: #05070a;
  --ink: #10161e;
  --harbour: #071421;
  --graphite: #121820;
  --panel: #17202a;
  --steel: #324457;
  --silver: #d8dee7;
  --muted: #9aa6b5;
  --cream: #f0e7d6;
  --paper: #efe3cf;
  --gold: #c7a455;
  --brass: #d9b35f;
  --timber: #6a4b2f;
  --coffee: #2d2119;
  --canary: #f0c747;
  --line: rgba(216, 222, 231, 0.18);
  --warm-line: rgba(199, 164, 85, 0.38);
  --max: 1180px;
  --display: Oswald, "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: "IBM Plex Sans", Inter, "Segoe UI", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 32px;
  background: rgba(5, 7, 10, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand span {
  color: var(--cream);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--silver);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brass);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: var(--harbour);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.62) 45%, rgba(5, 7, 10, 0.84)),
    linear-gradient(0deg, rgba(5, 7, 10, 1), rgba(5, 7, 10, 0.08) 46%, rgba(5, 7, 10, 0.18)),
    url("/assets/canon-web/SET-HH-01__Harbour_House_exterior_in_rain.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 64px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding: 80px 0 78px;
}

.hero__copy {
  max-width: 720px;
}

.hero__media {
  position: relative;
  min-height: 560px;
}

.hero__portrait,
.hero__cover,
.reader-promo figure,
.object-strip figure {
  margin: 0;
}

.hero__portrait {
  overflow: hidden;
  width: 78%;
  min-width: 330px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(216, 222, 231, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

.hero__portrait img,
.cast-card img,
.world-card img,
.object-strip img,
.reader-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cover {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 46%;
  min-width: 210px;
}

.hero__cover img {
  border: 1px solid rgba(199, 164, 85, 0.5);
  border-radius: 5px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.56);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #73552f;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--cream);
  font-size: clamp(48px, 7vw, 92px);
}

h2 {
  margin-bottom: 18px;
  color: var(--cream);
  font-size: clamp(34px, 4vw, 54px);
}

h3 {
  margin-bottom: 10px;
  color: var(--cream);
  font-size: 24px;
}

.hero__tagline {
  margin-bottom: 16px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
}

.hero__body,
.lede {
  color: var(--silver);
  font-size: 20px;
  line-height: 1.55;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button--primary {
  background: var(--gold);
  color: var(--black);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--brass);
}

.button--secondary {
  border-color: rgba(216, 222, 231, 0.5);
  color: var(--cream);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--brass);
  color: var(--brass);
}

.button--dark {
  background: var(--ink);
  color: var(--cream);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #1c2632;
}

.button--outline-dark {
  border-color: rgba(16, 22, 30, 0.55);
  color: var(--ink);
}

.button--outline-dark:hover,
.button--outline-dark:focus-visible {
  border-color: var(--timber);
  color: var(--timber);
}

.section {
  padding: 94px 0;
}

.section__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section--paper,
.section--author {
  background:
    linear-gradient(180deg, rgba(239, 227, 207, 0.96), rgba(240, 231, 214, 1)),
    var(--paper);
  color: var(--ink);
}

.section--paper h2,
.section--paper h3,
.section--paper .lede,
.section--author h2 {
  color: var(--ink);
}

.section--world {
  background:
    linear-gradient(180deg, rgba(7, 20, 33, 0.96), rgba(5, 7, 10, 1)),
    var(--harbour);
}

.section--cast {
  background: #0b1016;
}

.section--video {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(16, 22, 30, 0.9)),
    var(--graphite);
}

.section--reader {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(7, 20, 33, 0.82)),
    url("/assets/canon-web/SET-CORRIDOR-01__Glass_corridor__access_route.jpg") center / cover no-repeat;
}

.book-feature,
.trailer-layout,
.reader-promo,
.author-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 56px;
  align-items: center;
}

.book-feature__copy {
  max-width: 720px;
}

.object-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.object-strip figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(16, 22, 30, 0.14);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(16, 22, 30, 0.18);
}

.object-strip figcaption,
.reader-promo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(5, 7, 10, 0.82);
  border: 1px solid rgba(199, 164, 85, 0.46);
  border-radius: 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 660px) 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--warm-line);
}

.section-heading--compact {
  grid-template-columns: minmax(0, 740px) 1fr;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.world-card,
.cast-card,
.protected-card {
  overflow: hidden;
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.world-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
}

.world-card img {
  aspect-ratio: 4 / 3;
}

.world-card--wide img {
  aspect-ratio: 16 / 8;
}

.world-card div,
.cast-card,
.protected-card div {
  padding: 22px;
}

.world-card p,
.cast-card p,
.trailer-copy p,
.reader-promo p,
.protected-card p,
.reader-hero p:last-child {
  color: rgba(216, 222, 231, 0.84);
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cast-card img {
  aspect-ratio: 4 / 5;
  margin: -22px -22px 18px;
  width: calc(100% + 44px);
  max-width: none;
}

.cast-card--mara {
  border-color: rgba(199, 164, 85, 0.52);
}

.trailer-copy {
  max-width: 540px;
}

.video-frame {
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(199, 164, 85, 0.36);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.reader-promo > div {
  max-width: 680px;
}

.reader-promo figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(216, 222, 231, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.author-band {
  grid-template-columns: minmax(0, 450px) minmax(0, 1fr);
}

.author-band p:last-child {
  font-size: 18px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  background: var(--black);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  text-decoration: none;
}

.reader-hero {
  min-height: 500px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.95), rgba(5, 7, 10, 0.58)),
    linear-gradient(0deg, rgba(5, 7, 10, 0.98), rgba(5, 7, 10, 0)),
    url("/assets/canon-web/SET-CARINA-01__Carina_Room__investor_meeting_room.jpg") center / cover no-repeat;
}

.reader-hero__content {
  width: min(var(--max), calc(100% - 48px));
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 0 80px;
}

.reader-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.reader-section {
  background:
    linear-gradient(180deg, rgba(7, 20, 33, 0.95), rgba(5, 7, 10, 1)),
    var(--harbour);
}

.reader-layout {
  display: grid;
  gap: 28px;
}

.unlock-panel,
.unlocked-panel {
  max-width: 960px;
  padding: 36px;
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid rgba(199, 164, 85, 0.34);
  border-radius: 8px;
}

.unlock-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

input[type="password"] {
  min-height: 46px;
  width: 100%;
  padding: 12px 14px;
  background: rgba(5, 7, 10, 0.72);
  border: 1px solid rgba(216, 222, 231, 0.28);
  border-radius: 6px;
  color: var(--cream);
  font: inherit;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--brass);
}

.protected-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.protected-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

#casefile-preview {
  aspect-ratio: 16 / 9;
  background: #05070a;
  object-fit: contain;
}

.protected-card audio {
  display: block;
  min-height: 44px;
  margin-top: 14px;
  width: 100%;
}

.protected-card audio[hidden],
.protected-card .button[hidden] {
  display: none;
}

.protected-card--audio {
  display: flex;
  flex-direction: column;
}

.protected-card--audio img {
  max-height: 280px;
  border-top: 1px solid rgba(216, 222, 231, 0.14);
}

.protected-card--audio .button {
  margin-top: 14px;
}

.text-button {
  margin-top: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--gold);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.privacy-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.64)),
    linear-gradient(0deg, rgba(5, 7, 10, 0.98), rgba(5, 7, 10, 0.1)),
    url("/assets/canon-web/SET-CORRIDOR-01__Glass_corridor__access_route.jpg") center / cover no-repeat;
}

.privacy-hero__content {
  width: min(var(--max), calc(100% - 48px));
  max-width: 780px;
  margin: 0 auto;
  padding: 104px 0 86px;
}

.privacy-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.privacy-hero p {
  max-width: 720px;
  color: rgba(216, 222, 231, 0.88);
  font-size: 20px;
}

.privacy-date {
  margin-top: 22px;
  color: var(--brass);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.privacy-section {
  padding-top: 74px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.privacy-summary {
  position: sticky;
  top: 104px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(106, 75, 47, 0.22);
  border-radius: 8px;
}

.privacy-summary h2 {
  color: var(--ink);
  font-size: 32px;
}

.privacy-copy {
  display: grid;
  gap: 30px;
  max-width: 820px;
}

.privacy-copy section {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(106, 75, 47, 0.18);
}

.privacy-copy section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-copy h2 {
  color: var(--ink);
  font-size: 32px;
}

.privacy-copy p,
.privacy-copy li {
  color: rgba(16, 22, 30, 0.88);
}

.privacy-copy ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.privacy-copy a {
  color: #73552f;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .hero__inner,
  .book-feature,
  .trailer-layout,
  .reader-promo,
  .author-band,
  .world-card--wide {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 460px;
    max-width: 560px;
  }

  .world-card--wide {
    grid-column: span 1;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 22px;
  }

  .site-nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner,
  .section__inner,
  .reader-hero__content,
  .privacy-hero__content {
    width: min(100% - 32px, var(--max));
  }

  .hero__inner {
    padding: 70px 0 54px;
  }

  .hero__media {
    min-height: 390px;
  }

  .hero__portrait {
    min-width: 0;
    width: 82%;
  }

  .hero__cover {
    width: 40%;
    min-width: 160px;
  }

  .hero__tagline {
    font-size: 24px;
  }

  .hero__body,
  .lede {
    font-size: 18px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading,
  .world-grid,
  .cast-grid,
  .protected-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-summary {
    position: static;
  }

  .object-strip {
    grid-template-columns: 1fr;
  }

  .object-strip figure {
    aspect-ratio: 16 / 10;
  }

  .unlock-panel,
  .unlocked-panel {
    padding: 26px;
  }

  .password-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-nav {
    font-size: 12px;
  }

  .reader-hero h1,
  .privacy-hero h1 {
    font-size: 38px;
  }

  .brand span {
    font-size: 22px;
  }

  .button,
  .button-row,
  .hero__actions {
    width: 100%;
  }

  .hero__actions .button,
  .button-row .button,
  .password-row .button {
    width: 100%;
  }

  .footer {
    padding: 24px 18px;
  }
}
