/* ============================================================
   ROOTING TRIIAL LP — styles
   Figma: ROOTING - TRIIAL - LP / node 1-351
   ============================================================ */

:root {
  --bg: #07070e;
  --bg-deep: #06060c;
  --ink: #f3f3f8;
  --primary: #4432ff;
  --primary-hover: #5a4bff;
  --violet: #7b6cff;
  --card: #0b0b15;
  --card-2: #12121e;
  --card-3: #181826;
  --muted: #b6b6cc;
  --muted-2: #9a9ab2;
  --exp: #38d66b;
  --cha: #ff3da5;
  --maxw: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--primary); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px; left: 0;
  z-index: 100;
  background: var(--primary); color: #fff;
  padding: 8px 16px;
}
.skip-link:focus {
  top: 0; left: 0;
}

/* ============================================================
   ambient background
   ============================================================ */
.bg-base, .bg-glow, .bg-grid, .bg-grain, .bg-vignette {
  position: fixed; z-index: 0; pointer-events: none;
}
.bg-base { inset: 0; background: var(--bg-deep); }
.bg-glow {
  inset: -12%;
  background:
    radial-gradient(900px 720px at 82% -6%, rgba(96,78,255,.34), transparent 62%),
    radial-gradient(820px 700px at 4% 22%, rgba(68,50,255,.18), transparent 60%),
    radial-gradient(700px 600px at 60% 108%, rgba(123,108,255,.16), transparent 64%);
  animation: lp-drift 22s ease-in-out infinite;
}
.bg-grid {
  inset: 0; opacity: .36;
  background-image:
    linear-gradient(rgba(123,108,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,108,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: lp-grid 9s linear infinite;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 80%);
          mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 80%);
}
.bg-grain {
  inset: -50%; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: lp-grain 6s steps(6) infinite;
}
.bg-vignette {
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 58%, rgba(4,4,9,.72) 100%);
}

/* ============================================================
   layout helpers
   ============================================================ */
main { position: relative; z-index: 2; }
section[id] { scroll-margin-top: 24px; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* full-bleed sections break out of the centered container */
.full-bleed {
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw;
  padding: clamp(44px,7vw,84px) max(var(--gutter), calc(50vw - 540px));
}

/* brand mark (diamond) */
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 14px; height: 20px;
  background: linear-gradient(180deg,#fff,var(--violet));
  clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%);
}
.brand__mark--lg { width: 16px; height: 22px; }
.brand__name { font-weight: 700; letter-spacing: .06em; font-size: 18px; }
.brand__name--lg { font-size: 21px; letter-spacing: .05em; }

/* ============================================================
   header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: end; gap: 14px;
  padding: 14px var(--gutter);
  background: rgba(7,7,14,.62);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  animation: lp-heroin 1s cubic-bezier(.2,.7,.2,1) 2s both;
}
.site-header__actions {
  position: fixed; top: 14px; right: 14px; z-index: 80;
}
.btn-entry-sm {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; letter-spacing: .05em; color: #fff;
  padding: 12px 22px; background: var(--primary);
  box-shadow: 0 6px 20px rgba(68,50,255,.4);
  transition: background .2s ease;
}
.btn-entry-sm:hover { background: var(--primary-hover); }
.menu-toggle {
  cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 24px 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
}
.menu-toggle span { display: block; width: 33px; height: 2px; background: #e7e6ff; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   menu overlay
   ============================================================ */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(6,6,12,.95); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.menu[hidden] { display: flex; } /* override default to allow transition */
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: end; }
.menu__close {
  cursor: pointer; font-weight: 700; font-size: 16px; color: #cfcaff;
  padding: 12px 18px; background: transparent; border: 1px solid rgba(123,108,255,.5);
  font-family: inherit;
}
.menu__nav {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(4px,1.4vw,10px); max-width: 780px; margin: 0 auto; width: 100%;
}
.menu__nav a {
  display: flex; flex-direction: column; align-items: baseline; gap: 4px;
  padding: clamp(10px,1.6vw,16px) 8px; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s ease;
}
.menu__nav a:hover { background: rgba(68,50,255,.1); }
.menu__en { font-weight: 700; font-size: clamp(32px,7vw,60px); letter-spacing: .02em; color: #fff; line-height: 1; }
.menu__jp { font-weight: 700; font-size: 15px; color: var(--violet); letter-spacing: .18em; }
.menu .sec-head__img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(13%) hue-rotate(81deg) brightness(106%) contrast(106%);
}

/* ============================================================
   hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; padding: 104px 20px clamp(80px,16vh,180px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('./main_image_0.webp') center 20% / cover;
  animation: lp-bgin .5s ease both;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,7,14,.32) 0%, rgba(7,7,14,.12) 40%, rgba(7,7,14,.7) 78%, rgba(7,7,14,.97) 100%);
}
.hero__beam {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(800px 520px at 50% 78%, rgba(68,50,255,.28), transparent 72%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; max-width: 960px;
}
.hero__logo {
  display: block; width: min(1040px, 97vw); height: auto;
  filter: drop-shadow(0 12px 44px rgba(68,50,255,.55));
  animation: lp-heroin 1s cubic-bezier(.2,.7,.2,1) .5s both;
}
.hero__supported {
  display: block; margin-top: 24px; width: min(330px, 56vw); height: auto;
  animation: lp-heroin 1s cubic-bezier(.2,.7,.2,1) .9s both;
}
.hero__date {
  display: block; margin-top: clamp(64px, 16vw, 152px); width: min(440px, 72vw); height: auto;
  filter: drop-shadow(0 4px 26px rgba(0,0,0,.6));
  animation: lp-heroin 1s cubic-bezier(.2,.7,.2,1) 1.2s both;
}
.hero__place {
  display: block; margin-top: 40px; width: min(820px, 96vw); height: auto;
  animation: lp-heroin 1s cubic-bezier(.2,.7,.2,1) 1.5s both;
}
.hero__scroll {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  animation: lp-bgin 1s ease 2s both;
}
.hero__scroll span { color: var(--violet); font-size: 15px; animation: lp-bob 1.8s ease-in-out infinite; }

/* ============================================================
   LIVE (YouTube embed)
   ============================================================ */
.live { padding: clamp(44px,7vw,84px) 0 0; }
.live__frame {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--card);
  border: 1px solid rgba(123,108,255,.24);
  box-shadow: 0 18px 60px rgba(68,50,255,.18);
  overflow: hidden;
}
.live__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ============================================================
   section heading
   ============================================================ */
.sec-head { position: relative; margin: 0 0 42px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.sec-head__img {
  display: block; height: clamp(26px,4.6vw,50px); width: auto; max-width: 100%;
  object-fit: contain; object-position: left center;
  filter: drop-shadow(0 6px 26px rgba(68,50,255,.32));
}
.sec-head__img--invert { filter: invert(1); }
.sec-head__text {
  font-weight: 900; font-size: clamp(40px,9vw,88px); letter-spacing: .005em; line-height: .9;
  background: linear-gradient(180deg,#fff 0%,#e4e7fb 42%,#9fa4cf 62%,#fff 82%,#c3c7e8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(68,50,255,.32));
}
.sec-head__jp { font-weight: 700; font-size: 16px; color: #cfcaff; letter-spacing: .26em; }


/* ============================================================
   ENTRY blocks
   ============================================================ */
.entry { padding: clamp(60px,9vw,104px) 0; }
.entry--mid { padding: clamp(40px,6vw,76px) 0; }
.entry__card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px,6vw,72px) clamp(20px,4vw,48px);
  background: linear-gradient(160deg,#0c0a22,#0a0816);
  border: 1px solid rgba(123,108,255,.28);
}
.entry__scan {
  position: absolute; top: 0; left: 0; width: 34%; height: 2px;
  background: linear-gradient(90deg,transparent,var(--violet),transparent);
  animation: lp-scan 3.4s linear infinite;
}
.entry__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
} 
.entry__title {
  display: block; margin: 0 auto; height: 56px; width: auto; max-width: 100%;
  object-fit: contain; filter: drop-shadow(0 8px 30px rgba(68,50,255,.55));
}
.entry__lead {
  margin: 0;
  text-align: center;
  font-size: clamp(16px,1.6vw,20px);
  line-height: 2;
  color: #cdcde0;
}
.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
}

/* ============================================================
   RULE
   ============================================================ */
.rule {
  background: var(--primary);
  background-image: url(./LL.png);
  background-size: contain;
  background-position: right 5% center;
  background-repeat: no-repeat;
}
.rule .sec-head__img { filter: drop-shadow(0 6px 26px rgba(68,50,255,.32)); }

.rule__note {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 26px; margin-bottom: 20px;
  background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.rule__note li { margin: 0; font-size: 16.5px; line-height: 1.85; color: #0a0a14; }
.rule__note strong { color: var(--primary); }
.rule__note--list { margin: 0 0 24px; }
.rule__note--list > div { display: flex; gap: 12px; font-size: 15px; line-height: 1.8; color: #2c2c36; }
.rule__note--list strong { color: var(--primary); }
.rule__note--list a { text-decoration: underline; }
.rule__note--list small { color: #6a6a76; font-size: 13px; }
.dot { flex: none; width: 9px; height: 9px; margin-top: 8px; background: var(--primary); }

.phase-head { display: flex; align-items: center; gap: 14px; margin: 34px 0 18px; }
.phase-head span { font-weight: 900; font-size: clamp(22px,4vw,28px); color: #fff; }
.phase-head i { flex: 1; height: 1px; background: linear-gradient(90deg,rgba(123,108,255,.45),transparent); }

.round {
  position: relative;
  background: var(--card); padding: 22px 24px; margin-bottom: 20px;
  border: 1px solid transparent;
  transition: border-color .25s ease, transform .25s ease;
}
.round:last-child { margin-bottom: 0; }
.round:hover { border-color: rgba(123,108,255,.5); transform: translateY(-3px); }
.round--final { padding: 24px 26px; }
.round--final:hover { transform: none; border-color: transparent; }
.round__head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 10px; }
.round__jp { font-weight: 900; font-size: 24px; }
.round__jp--lg { font-size: clamp(26px,5vw,34px); color: #fff; }
.round__en { font-weight: 700; font-size: 20px; color: rgb(from var(--violet) r g b / 50%); letter-spacing: 0; }
.round__en--light { color: #cfcaff; }
.round__pill {
  position: absolute; top: 22px; right: 0;
  font-weight: 700; font-size: 15px; color: #fff;
  background: rgb(from var(--primary) r g b / 60%); padding: 6px 14px;
}
.round--final .round__pill { top: 24px; }
.round__pill--solid { background: var(--primary); }
.round__desc { margin: 14px 0 18px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.round__desc:first-of-type { margin-top: 0; }
.round__desc strong { color: #cfcaff; }
.round__desc--light { font-size: 16px; color: #e7e6ff; }

.round__callout {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px;
  padding: 0;
}
.round__callout span { font-size: 15px; line-height: 1.7; color: #cfcaff; }
.round__callout strong { color: #fff; }
.round__callout small { color: var(--muted-2); }

.songbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 18px; background: linear-gradient(90deg,rgba(68,50,255,.22),rgba(68,50,255,.05));
}
.songbar__label { font-weight: 700; font-size: 14px; color: #cfcaff; letter-spacing: .06em; }
.songbar__song { font-weight: 800; font-size: 19px; color: #fff; }

/* difficulty labels */
.diff { font-weight: 700; font-size: 14px; }
.diff--exp { color: var(--exp); }
.diff--cha { color: var(--cha); }

/* block stage grid */
.round__desc + .block-scroll { margin-top: 18px; }
.block-scroll { overflow-x: auto; }
.block-grid {
  min-width: 640px;
  display: grid; grid-template-columns: 92px repeat(4, 1fr); gap: 8px;
}
.block-grid__head {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); min-height: 46px;
  font-weight: 900; font-size: 19px; color: #fff;
}
.block-grid__row {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  text-align: center; padding: 9px 6px; background: rgba(123,108,255,.12);
}
.block-grid__row strong { font-weight: 900; font-size: 14px; color: #fff; }
.block-grid__row i { font-weight: 700; font-size: 11px; color: var(--muted-2); font-style: normal; }
.cell {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 11px 12px; background: var(--card-2); transition: background .2s ease;
}
.cell:hover { background: var(--card-3); }
.cell span { font-weight: 700; font-size: 13px; color: #e7e6ff; line-height: 1.4; }
.cell em { font-style: normal; font-weight: 700; font-size: 11px; }
.cell--dual { gap: 8px; }
.cell__pair { display: flex; flex-direction: column; gap: 3px; }

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule { padding: clamp(44px,7vw,84px) 0; }
.sched-list { display: flex; flex-direction: column; gap: 10px; }
.sched-row { display: flex; align-items: stretch; }
.sched-row__t {
  display: flex; align-items: center; justify-content: center; min-width: 108px;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 21px; padding: 15px 16px;
}
.sched-row__label {
  flex: 1; display: flex; align-items: center; padding: 15px 22px;
  background: var(--card); border: 1px solid rgba(123,108,255,.22); border-left: none;
  font-weight: 700; font-size: 17px; color: #e7e6ff;
}

/* ============================================================
   TICKET
   ============================================================ */
.ticket { background: #fff; }
.ticket .sec-head { margin-bottom: 26px; justify-content: center; }
.ticket__note { margin: 0 0 26px; font-size: 16px; color: #555; text-align: center; }
.ticket__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tcard {
  display: flex; flex-direction: column; gap: 24px;
  background: var(--primary);
  transition: border-color .25s ease, transform .25s ease;
  padding: 28px 40px;
}
.tcard:hover { border-color: rgba(123,108,255,.6); transform: translateY(-4px); }
.tcard__head {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  height: 42px;
}
.tcard__name { font-weight: 900; font-size: 21px; color: var(--primary); }
.tcard__tag { font-weight: 700; font-size: 13px; color: #cdcaff; letter-spacing: .08em; }
.tcard__tag--mute { color: var(--muted-2); }
.tcard__body { flex: 1; display: flex; align-items: center; justify-content: center; }
.tcard__body img { display: block; width: 100%; height: auto; }
.tcard__body img.spectator { display: block; width: 78%; height: auto; }
.tcard__price {
  text-align: center;
}
.tcard__yen { font-weight: 800; font-size: 42px; color: var(--primary); }
.tcard__tax { font-size: 14px; color: var(--primary); }

/* ============================================================
   ACCESS
   ============================================================ */
.access { padding: clamp(44px,7vw,84px) 0; }
.access .sec-head { margin-bottom: 34px; }
.access__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; align-items: start; }
.access__info {
  padding: 28px; background: var(--card);
  display: flex; flex-direction: column; gap: 20px;
}
.access__name { font-weight: 900; font-size: 19px; margin-bottom: 16px; }
.access__near { font-size: 14.5px; line-height: 1.7; margin-bottom: 16px; }
.access__addr { font-size: 15px; color: #c2c2d6; line-height: 1.7; }
.access__sep { height: 1px; background: rgba(123,108,255,.18); }
.access__map { position: relative; min-height: 340px; border: 1px solid rgba(123,108,255,.24); overflow: hidden; }
.access__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(.3) contrast(1.05);
}

/* ============================================================
   Q&A
   ============================================================ */
.qa { background: var(--primary); }
.qa .sec-head { margin-bottom: 34px; }
.qa .sec-head__img { filter: drop-shadow(0 6px 22px rgba(0,0,0,.3)); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--card); border: 1px solid rgba(0,0,0,.25);
  transition: border-color .25s ease, transform .25s ease;
}
.faq:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 16px; padding: 19px 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font-weight: 800; font-size: 19px; color: var(--violet); }
.faq__text { flex: 1; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq__sign { position: relative; width: 22px; height: 22px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--violet);
  transition: transform .25s ease, opacity .25s ease;
}
.faq__sign::before { width: 16px; height: 2.5px; transform: translate(-50%,-50%); }
.faq__sign::after  { width: 2.5px; height: 16px; transform: translate(-50%,-50%); }
.faq[open] .faq__sign::after { opacity: 0; transform: translate(-50%,-50%) rotate(90deg); }
.faq__a { padding: 0 22px 20px 54px; font-size: 15.5px; line-height: 1.85; color: var(--muted); }

/* ============================================================
   RESULTS
   ============================================================ */
.results { padding: clamp(44px,7vw,84px) 0 clamp(32px,5vw,56px); }
.results .sec-head { margin-bottom: 34px; justify-content: center; }
.results__detail { display: flex; justify-content: center; }
.gallery-section { padding: clamp(44px,7vw,84px) 0 clamp(60px,9vw,104px); }
.gallery-section .sec-head { margin-bottom: 34px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); background: rgba(6,6,12,.6); }
.site-footer__top {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px,5vw,60px) var(--gutter);
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
}
.site-footer__text {text-align: center; color: var(--muted); line-height: 1.7;}
.site-footer__brand { max-width: 360px; }
.site-footer__brand .brand { margin-bottom: 16px; }
.site-footer__brand p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted-2); }
.site-footer__supported { margin-top: 16px; font-size: 12px; color: #6a6a82; letter-spacing: .1em; }
.site-footer__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 11px; }
.site-footer__label { font-weight: 700; font-size: 12px; color: var(--violet); letter-spacing: .14em; margin-bottom: 4px; }
.site-footer__col a { font-size: 15px; color: #c2c2d6; transition: color .2s ease; }
.site-footer__col a:hover { color: #fff; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.06); padding: 18px var(--gutter); text-align: center; }
.site-footer__copy span { font-size: 12px; color: #6a6a82; letter-spacing: .1em; }

/* ============================================================
   reveal-on-scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(30px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   keyframes
   ============================================================ */
@keyframes lp-scan  { 0%{transform:translateX(-100%);} 100%{transform:translateX(294%);} }
@keyframes lp-grid  { 0%{background-position:0 0;} 100%{background-position:0 64px;} }
@keyframes lp-bob   { 0%,100%{transform:translateY(0);opacity:.4;} 50%{transform:translateY(8px);opacity:1;} }
@keyframes lp-bgin  { from{opacity:0;} to{opacity:1;} }
@keyframes lp-heroin{ from{opacity:0; transform:translateY(32px);} to{opacity:1; transform:translateY(0);} }
@keyframes lp-drift { 0%{transform:translate3d(0,0,0) scale(1.05);} 50%{transform:translate3d(-2%,1.5%,0) scale(1.12);} 100%{transform:translate3d(0,0,0) scale(1.05);} }
@keyframes lp-grain { 0%,100%{transform:translate(0,0);} 10%{transform:translate(-4%,-3%);} 30%{transform:translate(3%,-5%);} 50%{transform:translate(-5%,4%);} 70%{transform:translate(4%,3%);} 90%{transform:translate(-3%,-4%);} }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 720px) {
  .btn-entry-sm { padding: 10px 16px; font-size: 14px; }
  .sched-row__t { min-width: 84px; font-size: 18px; }
  .sched-row__label { font-size: 15px; padding: 13px 16px; }
  .tcard__yen { font-size: 34px; }
  .site-footer__top { flex-direction: column; gap: 28px; }
}

@media (max-width: 600px) {
  /* stack entry buttons vertically on phones */
  .buttons { flex-direction: column; align-items: center; gap: 16px; }
  .entry__title { height: 26px; }
  .rule__note { padding-left: 32px; padding-right: 32px; }
  .round__en { font-size: 14px; }
}

@media (max-width: 480px) {
  .site-header { padding: 12px 16px; gap: 10px; }
  .brand__name { font-size: 15px; letter-spacing: .04em; }
  .site-header__actions { gap: 8px; }
  .btn-entry-sm { padding: 9px 14px; font-size: 13px; }
  .menu-toggle { padding: 10px; }
  .menu-toggle span { width: 20px; }
}

/* very small screens: keep only the brand mark to guarantee the nav fits */
@media (max-width: 360px) {
  .site-header .brand__name { display: none; }
}

/* PC: widen the rule note side padding */
@media (min-width: 768px) {
  .rule__note { padding-left: 40px; padding-right: 40px; }
}

/* ============================================================
   parallax (fixed background)
   `background-attachment: fixed` keeps the hero / rule artwork
   stationary while content scrolls over it — applied on all
   viewport sizes. Note: iOS Safari does not support fixed
   attachment and simply falls back to a scrolling background.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { background-attachment: fixed; }
  .rule     { background-attachment: fixed; }
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
