/* ==========================================================================
   AIKO Sports & Fitness Club — Site Stylesheet
   Theme: Dojo black + AIKO red. Oswald (display), Space Grotesk (labels),
   Hanken Grotesk (body). No build step required.
   ========================================================================== */

:root {
  --black: #080808;
  --surface: #0f0f0f;
  --card: #151515;
  --elevated: #1d1d1d;
  --border: #262626;
  --border-strong: #353535;
  --red: #e30613;
  --red-hot: #ff1a1a;
  --red-deep: #9e0410;
  --white: #ffffff;
  --text: #ececec;
  --muted: #a3a3a3;
  --dim: #6f6f6f;

  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-mono: 'Space Grotesk', ui-monospace, monospace;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 10vw, 132px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: 1.02; margin: 0; color: var(--white); letter-spacing: .005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2a2a2a; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-family: var(--f-mono); font-weight: 700; }
.skip-link:focus { left: 8px; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; font-size: 1.25em; line-height: 1; vertical-align: middle; user-select: none; }
.icon-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.eyebrow--plain::before { display: none; }
.h-xl { font-size: clamp(48px, 9vw, 128px); line-height: .92; }
.h-lg { font-size: clamp(38px, 6vw, 80px); line-height: .95; }
.h-md { font-size: clamp(30px, 4.2vw, 56px); }
.h-sm { font-size: clamp(22px, 2.4vw, 30px); }
.red { color: var(--red); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.label { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.jp { font-family: 'Noto Serif JP', serif; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid transparent; border-radius: var(--radius); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn .material-symbols-outlined { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover .material-symbols-outlined { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(227,6,19,.7); }
.btn--red:hover { background: var(--red-hot); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(8,8,8,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--black); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--black); }
.btn--white { background: #fff; color: var(--black); }
.btn--white:hover { background: var(--black); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hot); }
.link-arrow .material-symbols-outlined { font-size: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .material-symbols-outlined { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .3s, border-color .3s, height .3s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(8,8,8,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a { position: relative; font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cfcfcf; padding: 8px 0; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.25; font-family: var(--f-mono); }
.header-phone small { font-size: 10px; letter-spacing: .2em; color: var(--dim); font-weight: 700; }
.header-phone a { font-size: 13px; font-weight: 700; color: #fff; }
.header-phone a:hover { color: var(--red-hot); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border-strong); background: transparent; border-radius: var(--radius); align-items: center; justify-content: center; }
.menu-toggle .material-symbols-outlined { font-size: 26px; }
@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 40px; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(8,8,8,.98); display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.drawer-top img { height: 40px; width: auto; }
.drawer nav { display: flex; flex-direction: column; margin: 40px 0 32px; }
.drawer nav a { font-family: var(--f-display); font-size: clamp(34px, 9vw, 48px); font-weight: 700; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .2s; }
.drawer nav a[aria-current="page"], .drawer nav a:hover { color: var(--red); }
.drawer.is-open nav a { transform: none; opacity: 1; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .04s; } .drawer.is-open nav a:nth-child(3) { transition-delay: .08s; }
.drawer.is-open nav a:nth-child(4) { transition-delay: .12s; } .drawer.is-open nav a:nth-child(5) { transition-delay: .16s; }
.drawer.is-open nav a:nth-child(6) { transition-delay: .2s; } .drawer.is-open nav a:nth-child(7) { transition-delay: .24s; }
.drawer-contact { margin-top: auto; display: grid; gap: 12px; }
.drawer-contact a.line { font-family: var(--f-mono); font-weight: 700; display: flex; gap: 10px; align-items: center; color: #ddd; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 64px) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 18s ease-out forwards; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,8,8,.95) 0%, rgba(8,8,8,.75) 45%, rgba(8,8,8,.35) 100%), linear-gradient(0deg, var(--black) 0%, transparent 45%); }
.page-hero h1 { margin-bottom: 24px; }
.page-hero .lead { color: #c9c9c9; }
.page-hero .btn-row { margin-top: 34px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; display: flex; gap: 10px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--red-hot); }
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.14); margin-top: clamp(40px, 6vw, 72px); }
.hero-stats > div { padding: 22px 20px 0 0; }
.hero-stats strong { display: block; font-family: var(--f-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; color: #fff; }
.hero-stats > div > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; } }

/* ---------- Home hero slider ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--black); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide__bg { position: absolute; inset: 0; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 8s cubic-bezier(.25,1,.5,1); }
.slide.is-active .slide__bg img { transform: scale(1.09); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.7) 42%, rgba(8,8,8,.15) 100%), linear-gradient(0deg, rgba(8,8,8,.9) 0%, transparent 35%); }
.slide__content { position: relative; z-index: 3; padding-top: var(--header-h); }
.slide__content > * { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: .22s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: .32s; }
.slide.is-active .slide__content > *:nth-child(5) { transition-delay: .42s; }
.tag { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 8px; background: rgba(227,6,19,.14); border: 1px solid rgba(227,6,19,.5); color: #ff4d55; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: 2px; margin-bottom: 22px; }
.slide h1, .slide h2 { font-size: clamp(64px, 13vw, 176px); line-height: .86; margin-bottom: 16px; }
.slide .sub { font-family: var(--f-display); font-size: clamp(18px, 2.2vw, 28px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.slide p.desc { max-width: 560px; color: #cfcfcf; font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 34px; }
.hero-nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; }
.hero-nav .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hero-tab { background: none; border: 0; text-align: left; padding: 0 0 28px; color: var(--dim); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; transition: color .3s; }
.hero-tab::before { content: ''; display: block; height: 2px; margin-bottom: 14px; background: linear-gradient(var(--red), var(--red)) 0 0 / 0% 100% no-repeat, rgba(255,255,255,.18); }
.hero-tab.is-active { color: #fff; }
.hero-tab.is-active::before { animation: tabFill var(--slide-ms, 6500ms) linear forwards; }
.hero-tab small { display: block; color: var(--red-hot); font-size: 11px; }
@keyframes tabFill { to { background-size: 100% 100%; } }
.hero-arrows { position: absolute; z-index: 5; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.hero-arrows button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.22); background: rgba(8,8,8,.4); border-radius: var(--radius); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.hero-arrows button:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 760px) {
  .hero-arrows { display: none; }
  .hero-nav .wrap { gap: 10px; }
  .hero-tab { font-size: 10px; letter-spacing: .1em; padding-bottom: 20px; }
  .hero-tab span.t { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-size: clamp(22px, 3vw, 36px); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee__item::after { content: ''; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); transition: border-color .3s, transform .4s var(--ease), background .3s; overflow: hidden; }
.card:hover { border-color: rgba(227,6,19,.55); transform: translateY(-4px); }
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .5s var(--ease); }
.card:hover::before { width: 100%; }
.card h3 { font-size: clamp(22px, 2vw, 27px); margin: 12px 0 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .num { font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; color: var(--red-hot); letter-spacing: .18em; text-transform: uppercase; }
.card .icon { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(227,6,19,.1); border: 1px solid rgba(227,6,19,.35); color: var(--red-hot); border-radius: var(--radius); margin-bottom: 18px; }
.card .icon .material-symbols-outlined { font-size: 26px; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #cfcfcf; }
.checklist li::before { content: ''; flex: 0 0 7px; height: 7px; margin-top: 9px; background: var(--red); transform: rotate(45deg); }
.card .link-arrow { margin-top: 22px; }

/* Image card (disciplines) */
.img-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); isolation: isolate; background: var(--card); }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease), filter .6s; filter: grayscale(.35) contrast(1.05); }
.img-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,8,8,.96) 8%, rgba(8,8,8,.35) 55%, rgba(8,8,8,.1) 100%); transition: background .4s; }
.img-card:hover img { transform: scale(1.07); filter: grayscale(0) contrast(1.05); }
.img-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 2.4vw, 30px); }
.img-card__num { position: absolute; top: 20px; left: 22px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #fff; background: var(--red); padding: 5px 9px; border-radius: 2px; }
.img-card .label { color: var(--red-hot); }
.img-card h3 { font-size: clamp(30px, 3vw, 42px); margin: 6px 0 10px; }
.img-card p { color: #c4c4c4; font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; margin: 0; }
.img-card:hover p, .img-card:focus-visible p { max-height: 160px; opacity: 1; margin-bottom: 14px; }
@media (hover: none) { .img-card p { max-height: none; opacity: 1; margin-bottom: 14px; } }
.img-card--wide { aspect-ratio: 16 / 10; }

/* Feature (image + text) */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }
.frame-accent { position: relative; }
.frame-accent::before { content: ''; position: absolute; left: -14px; top: -14px; width: 45%; height: 45%; border-left: 3px solid var(--red); border-top: 3px solid var(--red); z-index: 1; pointer-events: none; }
.frame-badge { position: absolute; z-index: 2; right: 18px; bottom: 18px; background: rgba(8,8,8,.88); backdrop-filter: blur(8px); border: 1px solid var(--border-strong); padding: 16px 20px; border-radius: var(--radius); max-width: 78%; }
.frame-badge strong { display: block; font-family: var(--f-display); font-size: 22px; text-transform: uppercase; color: #fff; line-height: 1.1; }
.frame-badge span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hot); }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; }
.collage .frame:first-child { grid-row: span 2; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.stats > div { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--border); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: #fff; }
.stats strong em { font-style: normal; color: var(--red); }
.stats > div > span { font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }

/* Benefits mini grid */
.benefit { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--border); }
.benefit .n { font-family: var(--f-mono); color: var(--red-hot); font-weight: 700; font-size: 13px; padding-top: 5px; min-width: 28px; }
.benefit h3 { font-size: 22px; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 15px; margin: 0; }

/* Quote band */
.quote-band { position: relative; padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.quote-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.4); }
.quote-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(8,8,8,.6), rgba(8,8,8,.94) 70%); }
.quote-band blockquote { margin: 0 auto; max-width: 980px; font-family: var(--f-display); font-size: clamp(32px, 5.4vw, 72px); font-weight: 700; text-transform: uppercase; line-height: 1; color: #fff; }
.quote-band cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--f-mono); font-size: 13px; letter-spacing: .22em; color: var(--red-hot); text-transform: uppercase; }
.kanji-bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(120px, 22vw, 340px); line-height: 1; color: rgba(255,255,255,.035); font-weight: 900; pointer-events: none; z-index: -1; white-space: nowrap; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--red), var(--border) 30%, var(--border) 70%, var(--red)); }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 0 0 44px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 105px; top: 10px; width: 11px; height: 11px; background: var(--black); border: 2px solid var(--red); transform: rotate(45deg); }
.tl-year { font-family: var(--f-display); font-size: 30px; font-weight: 700; color: var(--red); line-height: 1; padding-top: 2px; }
.tl-item h3 { font-size: 24px; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); max-width: 640px; }
@media (max-width: 640px) {
  .timeline::before { left: 5px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .tl-item::before { left: 0; }
}

/* Lineage chain */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chain > div { padding: clamp(26px, 3vw, 40px); background: var(--card); border-right: 1px solid var(--border); position: relative; }
.chain > div:last-child { border-right: 0; }
.chain > div:not(:last-child)::after { content: 'arrow_forward'; font-family: 'Material Symbols Outlined'; position: absolute; right: -17px; top: 40px; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 18px; z-index: 2; }
.chain h3 { font-size: 24px; margin: 10px 0; }
.chain p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .chain { grid-template-columns: 1fr; }
  .chain > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .chain > div:not(:last-child)::after { content: 'arrow_downward'; right: auto; left: 40px; top: auto; bottom: -17px; }
}

/* Gallery */
.gallery { columns: 3 320px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; background: var(--card); }
.gallery figure img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(8,8,8,.92), transparent); font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; transform: translateY(100%); transition: transform .4s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { transform: none; }
@media (hover: none) { .gallery figcaption { transform: none; } }
.gallery figure.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { background: transparent; border: 1px solid var(--border-strong); color: var(--muted); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; border-radius: 999px; transition: all .2s; }
.filter-btn:hover { color: #fff; border-color: #fff; }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Photo strip (home) */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip a { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); }
.strip a:nth-child(odd) { transform: translateY(24px); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.6); }
.strip a:hover img { transform: scale(1.07); filter: none; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip a:nth-child(odd) { transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,4,4,.96); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #ccc; padding: 0 16px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,20,20,.8); display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--border); }
.step { padding: 32px 24px 0 0; position: relative; }
.step::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--red); transform: rotate(45deg); }
.step .label { color: var(--red-hot); }
.step h3 { font-size: 30px; margin: 8px 0 10px; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Levels / pricing-like */
.level { display: flex; flex-direction: column; }
.level .level-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.level .bar { height: 4px; background: var(--elevated); border-radius: 2px; overflow: hidden; margin: 18px 0 6px; }
.level .bar i { display: block; height: 100%; background: var(--red); }
.level--featured { background: linear-gradient(160deg, #1e0b0c, var(--card) 55%); border-color: rgba(227,6,19,.5); }

/* Event feature */
.event-hero { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--card); }
.event-hero__img { position: relative; min-height: 420px; }
.event-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-date { position: absolute; top: 22px; left: 22px; background: var(--red); color: #fff; text-align: center; padding: 14px 18px; border-radius: var(--radius); font-family: var(--f-display); line-height: 1; }
.event-date b { display: block; font-size: 48px; }
.event-date span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; font-weight: 700; }
.event-hero__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 26px 0 30px; }
.facts > div { background: var(--surface); padding: 16px 18px; }
.facts .label { display: block; margin-bottom: 4px; }
.facts strong { font-family: var(--f-display); font-size: 18px; text-transform: uppercase; color: #fff; font-weight: 600; line-height: 1.2; display: block; }
@media (max-width: 960px) { .event-hero { grid-template-columns: 1fr; } .event-hero__img { min-height: 300px; } }
.countdown { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.countdown div { flex: 1 1 0; min-width: 64px; max-width: 96px; text-align: center; background: var(--black); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px 8px; }
.countdown b { display: block; font-family: var(--f-display); font-size: 34px; color: #fff; line-height: 1; }
.countdown span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.table th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.table td:first-child { font-family: var(--f-display); text-transform: uppercase; font-size: 18px; color: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }

/* Centres */
.centre { display: flex; flex-direction: column; }
.centre .centre-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); }
.pill--red { background: var(--red); border-color: var(--red); color: #fff; }
.centre h3 { font-size: 30px; margin: 10px 0 2px; }
.centre .venue { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 18px; font-weight: 700; }
.centre ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.centre li { display: flex; gap: 10px; font-size: 15px; color: #cfcfcf; }
.centre li .material-symbols-outlined { color: var(--red-hot); font-size: 20px; margin-top: 2px; }
.centre li a:hover { color: #fff; text-decoration: underline; }
.centre .btn-row { margin-top: auto; }
.centre--hq { background: linear-gradient(160deg, #1e0b0c, var(--card) 60%); border-color: rgba(227,6,19,.55); }
.region-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.map-embed { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); border-radius: var(--radius); }
.map-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); min-height: 420px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--red-hot); }
.field input, .field select, .field textarea { width: 100%; background: var(--black); border: 1px solid var(--border-strong); color: #fff; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e30613' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-hot); }
.field .err { display: none; color: #ff6b72; font-size: 13px; margin-top: 6px; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 3px; flex-shrink: 0; }
.form-note { font-size: 13px; color: var(--dim); }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-shown { display: block; }
.form-success .material-symbols-outlined { font-size: 56px; color: var(--red); }
.form-success h3 { font-size: 34px; margin: 14px 0 10px; }

/* Contact tiles */
.contact-tile { display: flex; flex-direction: column; gap: 6px; }
.contact-tile a.big { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.contact-tile a.big:hover { color: var(--red-hot); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-display); font-size: clamp(19px, 2vw, 24px); font-weight: 600; text-transform: uppercase; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-mono); font-size: 26px; color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 760px; }

/* CTA band */
.cta { position: relative; background: var(--red); overflow: hidden; isolation: isolate; padding: clamp(72px, 10vw, 128px) 0; }
.cta::before { content: 'AIKO'; position: absolute; right: -2vw; bottom: -6vw; font-family: var(--f-display); font-weight: 700; font-size: clamp(160px, 30vw, 460px); line-height: 1; color: rgba(0,0,0,.12); z-index: -1; letter-spacing: -.02em; }
.cta img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; mix-blend-mode: multiply; opacity: .35; filter: grayscale(1); }
.cta h2 { font-size: clamp(42px, 7vw, 104px); line-height: .92; margin-bottom: 22px; }
.cta p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 580px; margin-bottom: 32px; }
.cta .tag { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.3); color: #fff; }

/* Footer */
.site-footer { background: #050505; border-top: 1px solid var(--border); padding: clamp(64px, 8vw, 96px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; color: var(--red-hot); margin-bottom: 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-grid ul a:hover { color: #fff; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.footer-contact .material-symbols-outlined { color: var(--red-hot); font-size: 19px; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--border-strong); border-radius: var(--radius); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--dim); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating actions */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.fab a:hover, .fab button:hover { transform: translateY(-3px) scale(1.04); }
.fab .wa { background: #25d366; }
.fab .wa svg { width: 28px; height: 28px; fill: #fff; }
.fab .top { background: var(--elevated); border: 1px solid var(--border-strong); opacity: 0; pointer-events: none; transition: opacity .3s, transform .25s; }
.fab .top.is-shown { opacity: 1; pointer-events: auto; }

/* Prose (legal) */
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; }
.prose p, .prose li { color: #c8c8c8; }
.prose a { color: var(--red-hot); text-decoration: underline; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.hide-sm { } @media (max-width: 640px) { .hide-sm { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider-title { display: flex; align-items: center; gap: 18px; }
.divider-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
