/* =============================================================
   YACHT GENIUS AI — DESIGN SYSTEM (light, image-led)
   Mediterranean afternoon light. Cream + ocean teal + brushed gold.
   Photo-rich, calm, premium-but-bright.
   ============================================================= */

:root {
    /* Palette */
    --bg: #FBFAF6;             /* cream paper */
    --bg-cool: #ECF3F5;        /* pale ocean mist */
    --paper: #FFFFFF;          /* cards */
    --ink: #0E2B3D;            /* deep ocean text */
    --ink-soft: rgba(14, 43, 61, 0.72);
    --ink-mute: rgba(14, 43, 61, 0.54);
    --ocean: #1A7A95;          /* mid teal-blue accent */
    --ocean-deep: #0E5A75;     /* hover */
    --ocean-bright: #36A4C2;   /* light teal */
    --aegean: #0A4F6B;         /* dark accent */
    --brass: #C9A96E;          /* warm gold accent */
    --brass-bright: #E0C18A;
    --coral: #E89B7B;          /* sunset coral, used sparingly */
    --line: rgba(14, 43, 61, 0.12);
    --line-strong: rgba(14, 43, 61, 0.22);
    --line-light: rgba(255, 255, 255, 0.18);

    /* Backward-compat aliases (don't remove — referenced by inline styles in pages) */
    --midnight: var(--aegean);
    --mist: var(--bg-cool);
    --charcoal: var(--ink);
    --bone: var(--bg);
    --shadow-card: 0 14px 40px -16px rgba(14, 43, 61, 0.18);
    --shadow-deep: 0 30px 80px -20px rgba(14, 43, 61, 0.32);

    /* Type */
    --display: 'Cormorant Garamond', 'Times New Roman', serif;
    --body: 'Geist', 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 7rem;

    /* Layout */
    --rail: clamp(1.25rem, 4vw, 3.5rem);
    --max: 1380px;
    --reading: 68ch;

    /* Motion — strong custom curves, never default ease */
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --dur: 420ms;
    --dur-fast: 200ms;
}

/* ---------- Reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--ocean); }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0 0 var(--space-sm); }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ocean); color: white; }

/* ---------- Type utilities ----------------------------------- */
.eyebrow {
    font-family: var(--body);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ocean);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(26, 122, 149, 0.06);
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--ocean);
    border-radius: 50%;
}
.section--midnight .eyebrow,
.hero .eyebrow,
.page-hero--image .eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--brass-bright);
}
.section--midnight .eyebrow::before,
.hero .eyebrow::before,
.page-hero--image .eyebrow::before { background: var(--brass-bright); }
.display-1 {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 0.95;
    text-wrap: balance;
}
.display-2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.display-3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
}
.italic { font-style: italic; }
.numeric { font-feature-settings: 'tnum'; }

/* ---------- Layout ------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--rail);
    padding-right: var(--rail);
}
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--bone, .section--bg { background: var(--bg); }
.section--cool { background: var(--bg-cool); }
.section--paper { background: var(--paper); }
.section--dark {
    background: var(--ink);
    color: white;
}
.section--ocean {
    background: linear-gradient(180deg, var(--aegean) 0%, var(--ink) 100%);
    color: white;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--ocean h1, .section--ocean h2, .section--ocean h3, .section--ocean h4 { color: white; }
.section--dark .lead, .section--ocean .lead { color: rgba(255, 255, 255, 0.78); }
.section--dark .eyebrow, .section--ocean .eyebrow { color: var(--brass); }
.section--dark .eyebrow::before, .section--ocean .eyebrow::before { background: var(--brass); }

/* ---------- Header / nav ------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: var(--space-sm) var(--rail);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 100%);
}
.site-header .brand,
.site-header .nav-list a { color: white; }
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    padding-block: 0.55rem;
    box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-list a { color: var(--ink); }
.site-header.is-scrolled .nav-toggle { color: var(--ink); border-color: var(--line); }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}
.brand-mark {
    width: 32px; height: 32px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}
.site-header.is-scrolled .brand-mark { background: rgba(14, 43, 61, 0.04); }
.brand-mark svg { width: 18px; height: 18px; }
.brand-em { color: var(--brass); font-style: normal; font-size: 0.7em; letter-spacing: 0.2em; margin-left: 0.3em; }

.nav-list {
    display: none;
    gap: clamp(1rem, 2.4vw, 2.2rem);
    align-items: center;
}
.nav-list a {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    position: relative;
    padding-block: 0.4rem;
}
.nav-list a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--ocean);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-fast) var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav-toggle {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    color: white;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (min-width: 1024px) {
    .nav-list { display: inline-flex; }
    .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--paper);
    color: var(--ink);
    padding: 6rem var(--rail) var(--rail);
    transform: translateY(-100%);
    transition: transform var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.nav-drawer.is-open { transform: translateY(0); }
.nav-drawer a {
    display: block;
    padding: 0.6rem 0;
    font-family: var(--display);
    font-size: 1.8rem;
    border-bottom: 1px solid var(--line);
}
.nav-drawer .close {
    position: absolute;
    top: 1.2rem; right: var(--rail);
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
}
@media (min-width: 1024px) { .nav-drawer { display: none; } }

/* ---------- Buttons ------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 999px;
    transition:
        transform 200ms var(--ease),
        background 200ms var(--ease),
        color 200ms var(--ease),
        border-color 200ms var(--ease),
        box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
    background: var(--ocean);
    color: white;
    border: 1px solid var(--ocean);
}
.btn-primary:hover { background: var(--ocean-deep); border-color: var(--ocean-deep); transform: translateY(-1px); color: white; }
.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: white; background: rgba(255, 255, 255, 0.1); color: white; }
.section--bone .btn-ghost, .section--cool .btn-ghost, .section--paper .btn-ghost {
    color: var(--ink);
    border-color: var(--line-strong);
}
.section--bone .btn-ghost:hover, .section--cool .btn-ghost:hover, .section--paper .btn-ghost:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.btn-dark {
    background: var(--ink);
    color: white;
    border: 1px solid var(--ink);
}
.btn-dark:hover { background: var(--ocean); border-color: var(--ocean); color: white; }
.btn-link {
    color: var(--ocean);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.6rem;
    border-bottom: 1px solid transparent;
}
.btn-link::after { content: '→'; transition: transform var(--dur-fast) var(--ease); }
.btn-link:hover { color: var(--ocean-deep); border-bottom-color: var(--ocean-deep); }
.btn-link:hover::after { transform: translateX(4px); }

/* ---------- Hero --------------------------------------------- */
.hero {
    position: relative;
    min-height: 92vh;
    min-height: 92dvh;
    display: flex;
    align-items: flex-end;
    color: white;
    overflow: hidden;
    isolation: isolate;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--aegean);
}
.hero-media img, .hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    animation: heroZoom 22s var(--ease) infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.0); }
    to   { transform: scale(1.08); }
}
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 43, 61, 0.35) 0%, rgba(14, 43, 61, 0.2) 35%, rgba(14, 43, 61, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: clamp(3rem, 8vw, 5rem);
    padding-top: 9rem;
}
.hero-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.hero h1 { color: white; }
.hero h1 em { font-style: italic; color: var(--brass-bright); }
.hero .lead { color: rgba(255, 255, 255, 0.92); }
.hero .eyebrow { color: var(--brass-bright); }
.hero .eyebrow::before { background: var(--brass-bright); }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: var(--space-lg);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}
.hero-meta strong {
    display: block;
    font-family: var(--display);
    font-size: 1.4rem;
    color: var(--brass-bright);
    font-weight: 500;
    margin-bottom: 0.1rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: var(--space-md);
}

/* Hero search bar (image-led layouts) */
.hero-search {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: var(--space-md);
    margin-top: var(--space-lg);
    box-shadow: var(--shadow-deep);
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .hero-search { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
}
.hero-search .field label { color: var(--ocean); }

.scroll-cue {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--brass-bright);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    z-index: 2;
}
.scroll-cue .line {
    width: 1px; height: 32px;
    background: currentColor;
    animation: cueDrop 2.5s var(--ease) infinite;
    transform-origin: top;
}
@keyframes cueDrop {
    0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
    50%      { transform: scaleY(1);   opacity: 1; }
}

/* ---------- Marquee ------------------------------------------ */
.marquee {
    background: var(--ink);
    color: var(--brass-bright);
    overflow: hidden;
    padding-block: 1.2rem;
    font-family: var(--display);
    font-size: 1.3rem;
    font-style: italic;
}
.marquee-track {
    display: inline-flex;
    gap: 4rem;
    white-space: nowrap;
    animation: scroll 38s linear infinite;
    padding-left: 4rem;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 4rem; }
.marquee-track span::after {
    content: '✦';
    color: white;
    opacity: 0.4;
    font-size: 0.7em;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section heads ------------------------------------ */
.section-head {
    display: grid;
    gap: var(--space-md);
    align-items: end;
    margin-bottom: var(--space-xl);
}
@media (min-width: 800px) {
    .section-head { grid-template-columns: 1fr auto; }
    .section-head .actions { justify-self: end; }
}
.section-head h2 { max-width: 18ch; }

/* ---------- Yacht / fleet cards ------------------------------ */
.fleet-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.yacht-card {
    background: var(--paper);
    border-radius: 14px;
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(14, 43, 61, 0.02);
}
.section--dark .yacht-card, .section--ocean .yacht-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: white;
}
.yacht-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--ocean); }
.yacht-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-cool);
}
.yacht-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.yacht-card:hover .yacht-card-media img { transform: scale(1.06); }
.yacht-card-tag {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ocean);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    font-weight: 600;
}
.yacht-card-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.yacht-card-body h3 {
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--ink);
}
.section--dark .yacht-card-body h3, .section--ocean .yacht-card-body h3 { color: white; }
.yacht-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.74rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.section--dark .yacht-meta, .section--ocean .yacht-meta { color: rgba(255, 255, 255, 0.62); }
.yacht-meta span + span::before {
    content: '·';
    margin-right: 0.6rem;
    opacity: 0.4;
}
.yacht-card-tagline {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.section--dark .yacht-card-tagline, .section--ocean .yacht-card-tagline { color: rgba(255, 255, 255, 0.7); }
.yacht-card-foot {
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section--dark .yacht-card-foot, .section--ocean .yacht-card-foot { border-top-color: rgba(255, 255, 255, 0.12); }

/* ---------- Destination grid (image-led) --------------------- */
.destination-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.dest-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    color: white;
    background: var(--aegean);
    border: 1px solid transparent;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    box-shadow: 0 18px 36px -22px rgba(14, 43, 61, 0.45);
}
.dest-card:hover { transform: translateY(-3px); }
.dest-card-media {
    position: absolute; inset: 0; z-index: -1;
    background-size: cover;
    background-position: center;
    transition: transform 1.4s var(--ease);
}
.dest-card::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(14, 43, 61, 0.05) 0%, rgba(14, 43, 61, 0.85) 100%);
}
.dest-card:hover .dest-card-media { transform: scale(1.08); }
.dest-card-body {
    position: absolute;
    inset: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.dest-card h3 {
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: white;
}
.dest-card-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brass-bright);
    margin-bottom: 0.5rem;
}
.dest-card-tag {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.92;
}

/* Wider feature destination card */
.dest-card--wide { aspect-ratio: 16 / 9; }
.dest-card--tall { aspect-ratio: 3 / 5; }

/* Featured destination — bigger, photo-led */
.destination-feature-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .destination-feature-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 320px 320px;
    }
    .destination-feature-grid > :nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Editorial split ---------------------------------- */
.split {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--reverse { direction: rtl; }
    .split--reverse > * { direction: ltr; }
}
.split-figure {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--bg-cool);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}
.split-figure img { width: 100%; height: 100%; object-fit: cover; }
.split-figure .caption {
    position: absolute;
    bottom: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ocean);
    padding: 0.45rem 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    font-weight: 600;
}

/* ---------- Process — vertical timeline with offset indent rhythm --- */
.process {
    counter-reset: step;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.process-step {
    counter-increment: step;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.process-step:first-child { border-top: 0; padding-top: 0; }
.process-step:last-child { padding-bottom: 0; }
@media (min-width: 800px) {
    /* Asymmetric indent rhythm: 0, 80, 40, 120 — breaks the equal-step monotony */
    .process-step:nth-child(2) { padding-left: 80px; }
    .process-step:nth-child(3) { padding-left: 40px; }
    .process-step:nth-child(4) { padding-left: 120px; }
}
.process-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--display);
    font-size: 2.4rem;
    color: var(--ocean);
    letter-spacing: -0.02em;
    line-height: 1;
    font-weight: 400;
    align-self: start;
}
.process-step h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin: 0 0 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 500;
    grid-column: 2;
}
.process-step p {
    color: var(--ink-soft);
    margin: 0;
    max-width: 56ch;
    grid-column: 2;
}
.process-step::before { grid-column: 1; grid-row: 1 / span 2; }

/* ---------- FAQ ---------------------------------------------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding-block: var(--space-md);
}
.section--dark .faq-item, .section--ocean .faq-item { border-bottom-color: rgba(255, 255, 255, 0.18); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    font-family: var(--display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    transition: color var(--dur-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 1px solid var(--ocean);
    border-radius: 50%;
    color: var(--ocean);
    font-family: var(--body);
    font-size: 1rem;
    transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item summary:hover { color: var(--ocean); }
.faq-item-body {
    padding-top: var(--space-sm);
    max-width: var(--reading);
    color: var(--ink-soft);
}

/* ---------- Forms -------------------------------------------- */
.form { display: grid; gap: var(--space-md); }
.form-row { display: grid; gap: var(--space-md); }
@media (min-width: 720px) {
    .form-row--2 { grid-template-columns: 1fr 1fr; }
    .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
}
.section--dark .field label, .section--ocean .field label { color: rgba(255, 255, 255, 0.72); }
.field input, .field textarea, .field select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    padding: 0.7rem 0;
    font-size: 1.05rem;
    color: var(--ink);
    transition: border-color var(--dur-fast) var(--ease);
}
.section--dark .field input, .section--ocean .field input,
.section--dark .field textarea, .section--ocean .field textarea,
.section--dark .field select, .section--ocean .field select {
    border-bottom-color: rgba(255, 255, 255, 0.32);
    color: white;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 0;
    border-bottom-color: var(--ocean);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-meta { font-size: 0.78rem; color: var(--ink-mute); }
.section--dark .form-meta, .section--ocean .form-meta { color: rgba(255, 255, 255, 0.6); }

/* ---------- Search bar (yachts) ------------------------------ */
.search-bar {
    background: var(--paper);
    color: var(--ink);
    padding: var(--space-md);
    border-radius: 6px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .search-bar { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
}
.search-bar .field label { color: var(--ocean); }

/* ---------- Page hero ---------------------------------------- */
.page-hero {
    position: relative;
    background: var(--bg-cool);
    color: var(--ink);
    padding-top: 9rem;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.page-hero h1 { margin: 1rem 0; max-width: 18ch; }

/* Page hero with photo backdrop */
.page-hero--image {
    color: white;
}
.page-hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--hero-image, none);
    z-index: 0;
}
.page-hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 43, 61, 0.4) 0%, rgba(14, 43, 61, 0.75) 100%);
    z-index: 0;
}
.page-hero--image .shell { position: relative; z-index: 1; }
.page-hero--image h1, .page-hero--image .lead { color: white; }
.page-hero--image .lead { color: rgba(255, 255, 255, 0.85); }
.page-hero--image .eyebrow { color: var(--brass-bright); }
.page-hero--image .eyebrow::before { background: var(--brass-bright); }

/* ---------- Stat row — hierarchy: hero stat + supporting --------- */
.stat-row {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .stat-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: var(--space-lg);
        align-items: end;
    }
    .stat-row > :first-child .stat-num { font-size: clamp(3.5rem, 7vw, 6.5rem); }
    .stat-row > :first-child { padding-top: var(--space-md); }
}
.stat {
    border-top: 1px solid var(--line);
    padding-top: var(--space-sm);
}
.section--dark .stat, .section--ocean .stat { border-top-color: rgba(255, 255, 255, 0.18); }
.stat-num {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--ocean);
    font-weight: 400;
    line-height: 1;
    display: block;
    margin-bottom: 0.4rem;
}
.section--dark .stat-num, .section--ocean .stat-num { color: var(--brass-bright); }
.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-mute);
}
.section--dark .stat-label, .section--ocean .stat-label { color: rgba(255, 255, 255, 0.72); }

/* ---------- Tagline strip ------------------------------------ */
.tagline-strip {
    background: var(--paper);
    border-block: 1px solid var(--line);
    text-align: center;
    padding-block: var(--space-md);
    font-family: var(--display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-style: italic;
    color: var(--ink);
}
.tagline-strip em { color: var(--ocean); font-style: italic; }

/* ---------- Reveal — fade + lift + blur (Emil's blur-mask trick) -------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    transition:
        opacity 900ms var(--ease-out),
        transform 900ms var(--ease-out),
        filter 700ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Image-specific reveal — scale + blur, no Y-translate (jarring on photos) */
.reveal-img {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(8px);
    transition:
        opacity 1200ms var(--ease-out),
        transform 1400ms var(--ease-out),
        filter 900ms var(--ease-out);
}
.reveal-img.in { opacity: 1; transform: scale(1); filter: blur(0); }

/* ---------- Stagger helper — set --i on each child ----------- */
[data-stagger] > * { --i: 0; }
[data-stagger] > *:nth-child(1) { --i: 0; }
[data-stagger] > *:nth-child(2) { --i: 1; }
[data-stagger] > *:nth-child(3) { --i: 2; }
[data-stagger] > *:nth-child(4) { --i: 3; }
[data-stagger] > *:nth-child(5) { --i: 4; }
[data-stagger] > *:nth-child(6) { --i: 5; }
[data-stagger] > *:nth-child(7) { --i: 6; }
[data-stagger] > *:nth-child(8) { --i: 7; }
[data-stagger] > *:nth-child(9) { --i: 8; }
[data-stagger] > *:nth-child(10) { --i: 9; }
[data-stagger] > *:nth-child(11) { --i: 10; }
[data-stagger] > *:nth-child(12) { --i: 11; }

/* ---------- Magnetic button hover (Emil + high-end-visual-design) -------- */
@media (hover: hover) and (pointer: fine) {
    .btn {
        will-change: transform;
    }
    .btn:hover { transform: translateY(-1.5px); }
    .btn:hover svg { transform: translateX(2px); transition: transform 200ms var(--ease-out); }

    .yacht-card {
        will-change: transform;
    }

    /* Card lift becomes more dramatic on hover with the photo zoom */
    .yacht-card:hover .yacht-card-media img,
    .dest-card:hover .dest-card-media,
    .theme-card:hover .theme-card-media,
    .onboard-card:hover .onboard-card-media {
        transform: scale(1.08);
    }
}

/* ---------- Count-up stat numbers ---------------------------- */
.stat-num[data-target] {
    display: inline-block;
    transition: opacity 600ms var(--ease-out);
}
.stat-num[data-target]:not(.in) { opacity: 0.55; }

/* ---------- Scroll progress bar (subtle, top of page) -------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ocean), var(--brass));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 90;
    pointer-events: none;
    transition: transform 80ms linear;
}

/* ---------- Hero parallax ----------------------------------- */
.hero-media {
    will-change: transform;
}

/* ---------- Concierge: trigger entrance / hover lift -------- */
.concierge-trigger {
    animation: triggerEntry 700ms var(--ease-out) 1.2s both;
}
@keyframes triggerEntry {
    from { opacity: 0; transform: translateY(20px) scale(0.92); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Marquee: more lively gradient fade edges -------- */
.marquee {
    position: relative;
}
.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 1;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

/* ---------- Section transitions --------------------------- */
.section + .section { position: relative; }

/* ---------- Reveal disabled when reduced motion ------------- */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-img { opacity: 1 !important; transform: none !important; filter: none !important; }
    .stat-num[data-target]:not(.in) { opacity: 1; }
    .hero-media img { animation: none !important; }
}

/* ---------- Footer ------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: white;
    padding-block: clamp(4rem, 8vw, 6rem) 2rem;
}
.footer-top {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h4 {
    font-family: var(--body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--brass-bright);
    margin-bottom: var(--space-sm);
}
.footer-col li { padding-block: 0.35rem; }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.footer-col a:hover { color: var(--brass-bright); }
.footer-brand-blurb {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.3;
    color: white;
    max-width: 30ch;
    margin-bottom: var(--space-md);
    font-style: italic;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}
.footer-contact a:hover { color: var(--brass-bright); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-legal-links { display: inline-flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255, 255, 255, 0.6); }
.footer-legal-links a:hover { color: var(--brass-bright); }
.socials { display: inline-flex; gap: 0.6rem; }
.socials a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.socials a:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Concierge ---------------------------------------- */
.concierge-trigger {
    position: fixed;
    bottom: 1.4rem;
    right: 1.4rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.2rem 0.85rem 0.85rem;
    background: var(--ocean);
    color: white;
    border-radius: 999px;
    box-shadow: var(--shadow-deep);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.concierge-trigger:hover { transform: translateY(-2px); background: var(--ocean-deep); color: white; }
.concierge-trigger .dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: white;
    color: var(--ocean);
    display: grid; place-items: center;
    font-family: var(--display);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
    position: relative;
}
.concierge-trigger .dot::before {
    content: '';
    position: absolute;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: white;
    opacity: 0.3;
    animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0;   }
}

.concierge {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 460px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-deep);
    transform: translateX(110%);
    transition: transform var(--dur) var(--ease-out);
    z-index: 80;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}
.concierge.is-open { transform: translateX(0); }
.concierge-head {
    padding: 1.5rem var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-cool);
}
.concierge-head .dot {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ocean);
    color: white;
    display: grid; place-items: center;
    font-family: var(--display);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
}
.concierge-head h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.concierge-head .sub { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ocean); }
.concierge-close {
    margin-left: auto;
    width: 36px; height: 36px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid; place-items: center;
    transition: border-color var(--dur-fast) var(--ease);
    background: white;
}
.concierge-close:hover { border-color: var(--ocean); color: var(--ocean); }
.concierge-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
    background: var(--bg);
}
.msg {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 88%;
    animation: msgIn 0.4s var(--ease-out);
}
@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.msg-bot { background: var(--paper); border: 1px solid var(--line); align-self: flex-start; color: var(--ink); }
.msg-user { background: var(--ocean); color: white; align-self: flex-end; }
.msg-cards { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.msg-card {
    display: flex;
    gap: 0.7rem;
    background: var(--bg-cool);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.6rem;
    transition: border-color var(--dur-fast) var(--ease);
    color: var(--ink);
}
.msg-card:hover { border-color: var(--ocean); }
.msg-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.msg-card-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.msg-card-name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.msg-card-meta { font-size: 0.72rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.14em; }
.msg-typing {
    display: inline-flex;
    gap: 4px;
    padding: 0.6rem 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    align-self: flex-start;
}
.msg-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ocean);
    animation: typing 1.2s var(--ease) infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.18s; }
.msg-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}
.concierge-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 var(--space-md);
    padding-bottom: 0.8rem;
    background: var(--bg);
}
.concierge-suggestions button {
    font-size: 0.72rem;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.concierge-suggestions button:hover { border-color: var(--ocean); color: var(--ocean); }
.concierge-foot {
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.concierge-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: var(--bg-cool);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    transition: border-color var(--dur-fast) var(--ease);
}
.concierge-input:focus-within { border-color: var(--ocean); }
.concierge-input input {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--ink);
    padding-block: 0.55rem;
    font-size: 0.95rem;
}
.concierge-input input:focus { outline: 0; }
.concierge-input button {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--ocean);
    color: white;
    display: grid; place-items: center;
    transition: background var(--dur-fast) var(--ease);
}
.concierge-input button:hover { background: var(--ocean-deep); }
.concierge-input button:disabled { opacity: 0.5; cursor: not-allowed; }
.concierge-disclaimer {
    font-size: 0.68rem;
    text-align: center;
    color: var(--ink-mute);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

/* ---------- Cookie banner ------------------------------------ */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 65;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1rem var(--space-md);
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: var(--shadow-deep);
}
@media (min-width: 720px) {
    .cookie-banner { flex-direction: row; align-items: center; max-width: 760px; left: auto; right: 1rem; }
    .cookie-banner p { flex: 1; margin: 0; }
}
.cookie-banner.is-shown { display: flex; }
.cookie-banner p { font-size: 0.85rem; margin: 0; color: var(--ink-soft); }

/* ---------- Misc --------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px; left: 0;
    background: var(--ocean);
    color: white;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    z-index: 100;
}
.skip-link:focus { top: 0; }

/* Photo collage (home + about pages) */
.photo-collage {
    display: grid;
    gap: 8px;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 5 / 4;
    border-radius: 6px;
    overflow: hidden;
}
.photo-collage > * {
    background-size: cover;
    background-position: center;
    background-color: var(--bg-cool);
    transition: transform 1s var(--ease);
}
.photo-collage > :nth-child(1) { grid-row: span 2; }
.photo-collage:hover > * { transform: scale(1.02); }

/* ---------- Logo image treatment ---------------------------- */
.brand-logo {
    height: 28px;
    width: auto;
    display: block;
    transition: filter var(--dur) var(--ease);
}
/* over the hero (dark image), invert the black wordmark to white */
.site-header:not(.is-scrolled) .brand-logo { filter: brightness(0) invert(1); }
.site-header.is-scrolled .brand-logo { filter: none; }
/* footer logo always inverted (footer is dark) */
.site-footer .brand-logo { filter: brightness(0) invert(1); }

/* ---------- .section--midnight — light with mesh-gradient atmosphere -- */
.section--midnight {
    background: var(--bg-cool);
    color: var(--ink);
    position: relative;
    overflow: hidden;
}
.section--midnight::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image:
        radial-gradient(ellipse 60% 40% at 18% 12%, rgba(26, 122, 149, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 82% 88%, rgba(201, 169, 110, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 88% 18%, rgba(54, 164, 194, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: meshDrift 18s var(--ease-in-out) infinite alternate;
    filter: blur(0.5px);
}
@keyframes meshDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(2%, -2%, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
    .section--midnight::before { animation: none; }
}
.section--midnight > * { position: relative; z-index: 1; }
.section--midnight h1, .section--midnight h2, .section--midnight h3, .section--midnight h4 { color: var(--ink); }
.section--midnight .lead { color: var(--ink-soft); }
.section--midnight .eyebrow { color: var(--ocean); }
.section--midnight .eyebrow::before { background: var(--ocean); }
.section--midnight .stat { border-top-color: var(--line); }
.section--midnight .stat-num { color: var(--ocean); }
.section--midnight .stat-label { color: var(--ink-mute); }
.section--midnight .yacht-card { background: var(--paper); border-color: var(--line); color: var(--ink); }
.section--midnight .yacht-card-body h3 { color: var(--ink); }
.section--midnight .yacht-meta { color: var(--ink-mute); }
.section--midnight .yacht-card-tagline { color: var(--ink-soft); }
.section--midnight .yacht-card-foot { border-top-color: var(--line); }
.section--midnight .process-step { border-top-color: var(--line); }
.section--midnight .process-step::before { color: var(--ocean); }
.section--midnight .faq-item { border-bottom-color: var(--line); }
.section--midnight .field label { color: var(--ink-mute); }
.section--midnight .field input,
.section--midnight .field textarea,
.section--midnight .field select { border-bottom-color: var(--line-strong); color: var(--ink); }
.section--midnight .form-meta { color: var(--ink-mute); }
.section--midnight a:not(.btn):not(.btn-link) { color: var(--ocean); }
.section--midnight a:not(.btn):not(.btn-link):hover { color: var(--ocean-deep); }

/* ---------- .section--ocean — also light variant (no dark section breaks) ---- */
.section--ocean {
    background: linear-gradient(180deg, var(--paper) 0%, var(--bg-cool) 100%);
    color: var(--ink);
}
.section--ocean h1, .section--ocean h2, .section--ocean h3, .section--ocean h4 { color: var(--ink); }
.section--ocean .lead { color: var(--ink-soft); }
.section--ocean .eyebrow { color: var(--ocean); }
.section--ocean .eyebrow::before { background: var(--ocean); }
.section--ocean .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.section--ocean .btn-ghost:hover { background: var(--ink); color: white; border-color: var(--ink); }
.section--ocean .stat { border-top-color: var(--line); }
.section--ocean .stat-num { color: var(--ocean); }
.section--ocean .stat-label { color: var(--ink-mute); }

/* ---------- Onboard — editorial split (large image + stacked features) -------- */
.onboard {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .onboard {
        grid-template-columns: 1.15fr 1fr;
        gap: var(--space-2xl);
        align-items: stretch;
    }
}
.onboard-figure {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-cool);
    box-shadow: 0 30px 60px -28px rgba(14, 43, 61, 0.35);
}
.onboard-figure img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.onboard-figure:hover img { transform: scale(1.04); }
.onboard-figure .caption {
    position: absolute;
    bottom: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ocean);
    padding: 0.45rem 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    font-weight: 600;
}
.onboard-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.onboard-feature {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.onboard-feature:first-child { border-top: 0; padding-top: 0; }
.onboard-feature-num {
    font-family: var(--display);
    font-size: 1.4rem;
    color: var(--ocean);
    font-weight: 400;
    letter-spacing: 0.05em;
}
.onboard-feature h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.4rem; }
.onboard-feature p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; margin: 0 0 0.4rem; }
.onboard-feature ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}
.onboard-feature li {
    background: var(--bg-cool);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

/* Old onboard-grid kept as a fallback for any external page that still uses it */
.onboard-grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 700px) { .onboard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .onboard-grid { grid-template-columns: repeat(4, 1fr); } }
.onboard-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.onboard-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--ocean); }
.onboard-card-media { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--bg-cool); }
.onboard-card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 0.5rem; }
.onboard-card h3 { font-size: 1.3rem; font-weight: 500; }
.onboard-card ul { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.4rem; }
.onboard-card li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); }
.onboard-card li::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ocean); flex-shrink: 0; }

/* ---------- Themes — bento (1 hero + 3 smaller) ------------
   Simple version: hero card is taller (3/4), smalls are wider (4/3). All cards keep their aspect-ratio so absolute-positioned body content has height to occupy. */
.themes-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .themes-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: var(--space-md);
    }
    .themes-grid > :nth-child(1) {
        grid-row: span 3;
        aspect-ratio: 4 / 5;
    }
    .themes-grid > :nth-child(1) h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
    .themes-grid > :nth-child(1) p { font-size: 1rem; max-width: 38ch; }
    .themes-grid > :not(:nth-child(1)) {
        aspect-ratio: 16 / 9;
    }
}
.theme-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    color: white;
    background: var(--aegean);
    display: block;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    box-shadow: 0 22px 44px -22px rgba(14, 43, 61, 0.4);
}
.theme-card:hover { transform: translateY(-3px); color: white; }
.theme-card-media {
    position: absolute; inset: 0; z-index: -1;
    background-size: cover;
    background-position: center;
    transition: transform 1.4s var(--ease);
}
.theme-card::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(14, 43, 61, 0.05) 0%, rgba(14, 43, 61, 0.85) 100%);
}
.theme-card:hover .theme-card-media { transform: scale(1.06); }
.theme-card-body {
    position: absolute;
    inset: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.theme-card-icon {
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: grid; place-items: center;
    margin-bottom: var(--space-sm);
}
.theme-card h3 { font-size: 1.6rem; color: white; margin-bottom: 0.3rem; }
.theme-card p { font-size: 0.85rem; opacity: 0.9; line-height: 1.5; margin: 0; }

/* ---------- Yacht carousel ---------------------------------- */
.carousel {
    position: relative;
    overflow: hidden;
    margin-top: var(--space-md);
}
.carousel-track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: var(--rail);
    padding: 0.4rem var(--rail) 1.6rem;
    margin: 0 calc(-1 * var(--rail));
    scrollbar-width: thin;
    scrollbar-color: var(--ocean) transparent;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--ocean); border-radius: 4px; }
.carousel-track > * {
    scroll-snap-align: start;
    flex: 0 0 280px;
    max-width: 320px;
}
@media (min-width: 800px) {
    .carousel-track > * { flex: 0 0 320px; }
}

/* ---------- Builder logos strip ----------------------------- */
.builders {
    background: var(--bg-cool);
    padding-block: var(--space-xl);
    overflow: hidden;
    border-block: 1px solid var(--line);
}
.builders-head {
    text-align: center;
    margin-bottom: var(--space-lg);
}
.builders-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--rail);
}
.builders-list span {
    font-family: var(--display);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-style: italic;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    transition: color var(--dur-fast) var(--ease);
}
.builders-list span:hover { color: var(--ocean); }

/* ---------- Newsletter (footer) ----------------------------- */
.newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: var(--space-md);
}
.newsletter input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: border-color var(--dur-fast) var(--ease);
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter input:focus { outline: 0; border-color: var(--brass-bright); }
.newsletter button {
    background: var(--brass);
    color: var(--ink);
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: background var(--dur-fast) var(--ease);
}
.newsletter button:hover { background: var(--brass-bright); }

/* ---------- Long-form — multi-column editorial with pull-quote ------ */
.longform {
    display: grid;
    gap: var(--space-xl) var(--space-2xl);
    grid-template-columns: 1fr;
    max-width: 1180px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .longform {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: start;
    }
    .longform > .longform-intro { grid-column: 1 / -1; }
    .longform > .longform-pull { grid-column: 1 / -1; }
}
.longform-intro h2 { max-width: 18ch; }
.longform-intro .lead { max-width: 60ch; }
.longform h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: var(--ink);
    position: relative;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line-strong);
}
.longform h3::before {
    content: counter(longform-h, decimal-leading-zero);
    counter-increment: longform-h;
    position: absolute;
    top: 1.4rem;
    right: 0;
    font-family: var(--body);
    font-size: 0.7rem;
    color: var(--ocean);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}
.longform { counter-reset: longform-h; }
.longform ul { margin: 0 0 var(--space-md); padding-left: 0; list-style: none; color: var(--ink-soft); }
.longform ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}
.longform ul li::before {
    content: '→';
    color: var(--ocean);
    font-weight: 600;
    flex-shrink: 0;
}
.longform p { color: var(--ink-soft); line-height: 1.7; }
.longform a { color: var(--ocean); border-bottom: 1px solid currentColor; }
.longform-pull {
    padding: var(--space-xl) 0;
    border-block: 1px solid var(--line-strong);
    text-align: center;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.25;
    color: var(--ink);
    max-width: 28ch;
    margin: 0 auto;
}
.longform-pull::before { content: '"'; color: var(--ocean); margin-right: 0.2em; }
.longform-pull::after { content: '"'; color: var(--ocean); margin-left: 0.1em; }
.longform-pull .attr {
    display: block;
    margin-top: var(--space-md);
    font-style: normal;
    font-family: var(--body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
}

/* ---------- Section rhythm — break monotone padding -------- */
.section--tight  { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--airy   { padding-block: clamp(6rem, 11vw, 9rem); }

/* ---------- Builders — vary the brand wordmark sizes ------- */
.builders-list span:nth-child(3n)    { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.builders-list span:nth-child(5n)    { font-size: clamp(0.9rem, 1.2vw, 1.05rem); color: var(--ink-mute); }
.builders-list span:nth-child(7n+1)  { font-style: normal; letter-spacing: 0.05em; font-family: var(--body); font-weight: 500; }

/* Print + reduced motion */
@media print {
    .site-header, .concierge, .concierge-trigger, .cookie-banner, .marquee { display: none !important; }
    body { background: white; color: black; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Photo wall — masonry-ish gallery moment -------- */
.photo-wall {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) {
    .photo-wall {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 140px;
    }
    .photo-wall > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
    .photo-wall > :nth-child(2) { grid-column: span 2; grid-row: span 1; }
    .photo-wall > :nth-child(3) { grid-column: span 1; grid-row: span 2; }
    .photo-wall > :nth-child(4) { grid-column: span 2; grid-row: span 1; }
    .photo-wall > :nth-child(5) { grid-column: span 2; grid-row: span 2; }
    .photo-wall > :nth-child(6) { grid-column: span 2; grid-row: span 1; }
    .photo-wall > :nth-child(7) { grid-column: span 2; grid-row: span 2; }
    .photo-wall > :nth-child(8) { grid-column: span 4; grid-row: span 1; }
}
.photo-wall > * {
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    transition: transform 1s var(--ease);
    background-color: var(--bg-cool);
    aspect-ratio: 4 / 3;
}
@media (min-width: 700px) {
    .photo-wall > * { aspect-ratio: auto; }
}
.photo-wall > *:hover { transform: scale(1.02); }

/* ---------- Themes — 4-card icon-led layout (matches her live site) -- */
.themes {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}
@media (min-width: 700px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .themes { grid-template-columns: repeat(4, 1fr); gap: var(--space-md); } }
.theme {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    color: var(--ink);
}
.theme:hover { color: var(--ink); }
.theme-icon {
    width: 56px; height: 56px;
    border: 1px solid var(--ocean);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ocean);
    margin: 0 auto;
    transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
    flex-shrink: 0;
}
.theme:hover .theme-icon { background: var(--ocean); color: white; }
.theme-icon svg { width: 24px; height: 24px; }
.theme h3 {
    font-size: clamp(1.2rem, 1.6vw, 1.4rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0;
}
.theme-img {
    aspect-ratio: 5 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-cool);
}
.theme-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.theme:hover .theme-img img { transform: scale(1.04); }
.theme-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}
.theme-body p { margin: 0; }

/* ---------- Builders — actual logo images (matches her live site) -- */
.builders-logos {
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rail);
}
.builders-logos img {
    width: 100%;
    max-height: 56px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 240ms var(--ease);
    mix-blend-mode: multiply;
}
.builders-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Builders — horizontal scrolling marquee (like her site) -- */
.builders-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
    padding-block: var(--space-md);
}
.builders-marquee-track {
    display: inline-flex;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    animation: buildersScroll 50s linear infinite;
    width: max-content;
    will-change: transform;
}
.builders-marquee:hover .builders-marquee-track { animation-play-state: paused; }
.builders-marquee-track img {
    /* Fixed bounding box gives each logo equal optical weight regardless of native aspect ratio */
    width: 150px;
    height: 60px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 240ms var(--ease);
    mix-blend-mode: multiply;
}
.builders-marquee-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes buildersScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .builders-marquee-track { animation: none; }
}

/* ---------- Mini "Ready to Explore" CTA bar ---------------- */
.ready-strip {
    background: var(--ink);
    color: white;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) var(--rail);
}
.ready-strip h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 0.6rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.ready-strip p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--space-md);
}

/* ---------- Cuisine circles --------------------------------- */
.cuisine-circles {
    display: flex;
    gap: clamp(1rem, 2.5vw, 2rem);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-block: var(--space-xl);
}
.cuisine-circles img {
    width: clamp(120px, 14vw, 200px);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 16px 40px -18px rgba(14, 43, 61, 0.4);
    border: 4px solid var(--paper);
    transition: transform 600ms var(--ease);
    flex-shrink: 0;
}
.cuisine-circles img:hover { transform: scale(1.06) translateY(-3px); }
.cuisine-circles img:nth-child(2) { transform: translateY(-12px); }
.cuisine-circles img:nth-child(2):hover { transform: scale(1.06) translateY(-15px); }
.cuisine-circles img:nth-child(4) { transform: translateY(-8px); }
.cuisine-circles img:nth-child(4):hover { transform: scale(1.06) translateY(-11px); }

/* ---------- Interactive regions — list + linked preview image -- */
.regions {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) {
    .regions {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-2xl);
    }
}
.regions-list { list-style: none; margin: 0; padding: 0; }
.regions-list li {
    border-top: 1px solid var(--line);
    transition: padding 320ms var(--ease);
}
.regions-list li:last-child { border-bottom: 1px solid var(--line); }
.regions-list a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 1rem;
    padding: 1.4rem 0;
    color: var(--ink);
    transition: padding 320ms var(--ease), color 240ms var(--ease);
    position: relative;
}
.regions-list a::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    top: 1.6rem;
    color: var(--ocean);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 240ms var(--ease), transform 320ms var(--ease);
}
.regions-list a strong {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.1;
    transition: color 240ms var(--ease);
}
.regions-list a span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    white-space: nowrap;
}
.regions-list a p {
    grid-column: 1 / -1;
    color: var(--ink-soft);
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 320ms var(--ease), opacity 240ms var(--ease), transform 320ms var(--ease);
}
.regions-list li:hover,
.regions-list li.is-active {
    padding-left: 1.5rem;
}
.regions-list li:hover a strong,
.regions-list li.is-active a strong { color: var(--ocean); }
.regions-list li:hover a::before,
.regions-list li.is-active a::before { opacity: 1; transform: translateX(0); }
.regions-list li:hover a p,
.regions-list li.is-active a p {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
}

.regions-preview {
    position: sticky;
    top: 6rem;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    background: var(--bg-cool);
}
.regions-preview img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 600ms var(--ease), transform 1200ms var(--ease);
    will-change: opacity, transform;
}
.regions-preview img.is-active {
    opacity: 1;
    transform: scale(1);
}
.regions-preview .caption {
    position: absolute;
    bottom: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ocean);
    padding: 0.5rem 0.9rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    font-weight: 600;
    z-index: 2;
}

/* =============================================================
   MOBILE RESPONSIVE FIXES — clean up cramped/overflowing sections
   ============================================================= */
@media (max-width: 700px) {
    /* Hero — tighter, smaller display type */
    .hero { min-height: 80vh; min-height: 80dvh; }
    .display-1 { font-size: clamp(2.1rem, 9vw, 3rem); letter-spacing: -0.025em; }
    .display-2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
    .hero-content { padding-top: 7rem; padding-bottom: 3rem; }

    /* Header — smaller logo, tighter spacing */
    .site-header { padding: 0.6rem 1rem; }
    .brand-logo { height: 22px; }
    .nav-toggle { width: 38px; height: 38px; }

    /* Section rhythm — much less padding on mobile */
    .section { padding-block: clamp(2.2rem, 7vw, 3rem); }
    .section--airy { padding-block: clamp(2.8rem, 9vw, 4rem); }
    .section--tight { padding-block: clamp(1.8rem, 5vw, 2.2rem); }

    /* Section heads — collapse the actions row */
    .section-head { gap: var(--space-sm); }

    /* Eyebrow — smaller pill */
    .eyebrow { font-size: 0.62rem; padding: 0.35rem 0.7rem; }

    /* Themes — smaller card aspect ratio so 4 cards aren't enormous */
    .themes { gap: var(--space-md); }
    .theme-img { aspect-ratio: 16 / 10; border-radius: 12px; }
    .theme h3 { font-size: 1.15rem; }
    .theme-icon { width: 44px; height: 44px; }
    .theme-icon svg { width: 18px; height: 18px; }
    .theme-body { font-size: 0.88rem; }

    /* Destinations grid — single column */
    .destination-grid { gap: var(--space-sm); }
    .dest-card { aspect-ratio: 16 / 10; border-radius: 14px; }
    .dest-card h3 { font-size: 1.5rem; }

    /* Yacht cards */
    .yacht-card { border-radius: 12px; }
    .yacht-card-body { padding: var(--space-sm); }
    .yacht-card-body h3 { font-size: 1.2rem; }

    /* Onboard editorial split — tighten */
    .onboard { gap: var(--space-md); }
    .onboard-figure { aspect-ratio: 4 / 3; border-radius: 14px; }
    .onboard-feature { grid-template-columns: 44px 1fr; gap: var(--space-sm); padding: var(--space-md) 0; }
    .onboard-feature-num { font-size: 1.3rem; }
    .onboard-feature h3 { font-size: 1.2rem; }
    .onboard-feature p { font-size: 0.88rem; }

    /* Photo wall — single column, simpler grid */
    .photo-wall {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 110px;
        gap: 6px;
    }
    .photo-wall > * { aspect-ratio: auto; border-radius: 10px; }
    .photo-wall > :nth-child(1),
    .photo-wall > :nth-child(2),
    .photo-wall > :nth-child(3),
    .photo-wall > :nth-child(4),
    .photo-wall > :nth-child(5),
    .photo-wall > :nth-child(6),
    .photo-wall > :nth-child(7),
    .photo-wall > :nth-child(8) {
        grid-column: span 1; grid-row: span 1;
    }
    .photo-wall > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .photo-wall > :nth-child(8) { grid-column: span 2; }

    /* Cuisine circles — smaller, no offset wave on mobile (gets messy) */
    .cuisine-circles { gap: 0.8rem; padding-block: var(--space-lg); }
    .cuisine-circles img { width: 92px; border-width: 3px; }
    .cuisine-circles img:nth-child(2),
    .cuisine-circles img:nth-child(4) { transform: none; }
    .cuisine-circles img:nth-child(2):hover,
    .cuisine-circles img:nth-child(4):hover { transform: scale(1.04); }

    /* Stats — single column, but first one stays slightly larger */
    .stat-row { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
    .stat-row > :first-child { grid-column: span 2; }
    .stat-num { font-size: 2.2rem !important; }
    .stat-row > :first-child .stat-num { font-size: 3.2rem !important; }

    /* Builders marquee — smaller logos, tighter */
    .builders-marquee-track { gap: 2.2rem; }
    .builders-marquee-track img { width: 110px; height: 44px; }
    .builders-marquee {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, black 30px, black calc(100% - 30px), transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, black 30px, black calc(100% - 30px), transparent 100%);
    }

    /* Process timeline — no asymmetric indents on mobile (everything stacks anyway) */
    .process-step:nth-child(2),
    .process-step:nth-child(3),
    .process-step:nth-child(4) { padding-left: 0 !important; }
    .process-step { grid-template-columns: 56px 1fr; padding: var(--space-md) 0; }
    .process-step::before { font-size: 1.8rem; }
    .process-step h3 { font-size: 1.2rem; }

    /* Long-form — tighter typography */
    .longform { gap: var(--space-lg); }
    .longform h3 { font-size: 1.25rem; padding-top: 1rem; }
    .longform-pull { font-size: 1.3rem; padding: var(--space-lg) 0; line-height: 1.3; }

    /* Interactive regions — collapse to text-list on mobile, no sticky preview */
    .regions { gap: var(--space-md); }
    .regions-preview {
        position: static;
        aspect-ratio: 16 / 10;
        border-radius: 14px;
        order: -1; /* show preview first as a hero teaser */
    }
    .regions-list a { padding: 1rem 0; }
    .regions-list a strong { font-size: 1.3rem; }
    .regions-list a span { font-size: 0.7rem; }
    .regions-list li:hover, .regions-list li.is-active { padding-left: 0; }
    .regions-list a::before { display: none; }
    /* Always show region descriptions inline (no hover on touch) */
    .regions-list a p { max-height: none; opacity: 1; transform: none; margin-top: 0.4rem; font-size: 0.88rem; }

    /* Page hero — less top padding on mobile */
    .page-hero { padding-top: 6.5rem !important; padding-bottom: 3rem !important; }
    .page-hero h1 { margin: 0.6rem 0; }

    /* Yacht detail page — single column hero */
    .yacht-hero { gap: var(--space-md); }
    .yacht-hero-img { aspect-ratio: 4 / 3; border-radius: 14px; }
    .yacht-spec-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm) var(--space-md); }
    .yacht-spec dd { font-size: 1.3rem; }

    /* Inquire form */
    .form-row--2, .form-row--3 { grid-template-columns: 1fr; }

    /* Search bar (yachts page) */
    .search-bar { grid-template-columns: 1fr; gap: var(--space-sm); padding: var(--space-sm); }
    .search-bar .field { gap: 0.2rem; }

    /* Marquee — smaller font */
    .marquee { font-size: 1.1rem; }
    .marquee-track { gap: 2.5rem; padding-left: 2.5rem; }

    /* Tagline strip */
    .tagline-strip { font-size: 1.1rem; padding-block: var(--space-sm); }

    /* Concierge — full width on small */
    .concierge { max-width: 100%; }
    .concierge-trigger { right: 1rem; bottom: 1rem; padding: 0.7rem 1rem 0.7rem 0.7rem; font-size: 0.7rem; }
    .concierge-trigger .dot { width: 26px; height: 26px; font-size: 0.95rem; }

    /* Footer — single column */
    .footer-top { gap: var(--space-lg); }
    .footer-brand-blurb { font-size: 1.15rem; }

    /* Ready strip */
    .ready-strip { padding: var(--space-lg) 1rem; }
    .ready-strip h2 { font-size: 1.7rem; }
    .ready-strip p { font-size: 0.7rem; letter-spacing: 0.18em; }

    /* Split sections — tighter gap */
    .split { gap: var(--space-lg); }
    .split-figure { aspect-ratio: 4 / 3; border-radius: 14px; }

    /* Buttons — slightly smaller on mobile */
    .btn { padding: 0.85rem 1.2rem; font-size: 0.7rem; }

    /* Disable parallax-like motion that costs frames on mobile */
    .hero-media img { animation-duration: 30s; }
}

/* Very small phones (<= 380px) */
@media (max-width: 380px) {
    .photo-wall { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .photo-wall > * { aspect-ratio: 16 / 10 !important; grid-column: span 1 !important; grid-row: span 1 !important; }
    .stat-row { grid-template-columns: 1fr; }
    .stat-row > :first-child { grid-column: span 1; }
    .cuisine-circles img { width: 78px; }
}
