@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/aporia/Cinzel-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.aporia-page {
  --bg: #0b1823;
  --bg-elev: #122331;
  --text: #f5edde;
  --text-muted: #c6bfaf;
  --text-faint: #c6bfaf;
  --accent: #e4c98e;
  --border: #d7bb7b30;
  --border-strong: #d7bb7b66;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  scrollbar-color: #9c875e #0b1823;
}
.aporia-page::before { display: none; }
.aporia-page ::selection { background: #e4c98e; color: #0b1823; }
.aporia-page :focus-visible { outline-color: #e4c98e; }
.aporia-page .skip-link { color: #0b1823; }
.aporia-page .site-header { background: #0b1823; backdrop-filter: none; }
.aporia-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.aporia-nav-links a { text-underline-offset: 5px; }
.aporia-nav-links a:hover { color: #e4c98e; text-decoration: underline; }

.aporia-hero { min-height: 710px; position: relative; display: grid; align-items: center; isolation: isolate; }
.aporia-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; z-index: -2; }
.aporia-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b1823 0%, #0b1823ed 28%, #0b18236b 57%, #0b182300 78%), linear-gradient(0deg, #0b1823 0%, #0b182300 28%); }
.aporia-hero-inner { padding-block: 70px 90px; }
.aporia-hero-copy { max-width: 535px; }
.aporia-title { font-family: "Cinzel", Georgia, serif; font-size: clamp(64px, 7vw, 96px); font-weight: 600; line-height: 1.05; letter-spacing: 0.025em; color: #e4c98e; }
.aporia-title span { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: 0.3em; margin-top: 12px; color: #e8ddc4; }
.aporia-tagline { font-family: "Cinzel", Georgia, serif; font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.25; margin-top: 36px; }
.aporia-intro { font-size: 17px; line-height: 1.8; max-width: 41ch; color: #ded6c7; margin-top: 20px; }
.aporia-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.store-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 24px; background: #e4c98e; color: #0b1823; border: 1px solid #e4c98e; border-radius: 7px; font-weight: 600; font-size: 16px; transition: background .2s, border-color .2s; }
.store-link:hover { background: #f3dfb4; border-color: #f3dfb4; }
.store-link svg { width: 21px; height: 21px; flex: none; }
.aporia-text-link { font-size: 14px; color: #e8ddc4; text-decoration: underline; text-underline-offset: 5px; }
.aporia-text-link:hover { color: #fff; }
.aporia-platforms { color: #c6bfaf; font-size: 13px; margin-top: 16px; }

.aporia-world { padding-block: 90px 100px; }
.aporia-world h2, .aporia-download h2 { font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.3; max-width: 23ch; text-wrap: balance; }
.aporia-world > .wrap > p { color: #c6bfaf; margin-top: 18px; max-width: 65ch; font-size: 17px; }
.aporia-posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.aporia-posters figure { margin: 0; min-width: 0; }
.aporia-posters img { width: 100%; height: auto; border-radius: 3px; }
.aporia-download { padding-block: 68px; border-top: 1px solid #d7bb7b30; }
.aporia-download .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.aporia-download p { color: #c6bfaf; margin-top: 14px; max-width: 53ch; }
.aporia-footer { padding-block: 28px; border-top: 1px solid #d7bb7b30; font-size: 13px; color: #c6bfaf; }
.aporia-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.aporia-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.aporia-footer a { text-decoration: underline; text-underline-offset: 4px; }
.aporia-footer a:hover { color: #e4c98e; }

@media (max-width: 680px) {
  .aporia-nav-links { gap: 15px; font-size: 12px; }
  .aporia-nav-links a:first-child { display: none; }
  .aporia-hero { min-height: 820px; align-items: end; }
  .aporia-hero-art { object-position: 64% 12%; }
  .aporia-hero::before { background: linear-gradient(0deg, #0b1823 3%, #0b1823f5 43%, #0b182350 67%, #0b182300 100%); }
  .aporia-hero-inner { padding-block: 335px 44px; }
  .aporia-title { font-size: clamp(60px, 17vw, 82px); }
  .aporia-title span { font-size: 12px; letter-spacing: 0.27em; }
  .aporia-tagline { font-size: 32px; margin-top: 28px; }
  .aporia-intro { font-size: 16px; max-width: 38ch; margin-top: 16px; }
  .aporia-actions { gap: 18px; margin-top: 25px; }
  .aporia-platforms { font-size: 12px; }
  .aporia-world { padding-block: 55px 60px; }
  .aporia-posters { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 20px; scroll-snap-type: x mandatory; scrollbar-color: #9c875e #0b1823; }
  .aporia-posters figure { flex: 0 0 84%; scroll-snap-align: start; }
  .aporia-download { padding-block: 45px; }
}
