@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Source Serif 4 Italic, subset. Renamed because the OFL reserves the name "Source" for unmodified fonts. */
@font-face {
  font-family: "Campaign Reader Serif";
  src: url("../fonts/campaign-reader-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --ink: #23272e;
  --muted: #5b6270;
  --accent: #b23a30;
  --accent-dark: #8e2c24;
  --pin: #2d4566;
  --paper: #faf6ee;
  --rule: #e2dccf;
  --serif: "Source Serif 4", Georgia, serif;
  --serif-italic: "Campaign Reader Serif", Georgia, serif;
  --gutter: clamp(1rem, 5.6vw, 6rem);
  --header: 76px;
}

html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { background: #fff; color: var(--ink); font: 1rem/1.5 var(--serif); }
a { color: inherit; text-decoration: underline; text-underline-offset: .23em; }
a:hover { color: inherit; text-decoration-thickness: 2px; }
main a[href^="mailto:"] { overflow-wrap: anywhere; text-decoration-skip-ink: none; text-underline-offset: .3em; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--pin); outline-offset: 4px; }

/* Draft placeholder: remove the class once the copy is final. */
.tk { background: #fff1a8; box-shadow: 0 0 0 .15em #fff1a8; color: #4a3f00; font-style: normal; }

.skip { position: absolute; left: -999px; top: 0; padding: .5rem 1rem; background: #fff; z-index: 10; }
.skip:focus { left: var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; height: var(--header); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2.5rem); }
.site-header nav a { font-size: .93rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav .button { height: 2.4rem; line-height: 2.4rem; }

/* Shared type */
.spotlight.style1 .content .eyebrow, .adventure .eyebrow, .eyebrow { margin: 0 0 1.1rem; color: var(--accent); font-size: .74rem; font-weight: 500; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; text-transform: none; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: 1.1; }
h2 em { color: var(--accent); font-style: italic; }
em, cite { font-family: var(--serif-italic); font-style: italic; }
h3 { margin: 0 0 .6rem; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.01em; }

.button { display: inline-block; height: 3rem; margin: 0; padding: 0 1.5rem; border: 0; border-radius: 4px; background: var(--accent); box-shadow: none; color: #fff !important; font: 500 .9rem/3rem var(--serif); letter-spacing: .02em; text-decoration: none; text-transform: none; white-space: nowrap; }
.button:hover { background: var(--accent-dark); }
.button.soon:hover { background: var(--accent); }

/* Banner (Story .banner.style1) */
.banner.style1 { min-height: min(820px, calc(100svh - var(--header))); flex-direction: row; overflow: visible; text-align: left; }
.banner.style1 .content { display: block; width: 46%; max-width: none; padding: clamp(3rem, 6vw, 6rem) var(--gutter); align-self: center; }
.banner h1 { margin: 0; font-size: clamp(2.6rem, 4.6vw, 5.2rem); line-height: 1.05; letter-spacing: -.035em; }
.banner .intro { max-width: 34rem; margin: 1.6rem 0 0; font-size: clamp(1.1rem, 1.4vw, 1.4rem); line-height: 1.42; }
.cta-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2.2rem; }
.fine { margin: 1.4rem 0 0; color: var(--muted); font-size: .85rem; }
.banner.style1 .image.shot-panel { width: 54%; height: auto; display: flex; align-items: center; justify-content: center; padding: clamp(1.25rem, 3vw, 3.5rem); background: var(--paper); }

/* Screenshot figures */
.shot { width: 100%; margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid #d6cfbf; border-radius: 10px; box-shadow: 0 24px 50px rgba(35,39,46,.16), 0 4px 10px rgba(35,39,46,.08); }
.banner.style1 .shot-panel img, .spotlight.style1 .shot-panel img { position: static; object-fit: contain; }
/* Whole-window captures keep their own rounded, transparent corners. */
/* Window shots carry their own shadow in the image (a CSS drop-shadow filter left gray corners in Safari).
   The image is padded 4% left and right, 2% above and 7% below for it; the negative margins put the window back on the layout box. */
.shot.window img, .banner.style1 .shot-panel .shot.window img, .spotlight.style1 .shot-panel .shot.window img { border: 0; border-radius: 0; box-shadow: none; width: 108%; max-width: none; margin: -2% -4% -7%; }
.shot figcaption { margin-top: .9rem; color: var(--muted); font-size: .85rem; text-align: center; }

/* Spotlights (Story .spotlight.style1) */
.spotlight.style1 { border-top: 1px solid var(--rule); }
.spotlight.style1 .content { width: 40%; padding: clamp(3rem, 5vw, 6rem) var(--gutter); }
.spotlight.style1 .content p { max-width: 30rem; margin: 1.25rem 0 0; font-size: 1.13rem; }
.spotlight.style1 .image.shot-panel { width: 60%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 4vw, 4.5rem); background: var(--paper); }

/* Details grid */
.details { padding: clamp(4rem, 7vw, 7rem) var(--gutter); border-top: 1px solid var(--rule); }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 4vw, 4rem); }
.details-grid article { padding-top: 1.1rem; border-top: 2px solid var(--accent); }
.details-grid p { margin: 0; }

/* Included adventure */
.adventure { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(4rem, 7vw, 7rem) var(--gutter); background: var(--paper); }
.adventure p { max-width: 36rem; margin: 1.25rem 0 0; font-size: 1.13rem; }
.adventure .credit { color: var(--muted); font-size: .9rem; }

/* Closing CTA + support */
.closing { padding: clamp(4rem, 7vw, 7rem) var(--gutter); text-align: center; }
.closing img { width: 96px; height: 96px; margin: 0 auto 1.5rem; }
.closing p { max-width: 34rem; margin: 1rem auto 0; font-size: 1.13rem; }
.closing .cta-row { justify-content: center; }

/* Long-form pages (privacy, colophon) */
.doc { max-width: 44rem; margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) var(--gutter) clamp(4rem, 7vw, 7rem); }
.doc h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -.03em; }
.doc h2 { margin: 3rem 0 .9rem; font-size: 1.6rem; letter-spacing: -.015em; }
.doc h3 { margin: 1.5rem 0 .4rem; font-size: 1.2rem; }
.doc h2 + h3 { margin-top: 0; }
.doc p, .doc li { font-size: 1.06rem; }
.doc p { margin: 0 0 1rem; }
.doc ul { margin: 0 0 1rem 1.25rem; padding: 0; }
.doc .updated { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.doc .credits { margin: 0; padding: 0; list-style: none; }
.doc .credits li { padding-left: 0; }
.credits li { margin: 0; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.credits h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.credits dl { display: grid; grid-template-columns: 7.5rem 1fr; gap: .25rem 1rem; margin: 0; font-size: .95rem; }
.credits dt { color: var(--muted); font-weight: 400; margin: 0; }
.credits dd { margin: 0; padding: 0; }

/* Footer */
.site-footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem 2.5rem; padding: 1.75rem var(--gutter); border-top: 1px solid var(--rule); color: var(--muted); font-size: .82rem; line-height: 1.5; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }

@media (max-width: 980px) {
  .details-grid { grid-template-columns: 1fr; gap: 2rem; }
  .adventure { grid-template-columns: 1fr; }
  .spotlight.style1 .content { width: 50%; }
  .spotlight.style1 .image.shot-panel { width: 50%; }
}

@media (max-width: 860px), (orientation: portrait) {
  .banner.style1 { flex-direction: column; min-height: 0; }
  .banner.style1 .content, .banner.style1 .image.shot-panel { width: 100%; }
  .spotlight.style1, .spotlight.style1.orient-right { flex-direction: column; text-align: left !important; }
  .spotlight.style1 .content, .spotlight.style1 .image.shot-panel { width: 100%; }
}

@media (max-width: 600px) {
  :root { --header: 64px; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand img { width: 32px; height: 32px; }
  .site-header nav { gap: .9rem; }
  .site-header nav .nav-hide { display: none; }
  .site-header nav .button { height: 2.2rem; line-height: 2.2rem; padding: 0 .9rem; font-size: .82rem; }
  .credits dl { grid-template-columns: 1fr; gap: 0; }
  .credits dd { margin-bottom: .4rem; }
}

/* OGL page */
.legal p { font-size: .98rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: 0; }
.legal h3 { margin: 2rem 0 .75rem; font-size: 1.1rem; letter-spacing: 0; }
.doc .notice { margin: 0; padding: 0; list-style: none; }
.doc .notice li { margin: 0 0 .6rem; padding: 0; font-size: .92rem; }
