/* SOFI Yacht colour system. Every palette is contrast-balanced for the same layout. */
.theme-coastal-ivory{--t-ink:#192a32;--t-ink2:#25363c;--t-paper:#fcfbf8;--t-bone:#f4f1eb;--t-sand:#e9e3d7;--t-muted:#717c7c;--t-accent:#a98e6f;--t-accent2:#c9ad87;--t-deep:#102731;--t-deep2:#163341;--t-surface:#fff;--t-dark-text:#f8f8f3}
.theme-midnight-bronze{--t-ink:#142534;--t-ink2:#263946;--t-paper:#f7f2e8;--t-bone:#eee6d8;--t-sand:#dfd2be;--t-muted:#68747a;--t-accent:#a9784e;--t-accent2:#d0a16f;--t-deep:#091923;--t-deep2:#142b39;--t-surface:#fffdf8;--t-dark-text:#fbf4e9}
.theme-sage-linen{--t-ink:#263a34;--t-ink2:#354a43;--t-paper:#f6f2e8;--t-bone:#eae6d9;--t-sand:#d9d4c3;--t-muted:#6f7972;--t-accent:#8b7654;--t-accent2:#c2a879;--t-deep:#172923;--t-deep2:#263d34;--t-surface:#fffdf8;--t-dark-text:#f7f4eb}
.theme-oxblood-parchment{--t-ink:#3a2428;--t-ink2:#50373a;--t-paper:#faf4e8;--t-bone:#f0e6d6;--t-sand:#dfcfb9;--t-muted:#786d69;--t-accent:#a4774f;--t-accent2:#d0a070;--t-deep:#28161a;--t-deep2:#43262b;--t-surface:#fffaf2;--t-dark-text:#fff7ec}
.theme-graphite-pearl{--t-ink:#292d31;--t-ink2:#3e4449;--t-paper:#f5f4f0;--t-bone:#eae8e2;--t-sand:#d8d5ce;--t-muted:#707579;--t-accent:#8d8071;--t-accent2:#b8a58f;--t-deep:#171a1d;--t-deep2:#2b3034;--t-surface:#fff;--t-dark-text:#f7f6f2}
.theme-riviera-blue{--t-ink:#173a52;--t-ink2:#2a4b60;--t-paper:#f8f3e8;--t-bone:#ede6d7;--t-sand:#ddd2bd;--t-muted:#697982;--t-accent:#b88b4a;--t-accent2:#d4ad70;--t-deep:#0c2738;--t-deep2:#173f57;--t-surface:#fffdf8;--t-dark-text:#f8f5ed}
.theme-navy-nocturne{--t-ink:#f1f4f5;--t-ink2:#c7d1d6;--t-paper:#0b1f33;--t-bone:#102a43;--t-sand:#173b5e;--t-muted:#a9bac4;--t-accent:#c9a66b;--t-accent2:#e0c18a;--t-deep:#071522;--t-deep2:#12304a;--t-surface:#102b45;--t-dark-text:#f8f5ec}

body[class^="theme-"]{--ink:var(--t-ink);--ink2:var(--t-ink2);--paper:var(--t-paper);--bone:var(--t-bone);--sand:var(--t-sand);--muted:var(--t-muted);--accent:var(--t-accent);--deep:var(--t-deep);--line:color-mix(in srgb,var(--t-ink) 15%,transparent);background:var(--t-paper);color:var(--t-ink)}
body[class^="theme-"] ::selection{background:color-mix(in srgb,var(--t-accent) 38%,var(--t-paper));color:var(--t-deep)}
body[class^="theme-"] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--t-accent)}
body[class^="theme-"] :is(.eyebrow,.section-title em,.hero h1 em,.intro-statement em){color:var(--t-accent)}
body[class^="theme-"] .eyebrow:before{background:var(--t-accent)}
body[class^="theme-"] :is(.section-intro .lead,.hero-copy>p,.intro-side,.yacht-meta,.destination-copy>p,.about-text p,.contact-copy>p){color:var(--t-muted)}
body[class^="theme-"] :is(.btn-dark,.header-contact:hover){background:var(--t-deep);color:var(--t-dark-text)}
body[class^="theme-"] .btn-dark:hover{background:var(--t-deep2)}
body[class^="theme-"] .btn-outline{color:var(--t-ink);border-color:color-mix(in srgb,var(--t-ink) 30%,transparent)}
body[class^="theme-"] .btn-outline:hover{background:var(--t-surface);border-color:var(--t-ink)}
body[class^="theme-"] .btn-cream{background:var(--t-paper);color:var(--t-deep)}
body[class^="theme-"] .btn-cream:hover{background:var(--t-sand)}
body[class^="theme-"] .topline{background:color-mix(in srgb,var(--t-paper) 92%,var(--t-sand));border-color:var(--line)}
body[class^="theme-"] .topline-inner{color:var(--t-muted)}
body[class^="theme-"] .topline .dot{color:var(--t-accent)}
body[class^="theme-"] .site-header{background:color-mix(in srgb,var(--t-paper) 94%,transparent);border-color:var(--line)}
body[class^="theme-"] :is(.logo,.nav-links>a,.lang-toggle,.header-contact,.menu-toggle){color:var(--t-ink)}
body[class^="theme-"] .menu-toggle span{background:var(--t-ink)}
body[class^="theme-"] .header-contact{border-color:var(--t-deep)}
body[class^="theme-"] .hero{background:var(--t-bone)}
body[class^="theme-"] .hero-copy:after{color:color-mix(in srgb,var(--t-accent) 7%,transparent)}
body[class^="theme-"] .hero-micro{color:color-mix(in srgb,var(--t-muted) 86%,var(--t-paper))}
body[class^="theme-"] .hero-micro i{background:var(--t-accent)}
body[class^="theme-"] .service-strip{background:var(--t-surface);border-color:var(--line)}
body[class^="theme-"] .service-tile:hover{background:var(--t-bone)}
body[class^="theme-"] .service-symbol{color:color-mix(in srgb,var(--t-ink) 72%,var(--t-paper))}
body[class^="theme-"] :is(.service-text small,.service-arrow,.yacht-card .subtitle,.collection-footer p,.sale-overline,.sale-specs){color:var(--t-muted)}
body[class^="theme-"] :is(.charter-section,.destination-section){background:color-mix(in srgb,var(--t-bone) 74%,var(--t-paper))}
body[class^="theme-"] .filter-tabs button{color:var(--t-muted)}
body[class^="theme-"] .filter-tabs button.active,body[class^="theme-"] .filter-tabs button:hover{border-color:var(--t-ink);color:var(--t-ink)}
body[class^="theme-"] :is(.yacht-picture,.sale-card .sale-picture){background:var(--t-sand)}
body[class^="theme-"] .yacht-picture .tag{background:color-mix(in srgb,var(--t-paper) 94%,transparent);color:var(--t-deep)}
body[class^="theme-"] :is(.image-action,.scroll-top){background:var(--t-surface);color:var(--t-deep)}
body[class^="theme-"] :is(.yacht-detail,.sale-card .bottom button){color:var(--t-ink)}
body[class^="theme-"] .collection-footer a{border-color:color-mix(in srgb,var(--t-muted) 55%,var(--t-paper))}
body[class^="theme-"] .collection-footer a:hover{background:var(--t-surface)}
body[class^="theme-"] .sale-card{background:var(--t-surface);border-color:var(--line)}
body[class^="theme-"] .sale-card .sale-line{background:var(--line)}
body[class^="theme-"] .destination-picker{border-color:var(--line)}
body[class^="theme-"] .destination-picker button{border-color:var(--line);color:color-mix(in srgb,var(--t-muted) 78%,var(--t-paper))}
body[class^="theme-"] .destination-picker button.active,body[class^="theme-"] .destination-picker button:hover{color:var(--t-ink)}
body[class^="theme-"] .destination-picker button span{color:var(--t-muted)}
body[class^="theme-"] .destination-visual{background:color-mix(in srgb,var(--t-deep2) 45%,var(--t-sand))}
body[class^="theme-"] .destination-label{background:color-mix(in srgb,var(--t-deep) 78%,transparent);color:var(--t-dark-text)}
body[class^="theme-"] :is(.management-section,.site-footer){background:var(--t-deep);color:var(--t-dark-text)}
body[class^="theme-"] .management-photo{background:var(--t-deep2)}
body[class^="theme-"] :is(.management-content .section-title em,.footer-col h4,.management-list i){color:var(--t-accent2)}
body[class^="theme-"] :is(.management-content>p,.footer-brand p,.footer-col a,.footer-col span,.footer-bottom){color:color-mix(in srgb,var(--t-dark-text) 70%,var(--t-deep))}
body[class^="theme-"] .contact-section{background:var(--t-sand)}
body[class^="theme-"] .contact-lines{border-color:color-mix(in srgb,var(--t-ink) 18%,transparent)}
body[class^="theme-"] .contact-lines .l{color:var(--t-muted)}
body[class^="theme-"] :is(.form-panel,.dialog,.sale-card){background:var(--t-surface);color:var(--t-ink)}
body[class^="theme-"] :is(.form-panel p,.field label,.submit-row .form-note,.dialog p){color:var(--t-muted)}
body[class^="theme-"] :is(.field input,.field textarea,.field select){background:color-mix(in srgb,var(--t-paper) 80%,var(--t-surface));border-color:var(--line);color:var(--t-ink)}
body[class^="theme-"] :is(.field input,.field textarea,.field select):focus{border-color:var(--t-accent)}
body[class^="theme-"] .form-feedback{color:color-mix(in srgb,var(--t-deep2) 82%,#326d43)}
body[class^="theme-"] .about-stamp{background:var(--t-surface);color:var(--t-muted)}
body[class^="theme-"] :is(.archive-head,.detail-sidebar){background:var(--t-bone)}
body[class^="theme-"] :is(.archive-head h1,.detail-sidebar a,.yacht-detail){color:var(--t-ink)}
body[class^="theme-"] .archive-head p{color:var(--t-muted)}
body[class^="theme-"] :is(.filter-form input,.filter-form select){background:var(--t-surface);border-color:var(--line);color:var(--t-ink)}
body[class^="theme-"] .filter-form button{background:var(--t-deep);color:var(--t-dark-text)}
body[class^="theme-"] :is(.spec-grid div,.yacht-detail){border-color:var(--line)}
body[class^="theme-"] .spec-grid small{color:var(--t-muted)}
body[class^="theme-"] .scroll-progress{background:var(--t-accent)}
body.theme-navy-nocturne :is(.sale-section,.about-section,.intro,.detail-head,.detail-grid){background:var(--t-paper);color:var(--t-ink)}
body.theme-navy-nocturne :is(.photo-content,.management-section,.site-footer){color:var(--t-dark-text)}
body.theme-navy-nocturne .yacht-picture .tag,
body.theme-navy-nocturne .image-action{background:var(--t-accent);color:var(--t-deep)}
body.theme-navy-nocturne .language-options{background:var(--t-surface);border-color:var(--line);box-shadow:0 10px 28px color-mix(in srgb,var(--t-deep) 72%,transparent)}
body.theme-navy-nocturne .language-options a{color:var(--t-ink)}
body.theme-navy-nocturne .language-options a:is(:hover,:focus-visible){background:var(--t-sand);color:var(--t-dark-text)}
body.theme-navy-nocturne .home-events-section{color:var(--t-deep)}
body.theme-navy-nocturne .home-events-section .section-title{color:var(--t-deep)}
body.theme-navy-nocturne .home-events-section .section-intro .lead{color:var(--t-deep2)}
body.theme-navy-nocturne .home-events-section .collection-footer a{color:var(--t-deep);border-color:color-mix(in srgb,var(--t-deep) 58%,transparent)}
body.theme-navy-nocturne .home-events-section .collection-footer a:hover{background:var(--t-deep);color:var(--t-dark-text)}
body.theme-navy-nocturne .scroll-top{background:var(--t-surface);border-color:color-mix(in srgb,var(--t-dark-text) 38%,transparent);color:#fff}
body.theme-navy-nocturne .events-page{color:var(--t-ink)}
body.theme-navy-nocturne .events-intro .eyebrow{color:var(--t-accent2)}
body.theme-navy-nocturne .events-intro h1{color:var(--t-ink)}
body.theme-navy-nocturne .events-intro p{color:var(--t-muted)}
body.theme-navy-nocturne .events-tabs{border-color:var(--line)}
body.theme-navy-nocturne .events-tabs a{color:var(--t-muted)}
body.theme-navy-nocturne .events-tabs a[aria-current]{color:var(--t-accent2);border-color:var(--t-accent)}
body.theme-navy-nocturne .events-month>h2{color:var(--t-ink)}
body.theme-navy-nocturne .event-card{background:var(--t-surface);border-color:var(--line);color:var(--t-ink)}
body.theme-navy-nocturne .event-card>img{background:var(--t-dark-text)}
body.theme-navy-nocturne :is(.event-date,.event-card h3,.event-website){color:var(--t-accent2)}
body.theme-navy-nocturne .event-location{color:var(--t-muted)}
body.theme-navy-nocturne .events-empty{background:var(--t-surface);color:var(--t-ink)}
body.theme-navy-nocturne .photo-statement:after{background:linear-gradient(90deg,color-mix(in srgb,var(--t-deep) 82%,transparent),transparent 78%)}
body.theme-navy-nocturne .preview-flag{background:color-mix(in srgb,var(--t-surface) 92%,transparent);border-color:var(--line);color:var(--t-ink)}
body[class^="theme-"] .preview-flag{background:color-mix(in srgb,var(--t-paper) 88%,transparent);border-color:var(--line);color:var(--t-muted)}
@media(max-width:920px){body[class^="theme-"] .nav-links{background:var(--t-paper)}}
