/* ============================================================
   Twin-MC WordPress Theme - Main Stylesheet
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #1a1a1a;
    --color-accent-gold: #c5a059;
    --color-accent-gold-hover: #d4af6a;
    --color-bg-light: #f7f7f7;
    --color-bg-dark: #121212;
    --color-white: #ffffff;
    --color-slate-100: #f1f5f9;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-900: #0f172a;

    --font-display: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    --header-height: 80px;
    --max-width: 1280px;
    --section-padding: 6rem;
    --gap: 1.5rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-dark);
    color: var(--color-slate-100);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* --- Utility --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.font-serif {
    font-family: var(--font-display);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.site-brand .brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.site-brand .brand-tagline {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-slate-400);
    white-space: nowrap;
    display: none;
}

@media (min-width: 1440px) {
    .site-brand .brand-tagline {
        display: block;
    }

    .main-nav {
        gap: 1.25rem;
    }

    .main-nav a {
        font-size: 1.05rem;
    }
}

/* Desktop Navigation */
.main-nav {
    display: none;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    list-style: none !important;
    display: inline;
}

.main-nav li::marker {
    content: none;
}

.main-nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-slate-300);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-accent-gold);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-reserve {
    display: none;
    align-items: center;
    gap: 0.375rem;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    font-size: 0.775rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-reserve:hover {
    background: var(--color-accent-gold-hover);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open {
    right: 0;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--color-accent-gold);
}

.mobile-nav .mobile-reserve {
    margin-top: 1rem;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg img.is-active {
    opacity: 1;
}

.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-dot.is-active {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.hero-dot:hover {
    border-color: var(--color-accent-gold);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        var(--color-bg-dark) 0%,
        rgba(18, 18, 18, 0.7) 40%,
        transparent 100%);
}

.hero-content {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-inner {
    max-width: 680px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-slate-300);
    border-left: 2px solid var(--color-accent-gold);
    padding-left: 1.5rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary);
}

.btn-hero-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-white);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
    background: var(--color-primary);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    color: var(--color-accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--color-white);
}

.stat-desc {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands {
    background: var(--color-bg-dark);
    padding: var(--section-padding) 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.section-header.has-link {
    flex-direction: column;
    gap: 1rem;
}

.section-eyebrow {
    color: var(--color-accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-white);
}

.section-link {
    color: var(--color-slate-400);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--color-accent-gold);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.brand-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.brand-card:hover {
    border-color: var(--color-accent-gold);
    background: rgba(197, 160, 89, 0.08);
    transform: translateY(-2px);
}

.brand-card .brand-card-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.brand-card .brand-card-era {
    font-size: 0.75rem;
    color: var(--color-slate-500);
}

/* ============================================================
   SHOWCASE (Restoration Cases)
   ============================================================ */
.showcase {
    padding: var(--section-padding) 0;
    background: var(--color-bg-dark);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

.showcase-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--color-primary);
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.5s ease;
    opacity: 0.8;
}

.showcase-card:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* Ensure showcase cards have visible background when no image */
.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 0;
}

.showcase-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        var(--color-bg-dark) 0%,
        transparent 50%,
        transparent 100%);
}

.showcase-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
}

.showcase-card-origin {
    color: var(--color-accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.showcase-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.showcase-card-desc {
    font-size: 0.875rem;
    color: var(--color-slate-300);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-card:hover .showcase-card-desc {
    opacity: 1;
}

/* ============================================================
   SERVICES (Navigation Grid)
   ============================================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

.service-card {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-accent-gold);
    background: rgba(197, 160, 89, 0.06);
    transform: translateY(-2px);
}

.service-card .service-icon {
    font-size: 2.5rem;
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
}

.service-card .service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.service-card .service-desc {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.about-content .about-text {
    color: var(--color-slate-300);
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 2rem;
}

.about-content .about-text p + p {
    margin-top: 1rem;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-about:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.85);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--color-slate-300);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cta-primary:hover {
    background: var(--color-accent-gold-hover);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--color-white);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand h5 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 0.1em;
    margin: 0;
}

.footer-info {
    color: var(--color-slate-400);
    line-height: 2;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--color-slate-400);
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.footer-social a:hover {
    color: var(--color-white);
}

/* Footer Nav */
.footer-nav-title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li,
.footer-nav-list .menu-item {
    list-style-type: none !important;
    display: block;
    margin: 0;
    padding: 0;
}

.footer-nav-list li::marker {
    content: none;
}

.footer-nav-list a {
    color: var(--color-slate-400);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: var(--color-accent-gold);
}

/* Footer Map */
.footer-map {
    width: 100%;
    height: 200px;
    overflow: hidden;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.footer-map:hover {
    filter: grayscale(0);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: var(--color-slate-500);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--color-slate-500);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-slate-300);
}

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.page-header {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    background: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header .page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--color-white);
}

.page-content {
    padding: var(--section-padding) 0;
    background: var(--color-bg-dark);
}

.page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-slate-300);
    line-height: 2;
}

.page-content .entry-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-white);
    margin: 2rem 0 1rem;
}

.page-content .entry-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 1.5rem 0 0.75rem;
}

.page-content .entry-content p {
    margin-bottom: 1.5rem;
}

.page-content .entry-content img {
    margin: 2rem 0;
}

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.post-card {
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-2px);
}

.post-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 1.5rem;
}

.post-card-meta {
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.post-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    line-height: 1.7;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 6rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
}

.error-404 .error-code {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 900;
    color: var(--color-accent-gold);
    line-height: 1;
    opacity: 0.3;
}

.error-404 .error-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    margin: 1rem 0;
}

.error-404 .error-text {
    color: var(--color-slate-400);
    margin-bottom: 2rem;
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
/* Only hide when JS is active (body.js-ready added by JS) */
body.js-ready .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-ready .fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
body.js-ready .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
body.js-ready .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
body.js-ready .fade-in-up:nth-child(4) { transition-delay: 0.3s; }
body.js-ready .fade-in-up:nth-child(5) { transition-delay: 0.35s; }
body.js-ready .fade-in-up:nth-child(6) { transition-delay: 0.4s; }
body.js-ready .fade-in-up:nth-child(7) { transition-delay: 0.45s; }
body.js-ready .fade-in-up:nth-child(8) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE - TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }

    .btn-reserve {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero {
        height: 85vh;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header.has-link {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   RESPONSIVE - LARGE DESKTOP (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   LOADING ANIMATION
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    animation: fadeIn 1s ease 0.3s both;
}

/* ============================================================
   VEHICLE ARCHIVE (Inventory List)
   ============================================================ */
.vehicle-filter {
    background: var(--color-primary);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-slate-400);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.filter-chip:hover {
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.filter-chip.is-active {
    color: var(--color-primary);
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.vehicle-archive {
    padding: var(--section-padding) 0;
    background: var(--color-bg-dark);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

.vehicle-card {
    display: block;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.vehicle-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.vehicle-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-card-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-slate-500);
}

.vehicle-card-noimage .material-symbols-outlined {
    font-size: 3rem;
    opacity: 0.3;
}

.vehicle-card-maker {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-accent-gold);
    padding: 0.2rem 0.6rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.vehicle-card-body {
    padding: 1.25rem;
}

.vehicle-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.vehicle-card-specs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vehicle-card-spec {
    font-size: 0.75rem;
    color: var(--color-slate-400);
}

.vehicle-card-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-accent-gold);
}

.vehicle-card-price .price-yen {
    font-size: 0.875rem;
    margin-right: 2px;
}

.vehicle-card-price .price-tax {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--color-slate-400);
}

.vehicle-card-price.price-ask {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-slate-400);
}

.vehicle-pagination {
    margin-top: 3rem;
    text-align: center;
}

.vehicle-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.vehicle-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: var(--color-slate-400);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.vehicle-pagination .page-numbers.current,
.vehicle-pagination .page-numbers:hover {
    color: var(--color-primary);
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.vehicle-empty {
    text-align: center;
    padding: 4rem 0;
}

.vehicle-empty p {
    color: var(--color-slate-400);
    margin: 1rem 0 2rem;
}

/* ============================================================
   VEHICLE SINGLE (Detail Page)
   ============================================================ */
.vehicle-breadcrumb {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 1rem;
    background: var(--color-primary);
    font-size: 0.8125rem;
}

.vehicle-breadcrumb a {
    color: var(--color-slate-400);
    transition: color 0.3s ease;
}

.vehicle-breadcrumb a:hover {
    color: var(--color-accent-gold);
}

.breadcrumb-sep {
    color: var(--color-slate-500);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: var(--color-slate-300);
}

.vehicle-single {
    padding: 2rem 0 var(--section-padding);
    background: var(--color-bg-dark);
}

.vehicle-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Gallery */
.vehicle-gallery-area {
    width: 100%;
}

.vehicle-main-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-primary);
    margin-bottom: 0.75rem;
}

.vehicle-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

.vehicle-no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-500);
    gap: 0.5rem;
}

.gallery-expand {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-expand:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary);
}

.vehicle-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-gold) transparent;
}

.vehicle-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.vehicle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-thumb:hover {
    opacity: 0.8;
}

.vehicle-thumb.is-active {
    border-color: var(--color-accent-gold);
    opacity: 1;
}

/* Vehicle Details */
.vehicle-details-area {
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--color-white);
    margin: 0.5rem 0 1rem;
    line-height: 1.3;
}

.vehicle-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-price .price-yen {
    font-size: 1.25rem;
}

.vehicle-price .price-tax {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-slate-400);
}

.vehicle-price.price-ask {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-slate-300);
}

.vehicle-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.vehicle-specs-table th,
.vehicle-specs-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9375rem;
}

.vehicle-specs-table th {
    color: var(--color-slate-400);
    font-weight: 500;
    width: 120px;
    text-align: left;
}

.vehicle-specs-table td {
    color: var(--color-white);
}

.vehicle-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

/* Comment Section */
.vehicle-comment-section,
.vehicle-youtube-section,
.vehicle-attachments-section {
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vehicle-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.vehicle-comment-body {
    color: var(--color-slate-300);
    line-height: 2;
    max-width: 800px;
}

.vehicle-comment-body p {
    margin-bottom: 1rem;
}

/* YouTube Grid */
.vehicle-youtube-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Attachments */
.vehicle-attachments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vehicle-attachment-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vehicle-attachment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-attachment-item:hover img {
    transform: scale(1.03);
}

/* Back Link */
.vehicle-back {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-body {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: none;
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-slate-400);
    font-size: 0.875rem;
}

/* ============================================================
   VEHICLE RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-youtube-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-attachments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vehicle-cta {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .vehicle-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .vehicle-thumb {
        width: 80px;
        height: 60px;
    }
}

@media (min-width: 1024px) {
    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vehicle-layout {
        grid-template-columns: 3fr 2fr;
    }

    .vehicle-youtube-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vehicle-attachments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .vehicle-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-info-text {
    color: var(--color-slate-400);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item .material-symbols-outlined {
    color: var(--color-accent-gold);
    font-size: 1.5rem;
    margin-top: 2px;
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-400);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.6;
}

a.contact-info-value {
    color: var(--color-accent-gold);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

a.contact-info-value:hover {
    text-decoration: underline;
}

.contact-form-area {
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
}

.contact-map-section {
    padding: 0 0 4rem;
}

.contact-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 450px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   ABOUT / SHOP INFO PAGE
   ============================================================ */
.about-section {
    padding: 4rem 0;
}

.about-services {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-shop-info {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.shop-info-map .contact-map {
    aspect-ratio: 4 / 3;
    max-height: none;
}

/* ============================================================
   LINKS PAGE
   ============================================================ */
.links-section {
    padding: 3rem 0 4rem;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

.link-card {
    display: block;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: var(--color-white);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.link-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-2px);
}

.link-card-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-gold);
}

.link-card-desc {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.link-card-url {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--color-slate-500);
}

@media (min-width: 768px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   RESTORE / CUSTOM PAGES
   ============================================================ */
.page-subtitle {
    color: var(--color-slate-400);
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.restore-archive {
    padding: 3rem 0 4rem;
}

.restore-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

.restore-card {
    display: flex;
    flex-direction: column;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.restore-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.restore-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.restore-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.restore-card:hover .restore-card-image img {
    transform: scale(1.05);
}

.restore-card-noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-slate-400);
}

.restore-card-noimage .material-symbols-outlined {
    font-size: 3rem;
    opacity: 0.4;
}

.restore-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restore-card-date {
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    letter-spacing: 0.05em;
}

.restore-card-title {
    font-size: 1.125rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.restore-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    line-height: 1.6;
    flex: 1;
}

.restore-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-accent-gold);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ---- Restore Card (archive) additional ---- */
.restore-card-maker {
    font-size: 0.7rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.restore-card-year {
    font-size: 0.8rem;
    color: var(--color-slate-400);
}

/* ---- Restore Single ---- */
.restore-header {
    text-align: center;
    padding: 2rem 0;
}

.restore-year {
    font-size: 0.9rem;
    color: var(--color-slate-400);
    margin-top: 0.5rem;
}

.restore-main-image {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.restore-gallery-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.restore-gallery-count {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-slate-400);
    margin-left: 0.5rem;
}

.restore-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 1.5rem;
}

.restore-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease;
}

.restore-gallery-item:hover {
    border-color: var(--color-accent-gold);
}

.restore-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.restore-gallery-item:hover img {
    transform: scale(1.05);
}

@media (min-width: 640px) {
    .restore-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .restore-gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============================================================
   SUB-PAGE RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
    .restore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
        gap: 4rem;
    }

    .shop-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .restore-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-form-area {
        padding: 2.5rem;
    }
}

/* ============================================================
   TABLE OF CONTENTS (TOC+) - Dark Theme Override
   ============================================================ */
#toc_container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

#toc_container .toc_title {
    color: var(--color-white) !important;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

#toc_container .toc_toggle a {
    color: var(--color-accent-gold) !important;
}

#toc_container ul li a {
    color: var(--color-slate-300) !important;
    text-decoration: none;
    transition: color 0.2s;
}

#toc_container ul li a:hover {
    color: var(--color-accent-gold) !important;
}
