@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --black: #050505;
    --black-soft: #0b0b0d;
    --velvet: #190507;
    --velvet-deep: #2a080d;
    --gold: #d4af37;
    --gold-soft: #f0dda0;
    --gold-dim: #c9a34a;
    --crimson: #6b0f1a;
    --crimson-soft: #8b1e2d;
    --ivory: #f5f0e6;
    --text: #d8d1c2;
    --muted: #a59b87;
    --line: rgba(215, 189, 115, 0.28);
    --panel: rgba(18, 13, 12, 0.78);
    --panel-strong: rgba(30, 12, 13, 0.88);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    --max: 1120px;
    --header-height: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, rgba(5, 4, 4, 0.96), rgba(18, 5, 7, 0.96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
    color: var(--text);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(143, 24, 33, 0.18), transparent 36%),
        linear-gradient(250deg, rgba(215, 189, 115, 0.12), transparent 42%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
    opacity: 0.045;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -1;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1.1rem;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(215, 189, 115, 0.12);
    background: rgba(5, 4, 4, 0.56);
    backdrop-filter: blur(14px);
    transition: background 240ms ease, height 240ms ease;
}

.site-header.is-scrolled {
    height: 62px;
    background: rgba(5, 4, 4, 0.92);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ivory);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 50%;
    object-fit: contain;
    background: #050505;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.16);
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
}

.brand-text span {
    font-size: 1.18rem;
}

.brand-text small {
    color: var(--gold);
    font-size: 0.74rem;
}

.site-nav {
    position: fixed;
    top: var(--header-height);
    right: 1rem;
    left: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    max-height: calc(100svh - var(--header-height) - 1rem);
    padding: 0.75rem;
    overflow-y: auto;
    border: 1px solid rgba(215, 189, 115, 0.2);
    border-radius: 8px;
    background: rgba(8, 5, 5, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.48rem 0.62rem;
    border: 1px solid rgba(215, 189, 115, 0.22);
    border-radius: 999px;
    color: var(--ivory);
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    transition: color 180ms ease;
}

.site-nav a:hover {
    color: var(--gold-soft);
}

.nav-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    background-color: rgba(5, 4, 4, 0.72);
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor);
    background-position:
        center calc(50% - 6px),
        center center,
        center calc(50% + 6px);
    background-repeat: no-repeat;
    background-size: 18px 2px;
    color: var(--ivory);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle::after {
    content: "";
    display: none;
}

@media (min-width: 1041px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        grid-template-columns: none;
        align-items: center;
        gap: 1.2rem;
        max-height: none;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .site-nav a {
        display: inline;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: var(--muted);
        font-size: 0.82rem;
        text-align: left;
    }
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 86svh;
    display: grid;
    align-items: center;
    padding: calc(var(--header-height) + 3rem) 2rem 4rem;
    overflow: hidden;
    background: var(--black);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.6) 42%, rgba(5, 5, 5, 0.2) 72%, rgba(5, 5, 5, 0.62) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.94)),
        url("/masquerade_club/assets/img/masquerade-club-hero.png") center center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    background: linear-gradient(180deg, transparent, var(--black-soft));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    margin: 0 auto 0 max(4vw, calc((100vw - var(--max)) / 2));
}

.eyebrow {
    margin-bottom: 0.9rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    color: var(--ivory);
    line-height: 1.08;
}

h1 {
    max-width: 720px;
    font-size: 4.7rem;
    font-weight: 700;
}

h1 span {
    display: block;
    margin-top: 0.7rem;
    color: var(--gold-soft);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

h2 {
    color: var(--gold-soft);
    font-size: 2.8rem;
    font-weight: 700;
}

.section-title-ja {
    display: block;
    margin-top: 0.65rem;
    color: var(--muted);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
}

h3 {
    color: var(--ivory);
    font-size: 1.35rem;
}

.lead {
    max-width: 680px;
    margin-top: 2rem;
    color: var(--text);
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.2rem;
}

.button-primary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

.button-primary {
    border: 1px solid rgba(215, 189, 115, 0.7);
    background: linear-gradient(180deg, #dfc879, #9f7935);
    color: #170f08;
    box-shadow: 0 14px 34px rgba(143, 24, 33, 0.3);
}

.hero-actions .button-primary,
.contact-card .button-primary,
.cta-strong .button-primary {
    color: var(--ivory);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.hero-actions .button-primary i,
.contact-card .button-primary i,
.cta-strong .button-primary i {
    color: var(--gold-soft);
}

.button-ghost {
    border: 1px solid rgba(247, 240, 223, 0.24);
    background: rgba(5, 4, 4, 0.46);
    color: var(--ivory);
}

.section-inner {
    width: min(var(--max), calc(100% - 3rem));
    margin: 0 auto;
}

.intro-band {
    padding: 4.6rem 0;
    background:
        linear-gradient(90deg, rgba(143, 24, 33, 0.2), transparent),
        rgba(11, 8, 8, 0.92);
    border-top: 1px solid rgba(215, 189, 115, 0.14);
    border-bottom: 1px solid rgba(215, 189, 115, 0.12);
}

.intro-layout,
.split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.intro-copy {
    color: var(--text);
    font-size: 1.02rem;
}

.brand-emblem {
    width: min(260px, 72vw);
    margin: 2rem 0 0;
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.48), 0 0 32px rgba(212, 175, 55, 0.12);
}

.brand-emblem img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.about-section {
    background:
        linear-gradient(135deg, rgba(107, 15, 26, 0.16), transparent 46%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.78));
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: 3rem;
    align-items: center;
}

.about-copy p:not(.eyebrow) {
    margin-top: 1.1rem;
    color: var(--text);
}

.about-visual {
    margin: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(5, 5, 5, 0.7);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.about-visual img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.9) brightness(0.86);
}

.section-panel {
    padding: 6.5rem 0;
}

.section-heading {
    max-width: 720px;
}

.section-heading.centered {
    margin: 0 auto 2.3rem;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    margin-top: 1.1rem;
    color: var(--muted);
}

.category-note {
    max-width: 760px;
    margin: 1rem auto 0;
    color: var(--text);
    font-size: 0.98rem;
}

.rule-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2.4rem 0 0;
    padding: 0;
    list-style: none;
}

.rule-list li {
    min-height: 178px;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(143, 24, 33, 0.22), rgba(10, 7, 7, 0.82)),
        var(--panel);
    box-shadow: var(--shadow);
}

.rule-list span {
    display: block;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    font-weight: 700;
}

.rule-list p {
    margin: 1.4rem 0 0;
    color: var(--ivory);
    font-size: 1rem;
    font-weight: 700;
}

.image-story {
    width: min(var(--max), calc(100% - 3rem));
    margin: 1rem auto 5.2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
}

.story-image {
    min-height: 360px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.86) contrast(1.08) brightness(0.74);
}

.story-copy {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-copy p:last-child {
    margin-top: 1.4rem;
    color: var(--text);
}

.event-style-section {
    padding-top: 2rem;
}

.style-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.4rem;
}

.style-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(32, 12, 13, 0.94), rgba(7, 5, 5, 0.96));
    box-shadow: var(--shadow);
}

.style-thumb {
    height: 210px;
    overflow: hidden;
    border-bottom: 1px solid rgba(215, 189, 115, 0.16);
    background: var(--black);
}

.style-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.86) contrast(1.08) brightness(0.72);
    transition: transform 240ms ease, filter 240ms ease;
}

.style-card:hover .style-thumb img {
    transform: scale(1.035);
    filter: saturate(0.92) contrast(1.1) brightness(0.82);
}

.style-copy {
    padding: 1.35rem;
}

.style-label {
    margin: 0 0 0.55rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.style-copy p:last-child {
    margin: 0.85rem 0 0;
    color: var(--muted);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.4rem;
}

.social-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
    gap: 1rem;
    max-width: 640px;
    margin: 2.4rem auto 0;
}

.info-card,
.text-panel,
.social-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.info-card {
    min-height: 218px;
    padding: 1.45rem;
}

.card-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-card i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(215, 189, 115, 0.34);
    border-radius: 8px;
    color: var(--gold);
    background: rgba(143, 24, 33, 0.2);
}

.info-card p {
    margin-top: 0.85rem;
    color: var(--muted);
}

.text-panel {
    padding: 2rem;
}

.text-panel p {
    padding: 1rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(215, 189, 115, 0.14);
    color: var(--ivory);
}

.text-panel p:first-child {
    padding-top: 0;
}

.text-panel p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.reverse {
    grid-template-columns: 0.82fr 1.18fr;
}

.costume-visual {
    height: 460px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.costume-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: contrast(1.1) saturate(0.9) brightness(0.72);
}

.gallery-section {
    background:
        linear-gradient(180deg, rgba(13, 8, 8, 0.8), rgba(5, 5, 5, 0.94)),
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 42%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-auto-rows: 260px;
    gap: 1rem;
    margin-top: 2.4rem;
}

.gallery-item {
    position: relative;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--black);
    box-shadow: var(--shadow);
}

.gallery-wide {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.82) contrast(1.08) brightness(0.76);
    transition: transform 240ms ease, filter 240ms ease;
}

.gallery-wide img {
    object-position: center right;
}

.gallery-item:hover img {
    transform: scale(1.035);
    filter: saturate(0.92) contrast(1.12) brightness(0.84);
}

.archive-section {
    background:
        linear-gradient(135deg, rgba(107, 15, 26, 0.14), transparent 48%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(16, 7, 8, 0.94));
}

.archive-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.4rem;
}

.archive-card {
    display: grid;
    grid-template-rows: 220px auto auto 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(31, 12, 13, 0.9), rgba(8, 5, 5, 0.98));
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease;
}

.archive-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 223, 167, 0.7);
}

.archive-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.86) contrast(1.08) brightness(0.72);
}

.archive-card span,
.archive-card strong,
.archive-card small {
    margin-right: 1.25rem;
    margin-left: 1.25rem;
}

.archive-card span {
    margin-top: 1.2rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.archive-card strong {
    margin-top: 0.28rem;
    color: var(--ivory);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    line-height: 1.25;
}

.archive-card small {
    margin-top: 0.75rem;
    margin-bottom: 1.35rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.archive-hero {
    position: relative;
    min-height: 62svh;
    display: grid;
    align-items: end;
    padding: calc(var(--header-height) + 4rem) 2rem 5rem;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.46)),
        linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.98)),
        url("/masquerade_club/assets/img/masquerade-club-hero.png") center center / cover no-repeat;
}

.archive-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 88px;
    background: linear-gradient(180deg, transparent, var(--black-soft));
}

.archive-hero-content {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    margin: 0 auto 0 max(4vw, calc((100vw - var(--max)) / 2));
}

.archive-hero h1 {
    font-size: 4rem;
}

.archive-lead {
    max-width: 720px;
    margin-top: 1.5rem;
    color: var(--text);
    font-size: 1.02rem;
}

.archive-return {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
    color: var(--gold-soft);
    font-weight: 700;
}

.archive-page-section {
    padding: 6rem 0;
}

.archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2.6rem;
    align-items: start;
}

.archive-visual,
.archive-essay,
.archive-step,
.archive-note,
.source-note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.archive-visual {
    margin: 0;
    overflow: hidden;
}

.archive-visual img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.82) contrast(1.08) brightness(0.78);
}

.archive-essay {
    padding: 2rem;
}

.archive-essay p {
    color: var(--text);
}

.archive-essay h2,
.archive-essay h3 {
    margin: 1.8rem 0 0.7rem;
    color: var(--gold-soft);
    font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
    line-height: 1.35;
}

.archive-essay h2 {
    font-size: 1.85rem;
}

.archive-essay h3 {
    font-size: 1.35rem;
}

.essay-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.archive-essay p:last-child {
    margin-bottom: 0;
}

.pull-quote {
    margin: 0 0 1.6rem;
    padding: 1.2rem 1.35rem;
    border-left: 2px solid var(--gold);
    color: var(--gold-soft);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    line-height: 1.45;
    background: rgba(107, 15, 26, 0.16);
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.archive-step,
.archive-note {
    padding: 1.35rem;
}

.archive-step span {
    display: block;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.archive-step h3,
.archive-note h3 {
    margin-top: 0.7rem;
}

.archive-step p,
.archive-note p {
    margin-top: 0.85rem;
    color: var(--muted);
}

.source-note {
    margin-top: 2rem;
    padding: 1.3rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 880px;
    margin: 2.4rem auto 0;
}

.faq-item {
    padding: 1.35rem 1.45rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(107, 15, 26, 0.14), transparent 58%),
        var(--panel);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.faq-item h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item p {
    margin: 0.65rem 0 0;
    color: var(--muted);
}

.contact-section {
    padding: 6.5rem 0 7rem;
    background:
        linear-gradient(180deg, rgba(143, 24, 33, 0.16), rgba(5, 4, 4, 0.94)),
        var(--velvet);
    border-top: 1px solid rgba(215, 189, 115, 0.18);
}

.social-card {
    --accent: var(--gold);
    position: relative;
    min-height: 190px;
    padding: 1.65rem;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 1.05rem;
    row-gap: 0.35rem;
    align-items: start;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(240, 223, 167, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(31, 12, 13, 0.94), rgba(9, 6, 6, 0.94));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 42%);
    opacity: 0.38;
    pointer-events: none;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 223, 167, 0.74);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.56), 0 0 28px rgba(215, 189, 115, 0.12);
}

.social-icon {
    display: inline-grid;
    place-items: center;
    grid-row: 1 / span 3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--ivory);
    font-size: 1.45rem;
    position: relative;
    z-index: 1;
    transition: transform 180ms ease, border-color 180ms ease;
}

.social-card:hover .social-icon {
    transform: scale(1.04);
}

.x-card .social-icon {
    border: 1px solid rgba(240, 223, 167, 0.62);
    background: #050505;
}

.x-card {
    --accent: #f0dfa7;
}

.service {
    display: block;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.social-card strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--ivory);
    font-size: 1rem;
    line-height: 1.45;
    position: relative;
    z-index: 1;
}

.social-card small {
    display: block;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.social-actions {
    position: relative;
    z-index: 1;
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.15rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
}

.social-button.primary {
    border: 1px solid rgba(240, 223, 167, 0.72);
    background: linear-gradient(180deg, #dfc879, #9f7935);
    color: #170f08;
}

.social-button.ghost {
    border: 1px solid rgba(245, 240, 230, 0.22);
    background: rgba(5, 5, 5, 0.36);
    color: var(--ivory);
}

.site-footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(215, 189, 115, 0.18);
    background: #030303;
}

.footer-inner {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.footer-inner p {
    margin: 0;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-inner a:hover {
    color: var(--gold-soft);
}

@media (max-width: 1040px) {
    .site-header {
        padding: 0 1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 1rem;
        left: 1rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding: 0.75rem;
        border: 1px solid rgba(215, 189, 115, 0.2);
        border-radius: 8px;
        background: rgba(8, 5, 5, 0.96);
        box-shadow: var(--shadow);
        max-height: calc(100svh - var(--header-height) - 1rem);
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        visibility: hidden;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .site-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0.48rem 0.62rem;
        border: 1px solid rgba(215, 189, 115, 0.22);
        border-radius: 999px;
        color: var(--ivory);
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .hero {
        min-height: 82svh;
        padding: calc(var(--header-height) + 3.6rem) 1.5rem 3rem;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.96)),
            url("/masquerade_club/assets/img/masquerade-club-hero.png") center right / cover no-repeat;
    }

    .hero-content {
        margin: 0 auto;
    }

    .archive-hero {
        min-height: 58svh;
        padding: calc(var(--header-height) + 3.6rem) 1.5rem 3.5rem;
    }

    .archive-hero-content {
        margin: 0 auto;
    }

    h1 {
        font-size: 3.15rem;
    }

    .archive-hero h1 {
        font-size: 3rem;
    }

    h1 span {
        font-size: 1.05rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .about-layout,
    .intro-layout,
    .split-layout,
    .reverse,
    .image-story,
    .info-grid,
    .style-card-grid,
    .gallery-grid,
    .archive-card-grid,
    .archive-layout,
    .chapter-grid,
    .social-card-grid,
    .rule-list {
        grid-template-columns: 1fr;
    }

    .section-panel,
    .contact-section {
        padding: 5rem 0;
    }

    .image-story {
        margin-bottom: 3.4rem;
    }

    .story-image {
        min-height: 260px;
    }

    .style-thumb {
        height: 240px;
    }

    .gallery-grid {
        grid-auto-rows: 240px;
    }

    .gallery-wide {
        grid-row: auto;
    }

    .archive-card {
        grid-template-rows: 240px auto auto 1fr;
    }

    .archive-card img {
        height: 240px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .brand-text span {
        font-size: 1rem;
    }

    .brand-text small {
        font-size: 0.68rem;
    }

    .section-inner,
    .image-story {
        width: min(100% - 2rem, var(--max));
    }

    .hero {
        min-height: 80svh;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    .archive-hero h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.95rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    .hero-actions {
        display: grid;
    }

    .button-primary,
    .button-ghost {
        width: 100%;
    }

    .intro-band {
        padding: 3.4rem 0;
    }

    .story-copy,
    .text-panel,
    .social-card,
    .style-copy,
    .archive-essay,
    .archive-step,
    .archive-note,
    .faq-item,
    .info-card,
    .rule-list li {
        padding: 1.2rem;
    }

    .costume-visual {
        height: 340px;
    }

    .social-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .social-actions {
        grid-column: 1 / -1;
    }

    .social-button {
        width: 100%;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 2.05rem;
    }

    .archive-hero h1 {
        font-size: 2.05rem;
    }
}

/* ── Page Header (sub-pages) ──────────────────────── */
.page-header {
    position: relative;
    min-height: 44svh;
    display: grid;
    align-items: end;
    padding: calc(var(--header-height) + 4rem) 2rem 4rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(5,5,5,.14), rgba(5,5,5,.96)),
        linear-gradient(90deg, rgba(107,15,26,.38), transparent 60%),
        url("/masquerade_club/assets/img/masquerade-club-hero.png") center / cover no-repeat;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    filter: brightness(0.7) saturate(0.9);
    z-index: 0;
}
.page-header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.94)),
        linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(90, 11, 20, 0.22) 48%, rgba(5, 5, 5, 0.62));
}
.page-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(transparent, var(--black-soft));
}
.header-content,
.page-header-inner {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    margin: 0 auto 0 max(4vw, calc((100vw - var(--max)) / 2));
}
.header-content h1,
.page-header-inner h1 { font-size: 3.6rem; }
.page-header-inner p {
    margin-top: 0.9rem;
    color: rgba(245, 240, 230, 0.86);
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-lead {
    max-width: 780px;
    margin-top: 1.25rem;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.9;
}

/* ── Step Flow ────────────────────────────────────── */
.step-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2.8rem;
}
.step-item {
    padding: 1.5rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}
.step-number {
    display: inline-block;
    margin-bottom: .7rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #170f08;
    font-family: 'Cormorant Garamond', serif;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.step-item h3 { font-size: 1.05rem; margin: .4rem 0 .6rem; }
.step-item p  { color: var(--muted); font-size: .9rem; margin: 0; }

/* ── Nav Cards ────────────────────────────────────── */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.4rem;
}
.nav-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(32,12,13,.94), rgba(7,5,5,.96));
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease;
    color: var(--ivory);
    text-decoration: none;
}
.nav-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240,223,167,.7);
}
.nav-card-thumb {
    height: 180px;
    overflow: hidden;
    background: var(--black);
}
.nav-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(.82) contrast(1.08) brightness(.72);
    transition: transform 240ms ease, filter 240ms ease;
}
.nav-card:hover .nav-card-thumb img {
    transform: scale(1.04);
    filter: saturate(.9) contrast(1.1) brightness(.82);
}
.nav-card-body {
    padding: 1rem 1.1rem 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.nav-card-label {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.nav-card-body h3 { font-size: 1.1rem; margin: 0; }
.nav-card-body p  { color: var(--muted); font-size: .85rem; margin: 0; }

/* ── Footer SNS ───────────────────────────────────── */
.footer-sns a { color: var(--muted); font-size: .8rem; }
.footer-sns a:hover { color: var(--gold-soft); }

@media (max-width: 1040px) {
    .step-flow   { grid-template-columns: 1fr; }
    .nav-cards   { grid-template-columns: repeat(2, 1fr); }
    .page-header { min-height: 36svh; }
    .header-content h1,
    .page-header-inner h1 { font-size: 2.8rem; }
}
@media (max-width: 560px) {
    .nav-cards   { grid-template-columns: 1fr; }
    .header-content h1,
    .page-header-inner h1 { font-size: 2.1rem; }
    .page-header-inner {
        margin-left: 0;
    }
}

/* ── Lightbox Modal ───────────────────────────────── */
.lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 300ms ease;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--ivory);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 10000;
    transition: color 200ms ease;
}

.lightbox-close::before {
    content: "×";
}

.lightbox-close:hover {
    color: var(--gold-soft);
}

.lightbox:not(.active) .lightbox-close {
    display: none;
}

/* =========================================================================
   VISUAL ENHANCEMENT (Cinematic & Luxury Updates)
   ========================================================================= */

/* ── Glow Buttons ── */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.btn-glow::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 169, 100, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
    pointer-events: none;
}
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(189, 153, 76, 0.3);
    border-color: var(--gold-soft);
}
.btn-glow:hover::after {
    opacity: 1;
}

/* ── Hero Cinematic ── */
.hero-cinematic {
    min-height: 100vh; /* PC 100vh */
    position: relative;
    display: flex;
    align-items: center;
    background: url('/masquerade_club/assets/img/masquerade-club-hero.png') center/cover no-repeat;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 5, 5, 0.3) 0%, rgba(32, 12, 13, 0.7) 60%, var(--bg) 100%);
    z-index: 1;
}
.hero-cinematic .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 10vh;
}
.hero-badges {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold-dim);
}
.hero-badges .separator {
    width: 4px;
    height: 4px;
    background: var(--gold-dim);
    border-radius: 50%;
}
.hero-decorator-line {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold-soft), transparent);
    z-index: 2;
}

/* ── Background Sections ── */
.bg-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.section-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.section-overlay.dark {
    background: rgba(7, 5, 5, 0.85);
}
.section-overlay.dark-heavy {
    background: rgba(7, 5, 5, 0.92);
}
.gold-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(189,153,76,0.3) 50%, transparent);
    margin: 0 auto;
}

/* ── Split About Section ── */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.6);
    pointer-events: none;
}
.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.feature-item {
    border-left: 1px solid var(--gold-dim);
    padding-left: 1.5rem;
}
.feature-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

/* ── Visual Cards (Event Style & Archive) ── */
.visual-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.visual-card {
    position: relative;
    display: block;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    border-color: rgba(189,153,76,0.4);
}
.vcard-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.visual-card:hover .vcard-bg {
    transform: scale(1.05);
}
.vcard-content {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 0%, rgba(5,5,5,0.8) 50%, rgba(5,5,5,0.98) 100%);
    color: var(--ivory);
}
.vcard-num {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.vcard-content h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
}
.vcard-content p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 1.5rem 0;
}
.vcard-link {
    font-size: 0.85rem;
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.vcard-link::after {
    content: "→";
    transition: transform 0.3s ease;
}
.visual-card:hover .vcard-link::after {
    transform: translateX(5px);
}
.archive-vcard { height: 320px; }

/* ── Magazine Gallery ── */
.magazine-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 1rem;
    margin-top: 3rem;
}
.mag-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(189,153,76,0.2);
    cursor: pointer;
}
.mag-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mag-overlay {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.6);
    pointer-events: none;
    transition: box-shadow 0.4s ease;
}
.mag-item:hover img {
    transform: scale(1.06);
}
.mag-item:hover .mag-overlay {
    box-shadow: inset 0 0 20px rgba(189,153,76,0.3);
}
.mag-large { grid-column: span 2; grid-row: span 2; }
.mag-medium { grid-column: span 2; grid-row: span 1; }
.mag-small { grid-column: span 1; grid-row: span 1; }

/* ── Costume Mini Cards ── */
.costume-mini-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
.c-mini-card {
    width: 160px;
    text-align: center;
}
.c-thumb {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(189,153,76,0.3);
    padding: 4px;
}
.c-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}
.c-mini-card:hover .c-thumb img {
    filter: brightness(1.1);
}
.c-mini-card span {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-soft);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* ── Responsive Fixes ── */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .split-image { min-height: 400px; }
    .visual-card-grid { grid-template-columns: repeat(2, 1fr); }
    .magazine-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: 200px;
    }
    .mag-large { grid-column: span 2; grid-row: span 2; }
    .mag-medium { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 600px) {
    .hero-cinematic { min-height: 80vh; }
    .visual-card-grid { grid-template-columns: 1fr; }
    .magazine-gallery { display: flex; flex-direction: column; gap: 0.5rem; }
    .mag-item { height: 250px; }
    .mag-large, .mag-medium, .mag-small { grid-column: auto; grid-row: auto; }
    .hero-badges { font-size: 0.65rem; }
}

/* ==========================================================================
   V2 CINEMATIC VISUAL OVERHAUL
   ========================================================================== */

/* ── Global Decorative Backgrounds ── */
.bg-damask {
    background-color: var(--black-heavy);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(143, 24, 33, 0.05) 0%, transparent 60%),
        repeating-linear-gradient(45deg, rgba(215, 189, 115, 0.02) 0px, rgba(215, 189, 115, 0.02) 1px, transparent 1px, transparent 10px);
}

.bg-crimson-gradient {
    background: linear-gradient(135deg, rgba(15, 5, 5, 1) 0%, rgba(40, 10, 15, 1) 50%, rgba(10, 5, 5, 1) 100%);
}

.gold-vignette {
    position: relative;
}
.gold-vignette::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(189,153,76,0.15);
    pointer-events: none;
}

/* ── Concept Section Block Layout ── */
.concept-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
}
.concept-visual {
    position: relative;
    border: 1px solid rgba(189, 153, 76, 0.3);
    padding: 1rem;
    background: rgba(0,0,0,0.4);
}
.concept-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}
.concept-copy {
    padding-right: 2rem;
}

@media (max-width: 900px) {
    .concept-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .concept-copy { padding-right: 0; }
}

/* ── Event Style Full Image Cards ── */
.full-image-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    border: 1px solid rgba(189, 153, 76, 0.2);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    text-decoration: none;
    color: var(--white);
}
.full-image-card .card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
}
.full-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}
.full-image-card-content {
    position: relative;
    z-index: 2;
}
.full-image-card .c-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold-soft);
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}
.full-image-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.full-image-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}
.full-image-card .c-link {
    font-size: 0.85rem;
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.full-image-card:hover .card-bg {
    transform: scale(1.05);
}

/* ── Costume Fashion Editorial ── */
.fashion-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.fashion-card {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    padding-bottom: 150%; /* aspect ratio */
}
.fashion-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) grayscale(20%);
    transition: all 0.5s ease;
}
.fashion-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--gold-soft);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    text-align: center;
    z-index: 2;
    transition: transform 0.3s ease;
}
.fashion-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-soft);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    z-index: 3;
}
.fashion-card:hover img {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.03);
}
.fashion-card:hover::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .fashion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .fashion-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Archive Movie Poster ── */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.poster-card {
    position: relative;
    background: #000;
    border: 1px solid rgba(189, 153, 76, 0.15);
    text-decoration: none;
    color: #fff;
    display: block;
    overflow: hidden;
}
.poster-img {
    position: relative;
    padding-bottom: 140%; /* Tall poster aspect */
}
.poster-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s ease, transform 0.8s ease;
}
.poster-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1.5rem 2rem;
    background: linear-gradient(to top, rgba(15, 5, 5, 1) 0%, rgba(15, 5, 5, 0.8) 50%, transparent 100%);
    text-align: center;
}
.poster-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold-soft);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}
.poster-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}
.btn-poster {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--gold-dim);
    color: var(--gold-soft);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}
.poster-card:hover .poster-img img {
    opacity: 1;
    transform: scale(1.05);
}
.poster-card:hover .btn-poster {
    background: rgba(189, 153, 76, 0.2);
    border-color: var(--gold-soft);
}

@media (max-width: 900px) {
    .poster-grid {
        grid-template-columns: 1fr;
    }
    .poster-img {
        padding-bottom: 60%; /* Make horizontal on mobile */
    }
}

/* ── Strong CTA Contact ── */
.cta-strong {
    position: relative;
    padding: 6rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(189, 153, 76, 0.3);
    border-bottom: 1px solid rgba(189, 153, 76, 0.3);
    overflow: hidden;
}
.cta-strong-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) blur(2px);
    z-index: 0;
}
.cta-strong-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.95), rgba(40, 10, 10, 0.95));
    border: 1px solid var(--gold-soft);
    padding: 4rem 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.cta-strong-inner i {
    font-size: 3rem;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}
.cta-strong-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ── Category Banner for Gallery ── */
.category-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid var(--gold-dim);
    border-bottom: 1px solid var(--gold-dim);
    margin: 4rem 0 2rem;
    overflow: hidden;
}
.category-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 0;
}
.category-banner-content {
    position: relative;
    z-index: 1;
}
.category-banner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold-soft);
    margin-bottom: 0.5rem;
}
.category-banner span {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

.friendly-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 1.6rem clamp(1.1rem, 3vw, 2.2rem);
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 240, 230, 0.86);
    text-align: center;
}

.friendly-intro p {
    margin: 0.35rem 0;
    line-height: 1.9;
}

.friendly-intro p:first-child {
    color: var(--gold-soft);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-family: 'Noto Serif JP', serif;
}

.friendly-intro small {
    display: block;
    margin-top: 1rem;
    color: rgba(245, 240, 230, 0.66);
    line-height: 1.7;
}

.category-description {
    max-width: 860px;
    margin: -0.9rem auto 1.3rem;
    color: rgba(245, 240, 230, 0.78);
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: center;
}

.friendly-cta {
    margin: 4rem auto 0;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(135deg, rgba(90, 11, 20, 0.22), rgba(5, 5, 5, 0.66));
    text-align: center;
}

.friendly-cta p {
    margin: 0 0 1.2rem;
    color: rgba(245, 240, 230, 0.86);
}

.gallery-friendly.fade-in,
.gallery-friendly .fade-in {
    opacity: 1;
    transform: none;
}

/* ── Story Page ─────────────────────────────────── */
.story-page-header .page-header-bg {
    background-position: center;
}

.story-intro {
    padding-bottom: 2.5rem;
}

.story-lead-box {
    margin-bottom: 0;
}

.story-chapter {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(1.4rem, 4vw, 3.2rem);
    align-items: center;
}

.story-chapter.reverse {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
}

.story-chapter.reverse .story-chapter-copy {
    order: 2;
}

.story-chapter.reverse .story-chapter-media {
    order: 1;
}

.story-chapter-copy {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(135deg, rgba(90, 11, 20, 0.18), rgba(5, 5, 5, 0.72));
}

.story-chapter-kicker {
    margin: 0 0 0.8rem;
    color: var(--gold-dim);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.story-chapter h2 {
    margin-bottom: 1rem;
    color: var(--gold-soft);
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.story-chapter-copy p:not(.story-chapter-kicker) {
    margin: 0 0 1rem;
    color: rgba(245, 240, 230, 0.84);
    line-height: 1.95;
}

.story-chapter-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 28vw);
    gap: 0.75rem;
}

.story-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, 18vw);
}

.story-mask-layout {
    grid-auto-rows: minmax(210px, 22vw);
}

.story-image-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: #050505;
    min-height: 210px;
}

.story-image-card.wide {
    grid-column: span 2;
}

.story-image-card.tall {
    grid-row: span 2;
}

.story-image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.88) saturate(0.92);
    transition: transform 360ms ease, filter 360ms ease;
}

.story-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.58);
    pointer-events: none;
}

.story-image-card:hover img {
    transform: scale(1.035);
    filter: brightness(0.98) saturate(0.96);
}

.story-final {
    padding-top: 1.5rem;
}

.story-final-card {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.4rem);
    border: 1px solid rgba(212, 175, 55, 0.24);
    background:
        linear-gradient(135deg, rgba(90, 11, 20, 0.28), rgba(5, 5, 5, 0.74)),
        url("/masquerade_club/assets/img/masquerade-story/story/story-letter-mask-01.webp") center / cover no-repeat;
    text-align: center;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.story-final-card h2 {
    color: var(--gold-soft);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.story-final-card p {
    width: min(700px, 100%);
    margin: 1rem auto 1.8rem;
    color: rgba(245, 240, 230, 0.88);
    line-height: 1.9;
}

.story-actions {
    justify-content: center;
}

.story-mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin: 2.5rem 0 0;
}

.story-mini-gallery figure {
    min-height: 230px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #050505;
}

.story-mini-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.88) saturate(0.9);
}

.story-fragments {
    padding-top: 1rem;
}

.story-fragment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2.4rem;
}

.story-fragment-grid figure {
    position: relative;
    min-height: 230px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #050505;
}

.story-fragment-grid figure:nth-child(4n + 1) {
    grid-row: span 2;
}

.story-fragment-grid img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.86) saturate(0.9);
    transition: transform 320ms ease, filter 320ms ease;
}

.story-fragment-grid figure::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 64px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.story-fragment-grid figure:hover img {
    transform: scale(1.035);
    filter: brightness(0.98) saturate(0.95);
}

/* ── Fade-in Animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Contact 2-Cards Layout ── */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(15, 5, 5, 0.9);
    border: 1px solid var(--gold-dim);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-soft);
}

.contact-card i.sns-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold-soft);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-card .qr-code {
    width: 120px;
    height: 120px;
    margin: 1.5rem auto;
    border: 2px solid var(--gold-dim);
    border-radius: 4px;
    padding: 4px;
    background: #fff;
}

.contact-card .qr-code img {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   TOP PAGE VISION RENEWAL
   ========================================================================= */

.home-design {
    background:
        radial-gradient(circle at 18% 12%, rgba(139, 30, 45, 0.22), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(212, 175, 55, 0.12), transparent 26%),
        linear-gradient(180deg, #050505 0%, #0b0506 52%, #050505 100%);
}

.home-design .site-header {
    height: 78px;
    padding: 0 3vw;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.24);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.46);
}

.home-design .site-header.is-scrolled {
    height: 68px;
    background: rgba(0, 0, 0, 0.98);
}

.home-design .brand-logo {
    width: 52px;
    height: 52px;
    border-color: rgba(212, 175, 55, 0.72);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.22);
}

.home-design .brand-text span {
    color: var(--gold-soft);
    font-size: 1.12rem;
    letter-spacing: 0.04em;
}

.home-design .brand-text small {
    color: var(--gold);
    font-size: 0.92rem;
    letter-spacing: 0.18em;
}

.home-design .site-nav a {
    color: #e6d49a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    position: relative;
}

@media (min-width: 1041px) {
    .home-design .site-nav {
        gap: clamp(1.1rem, 2vw, 2.2rem);
    }

    .home-design .site-nav a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -0.55rem;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: 0;
        transform: scaleX(0.42);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .home-design .site-nav a:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

.home-vision {
    background:
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, #050505 0%, #0b0506 100%);
    background-size: 88px 88px, 88px 88px, auto;
    padding-top: 78px;
}

.vision-hero {
    position: relative;
    min-height: clamp(420px, 48vw, 560px);
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.42);
    background: #050505;
}

.vision-hero-media {
    position: absolute;
    inset: 0;
    background-image: url('/masquerade_club/assets/img/masquerade-club-hero.png');
    background-size: cover;
    background-position: center center;
    filter: saturate(1.02) contrast(1.04) brightness(1.04);
    transform: scale(1.01);
}

.vision-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.58) 34%, rgba(20, 3, 5, 0.02) 64%, rgba(5, 5, 5, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(20, 4, 6, 0.34) 78%, rgba(5, 5, 5, 0.86) 100%);
}

.vision-hero::before,
.vision-board::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.18;
}

.vision-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1540px, calc(100% - 4rem));
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.vision-hero-copy {
    width: min(760px, 58vw);
    padding: 3.4rem 0 2.8rem;
}

.vision-hero-emblem {
    width: 74px;
    height: 74px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.58);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.2);
}

.vision-kicker {
    margin: 0 0 0.85rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.35vw, 1.32rem);
    font-weight: 700;
    letter-spacing: 0.22em;
}

.vision-hero h1 {
    max-width: none;
    color: var(--gold-soft);
    font-size: clamp(2.65rem, 4.4vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: 0.02em;
    text-shadow: 0 7px 28px rgba(0, 0, 0, 0.72);
}

.vision-hero h1 span {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    color: #f5f0e6;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    letter-spacing: 0.16em;
}

.vision-hero h1 span::before,
.vision-hero h1 span::after {
    content: "";
    width: min(120px, 16vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vision-lead {
    max-width: 720px;
    margin: 1.5rem 0 1.25rem;
    color: #f5f0e6;
    font-size: clamp(1rem, 1.28vw, 1.28rem);
    line-height: 1.85;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.82);
}

.vision-badges,
.vision-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.vision-badges {
    margin: 1.1rem 0 1.55rem;
}

.vision-badges span {
    min-width: 108px;
    padding: 0.22rem 1rem 0.28rem;
    border: 1px solid rgba(212, 175, 55, 0.72);
    border-radius: 999px;
    color: var(--gold-soft);
    background: rgba(0, 0, 0, 0.42);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
}

.vision-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    min-width: min(280px, 100%);
    min-height: 64px;
    padding: 0.85rem 1.45rem;
    border: 1px solid rgba(212, 175, 55, 0.82);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 42px rgba(0, 0, 0, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vision-btn i {
    color: var(--gold-soft);
    font-size: 1.7rem;
}

.vision-btn-x {
    background: linear-gradient(180deg, rgba(14, 16, 18, 0.92), rgba(4, 4, 5, 0.96));
}

.vision-btn-line {
    background: linear-gradient(180deg, #0f6b33, #073a1d);
}

.vision-btn:hover,
.vision-image-card:hover,
.costume-card:hover,
.gallery-tile:hover,
.contact-card-vision:hover {
    transform: translateY(-3px);
    border-color: var(--gold-soft);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.18), 0 18px 42px rgba(0, 0, 0, 0.55);
}

.vision-board {
    position: relative;
    padding: 0.85rem 0 1.1rem;
    background:
        radial-gradient(circle at left top, rgba(212, 175, 55, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.96), rgba(7, 4, 4, 0.98));
}

.vision-board-inner {
    position: relative;
    z-index: 1;
    width: min(1540px, calc(100% - 1.4rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(270px, 1fr) minmax(420px, 1.3fr) minmax(340px, 1.15fr);
    gap: 1.05rem;
}

.vision-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background:
        linear-gradient(135deg, rgba(90, 11, 20, 0.12), transparent 38%),
        rgba(4, 4, 4, 0.88);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 16px 50px rgba(0, 0, 0, 0.38);
}

.vision-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.22;
    pointer-events: none;
}

.about-panel,
.story-panel,
.style-panel,
.gallery-panel,
.costume-panel,
.contact-panel {
    min-height: 220px;
}

.gallery-panel,
.style-panel {
    grid-column: span 2;
}

.story-panel {
    min-height: 300px;
}

.story-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.3)),
        var(--story-bg) center / cover no-repeat;
    opacity: 0.82;
    pointer-events: none;
}

.costume-panel {
    grid-column: 1 / span 2;
}

.contact-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.55)),
        var(--contact-bg) center / cover no-repeat;
    opacity: 0.34;
    pointer-events: none;
}

.panel-heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 54px;
    padding: 0.95rem 1.2rem 0.55rem;
}

.panel-heading p {
    margin: 0;
    color: var(--gold-soft);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}

.panel-heading p small {
    display: block;
    margin-top: 0.34rem;
    color: var(--ivory-muted);
    font-family: 'Noto Serif JP', serif;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.panel-heading span {
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.62), transparent);
}

.view-all,
.text-link-gold,
.mini-cta {
    color: var(--gold-soft);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.view-all {
    min-width: 86px;
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 999px;
    font-size: 0.82rem;
    text-align: center;
}

.panel-note {
    position: relative;
    z-index: 1;
    margin: -0.2rem 1.2rem 0.95rem;
    color: rgba(245, 240, 230, 0.78);
    font-size: 0.88rem;
    line-height: 1.75;
}

.about-panel-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.76fr 1fr;
    gap: 1rem;
    padding: 0 1.2rem 1.2rem;
    align-items: stretch;
}

.about-panel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 164px;
}

.about-panel-copy p {
    margin: 0 0 0.75rem;
    color: rgba(245, 240, 230, 0.84);
    font-size: 0.9rem;
    line-height: 1.78;
}

.story-panel-body {
    position: relative;
    z-index: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.85rem;
    padding: 1.2rem;
}

.story-panel-body p {
    width: min(510px, 100%);
    margin: 0;
    color: rgba(245, 240, 230, 0.88);
    font-size: 0.94rem;
    line-height: 1.85;
}

.story-panel-body .text-link-gold {
    align-self: flex-start;
}

.text-link-gold {
    margin-top: 0.35rem;
    font-size: 0.9rem;
}

.about-panel-image {
    min-height: 172px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.26);
    background: #050505;
}

.about-panel-image img,
.vision-image-card img,
.gallery-tile img,
.costume-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease, filter 420ms ease;
}

.about-panel-image img {
    filter: brightness(0.82) contrast(1.08) saturate(0.94);
}

.style-card-row,
.costume-card-row,
.contact-grid-vision {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.72rem;
    padding: 0 1.2rem 1.2rem;
}

.style-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-image-card,
.costume-card,
.gallery-tile,
.contact-card-vision {
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(0, 0, 0, 0.58);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vision-image-card {
    min-height: 150px;
}

.vision-image-card img {
    height: 94px;
    filter: brightness(0.82) contrast(1.08);
}

.vision-image-card:hover img,
.costume-card:hover img,
.gallery-tile:hover img,
.about-panel-image:hover img {
    transform: scale(1.06);
    filter: brightness(0.94) contrast(1.08) saturate(1.04);
}

.vision-image-card div,
.costume-card div {
    padding: 0.62rem 0.72rem 0.75rem;
    text-align: center;
}

.vision-image-card h3,
.costume-card h3,
.contact-card-vision h3 {
    color: var(--gold-soft);
    font-size: 1.16rem;
    letter-spacing: 0.03em;
}

.vision-image-card p,
.costume-card p,
.contact-card-vision p {
    margin: 0.25rem 0 0;
    color: rgba(245, 240, 230, 0.78);
    font-size: 0.82rem;
    line-height: 1.55;
}

.vision-gallery-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 86px;
    gap: 0.55rem;
    padding: 0 1.2rem 1.2rem;
}

.gallery-tile {
    min-height: 0;
}

.gallery-tile:nth-child(1),
.gallery-tile:nth-child(2) {
    grid-row: span 2;
}

.gallery-tile img {
    filter: brightness(0.94) contrast(1.03) saturate(0.96);
}

.costume-card-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.costume-card img {
    height: 125px;
    filter: brightness(0.84) contrast(1.06);
}

.contact-grid-vision {
    grid-template-columns: 0.95fr 1.12fr;
}

.contact-card-vision {
    min-height: 202px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-vision > i,
.line-copy > i {
    color: var(--gold-soft);
    font-size: 2rem;
}

.contact-card-lead {
    color: var(--ivory) !important;
    font-weight: 700;
}

.line-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(15, 107, 51, 0.92), rgba(5, 48, 24, 0.96)),
        var(--line-card-bg, none) center / cover no-repeat;
}

.mini-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: 0.85rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.58);
    font-size: 0.88rem;
}

.line-qr-large {
    width: 118px;
    height: 118px;
    padding: 0.3rem;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.75);
}

.vision-footer {
    padding: 1.1rem 0 1.25rem;
    border-top: 1px solid rgba(212, 175, 55, 0.32);
    background: #030303;
}

.vision-footer .footer-inner {
    width: min(1540px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-brand-row img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.footer-brand-row p {
    margin: 0;
    color: var(--gold-soft);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0.08em;
}

.footer-brand-row span {
    color: var(--muted);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.vision-footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.vision-footer nav a,
.footer-contact-row a {
    color: var(--gold-soft);
    font-size: 0.78rem;
}

.footer-contact-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.vision-footer small {
    grid-column: 1 / -1;
    display: block;
    margin-top: 0.3rem;
    color: rgba(245, 240, 230, 0.44);
    text-align: center;
}

@media (max-width: 1180px) {
    .vision-board-inner {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-panel,
    .contact-panel {
        grid-column: auto;
    }

    .story-panel,
    .costume-panel {
        grid-column: 1 / -1;
    }

    .contact-grid-vision {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .home-design .site-header {
        height: 70px;
        padding: 0 1rem;
    }

    .home-design .brand-logo {
        width: 44px;
        height: 44px;
    }

    .home-design .brand-text span {
        font-size: 0.95rem;
    }

    .home-design .brand-text small {
        font-size: 0.72rem;
    }

    .home-vision {
        padding-top: 70px;
    }

    .vision-hero {
        min-height: 650px;
    }

    .vision-hero-media {
        background-position: center right;
    }

    .vision-hero-shade {
        background:
            linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(7, 3, 4, 0.68) 48%, rgba(5, 5, 5, 0.96) 100%),
            linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.34));
    }

    .vision-hero-inner {
        width: min(100% - 2rem, 680px);
        align-items: flex-end;
    }

    .vision-hero-copy {
        width: 100%;
        padding: 2rem 0 2.5rem;
    }

    .vision-hero-emblem {
        width: 64px;
        height: 64px;
    }

    .vision-hero h1 span {
        letter-spacing: 0.08em;
    }

    .vision-hero h1 span::before,
    .vision-hero h1 span::after {
        width: 48px;
    }

    .vision-badges span,
    .vision-btn {
        width: 100%;
    }

    .vision-board-inner,
    .style-card-row,
    .costume-card-row,
    .contact-grid-vision,
    .about-panel-grid {
        grid-template-columns: 1fr;
    }

    .gallery-panel,
    .style-panel,
    .story-panel,
    .costume-panel {
        grid-column: auto;
    }

    .story-chapter,
    .story-chapter.reverse {
        grid-template-columns: 1fr;
        margin-bottom: 3.4rem;
    }

    .story-chapter.reverse .story-chapter-copy,
    .story-chapter.reverse .story-chapter-media {
        order: initial;
    }

    .story-chapter-media,
    .story-grid-four,
    .story-mask-layout,
    .story-mini-gallery,
    .story-fragment-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .story-image-card,
    .story-mini-gallery figure,
    .story-fragment-grid figure {
        min-height: 240px;
    }

    .story-fragment-grid figure:nth-child(4n + 1) {
        grid-row: auto;
    }

    .story-image-card.wide,
    .story-image-card.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .vision-board-inner {
        width: min(100% - 1rem, 680px);
    }

    .panel-heading {
        padding-inline: 1rem;
    }

    .style-card-row,
    .costume-card-row,
    .contact-grid-vision,
    .about-panel-grid,
    .vision-gallery-grid {
        padding-inline: 1rem;
    }

    .vision-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 112px;
    }

    .line-card {
        grid-template-columns: 1fr;
    }

    .line-qr-large {
        width: 142px;
        height: 142px;
    }

    .vision-footer .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand-row,
    .footer-contact-row {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .vision-hero {
        min-height: 620px;
    }

    .vision-kicker {
        letter-spacing: 0.12em;
    }

    .vision-hero h1 {
        font-size: clamp(2.25rem, 13vw, 3.2rem);
    }

    .vision-lead {
        font-size: 0.95rem;
        letter-spacing: 0.02em;
    }

    .panel-heading {
        grid-template-columns: 1fr auto;
    }

    .panel-heading span {
        display: none;
    }

    .vision-gallery-grid {
        grid-auto-rows: 96px;
    }
}
