/* ==========================================================================
   THREE MARINE — South Florida Luxury Yacht Management & Marine Operations
   --------------------------------------------------------------------------
   Stylesheet authored as a single, modular, production-ready system.
   Organized as:
     1. Tokens (CSS variables)
     2. Reset & base
     3. Typography
     4. Utilities / layout
     5. Buttons & links
     6. Navigation & mobile menu
     7. Preloader & reveal animations
     8. Sections (hero, about, services, listings, why, process, newbuild, contact)
     9. Form
    10. Footer
    11. Responsive breakpoints
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    /* Brand palette — dark luxury */
    --ink:          #0A0E14;
    --ink-2:        #0F141B;
    --charcoal:     #161C26;
    --bone:         #F5F2EC;
    --bone-2:       #ECE7DC;
    --bone-3:       #DDD6C7;
    --brass:        #B89968;
    --brass-light:  #D4B786;
    --brass-soft:   rgba(184, 153, 104, 0.18);
    --mist:         #8A8F98;
    --mist-2:       #5C6470;

    /* On-dark / on-light text */
    --text-on-dark:  rgba(245, 242, 236, 0.94);
    --text-on-dark-2: rgba(245, 242, 236, 0.68);
    --text-on-light: #181E26;
    --text-on-light-2: #505C6A;

    /* Hairline rules */
    --rule-dark:  rgba(245, 242, 236, 0.10);
    --rule-light: rgba(10, 14, 20, 0.10);

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 72px;
    --space-9: 96px;
    --space-10: 144px;
    --space-11: 192px;

    /* Layout */
    --container-max: 1440px;
    --gutter: clamp(24px, 5vw, 80px);
    --section-y: clamp(80px, 12vw, 160px);
    --nav-h: 84px;

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-luxe: cubic-bezier(0.65, 0.05, 0.36, 1);
    --ease-cinema: cubic-bezier(0.6, 0.05, 0.2, 1);   /* refined slow-in/slow-out */
    --t-fast: 280ms;
    --t-base: 560ms;
    --t-slow: 1000ms;
    --t-cinema: 1400ms;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-on-light);
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection { background: var(--brass); color: var(--bone); }


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
.h1, .h2, .h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text-on-light);
}

.h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.022em;
    font-weight: 400;
}
.h2 em {
    font-style: italic;
    color: var(--brass);
    font-weight: 300;
}
.h2--light { color: var(--bone); font-weight: 300; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-on-light-2);
    margin-bottom: 30px;
}
.eyebrow::before {
    content: "";
    width: 44px;
    height: 1px;
    background: var(--brass);
    flex: 0 0 auto;
}
.eyebrow--light { color: rgba(245, 242, 236, 0.7); }

.lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    color: var(--text-on-light);
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

section { padding: var(--section-y) 0; position: relative; }

.section--dark {
    background: var(--ink);
    color: var(--text-on-dark);
    overflow: hidden;
}
.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(184,153,104,0.06) 0%, transparent 65%),
        linear-gradient(180deg, transparent 60%, rgba(10,14,20,0.45) 100%);
    z-index: 0;
}
.section--dark > * { position: relative; z-index: 1; }
.section--dark p,
.section--dark .section-head__sub { color: var(--text-on-dark-2); }

.section--bone {
    background: var(--bone-2);
}

.section-head {
    max-width: 760px;
    margin: 0 auto calc(var(--space-9) + 8px);
    text-align: center;
}
.section-head__sub {
    font-size: 1rem;
    color: var(--text-on-light-2);
    margin: var(--space-5) 0 0;
    line-height: 1.75;
    letter-spacing: 0.008em;
}
/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */
.btn {
    --bg: var(--ink);
    --fg: var(--bone);
    --bd: var(--ink);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 40px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.6s var(--ease-cinema), border-color 0.6s var(--ease-cinema);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brass);
    transform: translateY(101%);
    transition: transform 0.7s var(--ease-cinema);
    z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--bone); border-color: var(--brass); }
.btn:hover::before { transform: translateY(0); }

.btn--ghost {
    --bg: transparent;
    --fg: var(--bone);
    --bd: rgba(245, 242, 236, 0.28);
}
.btn--ghost:hover { border-color: var(--brass); }

.btn--outline {
    --bg: transparent;
    --fg: var(--text-on-light);
    --bd: var(--text-on-light);
}

.btn--light {
    --bg: var(--bone);
    --fg: var(--ink);
    --bd: var(--bone);
}
.btn--light:hover { color: var(--bone); }

.btn--full { width: 100%; }

.btn svg { transition: transform var(--t-base) var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }


.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-on-light);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule-light);
    transition: color 0.6s var(--ease-cinema), border-color 0.6s var(--ease-cinema), gap 0.6s var(--ease-cinema);
}
.link-arrow svg { transition: transform 0.6s var(--ease-cinema); }
.link-arrow:hover { color: var(--brass); border-color: var(--brass); gap: 20px; }
.link-arrow:hover svg { transform: translateX(6px); }


/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.nav__inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 26px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--bone);
    transition: color var(--t-base) var(--ease);
}
.nav__brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--brass);
    color: var(--brass);
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.7s var(--ease-cinema), color 0.7s var(--ease-cinema), border-color 0.7s var(--ease-cinema);
    flex-shrink: 0;
}
.nav__brand:hover .nav__brand-mark { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.nav__brand-text {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.30em;
}
.nav__brand-text em {
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: 0;
    font-size: 18px;
    font-weight: 400;
    margin-left: 2px;
    color: var(--brass);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 52px;
}
.nav__menu a {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bone);
    opacity: 0.74;
    position: relative;
    padding: 8px 0;
}
.nav__menu a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--brass);
    transition: width 0.7s var(--ease-cinema);
}
.nav__menu a:hover { opacity: 1; color: var(--brass); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--bone);
    padding: 14px 28px;
    border: 1px solid rgba(245, 242, 236, 0.28);
    transition: all var(--t-base) var(--ease);
}
.nav__cta:hover {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
}

/* Nav scrolled state (set by JS) */
.nav.is-scrolled {
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border-bottom-color: rgba(184, 153, 104, 0.12);
}
.nav.is-scrolled .nav__inner { padding-top: 18px; padding-bottom: 18px; }

/* Mobile toggle */
.nav__toggle {
    display: none;
    width: 38px; height: 38px;
    padding: 10px 8px;
    border: 1px solid rgba(245, 242, 236, 0.3);
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}
.nav__toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--bone);
    transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }


/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--ink);
    padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mobile-menu__nav a {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 3rem);
    color: var(--bone);
    font-weight: 400;
    line-height: 1.1;
    transform: translateY(20px);
    opacity: 0;
    transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease), color var(--t-fast) var(--ease);
}
.mobile-menu__nav a:hover { color: var(--brass); }
.mobile-menu.is-open .mobile-menu__nav a {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 80ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 130ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 180ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 230ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 280ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 330ms; }

.mobile-menu__foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: var(--space-7);
    border-top: 1px solid var(--rule-dark);
    color: var(--text-on-dark-2);
    font-size: 13px;
    letter-spacing: 0.04em;
}
.mobile-menu__foot a { color: var(--bone); }
.mobile-menu__foot a:hover { color: var(--brass); }


/* ==========================================================================
   7. PRELOADER & REVEAL
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.is-done {
    opacity: 0;
    visibility: hidden;
}
.preloader__mark {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--bone);
}
.preloader__line {
    width: 56px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    animation: preLine 1.2s var(--ease-luxe) forwards;
}
.preloader__mark .preloader__line:last-child {
    transform-origin: right;
    animation-delay: 0.1s;
}
.preloader__text {
    font-size: 13px;
    letter-spacing: 0.32em;
    opacity: 0;
    animation: preFade 0.6s var(--ease) 0.4s forwards;
}
@keyframes preLine { to { transform: scaleX(1); } }
@keyframes preFade { to { opacity: 1; } }


/* Reveal-on-scroll (driven by IntersectionObserver in main.js) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.4s var(--ease-cinema), transform 1.4s var(--ease-cinema);
    transition-delay: 0ms;
    will-change: opacity, transform;
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   8. HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
    color: var(--bone);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    transform: scale(1.1);
    animation: heroKenBurns 28s var(--ease-cinema) forwards;
    will-change: transform;
    filter: brightness(0.88) saturate(0.86) contrast(1.02);
}
@keyframes heroKenBurns {
    0%   { transform: scale(1.1)  translate(0, 0); }
    100% { transform: scale(1.02) translate(-1.5%, 1%); }
}

/* Video supplies its own motion via scroll-sync — disable ken-burns and lock at scale 1. */
.hero__video {
    animation: none;
    transform: scale(1.02);
    z-index: 1;
}

/* Static fallback image — visible until JS confirms the video can play, then hidden. */
.hero__img--fallback {
    z-index: 0;
    opacity: 1;
    transition: opacity 0.8s var(--ease-cinema);
}
.hero__video.is-ready ~ .hero__img--fallback {
    opacity: 0;
    pointer-events: none;
}

.hero__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 25% 80%, rgba(10,14,20,0.68) 0%, rgba(10,14,20,0) 65%),
        linear-gradient(115deg, rgba(10,14,20,0.65) 0%, rgba(10,14,20,0.05) 55%),
        linear-gradient(180deg, rgba(10,14,20,0.52) 0%, rgba(10,14,20,0.10) 30%, rgba(10,14,20,0.62) 65%, rgba(10,14,20,0.98) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter) 14vh;
}

.hero__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.85rem, 8.2vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.024em;
    color: var(--bone);
    margin: 0 0 var(--space-6);
    max-width: 16ch;
}
.hero__title em {
    font-style: italic;
    color: var(--brass);
    font-weight: 300;
}

.hero__sub {
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.7;
    letter-spacing: 0.005em;
    max-width: 46ch;
    color: rgba(245, 242, 236, 0.82);
    margin: 0 0 var(--space-7);
    font-weight: 300;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 6px;
}

.hero__contact {
    position: absolute;
    bottom: 6vh;
    right: var(--gutter);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}
.hero__contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__contact-label {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(245, 242, 236, 0.5);
}
.hero__contact-value {
    font-size: 14px;
    color: var(--bone);
    letter-spacing: 0.02em;
}
.hero__contact-item:hover .hero__contact-value { color: var(--brass); }
.hero__contact-rule {
    width: 1px;
    height: 28px;
    background: rgba(245, 242, 236, 0.2);
}

.hero__scroll {
    position: absolute;
    bottom: 6vh;
    left: var(--gutter);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(245, 242, 236, 0.55);
}
.hero__scroll-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: rgba(245, 242, 236, 0.3);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 30%;
    background: var(--brass);
    animation: scrollLine 3.2s var(--ease-cinema) infinite;
}
@keyframes scrollLine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(330%); }
}


/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust {
    background: var(--ink);
    padding: 38px 0;
    border-top: 1px solid rgba(184, 153, 104, 0.10);
    border-bottom: 1px solid var(--rule-dark);
}
.trust__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4) var(--space-6);
    color: var(--text-on-dark-2);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}
.trust__item {
    transition: color 0.5s var(--ease-cinema);
    cursor: default;
}
.trust__item:hover { color: var(--bone); }
.trust__dot {
    width: 3px; height: 3px;
    background: var(--brass);
    border-radius: 50%;
    opacity: 0.7;
}


/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--bone); }
.about__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(56px, 7.5vw, 140px);
    align-items: center;
}

/* Editorial portrait frame — restrained luxury, layered depth */
.about__media {
    position: relative;
    aspect-ratio: 3 / 4;          /* tighter portrait crop than 4:5, closer to magazine cover proportion */
    overflow: hidden;
    box-shadow:
        20px 24px 0 -1px rgba(184, 153, 104, 0.14),   /* subtle brass offset frame behind */
        0 1px 0 0 rgba(184, 153, 104, 0.6),            /* brass hairline top edge — slightly softer */
        0 60px 100px -35px rgba(10, 14, 20, 0.52),     /* deep ambient cast */
        0 24px 48px -20px rgba(10, 14, 20, 0.30);      /* close depth */
    transition: box-shadow 1.1s var(--ease-cinema);
}
.about__media:hover {
    box-shadow:
        24px 28px 0 -1px rgba(184, 153, 104, 0.20),
        0 1px 0 0 var(--brass),
        0 70px 110px -35px rgba(10, 14, 20, 0.58),
        0 28px 54px -20px rgba(10, 14, 20, 0.34);
}
.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;   /* face in upper-third / golden ratio zone */
    transform: scale(1.06);
    transition: transform 3s var(--ease-cinema);
    will-change: transform;
}
.about__media.is-in img { transform: scale(1.01); }
.about__media:hover img,
.about__media.is-in:hover img { transform: scale(1.04); }

/* Refined credit-style name tag — editorial magazine credit feel */
.about__media-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--ink);
    color: var(--bone);
    padding: 22px 28px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--brass);
    z-index: 2;
}
.about__media-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    color: var(--bone);
    letter-spacing: -0.005em;
}
.about__media-role {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brass-light);
}

.about__copy p { color: var(--text-on-light-2); margin: 0 0 var(--space-5); line-height: 1.78; }
.about__copy .lede {
    color: var(--text-on-light);
    margin-bottom: var(--space-7);
    font-weight: 400;
    line-height: 1.65;
}
.about__copy h2 { margin-bottom: var(--space-7); }

.about__points {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: var(--space-7) 0;
    border-top: 1px solid var(--rule-light);
}
.about__points li {
    padding: 22px 0;
    border-bottom: 1px solid var(--rule-light);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--space-5);
    align-items: baseline;
}
.about__points strong {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-on-light);
    font-weight: 400;
}
.about__points span {
    color: var(--text-on-light-2);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ==========================================================================
   SERVICES
   ========================================================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-dark);
    border-left: 1px solid var(--rule-dark);
}
.service {
    padding: var(--space-8) var(--space-6);
    border-right: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
    position: relative;
    transition: background var(--t-base) var(--ease);
}
.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(184, 153, 104, 0.08));
    opacity: 0;
    transition: opacity var(--t-cinema) var(--ease-cinema);
    pointer-events: none;
}
.service::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 1px;
    background: var(--brass);
    transition: width 0.9s var(--ease-cinema);
}
.service:hover::before { opacity: 1; }
.service:hover::after { width: 100%; }
.service:hover .service__num { color: var(--brass-light); transform: translateY(-2px); }
.service__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--brass);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: var(--space-5);
    transition: color 0.5s var(--ease-cinema), transform 0.6s var(--ease-cinema);
}
.service__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2vw, 1.85rem);
    color: var(--bone);
    margin: 0 0 var(--space-4);
    line-height: 1.2;
}
.service p { margin: 0; line-height: 1.65; }


/* ==========================================================================
   WHY THREE MARINE
   ========================================================================== */
.why__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.why__head h2 { margin-bottom: var(--space-5); }
.why__head p {
    color: var(--text-on-light-2);
    max-width: 34ch;
    margin: 0;
}

.why__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule-light);
}
.why__item {
    padding: var(--space-6) var(--space-5) var(--space-6) 0;
    border-bottom: 1px solid var(--rule-light);
    padding-right: var(--space-5);
    position: relative;
    overflow: hidden;
}
.why__item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 1px;
    background: var(--brass);
    transition: width 0.9s var(--ease-cinema);
}
.why__item:hover::after { width: 100%; }
.why__item h4 {
    transition: color 0.45s var(--ease-cinema);
}
.why__item:hover h4 { color: var(--brass); }
.why__item:nth-child(odd) { padding-right: var(--space-7); border-right: 1px solid var(--rule-light); padding-left: 0; }
.why__item:nth-child(even) { padding-left: var(--space-7); }

.why__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--brass);
    display: block;
    margin-bottom: var(--space-3);
}
.why__item h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: var(--text-on-light);
}
.why__item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-on-light-2);
    line-height: 1.6;
}


/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    counter-reset: step;
    border-top: 1px solid var(--rule-dark);
}
.timeline__step {
    padding: var(--space-7) var(--space-5) var(--space-7) 0;
    position: relative;
    padding-right: var(--space-6);
}
.timeline__step + .timeline__step { border-left: 1px solid var(--rule-dark); padding-left: var(--space-6); }

.timeline__step::before {
    content: "";
    position: absolute;
    top: var(--space-7);
    left: 0;
    width: 8px;
    height: 8px;
    border: 1px solid var(--brass);
    background: var(--ink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
}
.timeline__step:first-child::before { left: 0; transform: translate(0, -50%); }

.timeline__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--brass);
    display: block;
    margin-bottom: var(--space-4);
}
.timeline__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--bone);
}
.timeline__step p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.68;
}


/* ==========================================================================
   NEW BUILDS / WHOLESALE
   ========================================================================== */
.newbuild {
    position: relative;
    color: var(--bone);
    background: var(--ink);
    padding: clamp(96px, 14vw, 180px) 0;
    overflow: hidden;
}
.newbuild__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.newbuild__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.88);
    will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
    .newbuild__media img {
        animation: newbuildDrift 32s var(--ease-cinema) forwards;
        transform: scale(1.08);
    }
}
@keyframes newbuildDrift {
    0%   { transform: scale(1.08) translate(0, 0); }
    100% { transform: scale(1.00) translate(-0.8%, 0.4%); }
}
.newbuild__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(184,153,104,0.08) 0%, transparent 60%),
        linear-gradient(115deg, rgba(10,14,20,0.92) 0%, rgba(10,14,20,0.54) 45%, rgba(10,14,20,0.88) 100%),
        linear-gradient(180deg, rgba(10,14,20,0.50) 0%, rgba(10,14,20,0.0) 35%, rgba(10,14,20,0.88) 100%);
}

.newbuild__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.newbuild__content h2 {
    color: var(--bone);
    margin-bottom: var(--space-5);
    font-size: clamp(2.6rem, 5.6vw, 4.75rem);
    line-height: 1.0;
    letter-spacing: -0.022em;
    font-weight: 300;
}
.newbuild__content p {
    color: var(--text-on-dark-2);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: var(--space-7);
}

.newbuild__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
}
.newbuild__pillar h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--brass);
    margin: 0 0 8px;
}
.newbuild__pillar p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-on-dark-2);
}


/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--bone); }
.contact__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}
.contact__copy h2 { margin-bottom: var(--space-5); }
.contact__copy p { color: var(--text-on-light-2); margin: 0 0 var(--space-7); max-width: 42ch; }
.contact__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rule-light);
}
.contact__list li {
    padding: 22px 0;
    border-bottom: 1px solid var(--rule-light);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-5);
    align-items: center;
}
.contact__label {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-on-light-2);
}
.contact__value {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-on-light);
}
a.contact__value:hover { color: var(--brass); }


/* ==========================================================================
   9. FORM
   ========================================================================== */
.contact__form {
    background: var(--ink);
    color: var(--text-on-dark);
    padding: clamp(36px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.field, .field-row { display: flex; flex-direction: column; gap: 10px; }
.field-row {
    flex-direction: row;
    gap: var(--space-5);
}
.field-row .field { flex: 1; }

.field label {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(245, 242, 236, 0.55);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule-dark);
    padding: 12px 0;
    color: var(--bone);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color var(--t-base) var(--ease);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--brass);
}
.field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23B89968' stroke-width='1'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px;
    padding-right: var(--space-5);
    color: var(--bone);
}
.field select option { background: var(--ink); color: var(--bone); }

.form__note {
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(245, 242, 236, 0.45);
    margin: 6px 0 0;
}
.form__success {
    margin: 0;
    font-size: 13px;
    color: var(--brass);
    min-height: 18px;
}


/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
    background: var(--ink);
    color: var(--text-on-dark-2);
    padding-top: var(--space-10);
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: clamp(36px, 5vw, 80px);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--rule-dark);
}
.footer__brand .footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--bone);
    margin-bottom: var(--space-5);
}
.footer__tag {
    margin: 0;
    color: var(--text-on-dark-2);
    font-size: 0.95rem;
    max-width: 38ch;
    line-height: 1.6;
}
.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.footer__cols h5 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bone);
    margin: 0 0 var(--space-5);
}
.footer__cols ul li { padding: 6px 0; font-size: 0.95rem; }
.footer__cols ul li a:hover { color: var(--brass); }

.footer__base {
    padding: 22px 0;
}
.footer__base-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(245, 242, 236, 0.4);
}


/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet ≤ 1024 */
@media (max-width: 1024px) {
    .nav__menu { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; }

    .about__grid { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
    .about__media {
        max-width: 540px;
        box-shadow:
            14px 16px 0 -1px rgba(184, 153, 104, 0.14),
            0 1px 0 0 var(--brass),
            0 40px 70px -30px rgba(10, 14, 20, 0.4),
            0 18px 35px -20px rgba(10, 14, 20, 0.25);
    }
    .about__media:hover {
        box-shadow:
            16px 18px 0 -1px rgba(184, 153, 104, 0.18),
            0 1px 0 0 var(--brass),
            0 50px 80px -30px rgba(10, 14, 20, 0.45),
            0 22px 40px -20px rgba(10, 14, 20, 0.28);
    }

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

    .why__grid { grid-template-columns: 1fr; }
    .why__list { grid-template-columns: 1fr; }
    .why__item:nth-child(odd) { padding-right: 0; border-right: none; }
    .why__item:nth-child(even) { padding-left: 0; }

    .timeline { grid-template-columns: 1fr; }
    .timeline__step + .timeline__step { border-left: none; border-top: 1px solid var(--rule-dark); padding-left: 0; padding-top: var(--space-6); }
    .timeline__step { padding-right: 0; padding-bottom: var(--space-6); }

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

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

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

/* Mobile ≤ 768 */
@media (max-width: 768px) {
    :root {
        --nav-h: 72px;
        --section-y: clamp(72px, 16vw, 120px);
    }

    .section-head { text-align: left; }

    /* Refined mobile typography hierarchy */
    .hero__title { letter-spacing: -0.02em; line-height: 1.0; }
    .hero__sub { font-size: 1rem; line-height: 1.65; }
    .page-hero__title { letter-spacing: -0.018em; line-height: 1.02; }
    .h2 { letter-spacing: -0.018em; }
    .eyebrow { letter-spacing: 0.24em; gap: 12px; }
    .eyebrow::before { width: 28px; }
    .reveal.is-in .eyebrow::before { width: 28px; }

    /* Hero — switch to column so content + contact strip stack cleanly
       instead of fighting for horizontal space in the default flex row. */
    .hero {
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
    }
    .hero__content { padding-bottom: 8vh; }
    .hero__contact {
        position: static;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 0 var(--gutter) 9vh;
        margin-top: 0;
    }
    .hero__contact-rule { display: none; }
    .hero__scroll { display: none; }

    /* Mobile page-hero — give it more breathing room and less crammed */
    .page-hero { min-height: 62vh; min-height: 62svh; padding-top: calc(var(--nav-h) + 40px); padding-bottom: var(--space-7); }
    .hero__img--fallback { object-position: center 52% !important; }
    .page-hero__veil {
        background:
            radial-gradient(ellipse 80% 60% at 25% 80%, rgba(10,14,20,0.72) 0%, rgba(10,14,20,0) 65%),
            linear-gradient(115deg, rgba(10,14,20,0.70) 0%, rgba(10,14,20,0.04) 52%),
            linear-gradient(180deg, rgba(10,14,20,0.68) 0%, rgba(10,14,20,0.28) 28%, rgba(10,14,20,0.72) 65%, rgba(10,14,20,0.97) 100%);
    }
    .page-hero__content { padding-bottom: var(--space-4); }

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

    .about__points li {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 0;
    }

    /* Lighter brass offset on small mobile so it doesn't crowd the layout */
    .about__media {
        box-shadow:
            8px 10px 0 -1px rgba(184, 153, 104, 0.14),
            0 1px 0 0 var(--brass),
            0 30px 50px -25px rgba(10, 14, 20, 0.4);
    }
    .about__media:hover {
        box-shadow:
            10px 12px 0 -1px rgba(184, 153, 104, 0.18),
            0 1px 0 0 var(--brass),
            0 40px 60px -25px rgba(10, 14, 20, 0.45);
    }

    .contact__list li {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 0;
    }

    .field-row { flex-direction: column; }

    .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); }
    .footer__base-inner { flex-direction: column; gap: 6px; }

    /* Mobile menu — ensure nav links meet 44px tap target */
    .mobile-menu__nav a { padding: 6px 0; display: block; }
}

/* Small mobile ≤ 480 */
@media (max-width: 480px) {
    .nav__brand-text { font-size: 11px; letter-spacing: 0.22em; }
    .nav__brand-mark { width: 34px; height: 34px; font-size: 18px; }
    /* Nav toggle — 44px tap target */
    .nav__toggle { width: 44px; height: 44px; }

    .btn { padding: 18px var(--space-5); font-size: 11px; letter-spacing: 0.2em; gap: var(--space-3); }
    .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero__ctas .btn { width: 100%; }

    .hero__title { font-size: clamp(2.5rem, 10.5vw, 3.6rem); }
    .page-hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }

    .trust__inner { font-size: 10px; gap: 10px; }
    .trust__dot { display: none; }

    /* Form — tighter internal padding so fields have more breathing room */
    .contact__form { padding: 28px; }

    /* Reduce grain on small mobile — visible only as subtle texture */
    body::after { opacity: 0.025; }
}

/* ==========================================================================
   12. SUB-PAGE PATTERNS  (about / listings / sell-your-yacht / contact)
   ========================================================================== */

/* Active nav state — set per-page by adding .is-active on the matching link */
.nav__menu a.is-active {
    color: var(--brass);
    opacity: 1;
}
.nav__menu a.is-active::after { width: 100%; }
.mobile-menu__nav a.is-active { color: var(--brass); }


/* Sub-page hero — smaller, focused hero used on inner pages */
.page-hero {
    position: relative;
    min-height: 68vh;
    min-height: 68svh;
    padding: calc(var(--nav-h) + 60px) 0 var(--space-9);
    color: var(--bone);
    background: var(--ink);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82) saturate(0.85) contrast(1.04);
    transition: transform 2.8s var(--ease-cinema);
}
@media (prefers-reduced-motion: no-preference) {
    .page-hero__media img {
        animation: pageHeroFloat 22s var(--ease-cinema) forwards;
        will-change: transform;
    }
}
@keyframes pageHeroFloat {
    0%   { transform: scale(1.07) translate(0.5%, 0); }
    100% { transform: scale(1.00) translate(0, 0); }
}
.page-hero__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 25% 80%, rgba(10,14,20,0.62) 0%, rgba(10,14,20,0) 65%),
        linear-gradient(115deg, rgba(10,14,20,0.62) 0%, rgba(10,14,20,0.04) 52%),
        linear-gradient(180deg, rgba(10,14,20,0.62) 0%, rgba(10,14,20,0.22) 28%, rgba(10,14,20,0.65) 65%, rgba(10,14,20,0.97) 100%);
}
.page-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.page-hero__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.6rem, 7vw, 5.75rem);
    line-height: 1.0;
    letter-spacing: -0.022em;
    color: var(--bone);
    max-width: 18ch;
    margin: 0 0 var(--space-6);
}
.page-hero__title em { font-style: italic; color: var(--brass); font-weight: 300; }
.page-hero__sub {
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.7;
    letter-spacing: 0.005em;
    max-width: 48ch;
    color: rgba(245, 242, 236, 0.82);
    margin: 0;
    font-weight: 300;
}


/* Pull quote — large editorial quote block */
.pullquote {
    background: var(--bone);
    padding: var(--section-y) 0;
}
.pullquote__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
}
.pullquote__mark {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 4rem;
    color: var(--brass);
    line-height: 1;
    margin-bottom: var(--space-4);
}
.pullquote__text {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-on-light);
    margin: 0 0 var(--space-6);
}
.pullquote__attrib {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-on-light-2);
}
.pullquote__attrib::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--brass);
}


/* Stat row — used on about & sell pages */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
}
.stats__item {
    padding: var(--space-7) var(--space-5);
    border-right: 1px solid var(--rule-light);
}
.stats__item:last-child { border-right: none; }
.stats__num {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1;
    color: var(--brass);
    display: block;
    margin-bottom: var(--space-3);
}
.stats__label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-on-light-2);
}


/* Editorial split section (image + copy with offset) */
.editorial {
    background: var(--bone);
    padding: var(--section-y) 0;
}
.editorial__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.editorial__grid--reverse > :first-child { order: 2; }
.editorial__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-shadow:
        0 52px 88px -30px rgba(10, 14, 20, 0.45),
        0 20px 40px -16px rgba(10, 14, 20, 0.28);
}
.editorial__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transform: scale(1.06);
    transition: transform 3.2s var(--ease-cinema), filter 1.4s var(--ease-cinema);
    filter: brightness(0.88) saturate(0.82);
    will-change: transform;
}
.editorial__media.is-in img {
    transform: scale(1.01);
    filter: brightness(0.92) saturate(0.90);
}
.editorial__media:hover img,
.editorial__media.is-in:hover img {
    transform: scale(1.04);
    filter: brightness(0.95) saturate(0.92);
}
.editorial__copy h2 { margin-bottom: var(--space-6); }
.editorial__copy p {
    color: var(--text-on-light-2);
    margin: 0 0 var(--space-5);
    line-height: 1.78;
    max-width: 52ch;
}
.editorial__copy p:first-of-type {
    color: var(--text-on-light);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}


/* Off-market / dual-CTA dark strip */
.offmarket {
    background: var(--ink);
    color: var(--bone);
    padding: clamp(72px, 10vw, 120px) 0;
}
.offmarket__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 80px);
    align-items: center;
}
.offmarket h2 { color: var(--bone); margin-bottom: var(--space-4); }
.offmarket p { color: var(--text-on-dark-2); margin: 0; max-width: 50ch; }


/* Value-prop cards — sell-your-yacht */
.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
}
.value {
    padding: var(--space-7) var(--space-6);
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
}
.value__icon {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--brass);
    margin-bottom: var(--space-5);
    display: block;
}
.value h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.65rem;
    margin: 0 0 var(--space-3);
    color: var(--text-on-light);
}
.value p { margin: 0; color: var(--text-on-light-2); line-height: 1.65; }


/* Two-column layout for contact page */
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}
.contact-info {
    border-top: 1px solid var(--rule-light);
}
.contact-info__row {
    padding: 22px 0;
    border-bottom: 1px solid var(--rule-light);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-5);
    align-items: baseline;
}
.contact-info__label {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-on-light-2);
}
.contact-info__value {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-on-light);
    line-height: 1.4;
}
a.contact-info__value:hover { color: var(--brass); }
.contact-info__value-sub {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-on-light-2);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.availability {
    background: var(--ink);
    color: var(--text-on-dark);
    padding: clamp(56px, 7vw, 96px) 0;
}
.availability__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: start;
}
.availability__card { }
.availability__card h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--bone);
    margin: 0 0 var(--space-3);
}
.availability__card p {
    margin: 0;
    color: var(--text-on-dark-2);
    font-size: 0.95rem;
    line-height: 1.65;
}


/* Closing CTA strip — used at bottom of inner pages */
.closing-cta {
    position: relative;
    background: var(--bone-2);
    padding: clamp(72px, 10vw, 120px) 0;
    text-align: center;
}
.closing-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(184,153,104,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.closing-cta__inner { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.closing-cta h2 { margin-bottom: var(--space-5); }
.closing-cta p { color: var(--text-on-light-2); margin: 0 0 var(--space-7); }
.closing-cta__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


/* Responsive sub-page patterns */
@media (max-width: 1024px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats__item:nth-child(2) { border-right: none; }
    .stats__item:nth-child(1), .stats__item:nth-child(2) { border-bottom: 1px solid var(--rule-light); }

    .editorial__grid { grid-template-columns: 1fr; }
    .editorial__grid--reverse > :first-child { order: 0; }
    .editorial__media { max-width: 520px; aspect-ratio: 4 / 5; }

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

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

    .contact-page__grid { grid-template-columns: 1fr; }

    .availability__grid { grid-template-columns: 1fr; gap: var(--space-5); }
    .availability__card { padding-bottom: var(--space-5); border-bottom: 1px solid var(--rule-dark); }
    .availability__card:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 768px) {
    .stats { grid-template-columns: 1fr; }
    .stats__item { border-right: none; border-bottom: 1px solid var(--rule-light); }
    .stats__item:last-child { border-bottom: none; }

    .contact-info__row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 18px 0;
    }
}


/* ==========================================================================
   13. LUXURY POLISH LAYER
   --------------------------------------------------------------------------
   Subtle cinematic touches applied after the base system is settled.
   Each effect is restrained — meant to add atmosphere without drawing attention.
   ========================================================================== */

/* Cinematic page vignette — fixed, very subtle edge darkening.
   Removes the 'flat monitor' feel and adds a slight lens falloff quality. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 89;
    background: radial-gradient(ellipse 110% 100% at 50% 50%, transparent 55%, rgba(10,14,20,0.32) 100%);
    mix-blend-mode: multiply;
}

/* Film grain overlay — fixed across the viewport, very low opacity.
   Adds depth and a tactile, photographic quality to the dark sections. */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 90;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.94 0 0 0 0 0.88 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px 240px;
}


/* Image media frame — subtle vignette on editorial / about media for a
   cinematic, framed feel without obvious overlays. */
.about__media::after,
.editorial__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, transparent 60%, rgba(10,14,20,0.18) 100%),
        linear-gradient(180deg, transparent 70%, rgba(10,14,20,0.22) 100%);
    z-index: 1;
    transition: opacity 1s var(--ease-cinema);
}
.about__media, .editorial__media { position: relative; }


/* Section bridge — soft brass hairline that appears where bone meets dark,
   adding rhythm between editorial transitions. Applied to dark sections that
   follow a bone-toned one. */
.section--dark + .section--bone,
.section--bone + .section--dark { position: relative; }


/* Eyebrow rule extends on reveal — adds intentionality */
.reveal.eyebrow::before,
.reveal .eyebrow::before {
    width: 0;
    transition: width 1.4s var(--ease-cinema) 0.15s;
}
.reveal.eyebrow.is-in::before,
.reveal.is-in .eyebrow::before { width: 40px; }


/* ==========================================================================
   13b. v0.6.0 FINAL POLISH — UTILITIES + LUXURY MICRO-INTERACTIONS
   ========================================================================== */

/* ---------- Utility classes (replace inline styles site-wide) ---------- */
.section--flush-top { padding-top: 0; }
.section-head--left { text-align: left; max-width: none; }
.section-head--tight { margin-bottom: var(--space-7); }
.link-arrow--block {
    margin-top: var(--space-6);
    display: inline-flex;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.cta-row--top { margin-top: var(--space-7); }
.meta-row {
    margin-top: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-on-light-2);
}
.meta-row__sep { color: var(--brass); opacity: 0.6; }
.u-mt-6 { margin-top: var(--space-6); }
.u-mt-7 { margin-top: var(--space-7); }


/* ---------- Service cards — refined hover lift + brass accent ---------- */
.service {
    transition:
        background var(--t-base) var(--ease),
        transform 0.7s var(--ease-cinema);
}
.service:hover {
    transform: translateY(-3px);
}


/* ---------- Button micro-interaction — letter-spacing breath on hover ---------- */
.btn {
    transition:
        color 0.6s var(--ease-cinema),
        border-color 0.6s var(--ease-cinema),
        letter-spacing 0.6s var(--ease-cinema);
}
.btn:hover { letter-spacing: 0.24em; }


/* ---------- Mobile menu — refined open: slight slide-from-top + smoother ease ---------- */
.mobile-menu {
    transform: translateY(-12px);
    transition:
        opacity 0.7s var(--ease-cinema),
        transform 0.7s var(--ease-cinema);
}
.mobile-menu.is-open { transform: translateY(0); }


/* ---------- Nav: refined hover + active state ---------- */
.nav__menu a {
    transition: color 0.5s var(--ease-cinema), opacity 0.5s var(--ease-cinema);
}
.nav__menu a::after {
    transition: width 0.55s var(--ease-cinema);
}
.nav__brand-mark {
    transition: background 0.5s var(--ease-cinema), color 0.5s var(--ease-cinema), letter-spacing 0.5s var(--ease-cinema);
}


/* ---------- Footer — luxury refinement ---------- */
.footer {
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 1px;
    background: var(--brass);
    opacity: 0.5;
}
.footer__cols h5 {
    letter-spacing: 0.28em;
    color: rgba(245, 242, 236, 0.9);
}
.footer__cols ul li {
    font-size: 0.9rem;
    transition: color 0.4s var(--ease-cinema);
}
.footer__cols ul li a {
    transition: color 0.4s var(--ease-cinema), padding-left 0.4s var(--ease-cinema);
    display: inline-block;
}
.footer__cols ul li a:hover {
    padding-left: 6px;
}
.footer__brand .footer__logo {
    transition: opacity 0.5s var(--ease-cinema);
}
.footer__brand .footer__logo:hover { opacity: 0.8; }
.footer__base-inner {
    font-size: 10.5px;
    letter-spacing: 0.18em;
}


/* ---------- Section vertical rhythm — section-head breathing ---------- */
.section-head {
    margin-bottom: clamp(var(--space-7), 8vw, var(--space-9));
}


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu { transform: none; }
    .footer__cols ul li a:hover { padding-left: 0; }
    .service:hover { transform: none; }
    .btn:hover { letter-spacing: 0.22em; }
    .link-arrow:hover { gap: 16px; }
}


/* ---------- v0.6.0 mobile additions ---------- */
@media (max-width: 1024px) {
    .footer__cols { gap: var(--space-7) var(--space-6); }
}
@media (max-width: 768px) {
    .meta-row { gap: var(--space-4); }
    .footer::before { width: 36px; }
    /* Mobile menu — keep slide subtle */
    .mobile-menu { transform: translateY(-6px); }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero__img { animation: none; transform: none; }
}


/* ==========================================================================
   FOCUS VISIBLE — keyboard navigation
   ========================================================================== */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}
.btn:focus-visible,
.nav__toggle:focus-visible,
.nav__brand:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
    outline: none; /* handled by border-bottom brass color */
}
