/* Hoshijima Studio site: ink and paper, a woodblock-print mark. The colour on the page comes from the game's footage. */
:root {
  --paper: #f6f3ec;
  --paper-2: #ebe7de;
  --line: #cfc9bc;
  --sumi: #1d1a17;
  --sumi-2: #2a2622;
  --grey: #5e5850;
  --grey-light: #b9b3a8;
  --shu: #c8372d;
  --shu-deep: #a82c23;
  --font-display: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-latin: 'Cormorant Garamond', 'Shippori Mincho B1', 'Hiragino Mincho ProN', serif;
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--sumi); font-family: var(--font-body); font-weight: 500; font-size: 1.0625rem; line-height: 1.75; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sumi); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--shu-deep); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, footer :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--paper); color: var(--sumi); padding: .6em 1em; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3 { font-family: var(--font-latin); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

/* Mark: 星島 as a woodblock print, in ink. The PNG is the print's shape (a mask); the colour is the element's own. */
.mark { display: inline-block; width: 2.4rem; aspect-ratio: 500 / 970; font-size: 0; overflow: hidden; color: var(--sumi); background: currentColor; -webkit-mask: url(/media/woodprint-mark.png) center / contain no-repeat; mask: url(/media/woodprint-mark.png) center / contain no-repeat; text-decoration: none; }
a.mark:hover { color: var(--shu-deep); }

/* Form */
.form-lede { font-family: var(--font-latin); font-size: 1.5rem; line-height: 1.3; max-width: 26rem; margin: 0 0 1rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 30rem; }
.row label { flex: 1 1 100%; font-size: .9rem; letter-spacing: .04em; }
.row input[type=email] { flex: 1 1 14rem; min-width: 0; padding: .85em 1em; font: inherit; color: var(--sumi); background: var(--paper); border: 2px solid transparent; border-radius: 2px; }
.row input[type=email]::placeholder { color: var(--grey); }
.btn, .row button { padding: .85em 1.5em; font: inherit; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--shu-deep); border: 2px solid var(--shu-deep); border-radius: 2px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover, .row button:hover { background: var(--shu); border-color: var(--shu); color: #fff; }
.row button:disabled { opacity: .6; cursor: default; }
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
#signup-status { flex: 1 1 100%; min-height: 1.5em; margin: 0; font-size: .95rem; }
#signup-status:empty { min-height: 0; }
.fine { font-size: .85rem; color: var(--grey); margin-top: .6rem; }

/* Hero: type, space and the seal; no footage */
#hero { min-height: 100vh; min-height: 100svh; padding: var(--pad); display: flex; flex-direction: column; background: var(--paper); }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--sumi); }
.hero-top .mark { width: clamp(3.2rem, 6vw, 5.5rem); }
.hero-top nav { display: flex; gap: 1.6rem; padding-top: .3rem; font-size: .95rem; letter-spacing: .06em; }
.hero-top nav a { text-decoration: none; }
.hero-top nav a:hover { text-decoration: underline; }
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; }
#hero h1 { font-size: clamp(3.6rem, 15.5vw, 15rem); line-height: .86; letter-spacing: -.035em; margin: 0 0 clamp(2rem, 5vw, 4rem) -.04em; }
.hero-cols { margin: 0; }
.statement { font-family: var(--font-latin); font-size: clamp(2.2rem, 6vw, 5.2rem); line-height: 1.02; font-weight: 700; margin: 0; max-width: 18ch; }
.hero-foot { padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .95rem; letter-spacing: .06em; }
.hero-foot a { text-decoration: none; }
.hero-foot a::after { content: ' \2193'; color: var(--shu-deep); }
.hero-foot a:hover { text-decoration: underline; }

/* Sections */
section { padding: clamp(4rem, 10vw, 9rem) var(--pad); }
.wrap { max-width: 78rem; margin: 0 auto; }
.kicker { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin: 0 0 1.2rem; }
h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); max-width: 16ch; margin-bottom: 1.6rem; }
.dark { background: var(--sumi); color: var(--paper); }
.dark .kicker { color: var(--grey-light); }
.dark a { color: var(--paper); }
.dark a:hover { color: #fff; }
.dark .fine { color: var(--grey-light); }
.tint { background: var(--paper-2); }
.mission { font-family: var(--font-latin); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; max-width: 34rem; margin: 0 0 .6rem; }
.release { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 2.6rem; color: var(--grey-light); }
.cols { display: grid; gap: 2.5rem; margin-top: 4rem; }
.copy { max-width: var(--measure); }
.lede-big { font-family: var(--font-latin); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; }
.signup-block { margin-top: 1rem; }

/* Footage frames */
.clip-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sumi-2); }
.reel .clip-frame { aspect-ratio: 9 / 16; }
.clip-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.clip, .reel-clip { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; object-fit: cover; }
.clip-pair { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.clip-pair figure, .clip-main { margin: 0; }
figcaption { font-family: var(--font-latin); font-size: 1.25rem; font-weight: 600; padding-top: .6rem; }
.dark figcaption { color: var(--paper); }

/* Places gallery */
.gallery { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: var(--sumi-2); color: transparent; }
.gallery figcaption { border-top: 2px solid var(--sumi); margin-top: .7rem; display: inline-block; padding-right: 1.5rem; }

/* Reels: three 9:16 cards; a scroll-snap row on phones */
.reels { list-style: none; margin: 3rem 0 0; padding: 0; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; }
.reels li { flex: 0 0 68%; scroll-snap-align: start; }
.reel { margin: 0; }
.reel figcaption { font-family: var(--font-latin); font-size: 1.4rem; font-weight: 700; }
.reel figcaption a { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: .04em; margin-top: .2rem; }

.studio-copy { font-family: var(--font-latin); font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.2; max-width: 34ch; }

/* Footer */
footer { background: var(--sumi); color: var(--grey-light); padding: 3rem var(--pad) 3.5rem; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
footer a { color: var(--paper); }
footer a:hover { color: #fff; }
footer p { margin: 0; }

/* Follow: four large text links, no platform marks */
.follow-list { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid #4a443d; }
.follow-list li { border-bottom: 1px solid #4a443d; }
.follow-list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 2rem; padding: 1.2rem 0; text-decoration: none; color: var(--paper); }
.follow-list .plat { font-family: var(--font-latin); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1; }
.follow-list .handle { font-size: 1rem; letter-spacing: .06em; color: var(--grey-light); }
.follow-list a:hover .plat { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.follow-list a:hover .handle { color: var(--paper); }

/* Subpages */
.sub-head { padding: 1.5rem var(--pad); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--sumi); }
.sub-head nav a { margin-left: 1.4rem; text-decoration: none; }
.sub-head nav a:hover { text-decoration: underline; }
.sub-head .mark { width: 2rem; }
.page-title { padding: clamp(3rem, 8vw, 6rem) var(--pad) 0; }
.page-title h1 { font-size: clamp(3rem, 9vw, 7rem); }
.page-title p { font-family: var(--font-latin); font-size: 1.5rem; margin: 1rem 0 0; color: var(--grey); }
.facts { display: grid; gap: .3rem 2rem; grid-template-columns: 1fr; margin: 0; max-width: 46rem; }
.facts dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-top: 1rem; }
.facts dd { margin: 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: none; margin: 2.8rem 0 1rem; }
.prose h2:first-child, .prose .kicker + h2 { margin-top: 0; }
.seal-sheet { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.seal-sheet img { width: 96px; height: auto; }
.stills a { display: block; }
.stills figcaption span { font-family: var(--font-body); font-size: .9rem; font-weight: 500; margin-left: .6rem; }
.dl { font-family: var(--font-body); font-size: .9rem; font-weight: 500; margin-left: .6rem; }

@media (min-width: 640px) {
  .gallery, .clip-pair { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 11rem 1fr; }
  .facts dt { margin-top: 0; padding-top: .35rem; border-bottom: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .reels-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: end; }
  .reels { overflow: visible; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 0; padding-bottom: 0; }
  .reels li { flex: none; }
  .cols { grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: start; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
}
@media (max-width: 480px) {
  .hero-top nav { gap: 1rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
