/* ==========================================
   Honjin Kai - Elegant Wine Red Theme
   Mobile First Design
   ========================================== */

/* CSS Variables */
:root {
    /* Wine Red Color Palette */
    --wine-deep: #4A0E0E;
    --wine-primary: #722F37;
    --wine-light: #8B3A42;
    --wine-accent: #A94452;
    --wine-rose: #C4666E;

    /* Gold Accents */
    --gold-deep: #8B7355;
    --gold-primary: #C9A962;
    --gold-light: #D4B97D;
    --gold-pale: #E8D5A3;

    /* Neutrals */
    --black: #0A0A0A;
    --dark: #1A1A1A;
    --charcoal: #2D2D2D;
    --gray: #6B6B6B;
    --light-gray: #B0B0B0;
    --off-white: #F5F3F0;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-japanese: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s ease;
    --transition-slow: 0.8s ease;
    --transition-slower: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    color: var(--off-white);
    background-color: var(--black);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==========================================
   Loader - Enhanced Animation
   ========================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--wine-deep) 0%, var(--black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.loader-logo {
    width: 100px;
    opacity: 0;
    animation: loaderLogoIn 1.5s ease 0.3s forwards;
}

.loader-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

@keyframes loaderLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.loader-text {
    display: flex;
    gap: 2px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--gold-light);
}

.loader-letter {
    opacity: 0;
    transform: translateY(20px);
    animation: letterIn 0.5s ease forwards;
}

.loader-letter:nth-child(1) { animation-delay: 0.8s; }
.loader-letter:nth-child(2) { animation-delay: 0.9s; }
.loader-letter:nth-child(3) { animation-delay: 1.0s; }
.loader-letter:nth-child(4) { animation-delay: 1.1s; }
.loader-letter:nth-child(5) { animation-delay: 1.2s; }
.loader-letter:nth-child(6) { animation-delay: 1.3s; }
.loader-letter:nth-child(7) { animation-delay: 1.4s; }
.loader-letter:nth-child(8) { animation-delay: 1.5s; }
.loader-letter:nth-child(9) { animation-delay: 1.6s; }
.loader-letter:nth-child(10) { animation-delay: 1.7s; }

@keyframes letterIn {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(90deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.loader-line {
    width: 200px;
    height: 2px;
    background: rgba(201, 169, 98, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: var(--space-sm);
}

.loader-line-inner {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    animation: lineProgress 2.5s ease 1s forwards;
}

@keyframes lineProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(74, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
}

.nav-logo {
    width: 50px;
    z-index: 1001;
}

.nav-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
    transition: var(--transition-base);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--off-white);
    transition: var(--transition-base);
}

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

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

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

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(74, 14, 14, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu li {
    overflow: hidden;
}

.nav-menu a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--off-white);
    position: relative;
    transform: translateY(100%);
    transition: transform 0.5s ease, color 0.3s ease;
}

.nav-menu.active a {
    transform: translateY(0);
}

.nav-menu li:nth-child(1) a { transition-delay: 0.1s; }
.nav-menu li:nth-child(2) a { transition-delay: 0.15s; }
.nav-menu li:nth-child(3) a { transition-delay: 0.2s; }
.nav-menu li:nth-child(4) a { transition-delay: 0.25s; }
.nav-menu li:nth-child(5) a { transition-delay: 0.3s; }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--gold-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 20s ease infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(74, 14, 14, 0.7) 0%,
        rgba(74, 14, 14, 0.5) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    margin-bottom: 120px;
}

.hero-logo {
    width: 140px;
    margin: 0 auto var(--space-md);
    opacity: 0;
    animation: heroLogoIn 1.2s ease 3.8s forwards;
}

.hero-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

@keyframes heroLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: brightness(0) invert(1) blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(0) invert(1) blur(0);
    }
}

.hero-tagline {
    font-family: var(--font-japanese);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: var(--gold-light);
    display: flex;
    justify-content: center;
    gap: 0.1em;
}

.hero-tagline span {
    opacity: 0;
    transform: translateY(20px);
    animation: taglineIn 0.6s ease forwards;
}

.hero-tagline span:nth-child(1) { animation-delay: 4.2s; }
.hero-tagline span:nth-child(2) { animation-delay: 4.3s; }
.hero-tagline span:nth-child(3) { animation-delay: 4.4s; }
.hero-tagline span:nth-child(4) { animation-delay: 4.5s; }
.hero-tagline span:nth-child(5) { animation-delay: 4.6s; }
.hero-tagline span:nth-child(6) { animation-delay: 4.7s; }

@keyframes taglineIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator - Centered */
.hero-scroll {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: scrollIn 1s ease 5s forwards;
    z-index: 3;
}

@keyframes scrollIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-scroll span {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
}

.scroll-line {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, var(--gold-light), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--gold-primary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ==========================================
   Wave Divider - Large Dramatic Wave
   ========================================== */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    color: var(--wine-deep);
    transform: rotateY(0deg);
}

@media (min-width: 768px) {
    .wave-divider svg {
        height: 160px;
    }
}

@media (min-width: 1024px) {
    .wave-divider svg {
        height: 200px;
    }
}

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--off-white);
    line-height: 1.4;
}

.section-title span {
    font-family: var(--font-japanese);
    font-size: 0.875rem;
    font-weight: 200;
    display: block;
    margin-top: var(--space-xs);
    color: var(--gold-light);
}

/* ==========================================
   Animation Classes
   ========================================== */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] {
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="zoom-in"] {
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

[data-animate="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-animate="scale-x"] {
    transform: scaleX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="scale-x"].animated {
    opacity: 1;
    transform: scaleX(1);
}

[data-animate="flip-up"] {
    transform: perspective(1000px) rotateX(60deg) translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="flip-up"].animated {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

[data-animate="rotate-in"] {
    transform: rotate(-180deg) scale(0);
    transition: opacity 1s ease, transform 1s ease;
}

[data-animate="rotate-in"].animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* ==========================================
   Concept Section
   ========================================== */
.concept {
    padding: var(--space-xl) 0;
    background: linear-gradient(to bottom, var(--wine-deep) 0%, var(--black) 100%);
}

.concept-content {
    max-width: 600px;
    margin: 0 auto;
}

.concept-block {
    margin-bottom: var(--space-lg);
}

.concept-lead {
    font-family: var(--font-japanese);
    font-size: 1rem;
    font-weight: 300;
    line-height: 2.2;
    text-align: center;
}

.concept-meaning {
    font-family: var(--font-japanese);
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: var(--space-md);
}

.highlight {
    color: var(--gold-primary);
    font-weight: 400;
}

.meaning-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.meaning-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-japanese);
    font-size: 0.9375rem;
}

.meaning-list .kanji {
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-weight: 400;
    min-width: 2rem;
    text-align: center;
}

.meaning-list .desc {
    color: var(--light-gray);
    font-weight: 300;
}

.concept-sub {
    font-family: var(--font-japanese);
    font-size: 0.875rem;
    text-align: center;
    color: var(--light-gray);
}

.concept-final {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.concept-statement {
    font-family: var(--font-japanese);
    font-size: 1rem;
    font-weight: 300;
    line-height: 2.4;
    text-align: center;
}

.emphasis {
    display: inline-block;
    color: var(--gold-light);
    font-weight: 400;
    position: relative;
}

.emphasis::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-primary);
}

/* ==========================================
   Philosophy Section
   ========================================== */
.philosophy {
    position: relative;
    padding: var(--space-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.philosophy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.philosophy-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(74, 14, 14, 0.92) 0%,
        rgba(114, 47, 55, 0.85) 50%,
        rgba(74, 14, 14, 0.92) 100%
    );
}

.philosophy-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    z-index: 1;
}

.philosophy-lead {
    font-family: var(--font-japanese);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: var(--space-md);
}

.philosophy-divider {
    width: 60px;
    height: 1px;
    background: var(--gold-primary);
    margin: 0 auto var(--space-md);
    transform-origin: center;
}

.philosophy-text {
    font-family: var(--font-japanese);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 2.4;
    margin-bottom: var(--space-md);
    color: var(--off-white);
}

.philosophy-text .highlight {
    font-size: 1.125rem;
}

.philosophy-closing {
    font-family: var(--font-japanese);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 2.4;
    color: var(--gold-pale);
    font-style: italic;
    margin-top: var(--space-lg);
}

/* ==========================================
   Space Section
   ========================================== */
.space {
    padding: var(--space-xl) 0;
    background: var(--dark);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(74, 14, 14, 0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    text-transform: uppercase;
}

/* ==========================================
   Experience Section
   ========================================== */
.experience {
    padding: var(--space-xl) 0;
    background: linear-gradient(to bottom, var(--wine-deep) 0%, var(--wine-primary) 100%);
}

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

.experience-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 98, 0.15);
    transition: all 0.5s ease;
}

.experience-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 98, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--gold-primary);
    transition: transform 0.5s ease;
}

.experience-card:hover .experience-icon {
    transform: scale(1.1) rotate(5deg);
}

.experience-icon svg {
    width: 100%;
    height: 100%;
}

.experience-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
}

.experience-desc {
    font-family: var(--font-japanese);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 2.2;
    color: var(--off-white);
}

/* ==========================================
   Story Section
   ========================================== */
.story {
    padding: var(--space-xl) 0;
    background: var(--dark);
}

.story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
}

.story-logo {
    width: 100px;
}

.story-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.story-text h3 {
    font-family: var(--font-japanese);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
}

.story-text p {
    font-family: var(--font-japanese);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 2.2;
    color: var(--light-gray);
}

/* ==========================================
   Access Section
   ========================================== */
.access {
    padding: var(--space-xl) 0;
    background: var(--black);
}

.access-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.access-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.access-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.access-value {
    font-family: var(--font-japanese);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--off-white);
}

.access-map {
    width: 100%;
    height: 300px;
    background: var(--charcoal);
    overflow: hidden;
}

.access-map iframe {
    filter: grayscale(100%) invert(92%) contrast(90%);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: var(--space-xl) 0;
    background: linear-gradient(to bottom, var(--black) 0%, var(--wine-deep) 100%);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 98, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    transform: translateX(10px);
}

.contact-btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.contact-btn-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.contact-btn:hover .contact-btn-icon svg {
    transform: scale(1.1);
}

.contact-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-btn-label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--off-white);
}

.contact-btn-sub {
    font-family: var(--font-japanese);
    font-size: 0.75rem;
    color: var(--gray);
}

.contact-btn-arrow {
    width: 24px;
    height: 24px;
    color: var(--gold-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-btn:hover .contact-btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-btn-arrow svg {
    width: 100%;
    height: 100%;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: var(--space-lg) 0;
    background: var(--wine-deep);
    text-align: center;
}

.footer-logo {
    width: 80px;
    margin: 0 auto var(--space-sm);
}

.footer-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-tagline {
    font-family: var(--font-japanese);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--gold-light);
    margin-bottom: var(--space-md);
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: rgba(201, 169, 98, 0.3);
    margin: 0 auto var(--space-md);
}

.footer-copy {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    margin-bottom: var(--space-xs);
}

.footer-company {
    font-family: var(--font-japanese);
    font-size: 0.75rem;
    color: var(--gray);
}

/* ==========================================
   Tablet Styles (min-width: 768px)
   ========================================== */
@media (min-width: 768px) {
    :root {
        --space-lg: 5rem;
        --space-xl: 8rem;
    }

    .loader-logo {
        width: 120px;
    }

    .loader-text {
        font-size: 2rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        gap: var(--space-md);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 0.75rem;
        transform: none;
    }

    .hero-logo {
        width: 180px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-scroll {
        bottom: 220px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .concept-lead,
    .concept-meaning,
    .concept-statement {
        font-size: 1.125rem;
    }

    .philosophy-lead {
        font-size: 2rem;
    }

    .philosophy-text {
        font-size: 1rem;
    }

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

    .gallery-item-large {
        grid-column: span 2;
    }

    .experience-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .story-content {
        flex-direction: row;
        text-align: left;
        gap: var(--space-xl);
    }

    .story-logo {
        width: 150px;
        flex-shrink: 0;
    }

    .access-content {
        flex-direction: row;
    }

    .access-info {
        flex: 1;
    }

    .access-map {
        flex: 1;
        height: auto;
        min-height: 350px;
    }

    .contact-buttons {
        flex-direction: row;
        max-width: 100%;
    }

    .contact-btn {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg) var(--space-md);
    }

    .contact-btn:hover {
        transform: translateY(-10px);
    }

    .contact-btn-icon {
        width: 64px;
        height: 64px;
    }

    .contact-btn-icon svg {
        width: 36px;
        height: 36px;
    }

    .contact-btn-text {
        align-items: center;
    }

    .contact-btn-arrow {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
    }
}

/* ==========================================
   Desktop Styles (min-width: 1024px)
   ========================================== */
@media (min-width: 1024px) {
    :root {
        --space-xl: 10rem;
        --space-2xl: 14rem;
    }

    .loader-logo {
        width: 140px;
    }

    .loader-text {
        font-size: 2.5rem;
    }

    .nav {
        padding: 0 var(--space-lg);
    }

    .nav-logo {
        width: 60px;
    }

    .nav-menu {
        gap: var(--space-lg);
    }

    .nav-menu a {
        font-size: 0.875rem;
    }

    .hero-logo {
        width: 220px;
    }

    .hero-tagline {
        font-size: 1.125rem;
        letter-spacing: 0.6em;
    }

    .section-title {
        font-size: 3rem;
    }

    .philosophy-lead {
        font-size: 2.5rem;
    }

    .philosophy-text {
        font-size: 1.0625rem;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .experience-card {
        padding: var(--space-xl) var(--space-md);
    }

    .access-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .access-label {
        min-width: 100px;
    }

    .access-map {
        min-height: 400px;
    }
}

/* ==========================================
   Large Desktop (min-width: 1440px)
   ========================================== */
@media (min-width: 1440px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1400px;
    }

    .hero-logo {
        width: 280px;
    }
}

/* ==========================================
   Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================
   High Contrast Mode Support
   ========================================== */
@media (prefers-contrast: high) {
    :root {
        --wine-deep: #2A0505;
        --gold-primary: #FFD700;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .loader,
    .header,
    .hero-scroll,
    .nav-toggle,
    .wave-divider {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section-title,
    .philosophy-lead {
        color: black;
    }
}
