/* MAUA — site styles (built by Two Koi Designs on the house design standard)
   Black and oxblood, lit by the logo's crimson and a warm ember. Glass over photos. Motion: transform + opacity only. */
@font-face { font-family: "Sora"; font-weight: 100 800; font-style: normal; font-display: swap; src: url(/assets/fonts/sora.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/assets/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "MAUA JP"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/kanji.woff2) format("woff2"); }

:root {
  --ink: #070606;
  --ox: #120808;
  --ox-2: #1c0b0c;
  --glass: rgba(255, 255, 255, .06);
  --glass-2: rgba(255, 255, 255, .1);
  --edge: rgba(255, 255, 255, .13);
  --red: #d1262f;
  --red-hi: #ff6066;
  --red-btn: #c41e29;
  --red-dark: #8f1219;
  --ember: #ff8a4c;
  --ember-hi: #ffb085;
  --white: #fff;
  --text: #ece7e5;
  --steel: #b9b1ae;
  --grad: linear-gradient(100deg, #ff5a60 0%, #ff8a4c 48%, #ffd9c2 82%, #ffffff 100%);
  --grad-line: linear-gradient(90deg, #c41e29, #ff8a4c 60%, #ffd9c2);
  --radius: 18px;
  --wrap: 1200px;
  --head: 80px;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp: "MAUA JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-hi); text-underline-offset: 3px; }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--white); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3, .h3 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.01em; color: var(--white); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ember-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.lead { font-size: 1.15rem; color: var(--steel); max-width: 60ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 .95rem/1 var(--body); color: var(--red-hi); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-line); }
.kj { font-family: var(--jp); font-weight: 600; color: rgba(255, 255, 255, .58); font-size: .95em; letter-spacing: .12em; margin-left: 4px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tag { white-space: nowrap; display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font: 600 .78rem/1 var(--body); letter-spacing: .02em; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--edge); }
.tag-red { background: rgba(196, 30, 41, .22); border-color: rgba(255, 96, 102, .4); color: #ffd3d5; }

/* ---------- buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.5em; border-radius: 12px;
  border: 1.5px solid var(--red-btn); background: var(--red-btn); color: var(--white); font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(196, 30, 41, .38); }
.btn::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-150%) skewX(-20deg); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(350%) skewX(-20deg); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: .85em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-glow { box-shadow: 0 8px 28px rgba(209, 38, 47, .45); }
.btn-glow::after { animation: shine 4.5s var(--ease) 1.5s infinite; }
@keyframes shine { 0% { transform: translateX(-150%) skewX(-20deg); } 25%, 100% { transform: translateX(350%) skewX(-20deg); } }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: #070606; box-shadow: 0 12px 30px rgba(255, 255, 255, .12); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(7, 6, 6, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-head.scrolled { background: rgba(7, 6, 6, .88); border-bottom-color: var(--edge); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: var(--head); gap: 20px; }
.brand { display: block; flex: none; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn) { position: relative; color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 11px; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-line); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:not(.btn):hover { color: var(--white); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-sign { display: inline-flex; align-items: center; gap: 6px; color: var(--steel); font-size: .95rem; margin-left: 6px; }
.nav .nav-sign .ico { width: 1.05em; height: 1.05em; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; border-radius: 8px; cursor: pointer; }
.menu-btn .ico { width: 28px; height: 28px; }
@media (max-width: 1060px) {
  :root { --head: 72px; }
  .brand img { height: 54px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: var(--head); left: 0; right: 0; background: rgba(7, 6, 6, .97); border-bottom: 1px solid var(--edge);
    flex-direction: column; align-items: stretch; padding: 10px 24px 22px; gap: 2px; max-height: calc(100vh - var(--head)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--edge); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .nav-sign { margin: 0; }
  .nav .btn { margin: 14px 0 0; }
}

/* ---------- shared backgrounds */
.aur { position: absolute; border-radius: 50%; opacity: .6; will-change: transform; pointer-events: none; }
.a1 { width: 560px; height: 560px; left: -140px; top: -100px; background: radial-gradient(circle, rgba(209, 38, 47, .7), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.a2 { width: 620px; height: 620px; right: -180px; top: 30px; background: radial-gradient(circle, rgba(255, 138, 76, .45), transparent 65%); animation: drift2 19s ease-in-out infinite alternate; }
.a3 { width: 420px; height: 420px; left: 38%; bottom: -240px; background: radial-gradient(circle, rgba(143, 18, 25, .6), transparent 65%); animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(.9); } }
.grid { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0V56' fill='none' stroke='%23fff' stroke-opacity='.045'/%3E%3C/svg%3E");
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 0, transparent 70%); }
/* asanoha (hemp-leaf) pattern: a tiny tiled image, cheap to draw */
.asanoha { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='%23ff6066' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M30 0v104M0 17.3l60 69.4M60 17.3L0 86.7M0 17.3h60M0 86.7h60M30 0L0 52l30 52 30-52zM0 52h60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 104px; -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 0, transparent 60%); mask-image: radial-gradient(ellipse at 80% 30%, #000 0, transparent 60%); }

/* ---------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 76px; margin-top: calc(var(--head) * -1); padding-top: calc(var(--head) + 56px); background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; opacity: .5;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .75) 45%, #000 75%); mask-image: linear-gradient(100deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .75) 45%, #000 75%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .65em; margin: 0 0 22px; padding: 8px 16px 8px 12px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(18, 8, 8, .65);
  font-weight: 500; font-size: .95rem; color: var(--white); }
.live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--red-hi); flex: none; }
.live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red-hi); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 24px; }
.hero .lead { font-size: 1.2rem; color: #d8d0cd; max-width: 50ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.facts { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts li { padding: 16px 16px 14px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(18, 8, 8, .66); }
.facts b { display: block; white-space: nowrap; font: 800 clamp(1.5rem, 2.5vw, 2.1rem)/1.1 var(--display); color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts li > span { display: block; margin-top: 4px; color: var(--steel); font-size: .92rem; line-height: 1.35; }
.hero-visual { position: relative; container-type: inline-size; contain: layout paint; }
.hero-visual > * { position: absolute; }
.hero-visual .hv-art { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.hv-glow { left: 2.273%; top: 3.478%; width: 95.455%; height: 91.304%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 59, 63, .55), rgba(255, 59, 63, 0)); will-change: opacity; animation: breathe 4s ease-in-out infinite; }
.hv-ring { overflow: visible; will-change: transform; }
.hv-ring circle { fill: none; stroke-width: 1.2; }
.hv-ring.r1 circle { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 2 10; }
.hv-ring.r2 circle { stroke: rgba(255, 138, 76, .35); stroke-dasharray: 70 24 6 24; }
.hv-ring.r1 { animation: spin 50s linear infinite; }
.hv-ring.r2 { animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.enso { fill: none; stroke: url(#eg); stroke-width: 22; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .enso { stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.6, .1, .2, 1) .3s forwards; }
.enso-2 { stroke-width: 8; opacity: .55; }
.js .enso-2 { animation-delay: 2.4s; animation-duration: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* hv-badge: x 95, y 101, 250 x 250 in the 440 x 460 drawing */
.hv-badge { left: 21.591%; top: 21.957%; width: 56.818%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
.js .hv-badge { opacity: 0; transform: scale(.92); animation: badge-in 1.2s var(--ease) .9s forwards; }
@keyframes badge-in { to { opacity: 1; transform: none; } }
.embers { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.ember { position: absolute; top: 93.478%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #ff8a4c; opacity: 0; will-change: transform, opacity; animation: rise 6s ease-out infinite; }
.ember.e1 { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ff6066; }
.ember.e2 { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #ffd9c2; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-300px); transform: translateY(-81.8cqw); opacity: 0; } }
@keyframes breathe { 50% { opacity: .55; } }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--head) + 26px); padding-bottom: 50px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero-visual { order: -1; width: min(230px, 60vw); margin: 0 auto; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 34px; }
}

/* ---------- sections */
.section { position: relative; padding: 110px 0; }
.sec-head { margin-bottom: 54px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin: 0 auto; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.sec-head.split .lead { margin: 0; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
@media (max-width: 700px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 36px; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* mission */
.mission { padding: 30px 0 90px; }
.mission-card { position: relative; margin: 0 auto; max-width: 980px; padding: 46px 130px 40px 52px; border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 70px rgba(0, 0, 0, .45); }
.mission-card .kj { position: absolute; right: 30px; top: 18px; font-size: 4.6rem; color: rgba(255, 96, 102, .16); margin: 0; }
.mission-card blockquote { margin: 0; }
.mission-card blockquote p { font: 600 clamp(1.25rem, 2.4vw, 1.75rem)/1.4 var(--display); color: var(--white); letter-spacing: -.015em; margin: 0 0 18px; }
.mission-card figcaption { color: var(--steel); font-weight: 600; }
.mission-card figcaption::before { content: "— "; color: var(--red-hi); }
.chips-row { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips-row li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); font-weight: 600; font-size: .95rem; color: var(--white); }
.chips-row .ico { color: var(--red-hi); width: 1.05em; height: 1.05em; }
@media (max-width: 760px) { .mission-card { padding: 64px 24px 28px; } .mission-card .kj { font-size: 2.6rem; right: 20px; top: 14px; } }

/* programs */
.programs-sec { background: radial-gradient(900px 500px at 10% 10%, rgba(209, 38, 47, .14), transparent 60%), var(--ink); }
.programs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.program { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--edge); transition: transform .35s var(--ease), border-color .35s; }
.program:hover { transform: translateY(-6px); border-color: rgba(255, 138, 76, .45); }
.program-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ox); }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover .program-img img { transform: scale(1.05); }
.program-body { position: relative; padding: 30px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.p-ico { position: absolute; top: -24px; left: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--white); background: linear-gradient(135deg, var(--red-btn), #8f1219); box-shadow: 0 10px 26px rgba(209, 38, 47, .4); }
.p-ico .ico { width: 24px; height: 24px; }
.program p { color: var(--steel); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ember-hi); }
.more .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.more:hover .ico { transform: translateX(4px); }
@media (max-width: 1000px) { .programs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .programs { grid-template-columns: minmax(0, 1fr); } }

/* many paths */
.paths-sec { background: linear-gradient(180deg, var(--ink), var(--ox) 60%, var(--ink)); overflow: hidden; }
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.path { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--white); background: var(--ox-2); border: 1px solid var(--edge); isolation: isolate; }
.path-img, .path-img img, .path-img picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.path-img img { object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .9s var(--ease); filter: saturate(.9); }
.path.is-logo .path-img img { object-fit: contain; padding: 18% 18% 34%; filter: none; }
.path::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(7, 6, 6, 0) 35%, rgba(7, 6, 6, .92) 100%); }
.path-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 16px; }
.path-txt b { display: block; font: 700 1.12rem/1.2 var(--display); }
.path-txt small { display: block; color: #e2d9d6; font-size: .9rem; margin-top: 3px; }
.path::before { content: ""; position: absolute; left: 18px; bottom: 0; z-index: 2; height: 3px; width: 0; background: var(--grad-line); transition: width .45s var(--ease); }
.path:hover::before, .path:focus-visible::before { width: calc(100% - 36px); }
.path:hover .path-img img { transform: scale(1.06); }
@media (max-width: 900px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .path.is-logo .path-img img { padding: 12% 16% 46%; } }
@media (max-width: 380px) { .path-txt { padding: 14px 12px 12px; } .path-txt b { font-size: 1rem; } }

/* members library product moment */
.library-sec { overflow: hidden; background: radial-gradient(800px 600px at 85% 40%, rgba(209, 38, 47, .2), transparent 60%), var(--ink); }
.lib-bg { position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='1.1' fill='%23fff' fill-opacity='0.14'/%3E%3C/svg%3E"); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 65%); }
.lib-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 30px 0 6px; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--edge); transition: transform .3s var(--ease), border-color .3s; }
.steps li:hover { transform: translateX(6px); border-color: rgba(255, 138, 76, .45); }
.step-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(209, 38, 47, .18); color: var(--red-hi); }
.steps b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--white); }
.steps li > span > span { color: var(--steel); font-size: .97rem; }
.lib-stage { position: relative; will-change: transform; contain: layout paint; padding: 34px 0 40px; }
.lib-window { border-radius: 18px; overflow: hidden; background: #0e0a0a; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 120px rgba(209, 38, 47, .18); }
.lw-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1a1212; border-bottom: 1px solid var(--edge); }
.lw-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a2b2b; }
.lw-bar span:first-child { background: #d1262f; }
.lw-bar b { margin-left: 12px; font: 500 .8rem/1 var(--body); color: var(--steel); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.lw-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 360px; }
.lw-side { padding: 18px 14px; background: rgba(255, 255, 255, .03); border-right: 1px solid var(--edge); display: flex; flex-direction: column; gap: 14px; font-size: .86rem; }
.lw-hi { margin: 0; color: var(--steel); }
.lw-hi b { color: var(--white); }
.lw-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lw-nav li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; color: var(--steel); }
.lw-nav li.on { background: rgba(209, 38, 47, .2); color: var(--white); }
.lw-nav .ico { width: 1em; height: 1em; }
.lw-prog { margin-top: auto; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--edge); }
.lw-prog span { display: block; color: var(--steel); font-size: .78rem; }
.lw-prog b { display: block; color: var(--white); font: 700 1.05rem/1.4 var(--display); }
.lw-prog i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 6px; }
.lw-prog em { display: block; height: 100%; width: 100%; background: var(--grad-line); transform-origin: left; transform: scaleX(.222); transition: transform 1s var(--ease); }
.lw-main { padding: 16px 18px 18px; }
.lw-crumb { margin: 0 0 10px; color: var(--steel); font-size: .8rem; }
.lw-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: grid; place-items: center; isolation: isolate;
  background: radial-gradient(circle at 30% 30%, #3b1214, #120707 60%), #120707; }
.lw-video::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: url("/assets/img/arts/bjj.png") center / 38% no-repeat; }
/* the certificate inside the members preview */
.lw-cert { background: linear-gradient(160deg, #fbf6ec, #efe4cf); }
.lw-cert::before { display: none; }
.lc-in { position: absolute; inset: 10px; display: grid; place-content: center; justify-items: center; gap: 3px; border: 1.5px solid rgba(160, 120, 60, .55); border-radius: 8px; color: #2a1d12; text-align: center; padding: 8px; }
.lc-kj { font: 600 .95rem/1 var(--jp); color: #b51c27; letter-spacing: .2em; margin-bottom: 4px; }
.lc-small { font-size: .68rem; color: #6b5a45; }
.lc-name { font: 700 1.05rem/1.2 var(--display); color: #1d1410; }
.lc-rank { font: 800 1.2rem/1.2 var(--display); color: #b51c27; }
.lc-num { margin-top: 4px; font-size: .62rem; letter-spacing: .06em; color: #8a7558; }
.lw-cert .hanko { top: auto; bottom: 14px; right: 18px; background: rgba(226, 50, 59, .06); }
.lw-shade { position: absolute; inset: 0; background: rgba(7, 6, 6, .7); opacity: 0; transition: opacity .6s; }
.lw-lock { position: absolute; display: grid; justify-items: center; gap: 6px; color: var(--white); opacity: 0; transition: opacity .5s, transform .5s var(--ease); }
.lw-lock .ico { width: 34px; height: 34px; }
.lw-lock small { font-weight: 600; font-size: .8rem; color: var(--steel); }
.hanko { position: absolute; right: 16px; top: 14px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; border: 3px solid #e2323b; color: #e2323b;
  font: 600 1.25rem/1 var(--jp); writing-mode: vertical-rl; letter-spacing: .1em; transform: rotate(-8deg); background: rgba(226, 50, 59, .08); }
.lw-main h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.lw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--steel); }
.lw-list li { display: flex; align-items: center; gap: 8px; }
.lw-list .ico { width: 1em; height: 1em; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.lw-list li.d .ico, .lw-list li.n .ico { background: #2fbf71; color: #04170c; }
.lw-list li.n { color: var(--white); font-weight: 600; }
.lib-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(28, 11, 12, .95); border: 1px solid var(--edge);
  font: 600 .9rem/1 var(--display); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.lib-chip .ico { color: var(--ember); }
.lib-chip.c1 { left: 18px; bottom: 0; } .lib-chip.c2 { right: 18px; top: 0; transition-delay: .25s; }
/* moment states: finished by default (no-JS, reduced motion); .armed = before; .play = animate */
.lib-stage.armed .lw-shade { opacity: 1; }
.lib-stage.armed .lw-lock { opacity: 1; }
.lib-stage.armed .hanko { opacity: 0; transform: rotate(-8deg) scale(1.9); }
.lib-stage.armed .lw-prog em { transform: scaleX(.111); }
.lib-stage.armed .lw-list li.n .ico { background: rgba(255, 255, 255, .08); color: var(--steel); }
.lib-stage.armed .lib-chip { opacity: 0; transform: translateY(14px) scale(.92); }
.lib-stage.stamp .hanko { opacity: 1; transform: rotate(-8deg) scale(1); transition: opacity .25s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.lib-stage.open .lw-shade, .lib-stage.open .lw-lock { opacity: 0; }
.lib-stage.open .lw-lock { transform: translateY(-10px); }
.lib-stage.done .lw-list li.n .ico { background: #2fbf71; color: #04170c; transition: background .3s; }
.lib-stage.done .lw-prog em { transform: scaleX(.222); }
.lib-stage.done .lib-chip { opacity: 1; transform: none; }
@media (max-width: 960px) { .lib-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
@media (max-width: 560px) {
  .lw-body { grid-template-columns: minmax(0, 1fr); }
  .lw-side { display: none; }
  .lib-chip { position: relative; inset: auto !important; margin: 12px 8px 0 0; }
  .lib-stage { padding-bottom: 0; }
}

/* benefits (glass cards) */
.why-sec { background: radial-gradient(900px 500px at 15% 0%, rgba(255, 138, 76, .1), transparent 60%), radial-gradient(800px 500px at 90% 100%, rgba(209, 38, 47, .14), transparent 60%), var(--ox); }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.paths3-sec .benefits, .inside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit { position: relative; padding: 32px 26px 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--edge); overflow: hidden; transition: transform .35s var(--ease), background .35s; }
.benefit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.benefit:hover { transform: translateY(-6px); background: var(--glass-2); }
.benefit:hover::before { opacity: 1; }
.b-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; color: var(--white);
  background: linear-gradient(135deg, var(--red-btn), #6e0e14 60%, #ff8a4c); box-shadow: 0 10px 30px rgba(209, 38, 47, .3); transition: transform .4s var(--ease); }
.benefit:hover .b-ico { transform: rotate(-8deg) scale(1.08); }
.b-ico .ico { width: 27px; height: 27px; }
.benefit p { color: var(--steel); margin: 0; }
.pathcard .pc-kj { display: block; font: 600 2.6rem/1 var(--jp); color: rgba(255, 96, 102, .85); margin-bottom: 14px; letter-spacing: .06em; }
.pathcard h3 small { font: 500 .95rem var(--body); color: var(--steel); }
@media (max-width: 1000px) { .benefits, .paths3-sec .benefits, .inside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) {
  .benefits, .paths3-sec .benefits, .inside { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .benefit:not(.pathcard) { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .benefit:not(.pathcard) .b-ico { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .benefit:not(.pathcard) .b-ico .ico { width: 23px; height: 23px; }
  .benefit h3 { margin-bottom: .3em; font-size: 1.08rem; }
}

/* photo band */
.photo-band { position: relative; color: var(--white); padding: 150px 0; overflow: hidden; isolation: isolate; }
.band-img, .photo-band picture, .glass-sec picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.band-img, .photo-band picture img, .glass-sec picture img { object-fit: cover; object-position: 50% 40%; width: 100%; height: 100%; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 6, 6, .95) 0, rgba(7, 6, 6, .74) 45%, rgba(18, 8, 8, .2) 100%); }
.photo-band::after { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--grad-line); }
.band-in h2 { max-width: 18ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.band-in p { max-width: 52ch; font-size: 1.15rem; color: #e8e0dd; margin-bottom: 28px; }
@media (max-width: 700px) { .photo-band { padding: 100px 0; } .photo-band::before { background: rgba(7, 6, 6, .8); } }
.ranges { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 1040px; }
.ranges li { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.ranges b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red-btn); font: 800 1.05rem/1 var(--display); }
.ranges strong { display: block; font-family: var(--display); color: var(--white); }
.ranges span { color: #e3dbd8; font-size: .95rem; }
@media (max-width: 900px) { .ranges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .ranges { grid-template-columns: minmax(0, 1fr); } .ranges li { flex-direction: row; align-items: center; } }

/* plans */
.plans-sec { background: radial-gradient(900px 600px at 50% 0%, rgba(209, 38, 47, .2), transparent 65%), var(--ox); }
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; align-items: stretch; isolation: isolate; }
.plans > .plan { flex: 1 1 290px; max-width: 360px; min-width: 0; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 24px 26px; border-radius: 22px; background: var(--glass); border: 1px solid var(--edge); transition: transform .35s var(--ease), background .35s; }
.plan:hover { transform: translateY(-6px); background: var(--glass-2); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.plan h3 { font-size: 1.25rem; margin: 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; margin: 0 0 6px; font-family: var(--display); font-weight: 800; line-height: 1; color: var(--white); }
.price .cur { font-size: 1.5rem; align-self: flex-start; margin-top: .3em; }
.price .amt { font-size: 3.4rem; letter-spacing: -.05em; }
.price .cents { font-size: 1.5rem; align-self: flex-start; margin-top: .3em; }
.price .every { font: 500 .98rem/1 var(--body); color: var(--steel); margin-left: 8px; }
.permo { margin: 6px 0 4px; }
.save { display: inline-block; padding: 4px 11px; border-radius: 999px; background: rgba(47, 191, 113, .15); color: #79e3a8; font-weight: 600; font-size: .88rem; }
.plan-blurb { margin: 12px 0 18px; color: var(--text); }
.plan-feat { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--edge); display: grid; gap: 10px; flex: 1; font-size: .97rem; }
.plan-feat li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feat .ico { color: var(--ember); margin-top: .2em; }
.plan .btn { margin-top: auto; }
.plan.featured { background: linear-gradient(180deg, rgba(209, 38, 47, .2), rgba(255, 138, 76, .07)); border-color: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.plan.featured::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 24px; background: linear-gradient(135deg, #ff5a60, #c41e29 45%, #ff8a4c); box-shadow: 0 0 40px rgba(209, 38, 47, .35), 0 0 70px rgba(255, 138, 76, .2); animation: breathe-o 3.5s ease-in-out infinite; }
@keyframes breathe-o { 50% { opacity: .65; } }
.plan.featured::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: #160909; }
.plan-flag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 15px; border-radius: 999px; white-space: nowrap;
  background: var(--red-btn); color: var(--white); font-weight: 700; font-size: .88rem; box-shadow: 0 8px 22px rgba(196, 30, 41, .5); }
.plan-flag .ico { width: 1em; height: 1em; }
.plan-notes { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; color: var(--steel); }
.plan-notes li { display: flex; align-items: center; gap: 8px; }
.plan-notes .ico { color: var(--red-hi); }
@media (max-width: 640px) { .plans { max-width: 480px; margin: 0 auto; } .plans > .plan { flex-basis: 100%; max-width: none; } .plan.featured { order: -1; } }

/* founder */
.founder-sec { background: radial-gradient(700px 500px at 20% 50%, rgba(209, 38, 47, .14), transparent 60%), var(--ink); }
.founder-grid, .split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.split-grid { grid-template-columns: 1.1fr .9fr; }
.split-grid.flip > :first-child { order: 2; }
.founder-photo { margin: 0; position: relative; }
/* the photo keeps its own shape (never cropped), so anything in it, like the signature block, stays visible */
.founder-photo .fp-frame { position: relative; display: block; padding: 6px; border-radius: 28px; background: var(--grad-line); }
.founder-photo img { position: relative; display: block; width: 100%; height: auto; border-radius: 22px; border: 4px solid var(--ink); }

.founder-photo figcaption { display: flex; flex-direction: column; margin-top: 20px; padding-left: 14px; border-left: 4px solid var(--red); }
.founder-photo figcaption b { color: var(--white); font-family: var(--display); }
.founder-photo figcaption span { color: var(--steel); font-size: .95rem; }
.quote { margin: 26px 0 30px; padding: 0; font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--display); letter-spacing: -.02em; }
.quote p { margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote.big { font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: 8px; }
.q-by { color: var(--steel); font-weight: 600; }
.q-by::before { content: "— "; color: var(--red-hi); }
.split-photo { position: relative; margin: 0; }
.split-photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.split-photo .tfc-badge { position: absolute; right: -14px; bottom: -26px; width: 130px; height: 130px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 20px 40px rgba(0, 0, 0, .55); object-fit: contain; }
@media (max-width: 860px) {
  .founder-grid, .split-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split-grid.flip > :first-child { order: 0; }
  .founder-photo { max-width: 420px; }
  .split-photo .tfc-badge { right: 8px; width: 96px; height: 96px; }
}

/* glass section over a photo (signature) */
.glass-sec { overflow: hidden; isolation: isolate; }
.glass-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(7, 6, 6, .93) 0, rgba(18, 8, 8, .8) 50%, rgba(110, 14, 20, .62) 100%); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(7, 6, 6, .5); border: 1px solid var(--edge); color: #e8e0dd; }
.cl-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(209, 38, 47, .2); color: var(--red-hi); }
.cl-ico .ico { width: 24px; height: 24px; }
.contact-list b { color: var(--white); }
@media (max-width: 900px) { .support-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.form-card { position: relative; padding: 32px; border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 30px 70px rgba(0, 0, 0, .45); }
.form-title { font-size: 1.5rem; margin-bottom: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
@media (max-width: 520px) { .two { grid-template-columns: minmax(0, 1fr); } .form-card { padding: 24px 18px; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 7px; color: var(--white); padding: 0; }
.opt { font-weight: 400; color: #d6cecb; }
input, textarea, select { width: 100%; font: inherit; color: var(--white); background: rgba(7, 6, 6, .5); border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, background .2s, box-shadow .2s; }
select option { color: #000; }
input::placeholder, textarea::placeholder { color: #a99f9c; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ember-hi); background: rgba(7, 6, 6, .66); box-shadow: 0 0 0 4px rgba(255, 138, 76, .25); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff8a90; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--red-btn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip-opt { position: relative; display: inline-flex; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip-opt span { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(7, 6, 6, .4); font-size: .93rem; transition: background .2s, border-color .2s; }
.chip-opt input:checked + span { background: var(--red-btn); border-color: var(--red-btn); color: var(--white); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--ember-hi); outline-offset: 2px; }
.err { display: none; margin: 6px 0 0; color: #ffc2c5; font-size: .95rem; }
.err.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: .92rem; color: #d6cecb; }
.form-status { margin: 12px 0 0; font-weight: 500; }
.form-status.bad { color: #ffc2c5; }
.thanks { text-align: center; padding: 40px 10px; }
.thanks:focus { outline: none; }
.thanks-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #3ee08a, #1c9e5c); color: #04170c; margin-bottom: 16px; animation: pop .6s var(--ease); }
.thanks-ico .ico { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- page heads */
.page-head { position: relative; color: var(--white); padding: calc(var(--head) + 70px) 0 70px; margin-top: calc(var(--head) * -1); overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 400px at 10% 0%, rgba(209, 38, 47, .25), transparent 60%), radial-gradient(800px 500px at 90% 30%, rgba(255, 138, 76, .16), transparent 60%), var(--ink); }
.ph-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ph-img, .ph-bg picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-img, .ph-bg picture img { object-fit: cover; object-position: 50% 40%; opacity: .55; width: 100%; height: 100%; }
.page-head h1 { font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.04em; margin-bottom: .3em; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--grad-line); }
.photo-head { padding-top: calc(var(--head) + 150px); padding-bottom: 90px; }
.photo-head .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 6, 6, .96) 0, rgba(7, 6, 6, .6) 55%, rgba(7, 6, 6, .35) 100%); }
.photo-head .lead { color: #ebe3e0; }
.ph-in { max-width: 760px; }
.person-head { padding-bottom: 80px; }
.person-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: center; }
.role { font: 600 1.1rem/1.3 var(--display); color: var(--ember-hi); margin: -6px 0 16px; }
.person-head .chips-row { justify-content: flex-start; }
@media (max-width: 860px) { .person-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .person-grid .founder-photo { max-width: 340px; } }
.prose p { font-size: 1.1rem; color: #ddd5d2; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* story */
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.story-side { position: sticky; top: calc(var(--head) + 24px); }
.glass-card { padding: 30px; border-radius: 22px; background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.glass-card p { color: #ddd5d2; }
.values { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.values li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--white); }
.values .ico { color: var(--red-hi); }
.timeline { list-style: none; margin: 30px 0 0; padding: 0 0 0 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), rgba(255, 138, 76, .4), transparent); }
.timeline li { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 0 0 30px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--red-hi); }
.tl-year { font: 800 1.2rem/1.4 var(--display); color: var(--ember-hi); }
.tl-body h3 { margin-bottom: .3em; }
.tl-body p { color: var(--steel); margin: 0; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); } .story-side { position: static; order: 2; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.divisions-sec { background: linear-gradient(180deg, var(--ink), var(--ox)); }
.divisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.division { border-radius: 16px; background: var(--glass); border: 1px solid var(--edge); overflow: hidden; transition: border-color .3s; }
.division[open] { border-color: rgba(255, 138, 76, .45); background: var(--glass-2); }
.division summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; }
.division summary::-webkit-details-marker { display: none; }
.division summary img { width: 72px; height: 56px; object-fit: contain; flex: none; }
.division summary span { flex: 1; }
.division summary b { display: block; color: var(--white); font-family: var(--display); }
.division summary small { color: var(--steel); }
.d-ico { transition: transform .3s var(--ease); color: var(--ember-hi); }
details[open] > summary .d-ico { transform: rotate(45deg); }
.div-body { padding: 0 18px 16px; color: #ddd5d2; font-size: .98rem; }
@media (max-width: 1000px) { .divisions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .divisions { grid-template-columns: minmax(0, 1fr); } }

/* galleries: whole photos, even justified rows (width follows each photo's shape) */
.gal-sec { padding-top: 40px; }
.gallery { --row: 260px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gallery::after { content: ""; flex: 999999 1 0; }
.gallery li { position: relative; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--row)); }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--ox); }
.gallery img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: contain; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery .cap { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(7, 6, 6, .78); font-size: .82rem; color: #f0e8e5; line-height: 1.3; pointer-events: none;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery li:hover .cap, .gallery a:focus-visible + .cap { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery { --row: 210px; } }
@media (max-width: 560px) { .gallery { --row: 150px; gap: 6px; } .gallery .cap { display: none; } }
@media (hover: none) and (min-width: 561px) { .gallery .cap { opacity: 1; transform: none; } }

/* photo viewer */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(5, 4, 4, .96); color: var(--white); }
.lb::backdrop { background: rgba(5, 4, 4, .9); }
.lb-stage { position: absolute; inset: 64px 70px 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.lb-img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: 8px; pointer-events: auto; }
.lb-cap { margin: 0; color: #e8e0dd; text-align: center; max-width: 70ch; pointer-events: none; }
.lb-count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); margin: 0; font-weight: 600; color: var(--steel); pointer-events: none; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(28, 11, 12, .85); color: var(--white); cursor: pointer; z-index: 2; }
.lb-btn:hover { background: var(--red-btn); }
.lb-btn .ico { width: 26px; height: 26px; }
.lb-x { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-stage { inset: 70px 8px 90px; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* yoshin */
.yoshin-mark { margin: 0; max-width: 420px; }
.yoshin-mark img { border-radius: 50%; filter: drop-shadow(0 20px 50px rgba(209, 38, 47, .35)); }
.yoshin-banner { margin: 40px 0 0; }
.yoshin-banner img { border-radius: 18px; width: 100%; }
.price-line { font-size: 1.15rem; color: var(--steel); }
.price-line b { font: 800 2.4rem/1 var(--display); color: var(--white); margin-right: 6px; }
.how { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.how li { display: flex; gap: 14px; align-items: flex-start; color: #e8e0dd; }
.how b { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(209, 38, 47, .3); border: 1px solid rgba(255, 96, 102, .5); font: 700 .95rem/1 var(--display); }
.support-grid .chips-row { justify-content: flex-start; }

/* membership page */
.inside-sec { background: var(--ink); }
.mini-head { margin: 48px 0 16px; }
.prog-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prog-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--edge); }
.prog-list img { width: 48px; height: 48px; object-fit: contain; }
.prog-list b { display: block; color: var(--white); }
.prog-list small { color: var(--steel); }
@media (max-width: 900px) { .prog-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .prog-list { grid-template-columns: minmax(0, 1fr); } }
.faq-sec { background: var(--ox); }
.faq { border-bottom: 1px solid var(--edge); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 1.1rem/1.35 var(--display); color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq > div { padding: 0 0 18px; color: #ddd5d2; }

/* CTA card */
.cta-sec { padding-top: 40px; }
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px; border-radius: 26px;
  background: linear-gradient(120deg, rgba(209, 38, 47, .28), rgba(255, 138, 76, .1) 60%, rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); }
.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-card .lead { margin: 0; }
.cta-card .cta-row { margin: 0; }
@media (max-width: 600px) { .cta-card { padding: 30px 22px; } }

/* footer */
.site-foot { background: #040303; color: var(--steel); padding: 70px 0 28px; font-size: .98rem; border-top: 1px solid var(--edge); }
.foot-grid { display: grid; grid-template-columns: 1.4fr minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-brand img { height: 84px; width: auto; margin-bottom: 16px; }
.foot-kj { font: 600 1.05rem/1 var(--jp); color: rgba(255, 255, 255, .58); letter-spacing: .2em; }
.site-foot h2 { font: 600 1rem/1.3 var(--display); color: var(--white); margin: 0 0 14px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--steel); text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.soc { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--edge); font-size: .92rem; }
.foot-bottom p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links .linkish { color: var(--steel); text-decoration: none; }
.foot-links .linkish:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* legal + 404 */
.legal { max-width: 820px; }
.legal h2 { margin-top: 1.8em; padding-top: .7em; border-top: 1px solid var(--edge); font-size: 1.7rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.15rem; }
.legal ul { padding-left: 1.3em; }
.legal li, .legal p { color: #ddd5d2; font-size: 1.02rem; }
.legal strong { color: var(--white); }
.draft-note { padding: 12px 16px; border-radius: 12px; background: rgba(255, 138, 76, .12); border: 1px solid rgba(255, 138, 76, .35); color: #ffe3d3 !important; }
.nf { padding: calc(var(--head) + 40px) 0 100px; margin-top: calc(var(--head) * -1); background: radial-gradient(700px 500px at 80% 30%, rgba(209, 38, 47, .2), transparent 60%), var(--ink); }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.nf-photo { margin: 0; }
.nf-photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nf-code { font: 800 6rem/1 var(--display); margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }
.nf-links { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 800px) { .nf-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* consent bar */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-radius: 16px; background: rgba(22, 9, 9, .97); border: 1px solid var(--edge); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.consent p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.consent-btns { display: flex; gap: 10px; }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(28, 11, 12, .85); color: var(--white);
  display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* loops pause off screen (site.js); phones get a lighter hero: fewer embers, still glows */
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
@media (max-width: 760px) { .ember.e1, .ember.e2 { display: none; } .aur { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .enso { stroke-dashoffset: 0; }
  .js .hv-badge { opacity: 1; transform: none; }
  .ember { display: none; }
}
