@font-face { font-family: Fraunces; src: url('site-e523567280.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces Text'; src: url('site-76ccd2f4a2.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fraunces Text'; src: url('site-47e7c184eb.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Caveat; src: url('site-f4365d9874.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f4ecdd;
  --white: #fbf6ec;
  --ink: #2e2520;
  --muted: #605447;
  --line: #cabb9f;
  --clay: #b9552f;
  --moss: #55714f;
  --deep: #2f3b33;
  --felt: #2f3b33;
  --night: #151a16;
  --gold: #c9a24b;
  --display: Fraunces, Georgia, serif;
  --body: 'Fraunces Text', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 1rem/1.62 var(--body); }
h1, h2, h3, figure, p { margin: 0; }
h1, h2, h3 { font: 600 1em/1.08 var(--display); text-wrap: balance; }
h2 { font-size: clamp(2.65rem,5.25vw,5.15rem); line-height: .98; letter-spacing: -.052em; }
h3 { font-size: clamp(1.33rem,2.1vw,1.8rem); letter-spacing: -.025em; }
img, video, canvas { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .27em; }
input, button, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #296d73; outline-offset: 4px; }
section[id], details[id] { scroll-margin-top: 1.15rem; }
.wrap { width: min(100% - 6.25rem, 1280px); margin-inline: auto; }
.section { padding-block: clamp(3.55rem,7.3vw,7.2rem); }
.skip { position: absolute; z-index: 4; left: 1rem; top: 1rem; padding: .6rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }
.label { font-size: .79rem; letter-spacing: .15em; text-transform: uppercase; }
.button, .secondary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; width: fit-content; padding: .51rem 1.02rem; border: 1px solid var(--clay); border-radius: 3px; background: var(--clay); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: #713020; border-color: #713020; }
.secondary { color: var(--ink); background: var(--white); border-color: #a8987e; }
.secondary:hover { background: #eee3d1; }
.note, .caption { color: var(--muted); font-size: .85rem; }
.status { color: var(--deep); font-weight: 700; font-size: .93rem; }
.status:empty { display: none; }

.mast { position: relative; z-index: 1; background: #161c17; color: var(--white); border-bottom: 1px solid #f5ead638; }
.mast-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 72px; align-items: center; gap: .3rem 1.45rem; }
.wordmark { display: inline-flex; min-height: 44px; align-items: center; width: fit-content; text-decoration: none; }
.wordmark img { width: 138px; height: auto; }
.mast nav, .footer nav { display: flex; flex-wrap: wrap; gap: .15rem 1.35rem; }
.mast nav a, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: #e9e3d4; text-decoration: none; font-size: .92rem; }
.mast nav a:hover, .footer nav a:hover { text-decoration: underline; }
.release { color: var(--gold); justify-self: end; font-size: .81rem; white-space: nowrap; }
.mast :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: #ffe4a8; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(600px,68svh); overflow: hidden; color: var(--white); background: var(--night); }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: min(87%,1700px); height: 100%; object-fit: cover; object-position: 54% 46%; }
.hero-motion { opacity: 0; pointer-events: none; transition: opacity .16s ease-out; }
.hero-motion.is-visible { opacity: 1; }
.hero::after { content: ''; position: absolute; pointer-events: none; z-index: -1; inset: 0; background: linear-gradient(90deg,#151a16 7%,#151a16ed 21%,#151a1698 38%,#151a1620 53%,transparent 73%), linear-gradient(0deg,#151a16e9 0%,#151a164c 18%,transparent 45%); }
.hero-inner { padding-block: 2.45rem 3.65rem; }
.hero .label { color: var(--gold); }
.hero h1 { margin-top: .68rem; font-size: clamp(3.65rem,6.6vw,7.15rem); line-height: .92; letter-spacing: -.06em; }
.hero-lead { max-width: 33ch; margin-top: 1.15rem; color: #eee7d9; font-size: clamp(1.04rem,1.6vw,1.24rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .38rem 1.18rem; margin-top: 1.12rem; }
.light-button { background: #f4e5c7; border-color: #f4e5c7; color: #29241c; }
.light-button:hover { background: #fdf2d9; border-color: #fdf2d9; }
.film-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 47px; font-size: .95rem; }
.play { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #eee7d9a8; border-radius: 50%; }
.play::before { content: ''; margin-left: .14rem; border-block: 4px solid transparent; border-left: 6px solid currentColor; }
.hero-credit { position: absolute; right: max(3.125rem,calc((100% - 1280px) / 2)); bottom: 1.15rem; }

.game { background: var(--white); border-bottom: 1px solid #dfcfb4; }
.game-layout, .letters-layout, .press-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 1.5rem clamp(2rem,6.1vw,6.25rem); align-items: center; }
.game h2 { max-width: 12ch; }
.game-copy > p, .press p, .letters p { margin-top: .74rem; max-width: 44ch; color: var(--muted); }
.features { margin-top: 1.3rem; border-top: 1px solid var(--line); }
.features article { padding-block: .72rem; border-bottom: 1px solid var(--line); }
.features p { margin-top: .34rem; color: var(--muted); }
.game-photo { padding: .64rem .64rem .54rem; background: #efdfc3; border: 1px solid var(--line); box-shadow: 0 10px 24px #432c191c; transform: rotate(1deg); }
.game-photo img { border: 1px solid #bca588; }
.game-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .86rem; }

.studio { background: color-mix(in srgb, var(--paper) 86%, var(--moss)); border-bottom: 1px solid #bfccbc; }
.studio-heading { display: grid; grid-template-columns: minmax(0,1.27fr) minmax(0,.73fr); align-items: end; gap: .6rem 2rem; margin-bottom: clamp(1.2rem,3vw,2.2rem); }
.studio-heading > p { justify-self: end; max-width: 39ch; color: #49594d; }
.scene-picker { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid #aebdae; margin-bottom: 1rem; }
.scene-tab { display: grid; grid-template-columns: minmax(46px,27%) minmax(0,1fr); align-items: center; text-align: left; min-height: 57px; gap: .61rem; padding: .45rem .53rem; border: 0; border-right: 1px solid #bccbbd; background: transparent; color: var(--ink); }
.scene-tab:last-child { border-right: 0; }
.scene-tab img { aspect-ratio: 1.56; object-fit: cover; }
.scene-tab:hover { background: #dbe6db; }
.scene-tab[aria-pressed=true] { background: #dce8da; box-shadow: inset 0 -3px var(--deep); }
.workbench { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(17rem,.72fr); align-items: start; gap: clamp(.85rem,3.8vw,3.6rem); }
.preview { display: grid; place-items: center; min-width: 0; padding: clamp(.54rem,2.75vw,2rem); background: #dce7dc; border: 1px solid #bbcabc; }
.preview canvas, .preview > img { background: var(--white); box-shadow: 0 8px 26px #24372d28; }
.preview[data-format=portrait] canvas { width: min(100%,26rem); }
.studio-form { display: grid; gap: .7rem; }
label, legend { color: var(--ink); font-size: .94rem; font-weight: 700; }
.studio-form label:not(.format-options label) { display: block; }
.studio-form .note { margin-top: .2rem; }
.screenshot-field input { width: 100%; min-width: 0; min-height: 44px; margin-top: .28rem; color: var(--muted); font-size: .9rem; }
.screenshot-field input::file-selector-button { padding: .45rem .59rem; background: var(--white); color: var(--ink); border: 1px solid #a99a80; border-radius: 3px; margin-inline-end: .45rem; min-height: 44px; font: inherit; cursor: pointer; }
.screenshot-field input::file-selector-button:hover { background: #f0e5d3; }
.format-field { margin: 0; padding: 0; border: 0; }
.format-options { display: flex; flex-wrap: wrap; gap: .43rem; margin-top: .27rem; }
.format-options label { display: flex; align-items: center; min-height: 44px; gap: .35rem; padding: .31rem .52rem; background: var(--white); border: 1px solid #aeac98; border-radius: 3px; cursor: pointer; }
.format-options label:has(input:checked) { background: #dce8da; border-color: #718875; }
.format-options input { accent-color: var(--deep); }
textarea, input[type=email] { width: 100%; min-width: 0; min-height: 48px; padding: .46rem .64rem; color: var(--ink); border: 1px solid #a99a80; border-radius: 3px; background: var(--white); }
textarea { display: block; margin-top: .27rem; resize: vertical; }
.frame-settings { border-top: 1px solid #b6c4b5; border-bottom: 1px solid #b6c4b5; }
.frame-settings summary, .footer summary { min-height: 44px; padding: .41rem 0; font-size: .92rem; }
.frame-fields { display: grid; grid-template-columns: 5.9rem 1fr; gap: .36rem .7rem; align-items: center; padding-bottom: .65rem; }
.frame-fields input { min-width: 0; min-height: 34px; accent-color: var(--deep); }
.frame-fields button { grid-column: 1 / -1; }
.studio-actions { display: flex; flex-wrap: wrap; gap: .42rem; }

.letters { background: var(--white); border-bottom: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) max-content; margin-block: .38rem; }
.form-row input { border-radius: 3px 0 0 3px; }
.form-row button { border-radius: 0 3px 3px 0; }
.press { align-items: start; padding-block: clamp(3rem,5vw,4.7rem); }
.press h2 { font-size: clamp(2.4rem,4.55vw,4.15rem); }
.press a.secondary { margin-top: .85rem; }
.press dl { margin: 0; border-top: 1px solid var(--line); }
.press dl div { display: grid; grid-template-columns: minmax(7.6rem,.35fr) minmax(0,1fr); gap: .4rem; padding-block: .48rem; border-bottom: 1px solid var(--line); }
.press dt { color: var(--muted); }
.press dd { margin: 0; }
.footer { padding-block: .85rem; color: #f8f2e5; background: var(--felt); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .35rem 1.3rem; }
.copyright { font-size: .94rem; }
.footer details { max-width: 54ch; color: #e9e3d4; }
.footer details p { padding-bottom: .6rem; font-size: .92rem; }

.film-inline { margin-inline: auto; }
.film-content h2 { font-size: clamp(2.2rem,4.2vw,4rem); }
.film-content p { margin-block: .45rem .82rem; color: #e5dfcf; }
.film-inline p { color: var(--muted); }
.film-content video { aspect-ratio: 16 / 9; max-height: 66dvh; background: #121b15; }
dialog { padding: 0; width: min(100% - 1.35rem,1040px); max-height: calc(100dvh - 1.35rem); color: var(--white); background: var(--night); border: 1px solid #9fa998; border-radius: 5px; }
dialog::backdrop { background: #101914c9; }
.dialog-inner { padding: clamp(.85rem,2.7vw,2rem); }
.dialog-close { display: flex; justify-content: end; margin-bottom: .35rem; }

@media (max-width: 1010px) {
  .wrap { width: min(100% - 4.25rem,1280px); }
  .hero-photo { width: 93%; }
  .hero-credit { right: 2.125rem; }
  .hero::after { background: linear-gradient(90deg,#151a16 5%,#151a16e8 20%,#151a168c 42%,transparent 68%), linear-gradient(0deg,#151a16e8,transparent 45%); }
  .game-layout, .letters-layout, .press-layout { column-gap: 2.25rem; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 2.2rem,42rem); }
  .mast-inner { grid-template-columns: auto 1fr; min-height: 0; padding-top: .2rem; gap: .14rem .55rem; }
  .mast nav { justify-content: space-between; grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #f0e5d33b; gap: .1rem .4rem; }
  .mast nav a { font-size: .87rem; }
  .release { font-size: .74rem; }
  .wordmark img { width: 112px; }
  .hero { min-height: 0; align-items: start; }
  .hero-photo { inset: 0 0 auto; width: 100%; height: clamp(14.25rem,54vw,26rem); object-position: 53% 44%; }
  .hero::after { inset: 0 0 auto; height: clamp(14.25rem,54vw,26rem); background: linear-gradient(0deg,#151a16 0%,#151a16d9 15%,#151a1640 43%,transparent 68%); }
  .hero-inner { padding-block: clamp(11.25rem,41vw,22rem) 1.8rem; }
  .hero h1 { margin-top: .42rem; font-size: clamp(3.35rem,10.2vw,5.25rem); }
  .hero-lead { margin-top: .85rem; }
  .hero-actions { margin-top: .85rem; gap: .24rem .75rem; }
  .hero-credit { display: none; }
  .game-layout, .studio-heading, .workbench, .letters-layout, .press-layout { grid-template-columns: minmax(0,1fr); }
  .studio-heading > p { justify-self: start; }
  .scene-picker { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .scene-tab:nth-child(2) { border-right: 0; }
  .scene-tab:nth-child(-n+2) { border-bottom: 1px solid #bccbbd; }
  .game-photo { transform: rotate(.6deg); }
}
@media (max-width: 420px) {
  .film-link { gap: .4rem; font-size: .85rem; }
  .film-link .play { width: 27px; height: 27px; }
  .hero-actions .button { padding-inline: .52rem; }
  .hero-actions { column-gap: .6rem; }
  .form-row { grid-template-columns: minmax(0,1fr); gap: .4rem; }
  .form-row input, .form-row button { border-radius: 3px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-motion { display: none; transition: none; } }
