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

:root {
    --teal-900: #0d3b3e;
    --teal-800: #134f54;
    --teal-700: #1a6b71;
    --teal-600: #1f7f87;
    --teal-500: #2a9d8f;
    --teal-400: #4dbfb2;
    --teal-100: #d4eeea;
    --teal-50:  #eaf7f4;
    --slate-950: #0a0f14;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    --white:     #ffffff;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --nav-h: 72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ─────────────────────────────────── */
.section-label {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 480px;
}

.lead {
    font-size: 1.1rem;
    color: var(--slate-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}
.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
}

.btn-outline {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}
.btn-outline:hover {
    background: var(--teal-50);
}

.btn-white {
    background: var(--white);
    color: var(--teal-900);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--slate-100);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-outline-dark:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
}

/* ── Navbar ─────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 var(--slate-200);
}

.navbar.scrolled .logo { color: var(--slate-900); }
.navbar.scrolled .nav-links a { color: var(--slate-700); }
.navbar.scrolled .nav-links a:hover { color: var(--teal-600); }

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--white); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s;
}
.navbar.scrolled .menu-toggle span { background: var(--slate-800); }

/* ── Mobile Menu ────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}
.mobile-link {
    font-size: 1rem;
    color: var(--slate-700);
    padding: 8px 0;
    border-bottom: 1px solid var(--slate-100);
}
.mobile-btn {
    margin-top: 8px;
    text-align: center;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/135620/pexels-photo-135620.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 62, 0.82) 0%,
        rgba(15, 23, 42, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding-top: var(--nav-h);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-400);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}
.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── About ──────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-text p {
    color: var(--slate-600);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

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

/* ── Departments ────────────────────────────────── */
.departments {
    padding: 100px 0 120px;
    background: var(--slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-sub {
    margin: 0 auto;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dept-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15,23,42,0.08);
}

.dept-img-wrap {
    overflow: hidden;
    aspect-ratio: 5/4;
}
.dept-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dept-card:hover .dept-img-wrap img {
    transform: scale(1.05);
}

.dept-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--slate-900);
    padding: 20px 24px 0;
}

.dept-card p {
    font-size: 0.875rem;
    color: var(--slate-500);
    padding: 8px 24px 24px;
    line-height: 1.7;
}

/* ── Consign ────────────────────────────────────── */
.consign {
    padding: 120px 0;
    background: var(--white);
}

.consign-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.consign-content p {
    color: var(--slate-600);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.consign-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0 40px;
}

.consign-steps li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal-500);
    line-height: 1;
    min-width: 32px;
}

.consign-steps strong {
    display: block;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.consign-steps span {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.consign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* ── Visit ──────────────────────────────────────── */
.visit {
    padding: 100px 0 120px;
    background: var(--slate-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.visit-info {
    padding: 48px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--slate-200);
}

.visit-info .section-title { margin-bottom: 32px; }

.info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item strong {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.info-item span,
.info-item a {
    font-size: 0.9rem;
    color: var(--slate-600);
}
.info-item a:hover { color: var(--teal-600); }

.hours-block {
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}
.hours-block h4 {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--slate-900);
    margin-bottom: 8px;
}
.hours-block p {
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-bottom: 16px;
}

.visit-map {
    border-radius: 6px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid var(--slate-200);
}

/* ── Footer ─────────────────────────────────────── */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-quick-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-quick-links a {
    display: block;
    font-size: 0.875rem;
    color: var(--slate-500);
    padding: 6px 0;
    transition: color 0.2s;
}
.footer-quick-links a:hover { color: var(--teal-400); }

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 8px;
    line-height: 1.6;
}
.footer-contact a {
    color: var(--slate-500);
    transition: color 0.2s;
}
.footer-contact a:hover { color: var(--teal-400); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-600);
}

/* ── Scroll Reveal ──────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .dept-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }

    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }

    .about-grid,
    .consign-split,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about { padding: 80px 0; }
    .departments { padding: 80px 0; }
    .consign { padding: 80px 0; }
    .visit { padding: 80px 0; }

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

    .visit-info { padding: 32px; }
    .visit-map { min-height: 300px; }

    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { padding: 20px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero { min-height: 580px; }
    .hero-content { padding-top: calc(var(--nav-h) + 20px); }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
