/* ═══════════════════════════════════════════════════════════
   SHORINRYU BUKENKAN OF INDIA — Upgraded Premium Website
   Theme: Dark Obsidian / Ancient Gold / Ivory
   Tone: Ceremonial Luxury — like a master's scrolled certificate
   ═══════════════════════════════════════════════════════════ */

:root {
    --gold: #c8a951;
    --gold-lt: #e2c76e;
    --gold-dk: #96792e;
    --gold-glow: rgba(200, 169, 81, 0.3);
    --gold-faint: rgba(200, 169, 81, 0.08);

    --bg: #080808;
    --bg-2: #101010;
    --bg-3: #161616;
    --bg-4: #1e1e1e;
    --bg-5: #262626;

    --text: #f2ebd9;
    --text-70: rgba(242, 235, 217, 0.7);
    --text-30: rgba(242, 235, 217, 0.3);
    --text-10: rgba(242, 235, 217, 0.1);
    --text-05: rgba(242, 235, 217, 0.05);

    --wa-green: #25d366;

    --ff-display: "Cinzel", serif;
    --ff-body: "Nunito Sans", sans-serif;
    --ff-italic: "Cormorant Garamond", serif;

    --nav-h: 76px;
    --r: 4px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --t: 0.5s var(--ease);

    /* Legacy aliases */
    --obsidian: var(--bg);
    --ink: var(--bg-2);
    --ink-2: var(--bg-3);
    --ink-3: var(--bg-4);
    --ink-4: var(--bg-5);
    --ivory: var(--text);
    --ivory-70: var(--text-70);
    --ivory-30: var(--text-30);
    --ivory-10: var(--text-10);
    --ivory-05: var(--text-05);
}

[data-theme="light"] {
    --gold: #9a7b37;
    --gold-lt: #b8954f;
    --gold-dk: #7a6029;
    --gold-glow: rgba(154, 123, 55, 0.25);
    --gold-faint: rgba(154, 123, 55, 0.08);

    --bg: #faf8f3;
    --bg-2: #f0ece4;
    --bg-3: #e8e4da;
    --bg-4: #ddd8cd;
    --bg-5: #d0cbc0;

    --text: #1a1915;
    --text-70: rgba(26, 25, 21, 0.75);
    --text-30: rgba(26, 25, 21, 0.35);
    --text-10: rgba(26, 25, 21, 0.12);
    --text-05: rgba(26, 25, 21, 0.06);

    /* Legacy aliases */
    --obsidian: var(--bg);
    --ink: var(--bg-2);
    --ink-2: var(--bg-3);
    --ink-3: var(--bg-4);
    --ink-4: var(--bg-5);
    --ivory: var(--text);
    --ivory-70: var(--text-70);
    --ivory-30: var(--text-30);
    --ivory-10: var(--text-10);
    --ivory-05: var(--text-05);
}

[data-theme="red"] {
    --gold: #c41e3a;
    --gold-lt: #e63946;
    --gold-dk: #9a1830;
    --gold-glow: rgba(196, 30, 58, 0.3);
    --gold-faint: rgba(196, 30, 58, 0.08);

    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #161616;
    --bg-4: #1e1e1e;
    --bg-5: #262626;

    --text: #f5f5f5;
    --text-70: rgba(245, 245, 245, 0.75);
    --text-30: rgba(245, 245, 245, 0.35);
    --text-10: rgba(245, 245, 245, 0.12);
    --text-05: rgba(245, 245, 245, 0.06);

    --obsidian: var(--bg);
    --ink: var(--bg-2);
    --ink-2: var(--bg-3);
    --ink-3: var(--bg-4);
    --ink-4: var(--bg-5);
    --ivory: var(--text);
    --ivory-70: var(--text-70);
    --ivory-30: var(--text-30);
    --ivory-10: var(--text-10);
    --ivory-05: var(--text-05);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition:
        background 0.4s,
        color 0.4s;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: 28px;
}

.section-pad {
    padding: 112px 28px;
    max-width: 1350px;
    margin-inline: auto;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.85s var(--ease),
        transform 0.85s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ── Common components ── */
.eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.sec-title {
    font-family: var(--ff-display);
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ivory);
    margin-bottom: 24px;
}

.sec-title span {
    color: var(--gold);
}

.sec-title.center {
    text-align: center;
}

.sec-hdr {
    margin-bottom: 60px;
}

.sec-hdr .eyebrow,
.sec-hdr .sec-title,
.sec-hdr .gold-line {
    text-align: inherit;
}

.sec-sub {
    font-size: 1rem;
    color: var(--ivory-70);
    line-height: 1.7;
    max-width: 640px;
    margin: 20px auto 0;
    text-align: center;
}

.gold-line {
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    margin-bottom: 36px;
    position: relative;
    flex-shrink: 0;
}

.gold-line::after {
    content: "";
    position: absolute;
    inset: -2px 0;
    background: var(--gold-glow);
    filter: blur(5px);
}

.gold-line.center {
    margin-inline: auto;
}

.body-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--ivory-70);
    margin-bottom: 20px;
    font-weight: 300;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ff-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 15px 32px;
    border-radius: var(--r);
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(-102%);
    transition: transform 0.4s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-gold {
    background: var(--gold);
    color: var(--obsidian);
}

.btn-gold:hover {
    background: var(--gold-lt);
    box-shadow:
        0 0 28px var(--gold-glow),
        0 0 56px rgba(200, 169, 81, 0.15);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 0 20px var(--gold-faint);
    transform: translateY(-2px);
}

.hero .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
}

.hero .btn-ghost:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .btn-ghost {
    background: rgba(154, 123, 55, 0.08);
    color: #ffffff;
    border-color: rgba(154, 123, 55, 0.32);
}

[data-theme="light"] .btn-ghost:hover {
    background: rgba(154, 123, 55, 0.14);
    color: var(--gold-dk);
    border-color: var(--gold);
}

.btn-wa {
    background: transparent;
    color: var(--wa-green);
    border: 1px solid var(--wa-green);
}

.btn-wa:hover {
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 0 22px rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 11px 22px;
    font-size: 0.7rem;
}

/* ══════════════════════════════════════════
     NAVBAR
  ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.18) 68%,
            transparent 100%);
    --nav-fg: #f5efe2;
    --nav-muted: rgba(245, 239, 226, 0.82);
    transition:
        background 0.5s,
        box-shadow 0.5s,
        height 0.4s;
}

.navbar.scrolled {
    background: var(--bg-2);
    backdrop-filter: blur(18px);
    box-shadow:
        0 1px 0 rgba(200, 169, 81, 0.2),
        0 8px 40px rgba(0, 0, 0, 0.15);
    height: 62px;
    --nav-fg: var(--text);
    --nav-muted: var(--text-70);
}

[data-theme="light"] .navbar {
    background: rgba(250, 248, 243, 0.95);
    --nav-fg: #1a1915;
    --nav-muted: rgba(26, 25, 21, 0.8);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(18px);
    box-shadow:
        0 1px 0 rgba(154, 123, 55, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hamburger span {
    background: #1a1915;
}

[data-theme="light"] .nav-logo {
    color: #1a1915;
}

[data-theme="light"] .nav-link {
    color: var(--text);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--gold-dk);
}

[data-theme="light"] .nav-cta {
    background: var(--gold);
    color: #faf8f3 !important;
}

[data-theme="light"] .nav-cta:hover {
    background: var(--gold-lt);
    box-shadow: 0 0 20px rgba(154, 123, 55, 0.35);
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(26, 25, 21, 0.35);
    color: rgba(26, 25, 21, 0.7);
}

[data-theme="light"] .theme-toggle:hover {
    border-color: var(--gold-dk);
    color: var(--gold-dk);
}

.nav-inner {
    max-width: 1400px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--nav-fg);
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.nav-logo em {
    font-style: normal;
    color: var(--gold);
}

.nav-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 3px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nav-muted);
    position: relative;
    transition: color 0.3s;
    padding-block: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    transition: width 0.35s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold);
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.6rem;
    margin-left: 4px;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-2);
    border: 1px solid rgba(200, 169, 81, 0.2);
    border-radius: var(--r);
    padding: 12px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-70);
    transition: all 0.3s;
}

.dropdown-link:hover {
    color: var(--gold);
    background: var(--gold-faint);
}

.karate-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.karate-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(200, 169, 81, 0.1) 0%,
            transparent 70%);
}

.karate-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='rgba(200,169,81,0.03)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='rgba(200,169,81,0.02)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='rgba(200,169,81,0.02)' stroke-width='1'/%3E%3C/svg%3E") center/400px 400px repeat;
}

.karate-hero-content {
    position: relative;
    text-align: center;
    padding: 40px;
}

.nav-cta {
    background: var(--gold);
    color: var(--obsidian) !important;
    padding: 9px 20px;
    border-radius: var(--r);
    transition:
        background 0.3s,
        box-shadow 0.3s !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-lt) !important;
    box-shadow: 0 0 22px var(--gold-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--nav-fg);
    border-radius: 2px;
    transition: var(--t);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid color-mix(in srgb, var(--nav-fg) 28%, transparent);
    border-radius: var(--r);
    cursor: pointer;
    color: var(--nav-muted);
    transition: all 0.3s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* ══════════════════════════════════════════
     HERO
  ══════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 1.4s ease;
}

@keyframes gradientPan {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.slide.active {
    opacity: 1;
    background: linear-gradient(-45deg,
            var(--bg),
            var(--bg-3),
            color-mix(in srgb, var(--gold) 15%, var(--bg-2)),
            var(--bg));
    background-size: 400% 400%;
    animation: gradientPan 15s ease infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.68) 55%,
            rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(100deg, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-inline: 24px;
    max-width: 900px;
}

.hero-eyebrow {
    font-family: var(--ff-italic);
    font-style: italic;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--gold);
    opacity: 0.85;
    letter-spacing: 0.14em;
    margin-bottom: 22px;
    font-weight: 300;
}

.hero-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 60px rgba(0, 0, 0, 0.8);
}

.ht-line {
    display: block;
    color: #fff;
}

.ht-line.gold {
    color: var(--gold);
    text-shadow: 0 0 80px rgba(200, 169, 81, 0.35);
}

.hero-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.r-line {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dk));
}

.r-line:last-child {
    background: linear-gradient(90deg, var(--gold-dk), transparent);
}

.r-gem {
    color: var(--gold);
    font-size: 0.75rem;
}

.hero-sub {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 48px;
}

.hero-org-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.org-line {
    width: 40px;
    height: 1px;
    background: var(--gold-dk);
}

.org-text {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-org-title {
    font-family: var(--ff-display);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    text-align: center;
}

.hero-org-hq {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition:
        background 0.3s,
        width 0.3s;
    border-radius: 2px;
}

.dot.active {
    background: var(--gold);
    width: 44px;
}

.hero-scroll-hint {
    position: absolute;
    right: 36px;
    bottom: 36px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: floaty 2.5s ease-in-out infinite;
}

.hs-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--gold));
}

.hero-scroll-hint span {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    writing-mode: vertical-rl;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* ══════════════════════════════════════════
     STAT STRIP
  ══════════════════════════════════════════ */
.strip {
    background: var(--ink-2);
    border-top: 1px solid rgba(200, 169, 81, 0.12);
    border-bottom: 1px solid rgba(200, 169, 81, 0.12);
    padding: 28px 24px;
}

.strip-wrap {
    max-width: 900px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.s-num {
    font-family: var(--ff-display);
    font-size: 1.45rem;
    color: var(--gold);
    line-height: 1;
    font-weight: 700;
}

.s-lbl {
    font-size: 0.67rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ivory-70);
}

.s-sep {
    color: var(--gold-dk);
    font-size: 0.7rem;
    opacity: 0.6;
}

/* ══════════════════════════════════════════
     ABOUT
  ══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 56px;
    align-items: center;
}

.about.section-pad {
    padding-inline: 18px;
}

.about .container {
    padding-inline: 18px;
}

.a-img-frame {
    position: relative;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: var(--r);
    flex-shrink: 0;
    background: linear-gradient(180deg,
            rgba(200, 169, 81, 0.08),
            rgba(0, 0, 0, 0.06));
}

.a-img-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.9s var(--ease);
}

.a-img-frame:hover img {
    transform: scale(1.02);
}

.a-border {
    position: absolute;
    inset: -1px;
    border: 1px solid var(--gold-dk);
    border-radius: var(--r);
    pointer-events: none;
    box-shadow:
        inset 0 0 40px rgba(200, 169, 81, 0.06),
        0 0 40px rgba(200, 169, 81, 0.06);
}

.about-media {
    position: relative;
    padding: 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left,
            rgba(200, 169, 81, 0.16),
            transparent 42%),
        linear-gradient(180deg,
            rgba(255, 250, 239, 0.96),
            rgba(238, 231, 214, 0.92));
    border: 1px solid rgba(200, 169, 81, 0.2);
    box-shadow: 0 28px 60px rgba(120, 92, 24, 0.08);
}

.a-badge {
    position: absolute;
    bottom: -24px;
    right: -14px;
    width: 104px;
    height: 104px;
    background: var(--ink-3);
    border: 1px solid var(--gold-dk);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(200, 169, 81, 0.18);
}

.ab-yr {
    font-family: var(--ff-display);
    font-size: 1.65rem;
    color: var(--gold);
    line-height: 1;
    font-weight: 700;
}

.ab-txt {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ivory-70);
    text-align: center;
    line-height: 1.4;
}

.a-kanji {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--ff-display);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--ivory-10);
}

.pillar {
    text-align: center;
    padding: 20px 12px;
    background: var(--ivory-05);
    border: 1px solid var(--ivory-10);
    border-radius: var(--r);
    transition:
        border-color 0.35s,
        box-shadow 0.35s;
}

.pillar:hover {
    border-color: rgba(200, 169, 81, 0.3);
    box-shadow: 0 0 24px var(--gold-faint);
}

.p-ico {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pillar h4 {
    font-family: var(--ff-display);
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.pillar p {
    font-size: 0.76rem;
    color: var(--ivory-70);
    line-height: 1.5;
}

/* ══════════════════════════════════════════
     MASTERS
  ══════════════════════════════════════════ */
.masters {
    background: var(--ink-2);
    position: relative;
    padding: 112px 28px;
    overflow: hidden;
}

.masters-tex {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 64px,
            rgba(200, 169, 81, 0.022) 64px,
            rgba(200, 169, 81, 0.022) 65px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 64px,
            rgba(200, 169, 81, 0.022) 64px,
            rgba(200, 169, 81, 0.022) 65px);
    pointer-events: none;
}

/* Large founder cards */
.masters-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.mcard {
    display: flex;
    flex-direction: column;
    background: var(--ink-3);
    border: 1px solid rgba(200, 169, 81, 0.1);
    border-radius: var(--r);
    overflow: hidden;
    transition:
        border-color 0.4s,
        box-shadow 0.4s,
        transform 0.4s;
}

.mcard:hover {
    border-color: rgba(200, 169, 81, 0.35);
    box-shadow:
        0 12px 60px rgba(0, 0, 0, 0.6),
        0 0 60px var(--gold-faint);
    transform: translateY(-5px);
}

.mc-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    flex-shrink: 0;
}

.mc-img img {
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease);
}

.mcard:hover .mc-img img {
    transform: scale(1.06);
}

.mc-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(200, 169, 81, 0.08) 0%,
            transparent 50%);
    pointer-events: none;
}

.mc-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, var(--ink-3), transparent);
    pointer-events: none;
}

.mc-body {
    padding: 32px;
}

.mc-rank {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mc-rank::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    background: var(--gold);
}

.mc-name {
    font-family: var(--ff-display);
    font-size: 1.45rem;
    color: var(--ivory);
    margin-bottom: 6px;
    font-weight: 700;
}

.mc-role {
    font-size: 0.8rem;
    color: var(--ivory-70);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.mc-div {
    width: 36px;
    height: 1px;
    background: var(--gold-dk);
    margin-bottom: 18px;
}

.mc-bio {
    font-size: 0.87rem;
    line-height: 1.8;
    color: var(--ivory-70);
    margin-bottom: 24px;
    font-weight: 300;
}

.mc-creds {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mc-creds li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--ivory-70);
}

.cd {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* India masters grid */
.india-label {
    margin-bottom: 32px;
}

.india-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.india-grid .icard {
    width: calc(33.333% - 24px);
    max-width: 340px;
    min-width: 280px;
}

.icard {
    background: var(--ink-3);
    border: 1px solid rgba(200, 169, 81, 0.08);
    border-radius: var(--r);
    overflow: hidden;
    transition:
        border-color 0.4s,
        box-shadow 0.4s,
        transform 0.4s;
    display: flex;
    flex-direction: column;
}

.icard:hover {
    border-color: rgba(200, 169, 81, 0.3);
    box-shadow:
        0 8px 48px rgba(0, 0, 0, 0.5),
        0 0 40px var(--gold-faint);
    transform: translateY(-4px);
}

.ic-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.ic-img4 {
    position: absolute;
}

.ic-img img {
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease);
}

.icard:hover .ic-img img {
    transform: scale(1.08);
}

.ic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--ink-3) 0%, transparent 55%);
}

.ic-dan {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: var(--obsidian);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}

.ic-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ic-name {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    color: var(--ivory);
    margin-bottom: 4px;
    font-weight: 700;
}

.ic-role {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    font-weight: 600;
}

.ic-bio {
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--ivory-70);
    margin-bottom: 16px;
    flex: 1;
    font-weight: 300;
}

.ic-creds {
    border-top: 1px solid var(--ivory-10);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.ic-creds li {
    font-size: 0.73rem;
    color: var(--ivory-30);
    padding-left: 12px;
    position: relative;
}

.ic-creds li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold-dk);
    font-size: 0.65rem;
}

/* ══════════════════════════════════════════
     INSTRUCTORS
  ══════════════════════════════════════════ */
.instructors {
    background: var(--obsidian);
}

.instr-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.instr-grid .instr-card {
    width: calc(25% - 20px);
    max-width: 220px;
    min-width: 160px;
}

.instr-card {
    background: var(--ink-2);
    border: 1px solid rgba(200, 169, 81, 0.08);
    border-radius: var(--r);
    overflow: hidden;
    text-align: center;
    height: 420px;
    transition:
        border-color 0.4s,
        box-shadow 0.4s,
        transform 0.35s;
}

.instr-card:hover {
    border-color: rgba(200, 169, 81, 0.3);
    box-shadow: 0 0 40px var(--gold-faint);
    transform: translateY(-4px);
}

.instr-img {
    position: relative;
    aspect-ratio: 1;
    height: 340px;
    overflow: hidden;
}

.instr-img img {
    transition: transform 0.8s var(--ease);
}

.instr-card:hover .instr-img img {
    transform: scale(1.1);
}

.instr-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 50%,
            rgba(0, 0, 0, 0.65) 100%);
}

.instr-dan-badge {
    background: var(--gold);
    color: var(--obsidian);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 12px;
    display: inline-block;
    margin-top: -14px;
    position: relative;
    z-index: 1;
    border-radius: 2px;
}

.instr-name {
    font-family: var(--ff-display);
    font-size: 0.88rem;
    color: var(--ivory);
    margin: 12px 16px 4px;
    font-weight: 600;
}

.instr-rank {
    font-size: 0.72rem;
    color: var(--ivory-70);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
     PHILOSOPHY
  ══════════════════════════════════════════ */
.philosophy {
    position: relative;
    padding: 160px 28px;
    text-align: center;
    overflow: hidden;
}

.phil-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(60%);
}

.phil-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(8, 8, 8, 0.92) 0%,
            rgba(8, 8, 8, 0.82) 50%,
            rgba(8, 8, 8, 0.92) 100%);
}

.phil-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-inline: auto;
}

.phil-qmark {
    font-family: var(--ff-italic);
    font-size: 9rem;
    color: var(--gold);
    opacity: 0.12;
    line-height: 0.8;
    margin-bottom: -30px;
    pointer-events: none;
    user-select: none;
}

.phil-quote {
    font-family: var(--ff-italic);
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 1.95rem);
    font-weight: 300;
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: 28px;
}

.phil-cite {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
    font-style: normal;
}

.phil-kanji {
    font-family: var(--ff-display);
    font-size: clamp(5rem, 14vw, 9rem);
    color: var(--gold);
    opacity: 0.06;
    line-height: 1;
    margin-top: 20px;
    pointer-events: none;
    user-select: none;
}

/* ══════════════════════════════════════════
     DOJOS
  ══════════════════════════════════════════ */
.dojos {
    background: var(--ink-2);
}

.dojos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.dojo-card {
    background: var(--ink-3);
    border: 1px solid rgba(200, 169, 81, 0.08);
    border-radius: var(--r);
    padding: 36px 28px 28px;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s,
        box-shadow 0.4s,
        transform 0.4s;
}

.dojo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.dojo-card:hover {
    border-color: rgba(200, 169, 81, 0.3);
    box-shadow:
        0 8px 48px rgba(0, 0, 0, 0.5),
        0 0 50px var(--gold-faint);
    transform: translateY(-4px);
}

.dojo-card:hover::before {
    opacity: 1;
}

[data-theme="light"] .dojo-card {
    background: var(--bg-3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .dojo-card:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 30px var(--gold-faint);
}

.dj-num {
    font-family: var(--ff-display);
    font-size: 3.5rem;
    color: var(--gold);
    opacity: 0.1;
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
    font-weight: 900;
}

.dj-ico {
    font-size: 2rem;
    margin-bottom: 16px;
}

.dj-name {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    color: var(--ivory);
    margin-bottom: 10px;
    font-weight: 700;
}

.dj-loc {
    font-size: 0.82rem;
    color: var(--ivory-70);
    line-height: 1.6;
    margin-bottom: 12px;
}

.dj-hrs {
    font-size: 0.75rem;
    color: var(--ivory-30);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.dj-hrs svg {
    color: var(--gold);
    flex-shrink: 0;
}

.dj-tag {
    display: inline-block;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    background: var(--gold-faint);
    border: 1px solid rgba(200, 169, 81, 0.25);
    color: var(--gold);
}

.dj-tag.primary {
    background: var(--gold);
    color: var(--obsidian);
    border-color: var(--gold);
}

.dj-tag.expand {
    color: var(--ivory-70);
    border-color: var(--ivory-10);
    background: var(--ivory-05);
}

/* ══════════════════════════════════════════
     GALLERY
  ══════════════════════════════════════════ */
.gallery {
    position: relative;
}

.gal-dark {
    position: absolute;
    inset: 0;
    background: var(--ink);
    pointer-events: none;
}

.gallery .container {
    position: relative;
    z-index: 1;
}

.gal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 8px;
    align-items: start;
}

.gi {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: rgba(200, 169, 81, 0.06);
}

.gi.span2 {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.gi img {
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s var(--ease);
    will-change: transform;
}

.gi:hover img {
    transform: scale(1.1);
}

.gi-cap {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 40%,
            rgba(0, 0, 0, 0.82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gi-cap span {
    font-family: var(--ff-italic);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold-lt);
    letter-spacing: 0.05em;
}

.gi:hover .gi-cap {
    opacity: 1;
}

.gi::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-dk);
    border-radius: var(--r);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.gi:hover::after {
    opacity: 1;
}

.gal-more {
    text-align: center;
    margin-top: 44px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lb-wrap {
    max-width: 90vw;
    max-height: 88vh;
    text-align: center;
}

.lb-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--r);
    border: 1px solid var(--gold-dk);
}

.lb-cap {
    font-family: var(--ff-italic);
    font-style: italic;
    color: var(--gold);
    margin-top: 14px;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.lb-close,
.lb-prev,
.lb-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.68);
    color: #fff;
    cursor: pointer;
    border-radius: var(--r);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    transition: all 0.3s;
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-close {
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: var(--gold);
    color: var(--obsidian);
    border-color: var(--gold);
}

/* ══════════════════════════════════════════
     CONTACT
  ══════════════════════════════════════════ */
.contact {
    position: relative;
    background: var(--ink-2);
}

.contact-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 50%,
            rgba(200, 169, 81, 0.05) 0%,
            transparent 70%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.ct-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.info-box {
    background: var(--ink-3);
    border: 1px solid rgba(200, 169, 81, 0.12);
    border-radius: var(--r);
    padding: 36px;
}

.ib-hd {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    color: var(--ivory);
    margin-bottom: 28px;
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ivory-10);
}

.ib-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.ib-ico {
    width: 36px;
    height: 36px;
    background: var(--gold-faint);
    border: 1px solid rgba(200, 169, 81, 0.2);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.ib-lbl {
    font-size: 0.67rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 600;
}

.ib-val {
    font-size: 0.88rem;
    color: var(--ivory-70);
    line-height: 1.55;
}

.ib-val.link {
    color: var(--gold);
    transition: color 0.3s;
}

.ib-val.link:hover {
    color: var(--gold-lt);
}

/* ══════════════════════════════════════════
     FOOTER
  ══════════════════════════════════════════ */
.footer {
    background: var(--obsidian);
    border-top: 1px solid rgba(200, 169, 81, 0.12);
}

.ft-top {
    padding: 80px 28px 30px;
}

.ft-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid var(--ivory-10);
    padding-bottom: 60px;
}

.ft-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.ft-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.ft-logo-txt {
    display: block;
    font-family: var(--ff-display);
    font-size: 0.95rem;
    color: var(--ivory);
    font-weight: 700;
}

.ft-logo-txt em {
    font-style: normal;
    color: var(--gold);
}

.ft-logo-sub {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory-80);
    margin-top: 2px;
}

.ft-tag {
    font-size: 0.83rem;
    line-height: 1.7;
    color: var(--ivory-70);
    max-width: 280px;
    margin-bottom: 24px;
    font-weight: 300;
}

.ft-h {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}

.ft-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-list li,
.ft-list a {
    font-size: 0.82rem;
    color: var(--ivory-70);
    line-height: 1.4;
    transition: color 0.3s;
}

.ft-list a:hover,
.ft-contact a:hover {
    color: var(--gold);
}

.ft-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ft-contact li svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.ft-bottom {
    padding: 0px 28px 26px;
}

.ft-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.76rem;
    color: #757575;
}

.ft-aff {
    color: var(--ivory-30);
}

/* Back-to-top */
.back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--obsidian);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--gold-lt);
    transform: translateY(-3px);
}

/* ═══════ PAGE HEADER (for dojos.html & weapons.html) ═══════ */
.page-header {
    position: relative;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--nav-h);
}

.ph-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.ph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(8, 8, 8, 0.5) 0%,
            rgba(8, 8, 8, 0.75) 100%);
}

.ph-content {
    position: relative;
    text-align: center;
    padding: 0 20px;
    animation: fadeUp 1s var(--ease) both;
}

.ph-title {
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.ph-title span {
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.ph-sub {
    font-family: var(--ff-italic);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════ CTA SECTION ═══════ */
.cta-section {
    padding: 80px 20px;
    background: var(--ink);
}

.cta-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
    background: var(--ink-2);
    border: 1px solid var(--ivory-10);
    border-radius: var(--r);
}

.cta-title {
    font-family: var(--ff-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-70);
    margin-bottom: 28px;
    line-height: 1.6;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

[data-theme="light"] .cta-section {
    background: var(--bg-2);
}

[data-theme="light"] .cta-box {
    background: var(--bg-3);
    border-color: var(--ivory-10);
}

.back-top.show {
    opacity: 1;
    pointer-events: all;
    transform: none;
}

.back-top:hover {
    background: var(--gold-lt);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════
      RESPONSIVE — TABLET 1024
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Hero Tablet */
    .hero {
        min-height: 650px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .hero-sub {
        font-size: 0.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .masters-duo {
        grid-template-columns: 1fr;
    }

    .india-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instr-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dojos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 48px;
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .ft-brand {
        grid-column: span 2;
    }
}

/* ══════════════════════════════════════════
     RESPONSIVE — MOBILE 768
  ══════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
    }

    .navbar {
        padding: 8px 12px;
    }

    .nav-inner {
        padding-inline: 12px;
    }

    .nav-logo {
        gap: 8px;
    }

    .nav-logo-text {
        font-size: 0.9rem;
    }

    .nav-logo img {
        height: 36px !important;
        margin-right: 6px !important;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-left: 4px;
    }

    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }

    .hamburger {
        padding: 6px;
        margin-right: 4px;
    }

    .hamburger span {
        width: 18px;
        height: 2px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 600px;
        height: 100svh;
    }

    .hero-content {
        padding-inline: 20px;
        max-width: 100%;
    }

    .hero-eyebrow {
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.8rem);
        margin-bottom: 16px;
    }

    .hero-rule {
        gap: 12px;
        margin-bottom: 16px;
    }

    .r-line {
        width: 50px;
    }

    .r-gem {
        font-size: 0.65rem;
    }

    .hero-org-name {
        gap: 10px;
        margin-bottom: 6px;
    }

    .org-line {
        width: 28px;
    }

    .org-text {
        font-size: 0.95rem;
    }

    .hero-org-title {
        font-size: clamp(0.85rem, 2.2vw, 1.1rem);
    }

    .hero-org-hq {
        font-size: 0.7rem;
        margin-bottom: 12px;
    }

    .hero-sub {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
        margin-bottom: 28px;
    }

    .hero-btns {
        gap: 12px;
    }

    .hero-btns .btn {
        padding: 14px 24px;
        font-size: 0.85rem;
    }

    .section-pad {
        padding: 20px 20px;
    }

    /* Page Header Mobile */
    .page-header {
        height: 40vh;
        min-height: 280px;
    }

    .ph-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .ph-sub {
        font-size: 1.1rem;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 60px 16px;
    }

    .cta-box {
        padding: 36px 24px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Nav mobile */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg-2);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 8px 0 24px;
        border-bottom: 1px solid rgba(200, 169, 81, 0.15);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-links.open {
        display: flex !important;
    }

    .nav-link {
        display: flex;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        display: flex;
        width: calc(100% - 32px);
        margin: 8px 16px 0;
        text-align: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg-2);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 16px 0 36px;
        border-bottom: 1px solid rgba(200, 169, 81, 0.15);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-links.open {
        display: flex !important;
    }

    .nav-link {
        display: flex;
        width: 100%;
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        display: flex;
        width: calc(100% - 48px);
        margin: 12px 24px 0;
        text-align: center;
        justify-content: center;
    }

    /* Mobile dropdown - accordion style */
    .nav-dropdown {
        display: flex;
        flex-direction: column;
    }

    .nav-dropdown>.nav-link {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-arrow {
        display: block;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.mobile-open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: flex !important;
        flex-direction: column;
        opacity: 1 !important;
        visibility: visible !important;
        position: static;
        background: transparent;
        border: none;
        padding: 0 !important;
        margin: 0;
        box-shadow: none;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-dropdown.mobile-open .dropdown-menu {
        max-height: 250px;
    }

    .dropdown-link {
        padding: 10px 16px 10px 24px;
        font-size: 0.75rem;
        position: relative;
    }

    .dropdown-link::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(200, 169, 81, 0.2);
    }

    /* Hero */
    .hero-scroll-hint {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3.5rem);
    }

    .hero-rule {
        gap: 12px;
    }

    .r-line {
        width: 50px;
    }

    .hero-sub {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        margin-bottom: 32px;
    }

    .hero-org-name {
        gap: 12px;
    }

    .org-line {
        width: 30px;
    }

    .hero-org-title {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about.section-pad {
        padding-inline: 14px;
    }

    .about .container {
        padding-inline: 14px;
    }

    .a-badge {
        bottom: -12px;
        right: -8px;
        width: 88px;
        height: 88px;
    }

    .ab-yr {
        font-size: 1.4rem;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    /* Masters */
    .masters-duo {
        grid-template-columns: 1fr;
    }

    .india-grid {
        grid-template-columns: 1fr;
    }

    /* Instructors */
    .instr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Dojos */
    .dojos-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gal-grid {
        grid-template-columns: 1fr;
    }

    .gi.span2 {
        grid-column: auto;
        aspect-ratio: 4/3;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-btns {
        flex-direction: column;
    }

    .ct-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .ft-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ft-brand {
        grid-column: auto;
    }

    .ft-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Lightbox */
    .lb-prev {
        left: 8px;
    }

    .lb-next {
        right: 8px;
    }
}

/* ══════════════════════════════════════════
      GALLERY PAGE STYLES
      (Moved to gallery.blade.php inline)
   ══════════════════════════════════════════ */

@media (max-width: 480px) {
    .strip-wrap {
        gap: 18px;
    }

    .s-sep {
        display: none;
    }

    .instr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-pillars {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
    }

    .hero-content {
        padding-inline: 16px;
    }

    .hero-btns {
        gap: 10px;
    }

    .hero-btns .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* ═══════ WEAPON STORE (ECOMMERCE) ═══════ */
.weapon-store {
    background: var(--ink);
}

.weapon-store .sec-sub {
    max-width: 600px;
    margin: 20px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.product-card {
    background: var(--ink-2);
    border: 1px solid rgba(200, 169, 81, 0.1);
    border-radius: var(--r);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    border-color: rgba(200, 169, 81, 0.4);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 0 40px var(--gold-faint);
    transform: translateY(-6px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ink-3);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--obsidian);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 2px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    color: var(--ivory);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--ivory-70);
    line-height: 1.5;
    margin-bottom: 16px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.price-current {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
}

.price-original {
    font-size: 0.85rem;
    color: var(--ivory-30);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

.btn-buy {
    background: var(--gold);
    color: var(--obsidian);
}

.btn-buy:hover {
    background: var(--gold-lt);
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-cart {
    background: rgba(200, 169, 81, 0.15);
    color: var(--gold);
    border: 1px solid rgba(200, 169, 81, 0.3);
}

.btn-cart:hover {
    background: rgba(200, 169, 81, 0.25);
    border-color: var(--gold);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-pad {
        padding: 20px 20px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 360px;
        margin: 0 auto;
        width: 100%;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-desc {
        font-size: 0.75rem;
    }

    .price-current {
        font-size: 1.1rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 8px;
    }

    .product-actions .btn {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

::selection {
    background: var(--gold);
    color: var(--obsidian);
}

/* ── Focus ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ── PRELOADER SCREEN ── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.4s ease,
        visibility 0.4s;
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.pc-kanji {
    font-family: var(--ff-display);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0;
    animation: fadeInKanji 0.5s ease forwards 0.1s;
}

.pc-line {
    width: 0;
    height: 2px;
    background: var(--gold);
    margin: 12px auto;
    border-radius: 2px;
    animation: growLine 0.4s ease forwards 0.4s;
}

.pc-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.pc-dots span {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: dotPulse 0.7s ease infinite;
}

.pc-dots span:nth-child(2) {
    animation-delay: 0.1s;
}

.pc-dots span:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeInKanji {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes growLine {
    to {
        width: 50px;
    }
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}