/* 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: "Moments Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;   /* (assets/fonts/fonts.css) */
  --serif-en: "Moments Garamond", 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: var(--focus-wide, 52% 60%); transform-origin: 62% 58%; animation: hero-drift 56s ease-in-out infinite alternate; }
/* The slideshow (lp.js sets .is-slides when it has more than one picture): the pictures are stacked, the one that is coming in
   fades in over the one that is leaving, and each picture's slow drift starts when it comes in. */
.hero-media.is-slides .hero-img { position: absolute; inset: 0; opacity: 0; animation: none; transition: opacity var(--hero-fade, 1.8s) ease-in-out; }
.hero-media.is-slides .hero-img.is-leaving { z-index: 1; opacity: 1; animation: hero-drift var(--hero-drift, 12s) ease-in-out forwards; }
.hero-media.is-slides .hero-img.is-current { z-index: 2; opacity: 1; animation: hero-drift var(--hero-drift, 12s) ease-in-out forwards; }
/* Text that follows the slide (caption, button): every version sits in the same grid cell, so the widest one sets the size and nothing moves. */
.stack { display: inline-grid; }
.stack > span { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.stack > span.is-current { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-caption .stack { justify-items: end; }
.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; }
/* One card for every scene of a series, live or coming soon: same size, same media, same type. Only the badge, the foot
   (button or note) and, for a scene without a picture, a quiet placeholder differ. Cards of a row stretch to one height and
   their feet sit at the bottom. 1 column on phones, a picture-left row on tablets, 3 columns on desktop. */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.grid > li { display: flex; min-width: 0; }

.card { --title-size: 24px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; 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 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.chip, .badge { 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); }

/* The media of a scene without a picture: the series' dark surface, a few still wave lines along the bottom (the accent seen
   through a mask, so a theme's accent applies) and a ring with the water's icon. No picture and no drawing of the place. */
.media-quiet { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 38%, #01424a 0, #013038 46%, #00262d 100%); }
.media-quiet::before { content: ""; position: absolute; inset: 0; background: var(--accent); opacity: .3; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' viewBox='0 0 160 120'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M0 36q40 -14 80 0t80 0'/%3E%3Cpath opacity='.7' d='M0 66q40 -14 80 0t80 0'/%3E%3Cpath opacity='.45' d='M0 96q40 -14 80 0t80 0'/%3E%3C/g%3E%3C/svg%3E") repeat-x center bottom / 160px 120px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' viewBox='0 0 160 120'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M0 36q40 -14 80 0t80 0'/%3E%3Cpath opacity='.7' d='M0 66q40 -14 80 0t80 0'/%3E%3Cpath opacity='.45' d='M0 96q40 -14 80 0t80 0'/%3E%3C/g%3E%3C/svg%3E") repeat-x center bottom / 160px 120px; }
.media-quiet .ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-top: -12px; border: 1px solid var(--accent-soft); border-radius: 50%; background: #00373b66; color: var(--accent); }
.media-quiet .ring svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }

.card-body { display: flex; flex-direction: column; 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); 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; }
/* The foot is the same height whether it holds the button or the note, and sits at the card's bottom. */
.card-foot { display: flex; align-items: flex-end; margin-top: auto; padding-top: 22px; }
.card-cta, .card-note { display: inline-flex; align-items: center; min-height: 44px; }
.card-cta { gap: 10px; 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 { gap: 12px; color: var(--dim); font-size: 13px; letter-spacing: .12em; }
.card-note::before { content: ""; width: 26px; height: 5px; border-top: 1px solid var(--accent-soft); border-radius: 50%; }

.grid > li:target .card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), 0 18px 48px #00131799; }
.card-live { 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; }

/* Tablet: the picture on the left, the text beside it, so three cards need no half-empty row. */
@media (min-width: 600px) and (max-width: 899px) {
  .card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: none; min-height: 330px; }
  .card-media { aspect-ratio: auto; min-height: 280px; }
  .card-media::after { inset: 0 0 0 auto; width: 40%; height: auto; background: linear-gradient(270deg, #00323a80, #00323a00); }
  .card-body { padding: 24px 26px 26px; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { --title-size: clamp(22px, 1.4vw + 10px, 27px); }
}

/* --------------------------------------------------------------- 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; }
/* the staged scenes and the disclaimer, under the notes (2026-10-15) */
.notes-more { display: grid; gap: 24px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.disclaimer h4 { font-family: var(--serif-ja); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
html[lang="en"] .disclaimer h4 { font-family: var(--serif-en); font-weight: 400; font-size: 16px; letter-spacing: .03em; }
.disclaimer p { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.9; opacity: .85; }
html[lang="en"] .disclaimer p { font-size: 13px; line-height: 1.65; }

@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; }
  .notes-more .note-item { padding: 0; border-left: 0; }
}

/* -------------------------------------------------------------- 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; }
.credits { margin: 0 0 6px; color: var(--dim); font-size: 11px; line-height: 1.6; }
/* the visit log's notice (docs/visit-log_ja.md §8): what the scene pages send, to whom, why, and how to stop it */
.usage-note { flex: 1 1 100%; max-width: 62em; margin: 0 0 10px; color: var(--dim); font-size: 11.5px; line-height: 1.8; }
.credits a { color: inherit; }
.credits-scene { margin-right: .5em; }
@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; }
.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: var(--focus-narrow, 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; }
}

/* ------------------------------------------------------------ wide cards */
/* One wide card per scene (2026-10-26): its pictures on one side, taking turns (lp.js initSlides: the scene, then its play),
   its words on the other, the sides swapped every other card; on phones the pictures above the words as before. The link into
   the scene is the button, stretched over the whole card; the picture tabs sit above it. */
.grid-wide { grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3vw, 36px); }
.card-wide .card-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out, transform 1.4s var(--ease); }
.card-wide .card-media .slide.is-current { opacity: 1; }
.card-wide .card-media::after { z-index: 1; }
.card-wide .card-cta { text-decoration: none; }
.card-wide .card-cta::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card-wide .card-foot { position: static; }
.card-wide.card-live:hover img.is-current, .card-wide.card-live:focus-within img.is-current { transform: scale(1.03); }
.card-wide:has(.card-cta:focus-visible) { outline: 2px solid var(--accent); outline-offset: 5px; }
.card-wide .card-cta:focus-visible { outline: none; }
.card-wide.card-live:focus-within { border-color: var(--accent-soft); }
.slide-tabs { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.slide-tabs button { min-height: 32px; padding: 5px 13px; border: 1px solid rgb(var(--accent-rgb) / .302); border-radius: 12px 4px 12px 4px; background: #002930b8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--muted); font: inherit; font-size: 12px; letter-spacing: .1em; line-height: 1.3; cursor: pointer; transition: color .25s, background-color .25s, border-color .25s; }
.slide-tabs button:hover { color: var(--paper); border-color: var(--accent-soft); }
.slide-tabs button[aria-pressed="true"] { color: var(--bg); border-color: var(--accent); background: var(--accent); }

/* The play under the scene's own words: verb and name, two lines, how to begin. */
.card-play { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-play-head { display: flex; align-items: center; gap: 12px; }
.card-play-head .icon-ring { width: 34px; height: 34px; margin: 0; flex: 0 0 auto; }
.card-play-head .icon-ring svg { width: 17px; height: 17px; }
.card-play-head .word { color: var(--accent); font-family: var(--serif-ja); font-size: 19px; font-weight: 600; letter-spacing: .2em; line-height: 1.3; }
html[lang="en"] .card-play-head .word { font-family: var(--serif-en); font-weight: 400; font-size: 21px; letter-spacing: .05em; }
.card-play-head .name { font-family: var(--serif-ja); font-size: 15px; font-weight: 600; letter-spacing: .12em; }
html[lang="en"] .card-play-head .name { font-family: var(--serif-en); font-weight: 400; font-size: 17px; letter-spacing: .02em; }
.card-play-text { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.95; }
html[lang="en"] .card-play-text { font-size: 15px; line-height: 1.7; }
.card-play-how { margin-top: 8px; color: var(--dim); font-size: 13px; line-height: 1.8; }
.card-play-how .label { display: inline-block; margin-right: 10px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 3px 9px 3px 9px; color: var(--accent); font-size: 11.5px; letter-spacing: .1em; vertical-align: .08em; }

@media (min-width: 900px) {
  .grid-wide { grid-template-columns: minmax(0, 1fr); }
  .card-wide { --title-size: clamp(26px, 1.4vw + 12px, 32px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: none; min-height: 460px; }
  .card-wide .card-media { aspect-ratio: auto; min-height: 100%; }
  .card-wide .card-media::after { inset: 0 0 0 auto; width: 35%; height: auto; background: linear-gradient(270deg, #00323a80, #00323a00); }
  .card-wide .card-body { padding: 34px 38px 34px; }
  .grid-wide > li:nth-child(even) .card-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid-wide > li:nth-child(even) .card-media { order: 2; }
  .grid-wide > li:nth-child(even) .card-media::after { inset: 0 auto 0 0; background: linear-gradient(90deg, #00323a80, #00323a00); }
}
@media (prefers-reduced-motion: reduce) {
  .card-wide.card-live:hover img.is-current, .card-wide.card-live:focus-within img.is-current { transform: none; }
}

/* ---------------------------------------------------- a series' prize */
/* By the series' title (registry SERIES[].award: the waterside's Grand Prix, 2026-11-14): a crown and the prize's name. */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; }
.series .section-head:has(.head-row) { max-width: none; }
.series .section-head:has(.head-row) .section-lead { max-width: 46em; }
.award { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 8px 16px 8px 12px; border: 1px solid var(--accent-soft); border-radius: 16px 4px 16px 4px; background: rgb(var(--accent-rgb) / .08); color: var(--paper); font-size: 13px; letter-spacing: .08em; line-height: 1.4; text-decoration: none; }
.award svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
a.award:hover { border-color: var(--accent); }
html[lang="en"] .award { font-family: var(--serif-en); font-size: 14.5px; letter-spacing: .03em; }

/* ------------------------------------------------- one scene on its own */
/* A series with a single scene on the LP (南伊豆・青野川, 2026-11-19; lp.js featureSection): the section takes its theme's
   ground (fading from and back to the page's teal), the place's name is the heading, the pictures run the section's width,
   and under them the scene's words beside its play. The link into the scene is stretched over the whole feature. */
.series-solo { --bg: rgb(var(--ink-rgb)); --surface: rgb(var(--glass-rgb)); --surface-low: rgb(var(--ink-rgb));
  --fade: clamp(80px, 12vw, 160px);
  background: linear-gradient(180deg, #002930 0, rgb(var(--ink-rgb)) var(--fade), rgb(var(--ink-rgb)) calc(100% - var(--fade)), #002930 100%); }
.kicker-new { display: flex; align-items: center; gap: 12px; }
.kicker-new .new { padding: 2px 10px; border: 1px solid var(--accent-soft); border-radius: 3px 10px 3px 10px; letter-spacing: .2em; }
html[lang="ja"] .kicker-new { font-family: var(--serif-ja); font-size: 13px; letter-spacing: .3em; }
.series-solo .chip, .series-solo .badge-soon, .series-solo .slide-tabs button { background: rgb(var(--ink-rgb) / .72); }
.series-solo .slide-tabs button[aria-pressed="true"] { background: var(--accent); }

.solo { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--corner-lg); background: linear-gradient(180deg, rgb(var(--glass-rgb) / .55), rgb(var(--ink-rgb))); transition: border-color .3s; }
.solo .card-media { aspect-ratio: 4 / 3; background: rgb(var(--ink-rgb)); }
/* (a shade along the bottom only, at every width: the cards' side shade of the tablet widths is not the feature's) */
.solo .card-media::after { z-index: 1; inset: auto 0 0 0; width: auto; height: 45%; background: linear-gradient(0deg, rgb(var(--ink-rgb) / .7), rgb(var(--ink-rgb) / 0)); }
.solo .media-quiet { background: radial-gradient(120% 90% at 50% 38%, rgb(var(--glass-rgb)) 0, rgb(var(--ink-rgb)) 70%); }
.solo .card-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out, transform 1.4s var(--ease); }
.solo .card-media .slide.is-current { opacity: 1; }
.solo.card-live:hover img.is-current, .solo.card-live:focus-within img.is-current { transform: scale(1.02); }
.solo.card-live:hover, .solo.card-live:focus-within { border-color: var(--accent-soft); }
.solo .card-cta { text-decoration: none; }
.solo .card-cta::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.solo .card-cta:hover, .solo.card-live:hover .card-cta { background: var(--accent-hover); }
.solo.card-live:hover .card-cta svg { transform: translateX(4px); }
.solo:has(.card-cta:focus-visible) { outline: 2px solid var(--accent); outline-offset: 5px; }
.solo .card-cta:focus-visible { outline: none; }
.solo-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 24px 22px 26px; }
.solo-words { display: flex; flex-direction: column; }
.solo-words .card-sub { margin-top: -2px; margin-bottom: 4px; }
.solo-words .card-summary { margin-top: 10px; }
.sounds { margin-top: 18px; }
.sounds-label { color: var(--dim); font-size: 12px; letter-spacing: .14em; }
.sounds ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sounds li { padding: 3px 12px; border: 1px solid var(--line-strong); border-radius: 12px 4px 12px 4px; color: var(--paper); font-size: 13px; letter-spacing: .1em; }
html[lang="en"] .sounds li { letter-spacing: .03em; }
/* the making-of article on note, in the feature's foot beside its link into the scene (2026-11-24, the user): its own
   link sits over the stretched one; the picture is the article's header (the note's OGP), small */
.making-of { position: relative; z-index: 3; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--line-strong); border-radius: 14px 4px 14px 4px; background: rgb(var(--ink-rgb) / .5); color: inherit; text-decoration: none; transition: border-color .25s, background .25s; }
.making-of:hover, .making-of:focus-visible { border-color: var(--accent-soft); background: rgb(var(--glass-rgb) / .6); }
.making-of:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.making-of img { width: 96px; height: auto; aspect-ratio: 1280 / 670; border-radius: 8px 2px 8px 2px; object-fit: cover; }
.making-of-text { display: grid; gap: 2px; min-width: 0; }
.making-of-kicker { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.making-of-kicker svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.making-of-title { color: var(--paper); font-size: 13.5px; line-height: 1.5; letter-spacing: .04em; }
.solo .card-foot { flex-wrap: wrap; align-items: center; gap: 12px 16px; }
@media (min-width: 900px) {
  .solo .card-media { aspect-ratio: 21 / 9; }
  .solo-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 44px; padding: 34px 40px 38px; }
  .solo-body .card-play { margin-top: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .solo.card-live:hover img.is-current, .solo.card-live:focus-within img.is-current { transform: none; }
}
