/* ── css/base.css ───────────────────────────────── */

/* Inertia scroll container — set by smooth-scroll.js */
#smooth-scroll-content {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    will-change: transform;
    backface-visibility: hidden;
}

body {
    background: var(--c-black);
    color: var(--c-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

html { overflow-x: hidden; }

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--c-black); }
::-webkit-scrollbar-thumb { background: var(--c-bordo); }

/* ── All headings: Cormorant Garamond ── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
}

/* ── Section contexts ── */
section { padding: var(--section-v) var(--section-h); position: relative; }

.section-dark  { background: var(--c-dark1); }
.section-black { background: var(--c-black); }
.section-light { background: var(--c-white); color: var(--c-black); }

.section-header { margin-bottom: 80px; }

/* ── Section label ── */
.s-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 4.5px;
    color: var(--c-gray);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-light .s-label { color: rgba(6,6,6,0.4); }
.s-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--c-bordo);
    flex-shrink: 0;
}

/* ── Section title ── */
.s-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.2vw, 76px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.5px;
}
.s-title strong { font-weight: 700; }
.s-title em { font-style: italic; color: var(--c-bordo); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 38px;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn.btn-sm { padding-left: 10px; padding-right: 10px; }

.btn::before,
.btn::after {
    content: '';
    position: absolute;
    left: 50%;
    border-radius: 50%;
    display: block;
    z-index: -1;
    transition: all 0.5s 0.08s cubic-bezier(0.55, 0, 0.1, 1);
}
.btn::before {
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%; height: 180%;
    background-color: rgba(255,255,255,0.06);
}
.btn::after {
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%; height: 190%;
}

/* Dark bg → white ripple (btn-primary) */
.btn-primary {
    background: var(--c-white);
    color: var(--c-black);
    border: 1px solid var(--c-white);
}
.btn-primary::after { background: var(--c-bordo); }
.btn-primary:hover { color: var(--c-white); border-color: var(--c-bordo); }
.btn-primary:hover::before {
    top: -35%;
    background: var(--c-bordo);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
.btn-primary:hover::after {
    top: -45%;
    background: var(--c-bordo);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
.btn-primary:active { color: rgba(255,255,255,0.7); }

/* Light bg → dark ripple (btn-primary-inv) */
.btn-primary-inv {
    background: var(--c-black);
    color: var(--c-white);
    border: 1px solid var(--c-black);
}
.btn-primary-inv::after { background: var(--c-bordo); }
.btn-primary-inv:hover { color: var(--c-white); border-color: var(--c-bordo); }
.btn-primary-inv:hover::before {
    top: -35%;
    background: var(--c-bordo);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
.btn-primary-inv:hover::after {
    top: -45%;
    background: var(--c-bordo);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
.btn-primary-inv:active { color: rgba(255,255,255,0.7); }

/* Ghost on dark bg */
.btn-ghost {
    background: transparent;
    color: var(--c-white);
    border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost::after { background: rgba(255,255,255,0.12); }
.btn-ghost:hover { color: var(--c-white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover::before {
    top: -35%;
    background: rgba(255,255,255,0.08);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
.btn-ghost:hover::after {
    top: -45%;
    background: rgba(255,255,255,0.12);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* Ghost on light bg */
.btn-ghost-dark {
    background: transparent;
    color: var(--c-black);
    border: 1px solid rgba(6,6,6,0.22);
}
.btn-ghost-dark::after { background: rgba(6,6,6,0.07); }
.btn-ghost-dark:hover { color: var(--c-black); border-color: rgba(6,6,6,0.6); }
.btn-ghost-dark:hover::before {
    top: -35%;
    background: rgba(6,6,6,0.05);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
.btn-ghost-dark:hover::after {
    top: -45%;
    background: rgba(6,6,6,0.07);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
