/* 量子占術 / Quantum Divination — base stylesheet */

@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --black: #05060b;
  --ink: #080b16;
  --navy: #0b1530;
  --navy-2: #101d40;
  --gold: #c8a96a;
  --gold-soft: #b39457;
  --gold-pale: #e6d4a8;
  --ivory: #ece5d3;
  --muted: #a39c8b;
  --line: rgba(200, 169, 106, 0.22);
  --line-strong: rgba(200, 169, 106, 0.5);

  --serif: "Cormorant", "Cormorant Garamond", "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 14vw, 200px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.05vw + 12px, 21px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lang-ja { font-size: clamp(15px, 0.6vw + 12px, 17px); line-height: 2.05; letter-spacing: 0.06em; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(200, 169, 106, 0.35); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ivory); color: var(--black); font-family: var(--sans); font-size: 13px; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.h1, .h2, .h3, .hero-title { font-family: var(--serif); font-weight: 300; margin: 0; color: var(--ivory); }
.h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.12; letter-spacing: 0.02em; }
.h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.2; letter-spacing: 0.01em; }
.h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.3; font-weight: 400; }
.lang-ja .h1 { font-size: clamp(30px, 4vw, 52px); letter-spacing: 0.12em; line-height: 1.5; }
.lang-ja .h2 { font-size: clamp(24px, 2.8vw, 38px); letter-spacing: 0.12em; line-height: 1.7; }
.lang-ja .h3 { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: 0.1em; }
.lead { font-size: 1.2em; color: var(--muted); margin: 0 auto; max-width: 36em; font-style: italic; font-weight: 300; }
.lang-ja .lead { font-style: normal; font-size: 1.05em; }
.lead-sm { color: var(--muted); max-width: 34em; margin: 32px auto 0; }
.rule { width: 72px; height: 1px; margin: 32px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.meta { font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.lang-ja .btn { letter-spacing: 0.2em; font-size: 12px; }
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); }
.btn-ghost { background: transparent; color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-pale); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease), backdrop-filter 0.6s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 11, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--gold); }
.logo .emblem { width: 34px; height: 34px; }
.logo-text { white-space: nowrap; font-family: var(--serif); font-size: 19px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory); font-weight: 400; }
.lang-ja .logo-text { text-transform: none; letter-spacing: 0.3em; font-size: 17px; }
.nav { display: flex; align-items: center; gap: 44px; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav ul a, .lang a {
  white-space: nowrap;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); transition: color 0.4s var(--ease); position: relative; padding: 6px 0;
}
.lang-ja .nav ul a { letter-spacing: 0.14em; font-size: 12px; }
.nav ul a:hover, .nav ul a[aria-current="page"], .lang a:hover, .lang a[aria-current="true"] { color: var(--gold-pale); }
.nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.lang { display: flex; align-items: center; gap: 10px; padding-left: 32px; border-left: 1px solid var(--line); }
.lang .sep { color: var(--line-strong); font-size: 11px; }
.header-tools { display: flex; align-items: center; gap: 8px; }

.music-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--gold);
  transition: border-color 0.4s var(--ease);
}
.music-toggle:hover { border-color: var(--gold); }
.music-toggle .bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.music-toggle .bars i { width: 2px; height: 3px; background: currentColor; transition: height 0.3s; }
.music-toggle[aria-pressed="true"] .bars i { animation: eq 1.2s ease-in-out infinite; }
.music-toggle[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -0.3s; }
.music-toggle[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -0.6s; }
.music-toggle[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -0.9s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }

.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ivory); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .logo-text { font-size: 15px; letter-spacing: 0.18em; }
  .logo .emblem { width: 28px; height: 28px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; justify-content: center; gap: 56px;
    background: rgba(5, 6, 11, 0.97);
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 30px; }
  .nav ul a { font-size: 13px; }
  .lang { border-left: 0; padding-left: 0; }
  .lang a { font-size: 13px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: rgba(5, 6, 11, 0.97); }
}

/* ---------- emblem ---------- */
.emblem { color: var(--gold); }
.hero-emblem { width: 64px; height: 64px; margin: 0 auto 36px; opacity: 0.9; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 80% 60% at 50% 45%, var(--navy) 0%, var(--ink) 55%, var(--black) 100%);
}
.hero-media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.field-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(5,6,11,0.15) 0%, rgba(5,6,11,0.7) 75%, var(--black) 100%); }
.hero-content { text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 120px; max-width: 980px; }
.hero-alt { margin: 0 0 18px; font-size: 15px; letter-spacing: 0.6em; color: var(--gold); font-family: var(--serif); text-indent: 0.6em; }
.lang-ja .hero-alt { font-family: var(--sans); font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase; }
.hero-title {
  font-size: clamp(44px, 8.4vw, 124px); line-height: 1.02; font-weight: 300;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(180deg, #f4ecd9 0%, var(--ivory) 45%, #bfb39a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-ja .hero-title { text-transform: none; font-size: clamp(48px, 8vw, 112px); letter-spacing: 0.24em; text-indent: 0.24em; font-weight: 400; }
.hero .rule { margin: 40px auto; width: 96px; }
.hero-tagline { margin: 0; font-style: italic; font-weight: 300; font-size: clamp(20px, 2vw, 28px); color: var(--gold-pale); letter-spacing: 0.04em; }
.lang-ja .hero-tagline { font-style: normal; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 0.32em; text-indent: 0.32em; }
.hero-actions { margin-top: 64px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-ai { position: absolute; left: var(--gutter); bottom: 32px; margin: 0; font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.lang-ja .hero-ai { text-transform: none; letter-spacing: 0.12em; font-size: 11px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--sans); font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: cue 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) {
  .hero-ai { left: 0; right: 0; text-align: center; bottom: 96px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ---------- page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(80px, 12vw, 160px)) 0 clamp(64px, 9vw, 120px);
  background: radial-gradient(ellipse 70% 80% at 50% 30%, var(--navy) 0%, var(--black) 75%);
  border-bottom: 1px solid var(--line);
}
.page-hero .field-canvas { opacity: 0.55; }
.page-hero-sm { padding-bottom: 56px; }
.page-full { min-height: 100vh; display: flex; align-items: center; border-bottom: 0; }
.page-full .btn { margin-top: 40px; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding-top: 72px; }
.section-navy { background: linear-gradient(180deg, var(--black) 0%, var(--ink) 18%, #0a1229 50%, var(--ink) 82%, var(--black) 100%); }

.steps { list-style: none; margin: clamp(64px, 8vw, 112px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 8px clamp(24px, 3vw, 48px); text-align: center; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step .numeral { display: block; font-size: 15px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 24px; font-style: italic; }
.step p { color: var(--muted); margin: 20px 0 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step { border-left: 0; padding: 0; }
  .step + .step { padding-top: 56px; border-top: 1px solid var(--line); }
}

.offers { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.offer { position: relative; display: flex; flex-direction: column; padding: clamp(40px, 4vw, 64px) clamp(28px, 3vw, 48px); background: var(--black); transition: background 0.6s var(--ease); min-height: 340px; }
.offer:hover { background: #0a1126; }
.offer p { color: var(--muted); margin: 20px 0 32px; flex: 1; }
.offer .more { font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.lang-ja .offer .more { letter-spacing: 0.14em; }
.offer .more span { display: inline-block; transition: transform 0.5s var(--ease); }
.offer:hover .more span { transform: translateX(6px); }
.tag { align-self: flex-start; font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-strong); padding: 5px 12px; margin-bottom: 36px; }
.lang-ja .tag { letter-spacing: 0.14em; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } .offer { min-height: 0; } }

.pledges { list-style: none; margin: 72px 0 0; padding: 0; }
.pledges li { padding: 32px 0 32px 48px; border-top: 1px solid var(--line); position: relative; color: var(--ivory); }
.pledges li:last-child { border-bottom: 1px solid var(--line); }
.pledges li::before { content: ""; position: absolute; left: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 6px 0 0 -0.5px transparent; }
.pledges li::after { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1px solid var(--gold); border-radius: 50%; opacity: 0.6; }

/* ---------- waitlist ---------- */
.waitlist { border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(16, 29, 64, 0.7), transparent 70%); }
.waitlist-form { margin: 56px auto 0; max-width: 560px; text-align: left; }
.field { display: flex; border: 1px solid var(--line-strong); background: rgba(5, 6, 11, 0.6); }
.field input {
  flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 0; background: transparent;
  color: var(--ivory); font-family: var(--sans); font-size: 16px; letter-spacing: 0.04em;
}
.field input::placeholder { color: #5f5a50; }
.field input:focus { outline: none; }
.field:focus-within { border-color: var(--gold); }
.field .btn { min-height: 56px; border: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-family: var(--sans); font-size: 12px; line-height: 1.7; color: var(--muted); letter-spacing: 0.02em; cursor: pointer; }
.consent a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; }
.consent input:checked { background: var(--gold); border-color: var(--gold); }
.consent input:checked::after { content: ""; width: 4px; height: 8px; border: solid var(--black); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.form-status { min-height: 1.6em; margin: 16px 0 0; font-family: var(--sans); font-size: 13px; color: var(--gold-pale); }
.form-status.is-error { color: #d99a8a; }
@media (max-width: 520px) { .field { flex-direction: column; } .field .btn { width: 100%; } }

/* ---------- status / content blocks ---------- */
.status-panel { display: flex; gap: 24px; align-items: flex-start; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(16, 29, 64, 0.45), rgba(5, 6, 11, 0.4)); }
.status-panel .badge { color: var(--gold); font-size: 10px; line-height: 2.6; animation: pulse 3s ease-in-out infinite; }
.status-panel p { margin: 0; color: var(--muted); }
.status-panel .status-title { color: var(--ivory); font-size: 1.15em; margin-bottom: 8px; }
@keyframes pulse { 50% { opacity: 0.3; } }
.preview, .plans { margin-top: 72px; }
.dash-list { list-style: none; padding: 0; margin: 28px 0 0; }
.dash-list li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.dash-list li:last-child { border-bottom: 1px solid var(--line); }
.dash-list li::before { content: "—"; color: var(--gold); margin-right: 18px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { display: flex; flex-direction: column; padding: 48px 40px; background: var(--black); }
.plan p { color: var(--muted); margin: 16px 0 0; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.ai-note { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12px; line-height: 1.9; color: var(--muted); letter-spacing: 0.02em; }
.prose-block + .prose-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.prose-block p { color: var(--muted); margin: 24px 0 0; }

/* ---------- legal ---------- */
.legal { font-family: var(--sans); font-size: 15px; line-height: 1.95; color: #cfc8b6; letter-spacing: 0.01em; }
.lang-ja .legal { font-size: 14px; letter-spacing: 0.04em; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ivory); margin: 64px 0 16px; letter-spacing: 0.02em; }
.lang-ja .legal h2 { font-size: 19px; letter-spacing: 0.1em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal a { color: var(--gold-pale); text-decoration: underline; text-underline-offset: 3px; }
.legal .remove-form { margin: 28px 0 8px; max-width: 520px; }
.legal .remove-form .btn { color: var(--ivory); text-decoration: none; }
.legal .notice { padding: 20px 24px; border: 1px solid var(--line); color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 96px 0 48px; background: var(--black); }
.footer-inner { display: grid; gap: 40px; text-align: center; justify-items: center; }
.footer-brand .emblem { width: 40px; height: 40px; margin: 0 auto 20px; }
.footer-name { margin: 0; font-size: 20px; letter-spacing: 0.3em; text-transform: uppercase; }
.lang-ja .footer-name { text-transform: none; letter-spacing: 0.4em; font-size: 18px; }
.footer-tagline { margin: 8px 0 0; font-style: italic; color: var(--muted); font-size: 16px; }
.lang-ja .footer-tagline { font-style: normal; font-size: 13px; letter-spacing: 0.2em; }
.footer-ai { max-width: 640px; margin: 0; font-family: var(--sans); font-size: 11px; line-height: 1.9; color: #7b7567; letter-spacing: 0.02em; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--gold-pale); }
.copyright { margin: 0; font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; color: #5f5a50; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero-content > * { animation: rise 1.3s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: 0.1s; }
.hero-content > :nth-child(3) { animation-delay: 0.2s; }
.hero-content > :nth-child(4) { animation-delay: 0.3s; }
.hero-content > :nth-child(5) { animation-delay: 0.4s; }
.hero-content > :nth-child(6) { animation-delay: 0.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-height: 760px), (max-width: 640px) { .scroll-cue { display: none; } }
@media (max-width: 380px) { .logo-text { font-size: 13px; letter-spacing: 0.14em; } }
.h1, .h2, .h3, .lead, .lead-sm, .hero-tagline { text-wrap: balance; }
.lang-ja .h1, .lang-ja .h2, .lang-ja .h3, .lang-ja .lead, .lang-ja .lead-sm, .lang-ja .hero-tagline { word-break: auto-phrase; }
@media (max-width: 480px) {
  .hero-title { font-size: clamp(30px, 10.5vw, 52px); letter-spacing: 0.02em; }
  .lang-ja .hero-title { font-size: clamp(40px, 13vw, 60px); letter-spacing: 0.18em; text-indent: 0.18em; }
  .hero-alt { letter-spacing: 0.4em; text-indent: 0.4em; }
  .header-inner { gap: 12px; }
}
