:root {
    color-scheme: light only;

    /* Light mode colors */
    --vel-ivory: #F7ECD8;
    --vel-midnight: #0A0A0C;
    --vel-mahogany: #5F1510;
    --vel-gold: #D1B992;
    --vel-wax: #7A0E10;
    --vel-ink: #1E1B16;

    /* Dark mode colors */
    --vel-char: #0E0E10;
    --vel-bone: #EAE2D2;
    --vel-amber: #C6AE8B;

    /* Core tokens */
    --bg: var(--vel-ivory);
    --text: var(--vel-midnight);
    --ink: var(--vel-ink);
    --mahogany: var(--vel-mahogany);
    --gold: var(--vel-gold);
    --wax: var(--vel-wax);

    --container: min(1120px, 92vw);
    --radius: 6px;
    --radius-sm: 4px;

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 72px;
    --space-7: 96px;

    --easing: cubic-bezier(.25, .1, .25, 1);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .05);
    --focus: 2px solid #1E90FF;
}

/* Force light mode - override system dark mode preferences */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only;
        --bg: #F7ECD8;
        --text: #0A0A0C;
        --ink: #1E1B16;
        --mahogany: #5F1510;
        --gold: #D1B992;
        --wax: #7A0E10;
    }

    body {
        background-color: #F7ECD8 !important;
        color: #0A0A0C !important;
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    font-display: swap;
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
}

/* Typography */
h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 5vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    font-weight: 500;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.25;
    color: var(--ink);
    font-weight: 500;
}

h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3vw, 24px);
    line-height: 1.35;
    color: var(--ink);
    font-weight: 500;
}

.kicker {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mahogany);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.lede {
    font-size: 20px;
    line-height: 1.5;
    max-width: 42ch;
    text-wrap: balance;
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

section {
    padding: var(--space-7) 0;
    scroll-margin-top: 120px;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-5) 0;
        scroll-margin-top: 100px;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    z-index: 1000;
    transition: transform 0.3s var(--easing);
}

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

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--ink);
    font-size: 28px;
    z-index: 10001;
    transition: color 0.2s var(--easing);
    position: relative;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    color: var(--mahogany);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-4);
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: color 0.2s var(--easing);
}

nav a:hover,
nav a:focus {
    color: var(--mahogany);
}

nav a.active {
    border-bottom: 2px solid var(--gold);
}

/* Dropdown trigger (non-clickable) */
.nav-dropdown-trigger {
    color: var(--text);
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: color 0.2s var(--easing);
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: var(--mahogany);
}

.nav-dropdown-trigger.active {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mahogany);
    color: var(--bg);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    min-height: 44px;
    transition: all 0.15s var(--easing);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--wax);
    color: var(--bg);
    box-shadow: 0 4px 12px rgba(95, 21, 16, 0.2);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(95, 21, 16, 0.2);
}

.link {
    color: var(--mahogany);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s var(--easing);
}

.link:hover,
.link:focus {
    border-bottom-color: var(--mahogany);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg) 0%, rgba(247, 236, 216, 0.8) 100%);
    position: relative;
    padding-top: 120px;
    scroll-margin-top: 0;
}

.hero-content {
    text-align: left;
    max-width: 60ch;
}

.hero h1 {
    margin-bottom: var(--space-3);
    opacity: 0;
    transform: translateY(6px);
    animation: fadeInUp 0.35s var(--easing) 0.3s forwards;
}

.hero h1.typewriter {
    opacity: 1;
    transform: translateY(0);
    border-right: 2px solid var(--mahogany);
    animation: blink-caret 0.75s step-end infinite;
}

.hero h1.typewriter.completed {
    border-right: none;
    animation: none;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--mahogany);
    }
}

.hero .sub {
    font-size: 20px;
    margin-bottom: var(--space-5);
    opacity: 0;
    animation: fadeInUp 0.3s var(--easing) 0.45s forwards;
}

.cta-row {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.25s var(--easing) 0.57s forwards;
}

.ink-underline {
    position: relative;
}

.ink-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mahogany);
    animation: inkReveal 0.4s var(--easing) 0.8s forwards;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero-content {
        text-align: center;
    }

    .cta-row {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* The House */
.house {
    text-align: center;
    padding: var(--space-7) 0;
    background: linear-gradient(135deg, var(--bg) 0%, rgba(247, 236, 216, 0.5) 100%);
}

.house .kicker {
    font-size: 16px;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-5);
    color: var(--mahogany);
    font-weight: 600;
}

.house .lede {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.5vw, 36px);
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--ink);
    font-weight: 500;
    margin: 0 auto var(--space-5);
    max-width: 80ch;
}

@media (max-width: 768px) {
    .house {
        padding: var(--space-6) 0;
        text-align: left;
    }

    .house .lede {
        margin-left: 0;
        text-align: left;
    }
}

/* Waveform */
.wave {
    text-align: center;
    padding: var(--space-6) 0;
}

.wave-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.18s var(--easing);
    width: 100%;
}

.wave-btn:hover svg {
    stroke-width: 1.5px;
}

.waveform-svg,
.waveform-progress {
    width: min(80%, 400px);
    height: 40px;
    stroke: var(--mahogany);
    stroke-width: 1px;
    fill: none;
}

.waveform-progress {
    display: none;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.play-pause-btn {
    background: none;
    border: 1px solid var(--mahogany);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mahogany);
    font-size: 12px;
    position: relative;
    z-index: 10;
}

.play-pause-btn:hover {
    background: var(--mahogany);
    color: var(--ivory);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: var(--iron);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--mahogany);
    border-radius: 50%;
    cursor: pointer;
}

.volume-icon {
    color: var(--mahogany);
    font-size: 14px;
}

.wave-text {
    font-size: 14px;
    color: var(--text);
    text-align: center;
}

/* Experiences */
.experiences {
    padding: var(--space-7) 0;
}

.experiences h2 {
    text-align: center;
    margin-bottom: var(--space-6);
}

.exp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
    margin-bottom: var(--space-7);
}

.exp.diamond {
    grid-template-columns: 1fr 1fr;
}

.exp.diamond .exp-content {
    order: 1;
}

.exp.diamond .exp-image {
    order: 2;
}

.exp-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.exp-image {
    position: relative;
}

.exp-image.tinted::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    background: linear-gradient(180deg, rgba(95, 21, 16, 0.22), rgba(209, 185, 146, 0.12));
    mix-blend-mode: multiply;
}

.exp-content h3 {
    margin-bottom: var(--space-3);
}

.exp-content p {
    margin-bottom: var(--space-3);
}

.exp-content p:last-of-type {
    margin-bottom: var(--space-4);
}

@media (max-width: 768px) {

    .exp,
    .exp.diamond {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .exp.diamond .exp-content,
    .exp.diamond .exp-image {
        order: unset;
    }
}

/* Love Wall */
.lovewall {
    text-align: center;
}

.lovewall .container>h2 {
    text-align: center;
    margin-bottom: var(--space-6);
}

.lovewall-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
    text-align: left;
}

.lw-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    aspect-ratio: 3/2;
    object-fit: cover;
}

.lw-media {
    position: relative;
}

.lw-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    background: linear-gradient(180deg, rgba(95, 21, 16, 0.22), rgba(209, 185, 146, 0.12));
    mix-blend-mode: multiply;
}

.lw-copy h3 {
    margin-bottom: var(--space-3);
}

.lw-copy p {
    margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
    .lovewall-content {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        text-align: center;
    }
}

/* Appointment */
.appointment {
    background: var(--bg);
    border-top: 1px solid var(--gold);
    text-align: center;
}

.appointment h2 {
    margin-bottom: var(--space-3);
}

.appointment p {
    margin-bottom: var(--space-3);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.appointment p:last-of-type {
    margin-bottom: var(--space-5);
}

/* Footer */
footer {
    background: var(--ink);
    color: var(--bg);
    padding: var(--space-6) 0 var(--space-4);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.footer-column h4 {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    color: var(--gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-1);
}

.footer-column a {
    color: var(--bg);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
}

.footer-column a:hover,
.footer-column a:focus {
    color: var(--gold);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inkReveal {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

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

    .ink-underline::after {
        animation: none;
        width: 100%;
    }
}

/* Focus states */
*:focus {
    outline: var(--focus);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--mahogany);
    color: var(--bg);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* ABOUT PAGE EXTRAS */
.about-hero {
    position: relative;
    display: block;
    color: var(--ink);
    background: linear-gradient(135deg, var(--bg) 0%, rgba(247, 236, 216, 0.6) 100%);
}

.about-hero_inner {
    text-align: center;
    padding-top: 136px;
    padding-bottom: 40px;
}

.about-hero h1 {
    color: var(--ink);
}

.about-hero_kicker {
    color: var(--mahogany);
    letter-spacing: .18em;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-hero_sub {
    color: var(--text);
    opacity: .95;
    max-width: 70ch;
    margin: 12px auto 0;
    font-size: 20px;
}

[id] {
    scroll-margin-top: 96px;
}

.divider {
    text-align: center;
    color: var(--mahogany);
    margin: var(--space-5) 0;
    font-size: 24px;
    letter-spacing: 0.3em;
}

.story {
    padding-top: var(--space-6);
}

.about-copy {
    display: grid;
    gap: var(--space-3);
    max-width: 80ch;
    margin: 0 auto;
    text-align: center;
}

.about-copy p {
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
}

.about-copy p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    line-height: .85;
    letter-spacing: 0.01em;
    color: var(--mahogany);
    padding-right: 10px;
    display: inline-block;
    vertical-align: top;
}

@media (min-width: 900px) {
    .about-copy {
        column-count: 1;
    }
}

.pull-quote {
    margin: var(--space-6) auto;
    text-align: center;
    max-width: 70ch;
}

.pull-quote blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.5vw, 36px);
    line-height: 1.25;
    color: var(--ink);
}

.pull-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mahogany);
}

.pillars {
    padding-top: var(--space-2);
}

.pillars h2 {
    text-align: center;
    margin-top: var(--space-2);
}

.pillars-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.pillar-row {
    position: relative;
    display: grid;
    gap: 8px;
    padding: var(--space-3) var(--space-4);
    background: rgba(209, 185, 146, 0.06);
    border: 1px solid rgba(209, 185, 146, .55);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.pillar-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.pillar-row:hover {
    background: rgba(209, 185, 146, 0.1);
}

.pillar-row h3 {
    margin: 0;
}

.pillar-row p {
    margin: 0;
}

.pillar-row-wide {
    grid-column: 1 / -1;
}

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

/* LUXURY DROPDOWN MENU */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(247, 236, 216, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(209, 185, 146, 0.3);
    border-radius: var(--radius);
    padding: var(--space-3);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--easing);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--easing);
    margin-bottom: var(--space-1);
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: rgba(209, 185, 146, 0.1);
    color: var(--mahogany);
    transform: translateX(4px);
}

.dropdown-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 2px;
}

.dropdown-item-desc {
    font-size: 13px;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.4;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85vw;
        max-width: 400px;
        height: 100vh;
        background: var(--bg);
        transition: right 0.3s var(--easing);
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: calc(70px + var(--space-3)) var(--space-4) var(--space-4);
        z-index: 9999;
    }

    nav.mobile-open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: var(--space-2) 0;
        border-bottom: 1px solid rgba(209, 185, 146, 0.2);
        font-size: 17px;
    }

    nav a.active {
        border-bottom-color: var(--gold);
        font-weight: 500;
    }

    .nav-dropdown-trigger {
        display: block;
        padding: var(--space-2) 0;
        border-bottom: 1px solid rgba(209, 185, 146, 0.2);
        font-size: 17px;
    }

    .nav-dropdown-trigger.active {
        border-bottom-color: var(--gold);
        font-weight: 500;
    }

    .btn-primary {
        margin-top: var(--space-3);
        display: block;
        text-align: center;
    }

    /* Dropdown on Mobile */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(209, 185, 146, 0.05);
        border: none;
        box-shadow: none;
        padding: var(--space-2) 0;
        margin-top: var(--space-2);
        margin-left: var(--space-2);
        border-radius: var(--radius-sm);
    }

    .dropdown-item {
        padding: var(--space-2);
        margin-bottom: var(--space-1);
    }

    .dropdown-item:hover {
        transform: none;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
    }
}

/* =========================================
   DESIGN ENHANCEMENTS (Wow Factor)
   ========================================= */

/* Custom Cursor - REMOVED per user request */

/* Grain Overlay - REMOVED per user request */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    /* Changed to fade */
    opacity: 1;
    visibility: visible;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo-img {
    width: 80px;
    height: auto;
    opacity: 0;
    transform: translateY(10px);
    animation: preloaderReveal 0.8s ease forwards;
}

@keyframes preloaderReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lenis Recommended Styles */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}