/* =========================================================
   HAKI pro — corporate design system
   Ink navy + one accent (brand violet). White space first.
   Glass chrome, spring-like motion, size-specific tracking.
   ========================================================= */

:root {
  /* color */
  --ink: #0b0e1a;
  --ink-2: #141a2e;
  --ink-3: #1f2742;
  --text: #11131c;
  --text-2: #4d5265;
  --text-3: #858a9c;
  --paper: #ffffff;
  --paper-2: #f4f4f6;
  --paper-3: #ebebef;
  --line: rgba(11, 14, 26, .1);
  --line-strong: rgba(11, 14, 26, .18);
  --violet: #5536e8;          /* the one accent (kept name: inline styles use it) */
  --violet-deep: #4325cf;
  --violet-soft: #a597ff;     /* accent on dark */
  --violet-tint: #eeebff;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .72);
  --on-dark-3: rgba(255, 255, 255, .5);
  --line-dark: rgba(255, 255, 255, .12);
  --sale: #e5484d;

  /* type */
  --en: "Inter Tight", "Noto Sans JP", system-ui, sans-serif;
  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --mincho: "Shippori Mincho B1", "Noto Serif JP", serif;
  --disp: var(--en);

  /* layout */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header: 72px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sec: clamp(88px, 11vw, 152px);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* expo-out: arrives softly */
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1); /* light overshoot, for small rewards only */
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* z */
  --z-header: 80;
  --z-float: 70;
  --z-nav: 90;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--jp); font-size: 1rem; font-weight: 400; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; line-break: strict; overflow-wrap: anywhere;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; font-feature-settings: "palt"; letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; }
strong { font-weight: 700; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.nw { display: inline-block; }
h1 .nw, h2 .nw, h3 .nw, h4 .nw { vertical-align: top; }
h1, h2, h3, h4, .phil-statement, .rep-band .q, .rep-quote, .mvv-headline, .hero-message, .page-hero .jp, .bighead .jp, .sec-head p, .hero-lead, .phil-lead, .lead, .cls-copy, .price-note, .tax-note, .rep-copy p {
  word-break: auto-phrase;
}
h1, h2, h3, .phil-statement, .rep-quote, .mvv-headline, .rep-band .q { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .875rem; font-weight: 700; transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* =========================================================
   Section headers
   ========================================================= */
/* home: small JP label above a large EN display word */
.bighead { display: flex; flex-direction: column; margin-bottom: clamp(36px, 5vw, 56px); }
.bighead .jp {
  order: -1; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--jp); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--violet);
  margin-bottom: 14px;
}
.bighead .jp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bighead .en {
  font-family: var(--en); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: .92; letter-spacing: -.045em; color: var(--text);
}
.bighead .rule { display: none; }
.bighead .en.light, .bighead .jp.light { color: inherit; }

/* sub pages */
.sec-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 52rem; }
.sec-head .en {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--en); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet);
}
.sec-head .en::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sec-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.35; margin-top: 14px; letter-spacing: 0; }
.sec-head p { color: var(--text-2); margin-top: 20px; max-width: 44em; font-size: 1.0625rem; }
.sec-head p a { color: var(--violet); }

/* =========================================================
   Buttons — pill, arrow in a circle, pressed state
   ========================================================= */
.btn {
  --bg: var(--ink); --fg: #fff; --arr-bg: rgba(255,255,255,.14);
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 56px; padding: 8px 8px 8px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font-family: var(--jp); font-weight: 700; font-size: .9375rem; letter-spacing: .04em; line-height: 1.4;
  transition: transform .5s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .4s var(--ease-out);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn .arr {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--arr-bg); font-family: var(--en); font-size: 1rem; line-height: 1;
  transition: transform .5s var(--ease-out), background-color .25s ease;
}
.btn:hover { box-shadow: 0 12px 30px -12px rgba(11,14,26,.45); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.97); transition-duration: .12s; }

.btn-lime, .btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-lime:hover, .btn-dark:hover { --bg: #000; }
.btn-violet { --bg: var(--violet); --fg: #fff; --arr-bg: rgba(255,255,255,.18); }
.btn-violet:hover { --bg: var(--violet-deep); box-shadow: 0 14px 34px -12px rgba(85,54,232,.6); }
.btn-ghost-light { --bg: transparent; --fg: var(--text); --arr-bg: var(--paper-2); border-color: var(--line-strong); }
.btn-ghost-light:hover { --bg: var(--paper-2); box-shadow: none; }

/* buttons inside dark surfaces */
.on-dark .btn-lime, .hero .btn-lime, .page-hero .btn-lime, .school-band .btn-lime, .dark-section .btn-lime,
.split-panel .btn-lime, .page-cta .btn-lime, .mvv-block.dark .btn-lime { --bg: #fff; --fg: var(--ink); --arr-bg: var(--paper-2); }
.hero .btn-lime:hover, .page-hero .btn-lime:hover, .school-band .btn-lime:hover, .dark-section .btn-lime:hover,
.split-panel .btn-lime:hover, .page-cta .btn-lime:hover, .mvv-block.dark .btn-lime:hover { --bg: #eceaf6; box-shadow: 0 14px 34px -14px rgba(0,0,0,.6); }
.hero .btn-ghost-light, .page-hero .btn-ghost-light, .school-band .btn-ghost-light, .dark-section .btn-ghost-light,
.split-panel .btn-ghost-light, .page-cta .btn-ghost-light, .mvv-block.dark .btn-ghost-light {
  --fg: #fff; --arr-bg: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28);
}
.hero .btn-ghost-light:hover, .page-hero .btn-ghost-light:hover, .school-band .btn-ghost-light:hover, .dark-section .btn-ghost-light:hover,
.split-panel .btn-ghost-light:hover, .page-cta .btn-ghost-light:hover, .mvv-block.dark .btn-ghost-light:hover { --bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

/* =========================================================
   Header — translucent glass, content scrolls underneath
   ========================================================= */
/* the glass lives on ::before so the header never becomes a backdrop root
   for the mobile menu (nested backdrop-filters render the page through it) */
.site-header { position: sticky; top: 0; z-index: var(--z-header); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -1px 0 var(--line);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled::before { background: rgba(255,255,255,.82); box-shadow: inset 0 -1px 0 var(--line), 0 10px 30px -18px rgba(11,14,26,.25); }
.nav-open .site-header::before { background: rgba(255,255,255,.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); width: min(100% - var(--gutter) * 2, 1360px); }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 24px); font-family: var(--jp); font-weight: 500; font-size: .875rem; letter-spacing: .03em; }
.nav > a { position: relative; color: var(--text); padding: 8px 0; white-space: nowrap; transition: color .2s ease; }
.nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; border-radius: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav > a:not(.nav-cta):hover { color: var(--violet); }
.nav > a:not(.nav-cta):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav > a[aria-current="page"] { color: var(--violet); }
.nav > a .caret { display: none; }
.nav > .nav-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-left: 6px;
  min-height: 42px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff !important;
  font-weight: 700; font-size: .8125rem; letter-spacing: .04em; white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .2s ease;
}
.nav-cta span + span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.3); }
.nav-cta:hover { background: var(--violet); }
.nav-cta:active { transform: scale(.96); transition-duration: .12s; }
.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--paper-2); -webkit-tap-highlight-color: transparent; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .5s var(--ease-out), opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21.25px; }
.nav-toggle span:nth-child(3) { top: 26.5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

@media (max-width: 1440px) and (min-width: 1321px) {
  .nav { gap: 14px; font-size: .8125rem; letter-spacing: .01em; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1320px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; z-index: var(--z-nav); inset: var(--header) 0 auto 0; max-height: calc(100dvh - var(--header)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.95);
    -webkit-backdrop-filter: saturate(180%) blur(32px); backdrop-filter: saturate(180%) blur(32px);
    box-shadow: inset 0 1px 0 var(--line), 0 30px 60px -30px rgba(11,14,26,.35);
    font-size: 1.0625rem; font-weight: 700;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .5s var(--ease-out), visibility 0s linear .5s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .5s var(--ease-out), visibility 0s; }
  .nav > a { padding: 16px 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav > .nav-cta { justify-content: center; margin: 20px 0 0; min-height: 56px; font-size: .9375rem; }
}

/* floating CTA — glass pill */
.reserve {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 18px; border-radius: 999px;
  background: rgba(11,14,26,.78); color: #fff;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px -16px rgba(11,14,26,.55);
  font-weight: 700; font-size: .875rem; letter-spacing: .04em; line-height: 1;
  transition: transform .5s var(--ease-out), background-color .2s ease;
}
.reserve::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.reserve small { font-size: .75rem; font-weight: 500; color: var(--on-dark-2); letter-spacing: .02em; }
.reserve:hover { background: rgba(85,54,232,.9); }
.nav-open .reserve { opacity: 0; transform: translateY(12px); pointer-events: none; }
.reserve { transition: transform .5s var(--ease-out), background-color .2s ease, opacity .3s ease; }
.reserve:active { transform: scale(.96); transition-duration: .12s; }

/* =========================================================
   Dark surfaces (shared)
   ========================================================= */
.hero, .page-hero, .school-band, .dark-section, .page-cta, .site-footer, .mvv-block.dark {
  position: relative; isolation: isolate; background-color: var(--ink); color: var(--on-dark);
}
.hero::before, .page-hero::before, .school-band::before, .dark-section::before, .page-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(85,54,232,.42), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(38,74,196,.28), transparent 70%);
}
.hero::after, .page-hero::after, .school-band::after, .dark-section::after, .page-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay;
}

/* =========================================================
   Home hero
   ========================================================= */
.hero { min-height: min(calc(100dvh - var(--header)), 900px); display: flex; align-items: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; padding: clamp(72px, 10vw, 128px) 0; }
.hero-msg { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  font-family: var(--en); font-weight: 600; font-size: .8125rem; letter-spacing: .16em; color: var(--violet-soft);
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero-message {
  font-family: var(--jp); font-weight: 900; font-feature-settings: "palt";
  font-size: clamp(3.25rem, 8.4vw, 6.75rem); line-height: 1.08; letter-spacing: -.01em; color: #fff;
}
.hero-message .accent {
  display: inline-block;
  background: linear-gradient(100deg, #ffffff 0%, var(--violet-soft) 55%, #7d8cff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { margin-top: 32px; max-width: 34em; color: var(--on-dark-2); font-size: clamp(1rem, 1.2vw, 1.0625rem); line-height: 2; }
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-width: 0; }
.hero-actions-sub { max-width: none; margin-top: 32px; }
.hero-mark {
  position: absolute; z-index: 1; top: 50%; right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  transform: translateY(-50%); width: clamp(260px, 32vw, 460px); text-align: center; pointer-events: none;
}
.hero-mark .mark {
  width: 100%; aspect-ratio: 1230 / 483;
  background: linear-gradient(176deg, #ffffff 0%, #d9def0 26%, #9aa6c8 46%, #5d6f9e 56%, #f2f4ff 68%, #8796bf 86%, #b9c3e0 100%);
  -webkit-mask: url("../img/pumps-logo.png") center / contain no-repeat; mask: url("../img/pumps-logo.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
  opacity: .92;
}
.hero-mark .sub { margin-top: 14px; font-family: var(--en); font-weight: 500; font-size: .75rem; letter-spacing: .4em; color: var(--on-dark-3); }
@media (max-width: 1080px) {
  .hero-mark { position: relative; top: auto; right: auto; transform: none; margin: 0 auto; width: min(320px, 70%); display: none; }
}

/* =========================================================
   Home — About
   ========================================================= */
.about { padding: var(--sec) 0; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; line-height: 1.3; margin: 0 0 28px; letter-spacing: 0; }
.about-copy h2 .em { color: var(--violet); display: inline-block; }
.about-copy p { color: var(--text-2); margin-bottom: 16px; max-width: 34em; }
.about-copy .btn { margin-top: 20px; }
.about-visual {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; margin-inline: auto;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 80% at 70% 0%, rgba(85,54,232,.5), transparent 70%), var(--ink);
  box-shadow: 0 40px 80px -40px rgba(11,14,26,.55);
}
.about-visual::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.diamond-frame { position: absolute; inset: 0; }
.diamond-frame .inner { position: absolute; inset: 0; display: grid; place-items: center; padding: 6%; }
.diamond-frame canvas { width: 100%; height: 100%; }
.diamond-frame.panel-dark {
  border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(80% 80% at 70% 0%, rgba(85,54,232,.5), transparent 70%), var(--ink);
  box-shadow: 0 40px 80px -40px rgba(11,14,26,.55);
}
.about-visual .tag-chip {
  position: absolute; z-index: 2; top: 20px; left: 20px;
  font-family: var(--en); font-weight: 600; font-size: .6875rem; letter-spacing: .16em; color: #fff;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

/* =========================================================
   Home — Philosophy
   ========================================================= */
.home-phil { padding: var(--sec) 0; background: var(--paper-2); }
.phil-statement { font-size: clamp(1.75rem, 3.8vw, 3rem); font-weight: 900; line-height: 1.4; margin: 0 0 20px; font-feature-settings: "palt"; letter-spacing: 0; }
.phil-statement .em { color: var(--violet); display: inline-block; }
.phil-lead { color: var(--text-2); max-width: 40em; font-size: 1.0625rem; margin-bottom: clamp(44px, 6vw, 72px); }
.phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.phil-card {
  position: relative; display: flex; flex-direction: column; padding: 32px clamp(20px, 2.5vw, 36px) 36px 0; color: var(--text);
  transition: color .2s ease;
}
.phil-card + .phil-card { padding-left: clamp(20px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.phil-card .phil-wm { display: none; }
.phil-card .pn { font-family: var(--en); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.phil-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 900; margin: 12px 0 14px; }
.phil-card p { color: var(--text-2); font-size: .9375rem; line-height: 1.95; }
.phil-card .more {
  margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .875rem; color: var(--text); transition: color .2s ease, gap .4s var(--ease-out);
}
.phil-card:hover .more { color: var(--violet); gap: 14px; }

/* =========================================================
   Home — Representative band (editorial quote)
   ========================================================= */
.rep-band { padding: var(--sec) 0; background: var(--paper); }
.rep-band .inner { display: grid; grid-template-columns: 1fr auto; gap: 40px 64px; align-items: end; }
.rep-band .q {
  position: relative; padding-top: 64px;
  font-family: var(--mincho); font-weight: 800; font-size: clamp(1.375rem, 2.6vw, 2.25rem); line-height: 1.75; letter-spacing: .02em;
}
.rep-band .q::before {
  content: "\201C"; position: absolute; top: -18px; left: -6px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--violet); opacity: .9;
}
.rep-band .q .em { color: var(--violet); display: inline-block; }
.rep-band .who { margin-top: 24px; color: var(--text-3); font-size: .875rem; font-weight: 500; letter-spacing: .06em; }

/* =========================================================
   Home — Hijiyama school band + price cards
   ========================================================= */
.school-band { padding: var(--sec) 0; overflow: hidden; }
.school-band .bighead .en { color: #fff; }
.school-band .bighead .jp { color: var(--violet-soft); }
.school-lede { margin-bottom: 40px; max-width: 52rem; }
.school-lede .phil-statement { color: #fff; }
.school-lede .phil-statement .em { color: var(--violet-soft); }
.school-lede .phil-lead { color: var(--on-dark-2); margin-bottom: 0; }
.school-cta { margin-top: 48px; text-align: center; }
.school-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 8px 18px; border-radius: 999px;
  font-weight: 700; font-size: .8125rem; letter-spacing: .06em; color: #fff;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.school-badge .cross { color: var(--violet-soft); font-family: var(--en); font-weight: 400; }

.fee-banner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 20px; padding: 18px 24px; border-radius: var(--r-md);
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-dark);
}
.fee-banner .fb-tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; white-space: nowrap; }
.fee-banner .fb-main { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 1.0625rem; white-space: nowrap; }
.fee-banner .fb-main b { font-family: var(--en); font-weight: 600; font-size: 1.75rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fee-banner .fb-main .tax { font-size: .75rem; font-weight: 500; color: var(--on-dark-2); }
.fee-banner .fb-sub { font-size: .8125rem; color: var(--on-dark-2); white-space: nowrap; }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .6s var(--ease-out), box-shadow .4s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 30px 60px -30px rgba(0,0,0,.7); }
.price-card.advance {
  background: radial-gradient(120% 90% at 100% 0%, rgba(85,54,232,.45), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(165,151,255,.5);
}
.price-card .cls-en { font-family: var(--en); font-weight: 600; font-size: .75rem; letter-spacing: .16em; color: var(--on-dark-3); text-transform: uppercase; }
.price-card.advance .cls-en { color: var(--violet-soft); }
.price-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 900; }
.price-card .cls-copy { color: var(--on-dark-2); font-size: .9375rem; line-height: 1.85; }
.price-card .ribbon {
  position: absolute; top: clamp(24px, 3.2vw, 40px); right: clamp(24px, 3.2vw, 40px);
  font-family: var(--en); font-weight: 600; font-size: .6875rem; letter-spacing: .12em; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: var(--violet); color: #fff;
}
.price-campaign {
  align-self: flex-start; font-weight: 700; font-size: .75rem; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px;
  background: rgba(165,151,255,.16); color: var(--violet-soft);
}
.price-row { line-height: 1; margin-top: 6px; }
.price-old { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--en); font-weight: 500; font-size: 1.125rem; color: var(--on-dark-3); }
.price-old .p { text-decoration: line-through; text-decoration-color: var(--sale); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.price-old .lbl { font-family: var(--jp); font-size: .75rem; font-weight: 500; white-space: nowrap; }
.price-card .price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px;
  font-family: var(--en); font-weight: 600; font-size: clamp(3rem, 5.4vw, 4.25rem); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: #fff;
}
.price-card .price .yen { font-size: .45em; font-weight: 500; letter-spacing: 0; margin-right: 4px; color: var(--on-dark-2); align-self: flex-start; margin-top: .32em; }
.price-card .price .unit { font-family: var(--jp); font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: var(--on-dark-2); margin-left: 10px; white-space: nowrap; }
.price-note { font-size: .8125rem; color: var(--on-dark-2); line-height: 1.8; }
.price-note .nw { white-space: nowrap; }
.cls-list { list-style: none; padding: 20px 0 0; margin-top: 6px; display: grid; gap: 12px; border-top: 1px solid var(--line-dark); }
.cls-list li { position: relative; padding-left: 28px; font-size: .9375rem; line-height: 1.75; color: rgba(255,255,255,.88); }
.cls-list li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(165,151,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23a597ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.cls-list li strong { color: #fff; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card > .btn { margin-top: auto; }
.price-card .cls-list + .btn { margin-top: 24px; }
.tax-note { margin-top: 28px; font-size: .8125rem; color: var(--on-dark-3); line-height: 1.9; }
.tax-note a { color: var(--violet-soft); text-decoration: underline; text-underline-offset: 3px; }
.entry-fee { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.entry-fee .ef-label { font-weight: 700; font-size: .8125rem; color: var(--violet-soft); }
.entry-fee .ef-amount { font-family: var(--en); font-weight: 600; font-size: 1.5rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.entry-fee .ef-unit { font-size: .75rem; color: var(--on-dark-2); white-space: nowrap; }

/* =========================================================
   Home — Team / Personal (two dark cards)
   ========================================================= */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  width: min(100% - var(--gutter) * 2, var(--max)); margin: 0 auto; padding: var(--sec) 0;
}
.split-panel {
  position: relative; isolation: isolate; overflow: hidden; display: flex; color: #fff;
  border-radius: var(--r-xl); padding: clamp(32px, 4.5vw, 56px); min-height: 460px;
  background: var(--ink);
  transition: transform .7s var(--ease-out), box-shadow .5s ease;
}
.split-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.split-team::before { background: radial-gradient(90% 80% at 100% 0%, rgba(85,54,232,.55), transparent 65%); }
.split-personal::before { background: radial-gradient(90% 80% at 100% 0%, rgba(38,96,220,.5), transparent 65%); }
.split-panel:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(11,14,26,.6); }
.split-inner { display: flex; flex-direction: column; width: 100%; }
.split-inner .en { order: -1; font-family: var(--en); font-weight: 600; font-size: .75rem; letter-spacing: .16em; color: var(--on-dark-3); margin-bottom: 14px; }
.split-inner h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; }
.split-inner .ln { height: 1px; background: var(--line-dark); margin: 24px 0; }
.split-inner p { color: var(--on-dark-2); font-size: .9375rem; line-height: 1.95; margin-bottom: 32px; }
.split-inner p strong { color: #fff; }
.split-inner > .btn, .panel-actions { margin-top: auto; }
.split-inner > .btn { align-self: flex-start; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.panel-actions .btn { flex: 1 1 auto; }

/* =========================================================
   Home — Programs (tiles)
   ========================================================= */
.menu { padding: var(--sec) 0; background: var(--paper-2); }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.menu-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.menu-copy .bighead { margin-bottom: 0; }
.menu-copy p { color: var(--text-2); max-width: 32em; }
.diamonds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diamond {
  position: relative; isolation: isolate; overflow: hidden; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
  transition: transform .7s var(--ease-out), box-shadow .5s ease;
}
.diamond::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 50% 30%, rgba(85,54,232,.55), transparent 70%); transition: opacity .5s ease; opacity: .8; }
.diamond:nth-child(2)::before { background: radial-gradient(90% 70% at 50% 30%, rgba(60,80,230,.55), transparent 70%); }
.diamond:nth-child(3)::before { background: radial-gradient(90% 70% at 50% 30%, rgba(120,70,240,.5), transparent 70%); }
.diamond:nth-child(4)::before { background: radial-gradient(90% 70% at 50% 30%, rgba(38,96,220,.55), transparent 70%); }
.diamond:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(11,14,26,.7); }
.diamond:hover::before { opacity: 1; }
.diamond:active { transform: translateY(-2px) scale(.985); transition-duration: .15s; }
.diamond .d-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 24px; }
.diamond .d-fig, .diamond .d-ico {
  flex: 1; min-height: 0; width: 100%; object-fit: contain; object-position: center; margin: 4% 0 12%;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.45)); transition: transform .8s var(--ease-out);
}
.diamond .d-ico { width: 46%; margin-inline: auto; }
.diamond:hover .d-fig, .diamond:hover .d-ico { transform: scale(1.05); }
.diamond .label { font-weight: 900; font-size: clamp(1rem, 1.4vw, 1.25rem); padding-right: 52px; line-height: 1.4; }
.diamond .arr {
  position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); font-family: var(--en); line-height: 1; transition: transform .5s var(--ease-out), background-color .2s ease;
}
.diamond:hover .arr { background: #fff; color: var(--ink); transform: translateX(2px); }

/* =========================================================
   Home — News
   ========================================================= */
.news-section { padding: var(--sec) 0; background: var(--paper); }
.news-section .container { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 64px; align-items: start; }
.news-section .bighead { margin-bottom: 0; }
.news-section .bighead .en, .page-section.company .bighead .en { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.news-rows { border-top: 1px solid var(--line-strong); }
.news-row {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 20px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: color .2s ease;
}
.news-row::after { content: "→"; font-family: var(--en); color: var(--text-3); transition: transform .5s var(--ease-out), color .2s ease; }
.news-row:hover { color: var(--violet); }
.news-row:hover::after { color: var(--violet); transform: translateX(4px); }
.news-row .nd { font-family: var(--en); font-weight: 500; font-size: .9375rem; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.news-row .nt { font-size: .6875rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: var(--violet-tint); color: var(--violet); white-space: nowrap; }
.news-row .nx { font-size: 1rem; font-weight: 500; line-height: 1.7; }

/* =========================================================
   Info table (company)
   ========================================================= */
.page-section.company { background: var(--paper-2); }
.page-section.company .container { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 64px; align-items: start; }
.page-section.company .bighead { margin-bottom: 0; }
.info-table { margin: 0; border-top: 1px solid var(--line-strong); max-width: 880px; }
.info-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.info-row dt { font-weight: 700; font-size: .9375rem; color: var(--text); }
.info-row dd { margin: 0; color: var(--text-2); font-size: .9375rem; }
.dark-section .info-table { border-top-color: rgba(255,255,255,.24); }
.dark-section .info-row { border-bottom-color: var(--line-dark); }
.dark-section .info-row dt { color: #fff; }
.dark-section .info-row dd { color: var(--on-dark-2); }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: var(--sec) 0; background: var(--paper); }
.contact-panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px);
  background: radial-gradient(70% 90% at 100% 0%, rgba(85,54,232,.5), transparent 65%), var(--ink); color: #fff;
}
.contact-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.contact-col { padding-right: clamp(24px, 4vw, 56px); }
.contact-col + .contact-col { padding: 0 0 0 clamp(24px, 4vw, 56px); border-left: 1px solid var(--line-dark); }
.contact-col h3 { font-family: var(--en); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.contact-col .sub { font-weight: 700; font-size: .875rem; color: var(--on-dark-2); margin: 12px 0 0; }
.contact-col .ln { height: 1px; background: var(--line-dark); margin: 24px 0; }
.contact-col p { color: var(--on-dark-2); font-size: .9375rem; }
.contact-col .btn-violet { --bg: #fff; --fg: var(--ink); --arr-bg: var(--paper-2); }
.contact-col .btn-violet:hover { --bg: #eceaf6; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 calc(36px + env(safe-area-inset-bottom)); color: var(--on-dark-2); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 80px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: .875rem; line-height: 2; color: var(--on-dark-3); max-width: 30em; }
.footer-addr { font-size: .8125rem !important; margin-top: 18px !important; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; align-content: start; font-weight: 500; font-size: .9375rem; }
.footer-nav a { padding: 8px 0; color: var(--on-dark-2); border-bottom: 1px solid var(--line-dark); transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-family: var(--en); font-size: .75rem; letter-spacing: .06em; color: var(--on-dark-3); }

/* =========================================================
   Sub-page hero
   ========================================================= */
.page-hero { overflow: hidden; padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 10vw, 128px); }
.page-hero .panel { display: none; }
.page-hero-inner { position: relative; z-index: 3; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; font-family: var(--en); font-weight: 500; font-size: .75rem; letter-spacing: .12em; color: var(--on-dark-3); margin-bottom: 40px; }
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 10px; opacity: .6; }
.page-hero .en { font-family: var(--en); font-weight: 600; text-transform: uppercase; font-size: clamp(3rem, 9vw, 7rem); line-height: .9; letter-spacing: -.05em; }
.page-hero .rule { display: none; }
.page-hero .jp { margin-top: 24px; font-weight: 700; font-size: clamp(1.0625rem, 1.8vw, 1.375rem); letter-spacing: .04em; color: #fff; }
.page-hero .lead { margin-top: 24px; max-width: 40em; color: var(--on-dark-2); font-size: 1.0625rem; line-height: 2; }
.page-hero .chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 46rem; }
.page-hero .chip {
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em; padding: 8px 14px; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero-silhouette {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 0; height: 88%; width: auto; z-index: 2;
  pointer-events: none; opacity: .9; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5));
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.school-hero .school-badge { margin-bottom: 28px; }

/* program tabs — glass segmented bar */
.prog-tabs-wrap {
  position: sticky; top: var(--header); z-index: 40;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.prog-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.prog-tabs::-webkit-scrollbar { display: none; }
.prog-tabs a {
  flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 18px; border-radius: 12px;
  font-weight: 700; font-size: .875rem; color: var(--text-2); white-space: nowrap; transition: background-color .2s ease, color .2s ease;
}
.prog-tabs a .tn { font-family: var(--en); font-weight: 600; font-size: .625rem; letter-spacing: .14em; color: var(--text-3); }
.prog-tabs a:hover { background: var(--paper-2); color: var(--text); }
.prog-tabs a.active { background: var(--ink); color: #fff; }
.prog-tabs a.active .tn { color: var(--violet-soft); }

/* =========================================================
   Generic sections
   ========================================================= */
.page-section { padding: var(--sec) 0; }
.page-section.alt { background: var(--paper-2); }
.dark-section { overflow: hidden; }
.dark-section > .container { position: relative; z-index: 1; }
.dark-section .sec-head .en { color: var(--violet-soft); }
.dark-section .sec-head h2, .sec-head h2.light { color: #fff; }
.dark-section .sec-head p, .sec-head .light-soft { color: var(--on-dark-2); }
.dark-section .bighead .en { color: #fff; }
.dark-section .bighead .jp { color: var(--violet-soft); }

/* feature columns: hairline-topped, no boxes */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 3vw, 48px); }
.feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.feature-card { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.feature-card::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--violet); transform-origin: left; transition: width .7s var(--ease-out); }
.feature-card:hover::before { width: 100%; }
.feature-card .fnum { font-family: var(--en); font-weight: 600; font-size: .875rem; letter-spacing: .08em; color: var(--violet); font-variant-numeric: tabular-nums; }
.feature-card h3 { font-size: clamp(1.1875rem, 1.7vw, 1.375rem); font-weight: 700; margin: 14px 0 14px; line-height: 1.5; }
.feature-card p { color: var(--text-2); font-size: .9375rem; line-height: 1.95; }
.feature-card p strong { color: var(--text); }
.dark-section .feature-card { border-top-color: rgba(255,255,255,.24); }
.dark-section .feature-card h3 { color: #fff; }
.dark-section .feature-card p { color: var(--on-dark-2); }
.dark-section .feature-card .fnum { color: var(--violet-soft); }

/* spec tiles */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.spec-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
.spec-item {
  position: relative; padding: 28px 24px; border-radius: var(--r-md); background: var(--paper-2); color: var(--text);
  transition: transform .6s var(--ease-out), background-color .3s ease;
}
.page-section.alt .spec-item { background: var(--paper); }
.spec-item:hover { transform: translateY(-3px); }
.spec-item .sn { font-family: var(--en); font-weight: 600; font-size: .75rem; letter-spacing: .12em; color: var(--violet); }
.spec-item h4 { font-size: 1.125rem; font-weight: 700; margin: 10px 0 8px; line-height: 1.5; }
.spec-item p { font-size: .875rem; color: var(--text-2); line-height: 1.85; }
.dark-section .spec-item { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-dark); color: #fff; }
.dark-section .spec-item .sn { color: var(--violet-soft); }
.dark-section .spec-item p { color: var(--on-dark-2); }

/* flow / steps */
.flow-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow-cell { position: relative; padding: 24px 22px 26px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.page-section:not(.alt) .flow-cell { background: var(--paper-2); box-shadow: none; }
.flow-cell .fn { font-family: var(--en); font-weight: 600; font-size: 2rem; letter-spacing: -.04em; line-height: 1; color: var(--violet); font-variant-numeric: tabular-nums; }
.flow-cell h4 { font-size: 1.0625rem; font-weight: 700; margin: 14px 0 8px; line-height: 1.5; }
.flow-cell p { font-size: .8125rem; color: var(--text-2); line-height: 1.85; }
.flow-cell:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 34px; z-index: 2; width: 6px; height: 6px;
  border-top: 1.5px solid var(--text-3); border-right: 1.5px solid var(--text-3); transform: rotate(45deg);
}

/* compare table */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th { font-weight: 900; font-size: 1rem; background: var(--paper); border-bottom: 1px solid var(--line-strong); }
.cmp-table thead th.hl { color: var(--violet); }
.cmp-table tbody th { font-weight: 700; color: var(--text-2); white-space: nowrap; width: 200px; font-size: .875rem; }
.cmp-table td { font-variant-numeric: tabular-nums; }
.cmp-table td.hl { background: var(--violet-tint); font-weight: 700; }
.cmp-old { color: var(--text-3); font-size: .85em; font-weight: 500; text-decoration: line-through; text-decoration-color: var(--sale); text-decoration-thickness: 1.5px; }

/* CTA band */
.page-cta { overflow: hidden; text-align: center; padding: clamp(88px, 10vw, 136px) 0; }
.page-cta h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 900; line-height: 1.4; }
.page-cta p { margin: 20px auto 36px; max-width: 38em; color: var(--on-dark-2); }
.page-cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   MVV
   ========================================================= */
.mvv-block { position: relative; overflow: hidden; padding: var(--sec) 0; }
.mvv-block.alt { background: var(--paper-2); }
.mvv-block.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 0%, rgba(85,54,232,.4), transparent 70%);
}
.mvv-block .wm {
  position: absolute; top: clamp(24px, 4vw, 56px); right: var(--gutter); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--en); font-weight: 700; font-size: clamp(4.5rem, 15vw, 12rem); line-height: .8; letter-spacing: -.05em;
  color: rgba(11,14,26,.04);
}
.mvv-block.dark .wm { color: rgba(255,255,255,.04); }
.mvv-inner { position: relative; z-index: 1; max-width: 880px; }
.mvv-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 600; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
.mvv-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mvv-block.dark .mvv-tag { color: var(--violet-soft); }
.mvv-headline { font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 900; line-height: 1.45; margin: 18px 0 28px; font-feature-settings: "palt"; letter-spacing: 0; }
.mvv-headline .em { color: var(--violet); display: inline-block; }
.mvv-block.dark .mvv-headline .em { color: var(--violet-soft); }
.mvv-body { font-size: 1.0625rem; line-height: 2.1; color: var(--text-2); }
.mvv-block.dark .mvv-body { color: var(--on-dark-2); }
.value-list { position: relative; z-index: 1; display: grid; margin-top: 16px; border-top: 1px solid var(--line-dark); }
.value-row {
  display: grid; grid-template-columns: 96px minmax(200px, 320px) 1fr; gap: clamp(18px, 3vw, 48px); align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line-dark); transition: background-color .3s ease;
}
.value-row .vno { font-family: var(--en); font-weight: 600; font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; color: var(--violet-soft); font-variant-numeric: tabular-nums; }
.value-row .vt { display: block; font-family: var(--en); font-weight: 600; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 8px; }
.value-row h3 { font-size: 1.25rem; font-weight: 900; line-height: 1.5; color: #fff; }
.value-row p { color: var(--on-dark-2); font-size: .9375rem; line-height: 1.95; }
.mvv-block:not(.dark) .value-list { border-top-color: var(--line-strong); }
.mvv-block:not(.dark) .value-row { border-bottom-color: var(--line); }
.mvv-block:not(.dark) .value-row h3 { color: var(--text); }
.mvv-block:not(.dark) .value-row p { color: var(--text-2); }
.mvv-block:not(.dark) .value-row .vno { color: var(--violet); }

/* =========================================================
   Representative message page
   ========================================================= */
.rep-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.rep-grid > :first-child { position: sticky; top: calc(var(--header) + 32px); }
.rep-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--paper-2), var(--paper-3));
  box-shadow: 0 40px 80px -48px rgba(11,14,26,.5);
}
.rep-frame img, .rep-frame .rep-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rep-frame .rep-placeholder { object-fit: contain; object-position: bottom; padding: 10% 18% 0; }
.rep-id { margin-top: 24px; }
.rep-name { font-weight: 900; font-size: 1.5rem; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rep-name .en { font-family: var(--en); font-weight: 600; font-size: .75rem; letter-spacing: .16em; color: var(--violet); }
.rep-title { color: var(--text-3); font-size: .875rem; margin-top: 4px; }
.rep-quote { font-family: var(--mincho); font-weight: 800; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.75; margin-bottom: 36px; letter-spacing: .02em; }
.rep-quote .em { color: var(--violet); display: inline-block; }
.rep-copy p:not(.rep-quote):not(.rep-sign) { margin-bottom: 22px; color: var(--text-2); line-height: 2.1; font-size: 1.0625rem; }
.rep-sign { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); text-align: right; color: var(--text-3); font-size: .875rem; }
.rep-sign .nm { display: block; font-family: var(--mincho); font-weight: 800; font-size: 1.5rem; color: var(--text); margin-top: 6px; }

/* =========================================================
   Forms
   ========================================================= */
.form-wrap { max-width: 780px; margin: 0 auto; }
.form-note { color: var(--text-2); font-size: .9375rem; line-height: 1.95; margin-bottom: 32px; }
.form-note a { color: var(--violet); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > label { font-weight: 700; font-size: .875rem; }
.field .req { display: inline-block; margin-left: 8px; font-size: .625rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--violet); border-radius: 4px; padding: 2px 6px; vertical-align: 2px; }
.field .opt { margin-left: 8px; font-size: .6875rem; color: var(--text-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; width: 100%; min-height: 52px;
  border: 0; border-radius: 12px; background: var(--paper-2); color: var(--text); box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .2s ease, background-color .2s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { background: var(--paper-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 4px rgba(85,54,232,.12); }
.field textarea { min-height: 160px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; border-radius: 999px; padding: 10px 16px; background: var(--paper-2); cursor: pointer; transition: background-color .2s ease; }
.checks label:hover { background: var(--paper-3); }
.checks input, .agree input { accent-color: var(--violet); width: auto; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; line-height: 1.8; margin-top: 8px; }
.agree a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { margin-top: 32px; text-align: center; }
.form-sent { display: none; margin-top: 18px; text-align: center; color: var(--violet); font-weight: 700; }

/* =========================================================
   Reveal — expo-out, transition-based (re-targetable)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(min(var(--i), 8) * 70ms); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.hero .hero-msg > * { animation: rise 1.1s var(--ease-out) both; }
.hero .hero-msg > :nth-child(2) { animation-delay: .06s; }
.hero .hero-msg > :nth-child(3) { animation-delay: .14s; }
.hero .hero-msg > :nth-child(4) { animation-delay: .22s; }
.hero-mark { animation: fade 1.6s var(--ease-out) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }


/* =========================================================
   Motion layer (driven by main.js; transform / opacity / clip-path only)
   ========================================================= */
/* hero headline: each glyph materializes (blur ≤ 8px keeps it cheap) */
/* glyphs are atomic boxes: keep the authored line breaks, no balancing/phrase breaking */
.hero .hero-msg > .hero-message.is-split { animation: none; white-space: nowrap; text-wrap: nowrap; word-break: normal; }
.hero-message .ch {
  display: inline-block; opacity: 0; transform: translateY(.32em); filter: blur(8px);
  animation: ch-in 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 80ms);
}
@keyframes ch-in { to { opacity: 1; transform: none; filter: blur(0); } }

/* headings: curtain rises from the baseline */
.mask { clip-path: inset(0 0 100% 0); transform: translateY(.3em); transition: clip-path 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.mask.is-in { clip-path: inset(-12% -4% -24% -4%); transform: none; }
.page-hero .en.mask { transition-delay: .05s; }

/* scroll progress under the header */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--violet), #7d8cff); transform-origin: left; transform: scaleX(0);
}

/* header steps aside while reading down, returns on the way up */
.site-header { transition: transform .45s var(--ease-out); }
.hdr-hide .site-header { transform: translateY(-100%); }
.prog-tabs-wrap { transition: transform .45s var(--ease-out); }
.hdr-hide .prog-tabs-wrap { transform: translateY(calc(-1 * var(--header))); }

/* floating CTA enters and exits along the same bottom edge */
.js .reserve { opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
.js .reserve.show { opacity: 1; transform: none; pointer-events: auto; }
.js.nav-open .reserve.show { opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
.js .reserve.show:active { transform: scale(.96); }

/* pointer spotlight inside dark cards */
.price-card { isolation: isolate; overflow: hidden; }
.spot {
  position: absolute; left: 0; top: 0; z-index: -1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none; background: radial-gradient(closest-side, rgba(165,151,255,.2), rgba(165,151,255,0)); opacity: 0; transition: opacity .35s ease;
}
:hover > .spot { opacity: 1; }

/* program tiles: tilt is written by JS; keep CSS hover lift for touch only */
@media (hover: hover) and (pointer: fine) {
  .diamond:hover { transform: none; }
  .diamond { transition: box-shadow .5s ease; transform-style: preserve-3d; }
}

/* hero light that follows the pointer */
.hero-glow {
  position: absolute; left: 0; top: 0; z-index: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%;
  pointer-events: none; background: radial-gradient(closest-side, rgba(110,84,255,.32), rgba(110,84,255,0));
  transform: translate3d(72vw, 30%, 0);
}
.hero-mark { will-change: transform; }

/* mobile menu items arrive in order */
@media (max-width: 1320px) {
  .nav > a { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .55s var(--ease-out), background-color .2s ease; }
  .nav.open > a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 28ms + 60ms); }
}

/* page-to-page: soft cross-document transition (Chrome / Safari 18.2+) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .2s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .diamonds { grid-template-columns: 1fr 1fr; }
  .menu-copy { grid-template-columns: 1fr; }
  .flow-row { grid-template-columns: repeat(3, 1fr); }
  .flow-cell::after { display: none; }
  .hero-silhouette { opacity: .18; right: -6%; }
}
@media (max-width: 880px) {
  .phil-grid { grid-template-columns: 1fr; }
  .phil-card, .phil-card + .phil-card { padding: 28px 0 32px; border-left: 0; border-bottom: 1px solid var(--line); }
  .price-grid, .split { grid-template-columns: 1fr; }
  .split-panel { min-height: 0; }
  .feature-grid, .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; gap: 32px; }
  .spec-grid:has(> :nth-child(6):last-child) { grid-template-columns: 1fr 1fr; }
  .news-section .container, .page-section.company .container { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .rep-band .inner { grid-template-columns: 1fr; }
  .rep-grid { grid-template-columns: 1fr; }
  .rep-grid > :first-child { position: static; }
  .rep-frame { margin-inline: auto; }
  .rep-id { text-align: center; }
  .rep-name { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-col { padding: 0 0 32px; }
  .contact-col + .contact-col { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .contact-col .ln { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: auto 1fr; row-gap: 12px; }
  .value-row p { grid-column: 1 / -1; }
  .flow-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header: 64px; }
  body { font-size: .9375rem; }
  .brand-logo { height: 28px; }
  .hero { min-height: 0; }
  .hero-message br { display: none; }
  .hero-message { font-size: clamp(2.375rem, 12vw, 3.5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .panel-actions .btn { width: 100%; }
  .panel-actions { flex-direction: column; }
  .about-copy h2 br { display: none; }
  .diamonds { gap: 10px; }
  .diamond { border-radius: var(--r-md); }
  .diamond .d-inner { padding: 16px; }
  .diamond .label { font-size: .9375rem; padding-right: 40px; }
  .diamond .arr { width: 32px; height: 32px; right: 12px; bottom: 12px; }
  .news-row { grid-template-columns: auto 1fr auto; row-gap: 6px; }
  .news-row .nx { grid-column: 1 / -1; grid-row: 2; }
  .news-row::after { grid-column: 3; grid-row: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .fee-banner { padding: 16px 18px; }
  .fee-banner .fb-main b { font-size: 1.5rem; }
  .price-card .ribbon { position: static; align-self: flex-start; order: -1; }
  .cmp-table { font-size: .875rem; }
  .cmp-table tbody th { width: 140px; }
  .reserve { left: 16px; right: 16px; justify-content: center; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .flow-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Accessibility preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .diamond, .split-panel, .price-card, .spec-item, .nav, .nav > a, .reserve, .site-header, .prog-tabs-wrap { transition: opacity .2s ease !important; transform: none !important; }
  .mask { clip-path: none; transform: none; }
  .hero-glow, .spot { display: none; }
  @view-transition { navigation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .nav, .prog-tabs-wrap { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .reserve { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before, .nav, .prog-tabs-wrap { background: rgba(255,255,255,.97); }
  .reserve { background: var(--ink); }
}

/* =========================================================
   Sponsor — home band + sponsor.html list
   ========================================================= */
.sponsor-band { padding: var(--sec) 0; background: var(--paper); border-top: 1px solid var(--line); }
.sponsor-band .container { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 64px; align-items: start; }
.sponsor-band .bighead { margin-bottom: 0; }
.sponsor-band .bighead .en { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.sponsor-names { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sponsor-names li {
  display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 16px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line);
}
.sponsor-names .sl { display: block; height: 96px; }
.sponsor-names .sl img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-names .sn { font-weight: 700; font-size: .8125rem; line-height: 1.6; color: var(--text-2); text-align: center; font-feature-settings: "palt"; }
.sponsor-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sponsor-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line);
}
.sponsor-card .sp-logo {
  display: block; aspect-ratio: 16 / 10; padding: clamp(24px, 3vw, 40px);
  background: #fff; border-bottom: 1px solid var(--line);
}
.sponsor-card .sp-logo img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-card .sp-meta { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.4vw, 28px); }
.sponsor-card .sp-label { font-family: var(--en); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.sponsor-card .sp-name { font-weight: 900; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; letter-spacing: .01em; font-feature-settings: "palt"; }
@media (max-width: 900px) {
  .sponsor-band .container { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-card .sp-logo { aspect-ratio: auto; height: 180px; }
}
@media (max-width: 640px) {
  .sponsor-names { grid-template-columns: 1fr; }
  .sponsor-names .sl { height: 84px; }
}
