/* SplatStroll Moments landing page. Palette and motifs follow the viewer's "C · Tide" UI
   (site/app/style.css): deep teal ground, mint accent, thin wave lines, small arcs and
   asymmetric curved corners. System fonts only; no external requests.
   The page's own design is the one below. Each series' section may take its accent colour (--accent-rgb,
   --accent-hover) and fonts from the series' theme file (site/app/themes/<theme>.css, loaded by lp.js and
   switched on by data-theme on the section); the waterside theme has the same values as these defaults. */
:root {
  color-scheme: dark;
  --bg: #002930;
  --bg-deep: #001e24;
  --surface: #013a40;
  --surface-low: #00323a;
  --paper: #effff8;
  --muted: #b5d1ca;
  --dim: #92b3af;
  --accent-rgb: 136 234 210;
  --accent: rgb(var(--accent-rgb));
  --accent-hover: #b0f5e3;
  --sans-ja: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans CJK JP", Meiryo, "Segoe UI", sans-serif;
  --sans-en: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif-ja: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --serif-en: Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 1200px;
  --corner: 28px 6px 24px 6px;
  --corner-lg: 40px 8px 36px 8px;
  --corner-btn: 22px 5px 22px 5px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Shades of the accent: worked out again inside a series section, whose theme may change the accent. */
:root, .series {
  --accent-soft: rgb(var(--accent-rgb) / .6667);
  --line: rgb(var(--accent-rgb) / .1765);
  --line-strong: rgb(var(--accent-rgb) / .349);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--paper); font-family: var(--sans-ja); font-size: 16px; line-height: 1.8; overflow-wrap: break-word; }
html[lang="en"] body { font-family: var(--sans-en); line-height: 1.7; }
:lang(ja) { line-break: strict; word-break: auto-phrase; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 20; left: 12px; top: -64px; padding: 8px 14px; border-radius: 12px 3px; color: var(--bg); background: var(--accent); font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--measure); margin-inline: auto; }

/* Shared title hierarchy: Mincho with wide tracking for Japanese, small uppercase serif for English. */
.f-ja { font-family: var(--serif-ja); font-weight: 600; letter-spacing: .12em; }
.f-en { font-family: var(--serif-en); font-weight: 400; letter-spacing: .04em; }
.arc { display: block; width: 38px; height: 5px; border-top: 1px solid var(--accent); border-radius: 50%; opacity: .85; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; min-height: 640px; min-height: clamp(580px, 92svh, 920px); overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 60%; transform-origin: 62% 58%; animation: hero-drift 56s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, #00293073 0, #00293000 20%),
  linear-gradient(0deg, var(--bg) 0, #002930cc 15%, #00293000 54%),
  linear-gradient(90deg, #002930a6 0, #00293052 38%, #00293000 66%); }
.hero-top { display: flex; align-items: center; justify-content: space-between; padding-top: max(16px, env(safe-area-inset-top)); }
.hero-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--accent-soft); border-radius: 50%; background: #00373b55; color: var(--accent); }
.hero-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lang { display: flex; align-items: center; gap: 4px; padding: 3px 6px; border: 1px solid var(--line-strong); border-radius: 16px 4px 16px 4px; background: #002930a6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; letter-spacing: .06em; }
.lang a { position: relative; display: inline-block; padding: 4px 10px 7px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.lang a:hover { color: var(--paper); }
.lang a[aria-current="page"] { color: var(--paper); }
.lang a[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 1px; height: 6px; border-top: 1px solid var(--accent); border-radius: 50%; }
.lang i { width: 1px; height: 12px; background: var(--line-strong); }
.hero-body { align-self: end; padding-top: 72px; padding-bottom: clamp(88px, 13vw, 168px); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(14px, 2.4vw, 24px); color: var(--accent); font-size: 13px; letter-spacing: .32em; text-shadow: 0 1px 8px #00181d; }
.eyebrow::before { content: ""; width: 34px; height: 5px; border-top: 1px solid var(--accent); border-radius: 50%; flex: 0 0 auto; }
html[lang="en"] .eyebrow { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.hero h1 { font-family: var(--serif-en); font-weight: 400; line-height: 1.05; text-shadow: 0 2px 6px #00181d99, 0 8px 40px #00181dcc; }
.hero h1 .brand { display: block; font-size: clamp(48px, 15vw, 112px); letter-spacing: .035em; }
.hero h1 .brand-sub { display: flex; align-items: center; gap: .9em; margin-top: .4em; color: var(--accent); font-size: clamp(15px, 3vw, 28px); letter-spacing: .5em; text-transform: uppercase; }
.hero h1 .brand-sub::before { content: ""; width: 3.2em; height: 5px; border-top: 1px solid var(--accent); border-radius: 50%; opacity: .9; }
.tagline { max-width: 34em; margin-top: clamp(20px, 3vw, 32px); font-family: var(--serif-ja); font-size: clamp(16px, 2vw, 21px); font-weight: 600; line-height: 2; letter-spacing: .08em; color: var(--paper); text-shadow: 0 1px 4px #00181dcc, 0 4px 24px #00181d; }
.tagline span { display: inline-block; }
html[lang="en"] .tagline { max-width: 36em; font-family: var(--serif-en); font-weight: 400; font-size: clamp(17px, 2vw, 22px); line-height: 1.7; letter-spacing: .01em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(26px, 4vw, 40px); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 11px 24px 11px 26px; border: 1px solid transparent; border-radius: var(--corner-btn); font-size: 15px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.btn svg, .card-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn-primary { color: var(--bg); background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { color: var(--paper); border-color: var(--accent-soft); background: #00293066; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.btn-ghost:hover { border-color: var(--accent); background: #00373b99; }
.btn-ghost:hover svg { transform: translateY(3px); }
.hero-caption { position: absolute; right: var(--gutter); bottom: clamp(78px, 9vw, 130px); display: none; color: #effff8c2; font-size: 11px; letter-spacing: .16em; text-shadow: 0 1px 6px #00181d; }
.hero-caption::before { content: ""; display: inline-block; width: 22px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--accent-soft); }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(64px, 9vw, 120px); overflow: hidden; pointer-events: none; }
.hero-waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: wave-slide var(--t, 60s) linear infinite; }
.hero-waves path { vector-effect: non-scaling-stroke; }
.w-line { fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; }
.w-fill { fill: var(--bg); stroke: none; }

@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.05) translate3d(-1%, -.8%, 0); } }
@keyframes wave-slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(52px, 8.5vw, 108px); }
.section-head { max-width: 46em; margin-bottom: clamp(30px, 5vw, 52px); }
.kicker { margin-bottom: 10px; color: var(--accent); font-family: var(--serif-en); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; }
.section-head h2 { font-family: var(--serif-ja); font-size: clamp(24px, 3.6vw, 36px); font-weight: 600; line-height: 1.5; letter-spacing: .12em; }
html[lang="en"] .section-head h2 { font-family: var(--serif-en); font-weight: 400; letter-spacing: .02em; }
.section-head h2::after { content: ""; display: block; width: 38px; height: 5px; margin-top: 14px; border-top: 1px solid var(--accent); border-radius: 50%; opacity: .85; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 2; }
html[lang="en"] .section-lead { line-height: 1.75; font-size: 16.5px; }
.divider { width: 100%; height: 20px; margin: 0; fill: none; stroke: var(--accent); stroke-width: 1; opacity: .35; }
.divider path { vector-effect: non-scaling-stroke; }

/* --------------------------------------------------------------- cards */
.series-root { min-height: 420px; }
.series-subtitle { display: block; margin-top: 6px; color: var(--accent); font-family: var(--serif-ja); font-size: .56em; font-weight: 400; letter-spacing: .24em; }
html[lang="en"] .series-subtitle { font-family: var(--serif-en); font-size: .6em; letter-spacing: .16em; }
.group + .group { margin-top: clamp(40px, 6vw, 64px); }
.group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.group-head::after { content: ""; flex: 1 1 auto; align-self: center; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.group-head h3 { font-family: var(--serif-ja); font-size: 17px; font-weight: 600; letter-spacing: .2em; order: 0; }
html[lang="en"] .group-head h3 { font-family: var(--serif-en); font-weight: 400; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; }
.group-head .group-en { order: 1; color: var(--dim); font-family: var(--serif-en); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.group-head::after { order: 2; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-live { grid-template-columns: minmax(0, 1fr); }
.grid-soon { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid > li { display: flex; min-width: 0; }

.card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--corner); color: inherit; text-decoration: none; background: linear-gradient(180deg, var(--surface), var(--surface-low)); transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #012b31; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, #00323a99, #00323a00); pointer-events: none; }
.card-media img, .card-media .illust { width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 1.4s var(--ease); }
.chip, .badge, .media-note { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3; letter-spacing: .08em; }
.chip { top: 14px; left: 14px; padding: 6px 12px 6px 9px; border: 1px solid rgb(var(--accent-rgb) / .302); border-radius: 14px 4px 14px 4px; background: #002930b8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--paper); }
.chip svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chip .en { color: var(--muted); font-family: var(--serif-en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.badge { top: 14px; right: 14px; padding: 6px 13px; border-radius: 4px 14px 4px 14px; font-weight: 600; }
.badge-live { color: var(--bg); background: var(--accent); }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); }
.badge-soon { color: var(--paper); border: 1px solid var(--accent-soft); background: #002930cc; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.media-note { right: 12px; bottom: 10px; padding: 2px 8px; border-radius: 3px; color: var(--muted); background: #002930a6; font-size: 10.5px; letter-spacing: .12em; }
.card-body { display: grid; align-content: start; padding: 22px 22px 26px; }
.card-place { margin-bottom: 8px; color: var(--dim); font-size: 12.5px; letter-spacing: .12em; }
.card-title { font-size: var(--title-size, 24px); line-height: 1.4; }
.card-title span { display: block; }
.card-title .f-ja { font-size: 1em; }
.card-title .f-en { font-size: 1.04em; }
.card-sub { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.card-sub[lang="en"] { font-family: var(--serif-en); letter-spacing: .22em; text-transform: uppercase; }
.card-sub[lang="ja"] { font-family: var(--serif-ja); letter-spacing: .22em; font-size: 13px; }
.card-body .arc { margin-top: 14px; }
.card-summary { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.95; }
html[lang="en"] .card-summary { line-height: 1.7; font-size: 15px; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--dim); font-size: 12px; letter-spacing: .06em; line-height: 1.5; }
.card-meta svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.card-cta { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; min-height: 44px; padding: 10px 20px 10px 22px; border-radius: var(--corner-btn); color: var(--bg); background: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; transition: background-color .25s; }
.card-note { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; letter-spacing: .08em; }

.card-live { --title-size: clamp(24px, 3vw, 30px); border-color: rgb(var(--accent-rgb) / .2392); }
.card-live:hover, .card-live:focus-visible { border-color: var(--accent-soft); transform: translateY(-4px); box-shadow: 0 22px 54px #00131799, 0 0 0 1px rgb(var(--accent-rgb) / .102); }
.card-live:hover img, .card-live:focus-visible img { transform: scale(1.045); }
.card-live:hover .card-cta, .card-live:focus-visible .card-cta { background: var(--accent-hover); }
.card-live:hover .card-cta svg, .card-live:focus-visible .card-cta svg { transform: translateX(4px); }
.card-live:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.card-soon { --title-size: 21px; border-color: rgb(var(--accent-rgb) / .1216); background: linear-gradient(180deg, #012f35, #002a30); }
.card-soon .card-media { aspect-ratio: 16 / 9; filter: saturate(.85) brightness(.94); }
.card-soon .card-body { padding: 18px 20px 22px; }
.card-soon .card-summary { font-size: 14px; }

/* Illustrations (placeholders for scenes without imagery) */
.illust { display: block; }
.il-line { fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.il-line.il-paper { stroke: var(--paper); opacity: .75; }
.il-willow { opacity: .55; stroke-width: .8; }
.il-drift { animation: il-drift var(--t, 24s) linear infinite; }
.il-flow { animation: il-flow var(--t, 6s) linear infinite; }
.il-ripple { stroke-dasharray: 70 90; animation: il-ripple var(--t, 18s) linear infinite; }
.il-wobble { animation: il-wobble 7s ease-in-out infinite alternate; }
.il-bird { animation: il-bird 22s ease-in-out infinite alternate; }
@keyframes il-drift { to { transform: translateX(calc(var(--p) * -1px)); } }
@keyframes il-flow { to { stroke-dashoffset: calc(var(--dash) * -2); } }
@keyframes il-ripple { to { stroke-dashoffset: -320; } }
@keyframes il-wobble { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
@keyframes il-bird { from { transform: translate(0, 0); } to { transform: translate(34px, -6px); } }

@media (min-width: 720px) {
  .grid-live .card-live { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border-radius: var(--corner-lg); --title-size: clamp(30px, 3.4vw, 42px); }
  .grid-live .card-live .card-media { aspect-ratio: auto; min-height: 400px; }
  .grid-live .card-live .card-media::after { inset: 0 0 0 auto; width: 40%; height: auto; background: linear-gradient(270deg, #00363d99, #00363d00); }
  .grid-live .card-live .card-body { align-content: center; padding: clamp(28px, 4vw, 52px); }
  .grid-live .card-live .card-summary { font-size: 15.5px; }
  html[lang="en"] .grid-live .card-live .card-summary { font-size: 16px; }
  .grid-live .card-live .chip { top: 18px; left: 18px; }
  .card-soon .card-media { aspect-ratio: 2 / 1; }
}
@media (min-width: 1000px) {
  .grid-live { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-live > li .card-live { grid-template-columns: minmax(0, 1fr); border-radius: var(--corner); --title-size: clamp(24px, 3vw, 30px); }
  .grid-live > li .card-live .card-media { aspect-ratio: 16 / 10; min-height: 0; }
  .grid-live > li .card-live .card-media::after { inset: auto 0 0 0; width: auto; height: 45%; background: linear-gradient(0deg, #00323a99, #00323a00); }
  .grid-live > li .card-live .card-body { align-content: start; padding: 22px 22px 26px; }
  .grid-live > li .card-live .card-summary { font-size: 14.5px; }
  .grid-live > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-live > li:last-child:nth-child(odd) .card-live { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border-radius: var(--corner-lg); --title-size: clamp(30px, 3.4vw, 42px); }
  .grid-live > li:last-child:nth-child(odd) .card-live .card-media { aspect-ratio: auto; min-height: 440px; }
  .grid-live > li:last-child:nth-child(odd) .card-live .card-media::after { inset: 0 0 0 auto; width: 40%; height: auto; background: linear-gradient(270deg, #00363d99, #00363d00); }
  .grid-live > li:last-child:nth-child(odd) .card-live .card-body { align-content: center; padding: clamp(28px, 4vw, 52px); }
  .grid-live > li:last-child:nth-child(odd) .card-live .card-summary { font-size: 15.5px; }
  html[lang="en"] .grid-live > li:last-child:nth-child(odd) .card-live .card-summary { font-size: 16px; }
}

/* --------------------------------------------------------------- about */
.about { background: linear-gradient(180deg, var(--bg) 0, var(--bg-deep) 100%); }
.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 28px; }
.feature { padding-top: 20px; border-top: 1px solid var(--line); }
.icon-ring { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border: 1px solid var(--accent-soft); border-radius: 50%; background: #00373b55; color: var(--accent); }
.icon-ring svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature h3, .note-item h4 { font-family: var(--serif-ja); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; }
html[lang="en"] .feature h3, html[lang="en"] .note-item h4 { font-family: var(--serif-en); font-weight: 400; font-size: 19px; letter-spacing: .02em; }
.feature p, .note-item p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.95; }
html[lang="en"] .feature p, html[lang="en"] .note-item p { font-size: 15px; line-height: 1.7; }
.notes { margin-top: clamp(40px, 6vw, 68px); padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line-strong); border-radius: var(--corner-lg); background: linear-gradient(180deg, #00343b, #002c33); }
.notes > h3 { margin-bottom: 22px; font-family: var(--serif-ja); font-size: 18px; font-weight: 600; letter-spacing: .16em; }
html[lang="en"] .notes > h3 { font-family: var(--serif-en); font-weight: 400; letter-spacing: .06em; font-size: 20px; }
.notes > h3::after { content: ""; display: block; width: 38px; height: 5px; margin-top: 12px; border-top: 1px solid var(--accent); border-radius: 50%; opacity: .85; }
.notes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.note-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; gap: 4px 16px; }
.note-item .icon-ring { margin: 2px 0 0; grid-row: 1 / span 2; }
.note-item p { margin-top: 4px; }
.note-item .badge-inline { display: inline-block; margin-left: 10px; padding: 1px 10px; border: 1px solid var(--accent-soft); border-radius: 3px 10px 3px 10px; color: var(--accent); font-family: var(--sans-ja); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; vertical-align: .12em; }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .notes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .note-item { padding: 0 28px; border-left: 1px solid var(--line); }
  .note-item:first-child { padding-left: 0; border-left: 0; }
  .note-item:last-child { padding-right: 0; }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--bg-deep); color: var(--muted); font-size: 13.5px; }
.site-footer .divider { margin-top: -1px; opacity: .3; }
.footer-inner { display: grid; gap: 28px; padding-block: 36px max(34px, env(safe-area-inset-bottom)); }
.footer-name { color: var(--paper); font-family: var(--serif-en); font-size: 19px; letter-spacing: .06em; }
.operator { margin-top: 14px; line-height: 1.6; }
.operator .label { display: block; margin-bottom: 4px; color: var(--dim); font-size: 11.5px; letter-spacing: .16em; }
.operator .ja { display: block; color: var(--paper); font-family: var(--serif-ja); font-size: 16px; font-weight: 600; letter-spacing: .12em; }
.operator .en { display: block; margin-top: 2px; font-family: var(--serif-en); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-links a { position: relative; padding: 4px 0; color: var(--paper); font-size: 14px; letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .25s, color .25s; }
.footer-links a:hover { color: var(--accent); border-color: var(--accent); }
.footer-links .lang-links a[aria-current="page"] { color: var(--dim); border-bottom-color: transparent; }
.copyright { color: var(--dim); font-size: 12px; letter-spacing: .08em; }
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 32px 48px; }
  .footer-links { justify-content: flex-end; }
  .footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 22px; border-top: 1px solid var(--line); }
}
@media (min-width: 720px) {
  .hero-caption { display: block; }
}

/* No-script fallback uses the same card styles. */
noscript .grid { margin-top: 0; }
noscript .soon-line { margin-top: 24px; color: var(--muted); font-size: 14px; }
.series-fallback + .series-fallback { margin-top: 48px; }
.fallback-title { margin-bottom: 18px; font-family: var(--serif-ja); font-size: 22px; font-weight: 600; letter-spacing: .12em; }
html[lang="en"] .fallback-title { font-family: var(--serif-en); font-weight: 400; letter-spacing: .04em; }
.fallback-title span { display: block; margin-top: 4px; color: var(--accent); font-size: 15px; font-weight: 400; letter-spacing: .2em; }

@media (max-width: 719px) {
  /* Phones: keep the headland fully visible above the text instead of behind it. */
  .hero-media { bottom: auto; height: 72%; -webkit-mask-image: linear-gradient(180deg, #000 58%, #0000 100%); mask-image: linear-gradient(180deg, #000 58%, #0000 100%); }
  .hero-img { object-position: 56% 50%; }
  .hero::before { background: linear-gradient(180deg, #00293073 0, #00293000 18%), linear-gradient(0deg, var(--bg) 0, #002930cc 12%, #00293000 40%), linear-gradient(90deg, #00293080 0, #00293000 60%); }
}
@media (max-width: 420px) {
  .btn { width: 100%; justify-content: space-between; }
  .cta-row { gap: 10px; }
  .chip .en { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .card-live:hover, .card-live:focus-visible { transform: none; }
  .card-live:hover img, .card-live:focus-visible img { transform: none; }
}
