:root {
  --deep:   #0b2540;
  --sea:    #12557a;
  --lagoon: #2aa3a8;
  --foam:   #e8f6f4;
  --pearl:  #fbf8f3;
  --coral:  #e9826b;
  --ink:    #1d2b36;
  --muted:  #5b6b77;
  --serif:  "Cormorant Garamond", "Noto Serif JP", serif;
  --sans:   "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  /* Intro sizing, all from the viewport height:
     wordmark 1/8 vh, language buttons 1/20 vh, button radius 1/5 of that. */
  --vh: 1vh;
  --mark-h: calc(var(--vh) * 12.5);
  --btn-h:  calc(var(--vh) * 5);
}
@supports (height: 1svh) { :root { --vh: 1svh; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--pearl);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* splash (/): one screen, no scrolling */
body.splash { overflow: hidden; background: #000; }
.intro {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh;
  background: #000; color: #fff;
}
/* Full width, natural aspect ratio, centered vertically. */
.flash {
  position: absolute; left: 0; top: 50%;
  width: 100%; height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
/* Portrait screens: fill the whole screen instead, cropping the sides. */
@media (orientation: portrait) {
  .flash { top: 0; height: 100%; object-fit: cover; object-position: 50% 50%; transform: none; }
}
.wordmark {
  position: absolute; left: calc(var(--vh) * 4); bottom: calc(var(--vh) * 3);
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 600;
  /* Japanese glyphs fill about one em, so font-size = visible height.
     The vw cap keeps the five characters clear of the sound button on
     narrow portrait phones. */
  font-size: min(var(--mark-h), 13vw);
  line-height: 1; letter-spacing: .02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.sound {
  position: absolute; right: calc(var(--vh) * 4); bottom: calc(var(--vh) * 4.5);
  width: calc(var(--vh) * 6); height: calc(var(--vh) * 6);
  min-width: 40px; min-height: 40px;
  padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  opacity: .85; transition: opacity .2s;
  filter: drop-shadow(0 1px 8px rgba(0,0,0,.4));
}
.sound:hover, .sound:focus-visible { opacity: 1; }
.sound svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound .spk { fill: currentColor; }
.sound .on { display: none; }
.sound[aria-pressed="true"] .on  { display: inline; }
.sound[aria-pressed="true"] .off { display: none; }

.choose {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; gap: calc(var(--btn-h) * .8);
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.choose.shown { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; }
.choose a {
  display: inline-flex; align-items: center; text-decoration: none;
  height: var(--btn-h); min-height: 32px;
  padding: 0 calc(var(--btn-h) * .9);
  border: 0; border-radius: calc(var(--btn-h) / 5); white-space: nowrap;
  background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--deep); cursor: pointer;
  font-family: var(--sans); font-weight: 500;
  font-size: max(14px, calc(var(--btn-h) * .4)); letter-spacing: .08em;
  transition: background .25s;
}
.choose a:hover, .choose a:focus-visible { background: rgba(255,255,255,.75); }

/* Portrait: below the swimmer's face, above the wordmark. */
@media (orientation: portrait) { .choose { top: 76%; } }
@media (prefers-reduced-motion: reduce) { .choose, .choose.shown { transition: none; } }

/* content pages (/jp/, /en/): header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  background: var(--deep); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .04em; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: .9rem; }
.top nav a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.top nav a:hover { opacity: 1; }
.lang {
  font: inherit; font-size: .8rem; letter-spacing: .08em;
  color: #fff; background: transparent; cursor: pointer;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px 12px;
  text-decoration: none;
}
.lang:hover { background: rgba(255,255,255,.12); }

/* content pages, for now "Coming Soon": one screen over the video */
body.soon { overflow: hidden; background: #000; color: #fff; }
.soon .bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55; pointer-events: none;
}
.soon .top { position: fixed; inset: 0 0 auto 0; z-index: 2; background: transparent; }
.soon main {
  position: relative; z-index: 1;
  height: 100vh; height: 100svh;
  display: grid; place-content: center; text-align: center; padding: 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.soon h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 6.5rem); letter-spacing: .08em; line-height: 1.05;
}
.soon .sub { margin: 18px 0 0; font-family: "Noto Serif JP", serif; font-size: clamp(1rem, 2.4vw, 1.4rem); letter-spacing: .3em; opacity: .9; }
.soon footer { position: fixed; inset: auto 0 0 0; z-index: 2; background: transparent; }

/* bands */
.band { padding: clamp(64px, 10vw, 120px) 16px; }
.band.alt { background: var(--foam); }
.wrap { max-width: 1040px; margin: 0 auto; }
.wrap.center { text-align: center; max-width: 640px; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
h2 {
  font-family: "Noto Serif JP", var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 20px; color: var(--deep);
  letter-spacing: .06em;
}
h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--lagoon); margin-top: 14px; }
.center h2::after { margin-left: auto; margin-right: auto; }
.band p { color: var(--muted); margin: 0; }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillars li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 24px; background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11,37,64,.05), 0 8px 24px rgba(11,37,64,.06);
}
.pillars .num { font-family: var(--serif); font-size: 1.6rem; color: var(--lagoon); }
.pillars b { font-weight: 500; color: var(--ink); }

.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(11,37,64,.12); }
.news li { display: flex; gap: 28px; padding: 18px 4px; border-bottom: 1px solid rgba(11,37,64,.12); }
.news time { font-family: var(--serif); color: var(--sea); letter-spacing: .05em; flex: none; }

footer { background: var(--deep); color: rgba(255,255,255,.6); text-align: center; padding: 22px 16px; font-size: .72rem; letter-spacing: .04em; }
footer p { margin: 0; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
footer a:hover { color: #fff; border-bottom-color: #fff; }

@media (max-width: 720px) {
  .two { grid-template-columns: 1fr; }
  .top nav a:not(.lang) { display: none; }
  .news li { flex-direction: column; gap: 4px; }
}
