@font-face {
  font-family: "DM Sans";
  src: url("../fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #252525;
  --ink: #fafaf8;
  --muted: #e0e0da;
  --accent: #efff4c;
  --accent-ink: #191b11;
  --line: #686865;
  --panel: linear-gradient(145deg, #3b3b39, #2a2a29 76%);
  --shadow: 0 15px 30px #12121273;
  --gutter: clamp(20px, 3.25vw, 76px);
  --header-padding: clamp(15px, 1.35vw, 26px);
  --wordmark-size: clamp(23px, 2.5vw, 44px);
  --header-height: calc(var(--wordmark-size) * 1.12 + 2 * var(--header-padding) + 1px);
  --display: "DM Sans", sans-serif;
  --reading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.6 var(--display); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 2 * var(--gutter), 1260px); margin-inline: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 6;
  inset: .5rem auto auto .5rem;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1rem;
}
.skip-link:focus { transform: none; }

.graphite-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: var(--header-padding) var(--gutter);
  position: sticky;
  top: 0;
  z-index: 5;
  background: #202020f5;
  border-bottom: 1px solid #ffffff20;
}

@media (min-width: 721px) {
  .home .graphite-header, .ghostless-machine .graphite-header {
    margin-bottom: calc(-1 * var(--header-height));
  }
}
.graphite-wordmark {
  color: var(--accent);
  font-size: var(--wordmark-size);
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1.12;
  text-decoration: none;
  white-space: nowrap;
}
.graphite-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px clamp(16px, 2.6vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.graphite-header nav a { font-size: clamp(.91rem, 1.45vw, 1.5rem); text-decoration: none; }
a[aria-current="page"], .graphite-header nav a[aria-current="page"], .graphite-header a:hover { color: var(--accent); text-decoration: underline; }

.graphite-hero { position: relative; isolation: isolate; aspect-ratio: 3 / 2; container-type: inline-size; }
.graphite-hero picture { position: absolute; inset: 0; z-index: -1; }
.graphite-hero .graphite-book { width: 100%; height: 100%; object-fit: cover; }
.graphite-hero-copy { position: absolute; top: 21%; left: var(--gutter); width: 49%; }
.graphite-hero h1 { font-size: 9.1cqw; font-weight: 750; line-height: .87; letter-spacing: -.072em; }
.graphite-hero h1 span { display: block; }
.graphite-subtitle { margin-top: 2.55cqw; font-size: 2.58cqw; letter-spacing: -.035em; line-height: 1.12; }
.graphite-actions { display: flex; align-items: center; gap: 1em 1.3em; margin-top: 3.1cqw; font-size: clamp(1rem, 1.78vw, 1.9rem); }
.graphite-release {
  position: absolute;
  inset: auto var(--gutter) 3.8%;
  border-top: 1px solid #b9b9b6;
  padding-top: 1.05cqw;
  font-size: clamp(1rem, 1.53vw, 1.6rem);
}
.graphite-release span { margin-inline: .7em; }
.text-link { font-weight: 550; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .62em 1.1em;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}
.button:hover { background: var(--ink); color: var(--accent-ink); }
.button:disabled { opacity: .65; cursor: wait; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--accent); border-color: var(--accent); }

.home-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(25px, 7vw, 105px);
  padding-block: clamp(52px, 8vw, 110px) clamp(36px, 5vw, 74px);
}
.home-intro h2 { font-size: clamp(2rem, 4vw, 4rem); max-width: 16ch; }
.home-intro p { color: var(--muted); margin-top: .9rem; font: 1.18rem/1.5 var(--reading); }
.newsletter-box {
  justify-self: stretch;
  border-left: 1px solid var(--line);
  padding: clamp(16px, 2.8vw, 38px);
  background: linear-gradient(100deg, #30302f, transparent);
}
.newsletter-box h3 { margin-bottom: .9rem; font-size: 1.2rem; text-wrap: wrap; }

.home-destinations { padding-block: 22px clamp(58px, 7vw, 112px); }
.destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.destination-card { position: relative; display: flex; flex-direction: column; padding: clamp(18px, 2.6vw, 38px); min-height: 200px; }
.destination-card + .destination-card { border-inline-start: 1px solid var(--line); }
.destination-card:hover, .destination-card:focus-within { background: #343431; }
.destination-card h3 { font-size: clamp(1.4rem, 2.32vw, 2.15rem); }
.destination-card h3 a { text-decoration: none; }
.destination-card h3 a::after { content: ""; position: absolute; inset: 0; }
.destination-card p, .destination-subtitle { color: var(--muted); }
.destination-subtitle { display: block; font-weight: 600; line-height: 1.4; margin-top: .35rem; }
.destination-card p { margin: .7rem 0 1rem; }
.destination-action {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: .91rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.testimonials { margin-bottom: clamp(65px, 9vw, 140px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem .65rem; flex-wrap: wrap; }
.section-heading h2, .writing-section h2, .retailers h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.scroll-hint { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.quote-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #aaa9a1 #383835;
  padding: 12px 3px 25px;
}
.quote-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 38%, 458px);
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  height: 100%;
  padding: clamp(20px, 2.2vw, 32px);
  border: 1px solid #5d5d58;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.quote-card blockquote { color: var(--ink); font: 1.055rem/1.55 var(--reading); }
.quote-card figcaption { border-top: 1px solid var(--line); padding-top: .8rem; line-height: 1.4; }
.quote-card strong { color: var(--accent); display: block; }
.quote-card span { display: block; color: var(--ink); font-size: .875rem; margin-top: .18rem; }

.editorial-section {
  display: grid;
  grid-template-columns: minmax(13rem, .8fr) minmax(0, 1.55fr);
  gap: 1.6rem clamp(2rem, 5.5vw, 6rem);
  padding-block: clamp(33px, 5.3vw, 78px);
  border-top: 1px solid var(--line);
}
.editorial-section h2 { font-size: clamp(1.8rem, 4vw, 3.6rem); text-wrap: pretty; }
.reading {
  max-width: 70ch;
  min-width: 0;
  color: var(--ink);
  font: clamp(1.03rem, 1.34vw, 1.22rem)/1.68 var(--reading);
}
.reading p + p { margin-top: .95em; }
.reading a { color: var(--accent); }
.book-opening { border-top: 0; }
.book-excerpt .reading { border-inline-start: 2px solid var(--accent); padding-inline-start: clamp(14px, 3vw, 40px); }
.chapter { border: 1px solid var(--line); margin-bottom: .7rem; background: #30302e; }
.chapter summary {
  cursor: pointer;
  padding: .85rem 1rem;
  color: var(--ink);
  font: 680 1rem/1.35 var(--display);
}
.chapter summary::marker { color: var(--accent); }
.chapter-content { padding: .25rem 1rem 1rem; }
.retailers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: clamp(32px, 5vw, 70px);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(35px, 5vw, 80px);
  scroll-margin-top: 1rem;
}
.retailer-links { display: flex; flex-wrap: wrap; gap: .6rem; }

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(45px, 6vw, 90px);
}
.page-hero h1, .contact-heading h1 {
  font-size: clamp(3.3rem, 9vw, 8.5rem);
  letter-spacing: -.075em;
  line-height: .9;
  font-weight: 750;
}
.page-hero p { margin-top: 1.35rem; max-width: 32ch; font-size: clamp(1.125rem, 2.1vw, 1.7rem); line-height: 1.4; }
.writing-hero-image, .about-portrait {
  aspect-ratio: 1.24;
  object-fit: cover;
  box-shadow: 19px 20px 36px #1119;
}
.about-portrait { object-position: 50% 42%; }
.writing-section { padding-block: clamp(33px, 5.3vw, 78px); border-top: 1px solid var(--line); }
.writing-books { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 3vw, 2.5rem); margin-top: 1.25rem; }
.writing-book {
  display: grid;
  grid-template-columns: clamp(85px, 11vw, 166px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(1rem, 2vw, 1.8rem);
}
.writing-cover { box-shadow: 4px 8px 16px #151515a8; }
.writing-book h3 { font-size: clamp(1.3rem, 2.25vw, 2rem); }
.writing-book p { margin: .7rem 0; color: var(--ink); line-height: 1.5; }
.writing-book a { color: var(--accent); }
.editorial-links, .film-list { list-style: none; margin: .55rem 0 0; padding: 0; }
.editorial-links a, .film-list li { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.editorial-links a { color: var(--ink); }
.editorial-links a:hover { color: var(--accent); }
.film-list { margin-bottom: 1rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 2rem clamp(2rem, 6vw, 7rem);
  padding-block: clamp(42px, 7vw, 108px);
}
.contact-heading h1 { font-size: clamp(3.3rem, 8vw, 7rem); }
.contact-heading h2 { font-size: 1.35rem; margin-top: clamp(2rem, 4vw, 4rem); }
.contact-links { display: flex; flex-wrap: wrap; list-style: none; gap: .25rem 1rem; margin: .55rem 0 0; padding: 0; }
.contact-form {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.15vw, 45px);
}
.form-field { display: grid; gap: .3rem; margin-bottom: .95rem; }
.form-field label { font-weight: 700; }
.form-field label span { color: var(--accent); }
.form-field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: .62rem .75rem;
  border: 1px solid #8d8d87;
  border-radius: 2px;
  background: #232323;
  color: var(--ink);
  color-scheme: dark;
}
.form-field :is(input, textarea)::placeholder { color: #c3c3bb; opacity: 1; }
.form-field textarea { resize: vertical; }
.contact-status { margin-top: .8rem; }

.site-footer { border-top: 1px solid var(--line); background: #1c1c1c; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr .8fr;
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(32px, 5vw, 72px);
}
.footer-subscribe h2 { font-size: clamp(1.35rem, 2.5vw, 2.5rem); text-wrap: pretty; max-width: 19ch; }
.footer-subscribe .button { margin-top: .85rem; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer nav a { text-decoration: none; font-size: .98rem; }
.site-footer nav a:hover, .site-footer nav a[aria-current] { text-decoration: underline; }
.footer-end { border-top: 1px solid var(--line); padding-block: 1.25rem 1.6rem; }
.footer-end .graphite-wordmark { font-size: 1.35rem; }

@media (min-width: 721px) {
  .home .graphite-hero { --copy-inset: clamp(20px, 3vw, 60px); }
  .home .graphite-hero-copy { left: calc(var(--gutter) + var(--copy-inset)); }
  .home .graphite-actions { font-size: clamp(1rem, 1.66vw, 1.75rem); }
  .home .graphite-release { padding-inline-start: var(--copy-inset); }
}

@media (min-width: 1024px) and (min-aspect-ratio: 17/10) {
  .graphite-hero { height: max(650px, 100svh); aspect-ratio: auto; }
  .graphite-hero .graphite-book {
    object-fit: contain;
    object-position: right;
    mask-image: linear-gradient(to right, transparent 26%, #000 54%);
  }
  .graphite-hero h1 { font-size: min(9.1cqw, max(88px, 14svh)); }
  .graphite-hero-copy { top: 18%; }
  .graphite-subtitle { margin-top: min(2.55cqw, 3.6vh); }
  .graphite-actions { margin-top: min(3.1cqw, 4vh); }
  .graphite-release { bottom: 3%; }
}

@media (max-width: 850px) {
  .graphite-header { gap: 10px 16px; }
  .graphite-header ul { column-gap: clamp(11px, 2vw, 20px); }
  .writing-books { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-height: 7.75rem; }
  .graphite-header { flex-direction: column; align-items: flex-start; }
  .graphite-hero { display: flex; flex-direction: column; aspect-ratio: auto; padding: 22px var(--gutter) 20px; }
  .graphite-hero-copy { position: static; width: 100%; }
  .graphite-hero h1 { font-size: clamp(3rem, 14cqw, 6.1rem); }
  .graphite-subtitle { font-size: clamp(1.18rem, 5.2cqw, 1.85rem); margin-top: 14px; }
  .graphite-actions { margin-top: 19px; flex-wrap: wrap; }
  .graphite-hero picture { position: static; z-index: auto; order: 1; margin: 12px calc(-1 * var(--gutter)) 10px; }
  .graphite-hero .graphite-book { aspect-ratio: 720 / 712; height: auto; max-height: 365px; object-fit: contain; }
  .graphite-release { position: static; order: 2; padding-top: 10px; }
  .home-intro, .page-hero, .editorial-section, .contact-layout { grid-template-columns: 1fr; }
  .contact-heading h2 { margin-top: 1.4rem; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-card { min-height: 0; padding: 19px 10px; }
  .destination-card + .destination-card { border-inline-start: 0; border-top: 1px solid var(--line); }
  .quote-track { grid-auto-columns: 88%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-subscribe { grid-column: 1 / -1; }
}

.ghostless-machine .graphite-hero-copy {
  top: 49%;
  transform: translateY(-50%);
}

.ghostless-machine .graphite-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.6cqw, 8rem);
  line-height: .99;
  letter-spacing: -.064em;
  text-wrap: balance;
}

.quote-scroll[data-loop-ready] {
  scrollbar-width: none;
  overflow-anchor: none;
  cursor: grab;
}

.quote-scroll[data-loop-ready]::-webkit-scrollbar { display: none; }
.quote-scroll.is-dragging { cursor: grabbing; user-select: none; }

@media (max-width: 720px) {
  .ghostless-machine .graphite-hero-copy { transform: none; text-align: center; }
  .ghostless-machine .graphite-hero h1 { margin-inline: auto; font-size: clamp(2.45rem, 10.4cqw, 4.4rem); }
  .ghostless-machine .graphite-actions { justify-content: center; }
}

.fun-stuff {
  padding-block: clamp(42px, 7vw, 100px);
}

.fun-stuff #content h1 {
  max-width: 29ch;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1.04;
  font-weight: 750;
}

.fun-stuff-caption {
  max-width: 52ch;
  margin-top: .8rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.game-feature {
  margin-top: clamp(42px, 5vw, 74px);
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 44px);
}

.game-feature-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.game-feature h2 { font-size: clamp(1.1rem, 1.7vw, 1.5rem); }

.game-embed {
  display: block;
  width: 100%;
  height: clamp(480px, 60vw, 770px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f2e9;
  box-shadow: var(--shadow);
}

.game-artwork-credit { margin-top: .8rem; color: var(--muted); }

.screen-time-feature {
  margin-top: clamp(48px, 8vw, 112px);
  padding-top: clamp(24px, 3vw, 44px);
  border-top: 1px solid var(--line);
}

.screen-time-intro { margin-bottom: clamp(26px, 4vw, 52px); }

.screen-time-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .08em .18em;
  font-size: clamp(2rem, 5.2vw, 4.6rem);
}

.screen-time-title span {
  display: inline-flex;
  align-items: center;
  gap: .35em;
}

.screen-time-title img {
  flex: none;
  width: clamp(42px, 5.3vw, 80px);
}

.screen-time-tagline {
  font: 34.4px/1.2 var(--reading);
  margin-top: .5em;
}

.screen-time-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.screen-time-mode h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.screen-time-mode p { color: var(--muted); margin-top: .15em; }
.screen-time-mode a { display: block; margin-top: .8rem; border-radius: 6px; }
.screen-time-mode img { border: 1px solid var(--line); border-radius: inherit; }

.screen-time-downloads {
  margin-top: clamp(30px, 5vw, 60px);
  padding-top: clamp(22px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.screen-time-downloads h3 { font-size: clamp(1.5rem, 3vw, 2.8rem); }
.screen-time-downloads p { margin-block: .6rem 1rem; color: var(--muted); }

.screen-time-policy { max-width: 750px; padding-block: clamp(42px, 7vw, 100px); }
.screen-time-policy h1 { font-size: clamp(2rem, 5vw, 4rem); margin-top: .8em; }
.screen-time-policy h2 { margin-top: 1.3em; }
.screen-time-policy p { margin-top: .5em; color: var(--muted); }

@media (max-width: 670px) {
  .screen-time-modes { grid-template-columns: 1fr; gap: 24px; }
}
