/* Exer Japan — sub-page shared styles (ACSL-inspired) */
* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
.jp { font-family: var(--font-jp); letter-spacing: 0.04em; }
.en { font-family: var(--font-en); letter-spacing: -0.02em; }
.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; }
::selection { background: #FEF3C7; color: #072C4F; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---- header ---- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(252,251,247,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-head .logo img { height: 48px; width: auto; display: block; }
.site-head .nav { display: flex; align-items: center; gap: 40px; }
.site-head .nav a { font-size: 13px; color: var(--ink-60); text-decoration: none; transition: color .15s; }
.site-head .nav a:hover { color: var(--ink); }
.site-head .nav a.cta {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  background: var(--navy); color: white; padding: 11px 20px; border-radius: 999px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.site-head .nav a.cta:hover { color: white; }
.site-head .cta::after { content: "→"; }

/* ---- page hero band ---- */
.page-hero {
  padding: 120px 0 96px; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden;
  min-height: 62vh; display: flex; align-items: center;
}
.page-hero .bg {
  position: absolute; inset: 0; pointer-events: none;
  background-size: cover; background-position: center 42%;
  opacity: 0.95;
}
.page-hero .tint {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(252,251,247,0.5) 0%, rgba(252,251,247,0.4) 50%, rgba(252,251,247,0.5) 100%),
    linear-gradient(95deg, rgba(252,251,247,0.55) 0%, rgba(252,251,247,0.3) 40%, rgba(252,251,247,0.12) 72%);
}
.page-hero .sky {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 92% -10%, rgba(186,230,253,0.55), transparent 60%);
}
.page-hero .inner { position: relative; width: 100%; }
.page-hero .crumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: var(--sky-deep); margin-bottom: 24px; }
.page-hero h1 {
  font-family: var(--font-en); font-weight: 400; color: var(--navy);
  font-size: 88px; line-height: .95; letter-spacing: -.04em; margin: 0; text-transform: uppercase;
}
.page-hero .jp { font-family: var(--font-jp); font-size: 16px; color: var(--ink-60); margin-top: 22px; letter-spacing: .06em; }
.page-hero .lead { font-family: var(--font-jp); font-size: 15px; line-height: 1.95; color: var(--ink); margin-top: 24px; max-width: 680; }
.page-hero .lead strong { color: var(--navy); font-weight: 600; }

/* ---- generic section ---- */
.sec { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.sec.alt { background: var(--paper); }
.sec-head { display: grid; grid-template-columns: 180px 1fr; gap: 56px; align-items: start; margin-bottom: 64px; }
.sec-head .num { font-family: var(--font-en); font-size: 88px; font-weight: 400; line-height: .85; letter-spacing: -.04em; }
.sec-head .num.teal { color: var(--teal); } .sec-head .num.sky { color: var(--sky-bright); } .sec-head .num.amber { color: var(--amber-deep); }
.sec-head h2 { font-family: var(--font-en); font-size: 56px; font-weight: 400; color: var(--navy); letter-spacing: -.03em; line-height: 1; margin: 0; text-transform: uppercase; }
.sec-head .jp { font-family: var(--font-jp); font-size: 14px; color: var(--ink-60); margin-top: 14px; letter-spacing: .06em; }

/* amber check */
.check { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.check svg { width: 12px; height: 12px; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 14px; font-family: var(--font-jp); font-size: 14px; color: var(--ink); line-height: 1.6; }

/* ---- shared footer ---- */
.site-foot { background: var(--sky-soft); padding: 120px 0 40px; position: relative; overflow: hidden; }
.site-foot .bloom { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 95% 0%, rgba(186,230,253,0.7), transparent 60%); }
.site-foot .inner { position: relative; }
.site-foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 80px; border-bottom: 1px solid var(--rule); }
.site-foot .logo img { height: 80px; width: auto; display: block; }
.site-foot .msg { font-family: var(--font-jp); font-size: 14px; line-height: 1.95; color: var(--ink); max-width: 360px; margin: 28px 0 0; }
.site-foot .est { font-family: var(--font-mono); font-size: 12px; color: var(--ink-60); letter-spacing: .12em; margin-top: 36px; }
.site-foot .grp .t { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: .15em; margin-bottom: 18px; }
.site-foot .grp .jp { font-family: var(--font-jp); font-size: 11px; color: var(--ink-60); margin-bottom: 14px; letter-spacing: .06em; }
.site-foot .grp a { font-family: var(--font-jp); font-size: 13px; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.site-foot .grp a + a { margin-top: 12px; }
.site-foot .grp a span { color: var(--ink-40); font-size: 11px; }
.site-foot .mega { font-family: var(--font-en); font-size: 220px; font-weight: 400; color: rgba(11,62,111,0.07); letter-spacing: -.045em; line-height: .85; margin: 60px 0 40px; white-space: nowrap; text-transform: uppercase; }
.site-foot .legal { padding-top: 28px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; }
.site-foot .legal .c { font-family: var(--font-mono); font-size: 12px; color: var(--ink-60); letter-spacing: .1em; }
.site-foot .legal .links { display: flex; gap: 28px; }
.site-foot .legal .links a { font-family: var(--font-mono); font-size: 12px; color: var(--ink-60); text-decoration: none; letter-spacing: .1em; }

/* reveal — content is ALWAYS visible by default; JS adds a fade only on fresh loads.
   Hiding is gated on html.reveal-armed so a JS/observer failure never hides content. */
.reveal { opacity: 1; transform: none; }
html.reveal-armed .reveal:not(.in) { opacity: 0; transform: translateY(22px); }
html.reveal-armed .reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce){ html.reveal-armed .reveal:not(.in) { opacity:1; transform:none; } }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .site-head { padding: 14px 20px; }
  .site-head .nav { display: none; }
  .page-hero h1 { font-size: 52px; }
  .sec { padding: 64px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .sec-head .num { font-size: 64px; }
  .sec-head h2 { font-size: 38px; }
  .site-foot .top { grid-template-columns: 1fr; gap: 36px; }
  .site-foot .mega { font-size: 84px; }
  .site-foot .legal { flex-direction: column; gap: 16px; align-items: flex-start; }
}
