/* CreteMedia website system • responsive header, dark-mode switch, shared footer */
:root{--cm-bg:#ffffff;--cm-surface:#ffffff;--cm-card:#f4f8f7;--cm-text:#172a32;--cm-muted:#526771;--cm-border:#dbe8e6;--cm-accent:#078b91;--cm-teal:#00858e;--cm-mutedbg:#edf6f3;--cm-header:rgba(255,255,255,.94);color-scheme:light}
html[data-theme="dark"]{--cm-bg:#121016;--cm-surface:#131317;--cm-card:#16161b;--cm-text:#e9f5f5;--cm-muted:#b1c9cd;--cm-border:#353b41;--cm-accent:#5adcd3;--cm-teal:#38b9b6;--cm-mutedbg:#16171a;--cm-header:rgba(15,15,19,.96);--ink:#eaf6f6;--muted:#b1c9cd;--sand:#141419;--border:#3a4045;--navy:#e9f5f5;--dark:#eaf6f6;--line:#3b4044;--sea:#1a1e21;color-scheme:dark}
html{scroll-padding-top:90px}body{background:var(--cm-bg);color:var(--cm-text)}
.cm-header,.header.cm-header,.site-header.cm-header{height:86px;position:sticky;top:0;z-index:100;background:var(--cm-header);color:var(--cm-text);border:0;border-bottom:1px solid var(--cm-border);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 4px 20px rgba(15,53,66,.045)}
.cm-header::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#047b87,#5fc2b2,#d6b47a)}
.cm-header__inner{width:min(1460px,calc(100% - 80px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px}
.cm-header .cm-brand{display:flex;flex-direction:column;justify-content:center;width:226px;min-width:226px;max-width:226px;flex:none;color:inherit;margin:0}
.cm-header .cm-brand img{width:100%;height:auto;max-height:52px;object-fit:contain}
.cm-header .brand-tag{display:block;text-align:right;letter-spacing:1.65px;font-size:8px;padding-right:0;color:var(--cm-muted);margin-top:0}
.cm-header .cm-primary-nav{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:700;flex:1;justify-content:flex-end;white-space:nowrap}
.cm-header .cm-primary-nav>a{font-size:15px;font-weight:700;white-space:nowrap;color:var(--cm-text)}
.cm-header .cm-primary-nav>a:hover,.cm-header .cm-service-menu summary:hover{color:var(--cm-accent)}
.cm-header .cm-service-menu>summary{color:var(--cm-text);font-size:15px;font-weight:700}
.cm-header .cm-service-menu .cm-menu-panel{top:calc(100% + 18px);left:-10px;border:1px solid var(--cm-border);background:var(--cm-surface);box-shadow:0 18px 40px rgba(0,22,31,.22);padding:9px;min-width:259px}
.cm-header .cm-menu-panel a{color:var(--cm-text);font-size:14px}
.cm-header .cm-menu-panel a:hover,.cm-header .cm-menu-panel a[aria-current="page"]{background:var(--cm-mutedbg);color:var(--cm-accent)}
.cm-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.cm-header .cm-langs{display:flex;align-items:center;gap:2px;background:var(--cm-mutedbg);border:1px solid var(--cm-border);border-radius:28px;padding:3px;font-size:11px;line-height:1;margin:0}
.cm-header .cm-langs button{display:flex;align-items:center;justify-content:center;color:var(--cm-muted);font:700 10.5px/1 Arial,sans-serif;background:transparent;border:0;border-radius:30px;padding:9px 10px;min-width:33px;cursor:pointer}
.cm-header .cm-langs button[aria-pressed="true"]{background:var(--cm-surface);color:var(--cm-accent);box-shadow:0 1px 6px #0001}
.cm-lang-full{display:none}.cm-lang-short{display:inline}
.cm-theme-toggle,.cm-header .menu-toggle,.cm-header .nav-toggle{width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--cm-border);background:var(--cm-surface);color:var(--cm-text);border-radius:50%;padding:0;cursor:pointer;box-shadow:none;margin:0}
.cm-theme-toggle:hover,.cm-header .menu-toggle:hover,.cm-header .nav-toggle:hover{color:var(--cm-accent);background:var(--cm-mutedbg)}
.cm-theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cm-header .menu-toggle,.cm-header .nav-toggle{display:none}
.cm-header .cm-primary-nav .cm-service-menu{margin:0}
.cm-footer{background:linear-gradient(130deg,#071e29,#103a43 60%,#064d57);color:#daeeee;padding:0}
.cm-footer__wave{height:4px;background:linear-gradient(90deg,#0b7d87,#67d4c0,#edc38a)}
.cm-footer__main{display:grid;grid-template-columns:1.4fr .9fr 1fr;gap:65px;padding:64px 0 52px}
.cm-footer__container{max-width:1460px;width:calc(100% - 90px);margin:auto}
.cm-footer__brand-name{font-size:30px;letter-spacing:-1.4px;font-weight:850;color:#fff}.cm-footer__brand-name em{font-style:normal;color:#67d4ce}
.cm-footer__tag{color:#9bbfc5;font-size:11px;letter-spacing:2.4px;text-transform:uppercase;margin:7px 0 21px}
.cm-footer__intro{max-width:350px;line-height:1.7;color:#bed2d7;font-size:15px}
.cm-footer__heading{margin:2px 0 20px;color:#fff;font-size:14px;letter-spacing:1.4px;text-transform:uppercase}
.cm-footer__links{display:grid;gap:12px}.cm-footer a{color:#d1e8e9;text-decoration:none}.cm-footer a:hover{color:#8ff0dc}
.cm-footer__details{display:grid;gap:15px}.cm-footer__detail{display:flex;gap:12px;line-height:1.52;color:#d1e8e9}.cm-footer__detail .cm-symbol{color:#70d4ce;font-size:19px;min-width:20px}
.cm-footer__bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid #ffffff22;padding:21px 0;color:#a8c4ca;font-size:12px;line-height:1.5}
.cm-footer__bottom a{color:#d3e7e9}.cm-footer .cm-footer__top{white-space:nowrap}
.cm-card-link{display:flex;flex-direction:column;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;position:relative;isolation:isolate}
.cm-card-link:hover{transform:translateY(-5px);box-shadow:0 22px 47px rgba(0,57,68,.20)}
.cm-card-link:focus-visible{outline:3px solid #f0bd70;outline-offset:4px}
.cm-card-link:after{content:'↗';position:absolute;top:17px;right:18px;color:#05868b;font-size:20px;opacity:0;transform:translateY(5px);transition:.2s}
.cm-card-link:hover:after,.cm-card-link:focus-visible:after{opacity:1;transform:none}
html[data-theme="dark"] .cm-card-link:after{color:#74dcd5}
html[data-theme="dark"] body,html[data-theme="dark"] main{background:var(--cm-bg);color:var(--cm-text)}
html[data-theme="dark"] :is(.section,.services-section,.film-types,.film-process,.faq-section,.tour-section,.tour-uses,.tour-process,.tour-faq,.tour-intro,.photo-gallery,.contact,.place-section){background:var(--cm-bg)!important;color:var(--cm-text)}
html[data-theme="dark"] :is(.about,.focus-card,.feature,.film-card,.process-card,.faq-item,.tour-card,.tour-step,.tour-block,.quote-card,.browser-card,.strip,.video-strip,.tour-ribbon,.service-card,.story-quote,.intro-grid,.place-content,.steps,.faq-grid,.film-scenic,.tour-note){background-color:var(--cm-card)!important;color:var(--cm-text);border-color:var(--cm-border)!important}
html[data-theme="dark"] :is(.about,.focus-card,.feature,.film-card,.process-card,.faq-item,.tour-card,.tour-step,.tour-block,.quote-card,.browser-card,.strip,.video-strip,.tour-ribbon,.service-card,.story-quote,.intro-grid,.place-content,.steps,.faq-grid,.film-scenic,.tour-note):where(:not(.cm-theme-toggle)){color:var(--cm-text)}
html[data-theme="dark"] .wd-hero{background:var(--cm-bg)!important}
html[data-theme="dark"] :is(.wd-hero,.wd-hero .hero-left,.about,.place-section,.faq-section,.tour-intro,.tour-uses,.film-process,.tour-process,.tour-faq,.video-strip,.strip,.tour-ribbon) :is(h1,h2,h3,h4,p,li,.lead,.hero-lead,.section-copy,.section-title,.overline){color:var(--cm-text)!important}
html[data-theme="dark"] :is(.service-card,.focus-card,.feature,.film-card,.process-card,.tour-card,.tour-step,.faq-item,.faq-item summary,.story-quote,.tour-block,.tour-note) :is(h2,h3,h4,p,small,span){color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.section-lead,.lead,.section-copy,.focus-body p,.about p.main,.faq-grid p,.film-types p,.tour-uses p,.tour-faq p){color:var(--cm-muted)!important}
html[data-theme="dark"] :is(.contact,.contact-box,.cta-area){background:var(--cm-bg)!important}
html[data-theme="dark"] :is(.contact-box,.cta-box,.band,.film-scenic){background:linear-gradient(135deg,#0b5962,#171d23)!important;color:#fff!important}
html[data-theme="dark"] :is(.contact-box,.cta-box,.band,.film-scenic) :is(h2,h3,p,span){color:#fff!important}
html[data-theme="dark"] .cm-header .cm-menu-panel a{color:#e9f5f5}
html[data-theme="dark"] main :is(.hero,.video-hero,.tour-hero) :is(h1,h2,h3,p){color:#fff!important}
html[data-theme="dark"] .cm-footer{background:linear-gradient(130deg,#0b0b0d,#14181c 60%,#07434b)}
html[data-theme="dark"] :is(.tour-disclaimer,.scenic-chips,.pills){color:var(--cm-text)}
@media(max-width:1100px){.cm-header__inner{width:calc(100% - 44px);gap:15px}.cm-header .cm-brand{width:204px;min-width:204px;max-width:204px}.cm-header .cm-primary-nav{gap:15px}}
@media(max-width:980px){.cm-header,.header.cm-header,.site-header.cm-header{height:78px}.cm-header__inner{width:calc(100% - 36px)}.cm-header .cm-brand{width:194px;min-width:194px;max-width:194px}.cm-header .cm-primary-nav{display:none;position:absolute;top:78px;left:0;right:0;z-index:101;width:100%;max-height:calc(100vh - 78px);overflow-y:auto;background:var(--cm-surface);box-shadow:0 20px 30px #0003;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:14px 20px 22px;gap:0;border-top:1px solid var(--cm-border)}.cm-header .cm-primary-nav.open{display:flex}.cm-header .cm-primary-nav>a,.cm-header .cm-service-menu summary{display:flex;min-height:48px;align-items:center;padding:11px;border-bottom:1px solid var(--cm-border);font-size:16px}.cm-header .cm-service-menu summary{justify-content:space-between}.cm-header .cm-service-menu .cm-menu-panel{position:static;display:none;min-width:0;border:0;box-shadow:none;padding:4px 0 7px 14px;background:var(--cm-mutedbg)}.cm-header .cm-service-menu[open] .cm-menu-panel{display:grid}.cm-header .menu-toggle,.cm-header .nav-toggle{display:grid}.cm-footer__main{gap:32px}}
@media(max-width:700px){.cm-footer__container{width:calc(100% - 38px)}.cm-footer__main{grid-template-columns:1fr;gap:30px;padding:48px 0 36px}.cm-footer__bottom{align-items:flex-start;flex-direction:column;gap:7px}.cm-footer__tag{margin-bottom:8px}.cm-footer__intro{margin:8px 0 0}.cm-card-link:hover{transform:none}}
@media(max-width:440px){.cm-header__inner{width:calc(100% - 22px);gap:8px}.cm-header .cm-brand{width:153px;min-width:153px;max-width:153px}.cm-header .cm-brand img{max-height:42px}.cm-header .brand-tag{font-size:6px;letter-spacing:1px}.cm-actions{gap:5px}.cm-header .cm-langs button{font-size:9px;padding:7px 5px;min-width:23px}.cm-theme-toggle,.cm-header .menu-toggle,.cm-header .nav-toggle{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.cm-card-link{transition:none}.cm-card-link:hover{transform:none}}

html[data-theme="dark"] .cm-header .cm-brand{background:#f7fbfa;padding:5px 9px;border-radius:9px}html[data-theme="dark"] .cm-header .brand-tag{color:#2d353a}

.cm-header .cm-brand{padding:7px 10px 8px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,250,249,.92));border:1px solid rgba(7,140,150,.14);box-shadow:0 6px 18px rgba(0,39,53,.05)}
.cm-header .brand-tag{text-align:center;margin-top:2px;padding-right:0}
html[data-theme="dark"] .cm-header .cm-brand{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(242,250,249,.94));border-color:rgba(255,255,255,.28)}
.cm-footer__brand-logo{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.96);border-radius:18px;padding:12px 16px;margin:0 0 16px;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.cm-footer__brand-logo img{display:block;width:auto;height:46px;max-width:min(100%,270px)}
@media(max-width:820px){.cm-header .cm-brand{padding:6px 8px 7px}.cm-footer__brand-logo img{height:40px}}
@media(max-width:540px){.cm-footer__brand-logo img{height:34px}.cm-header .cm-brand{padding:5px 7px 6px;border-radius:14px}}

/* Minimal wordmark: no icons, shadows, frames or decorative marks */
.cm-header .cm-brand,
html[data-theme="dark"] .cm-header .cm-brand{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;width:226px;min-width:226px;max-width:226px}
.cm-header .cm-brand img{width:100%;height:auto;max-height:none;object-fit:contain}
.cm-header .cm-brand .cm-logo-dark{display:none}
html[data-theme="dark"] .cm-header .cm-brand .cm-logo-dark{display:block}
html[data-theme="dark"] .cm-header .cm-brand .cm-logo-light{display:none}
.cm-footer__brand-logo{background:transparent;box-shadow:none;margin:0 0 16px;padding:0;border-radius:0}
.cm-footer__brand-logo img{width:min(100%,260px);height:auto;max-width:100%}
@media(max-width:540px){.cm-header .cm-brand,html[data-theme="dark"] .cm-header .cm-brand{width:150px;min-width:150px;max-width:150px}}

/* 2026-11 update: wave logo + footer alignment */
.cm-header .cm-brand{display:flex;align-items:center;min-width:0}
.cm-header .cm-brand img{display:block;max-width:100%;height:auto}
.cm-footer__brand-logo{display:block !important;text-align:left !important;justify-content:flex-start !important;align-items:flex-start !important;margin:0 0 16px;padding:0;background:transparent;box-shadow:none;border-radius:0}
.cm-footer__brand-logo img{display:block;margin:0;width:min(100%,260px);height:auto;max-width:100%}
@media(max-width:820px){.cm-footer__brand-logo img{width:min(100%,220px);height:auto}}
@media(max-width:540px){.cm-footer__brand-logo img{width:min(100%,190px);height:auto}}

/* Updated CreteMedia wave wordmark */
.cm-header .cm-brand{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.cm-header .cm-brand .cm-logo-picture{display:block;width:100%}
.cm-header .cm-brand .cm-logo-picture img{display:block;width:100%;max-height:64px;height:auto;object-fit:contain;object-position:left center}
.cm-header .brand-tag{display:none!important}
.cm-footer__brand-logo{display:flex!important;justify-content:flex-start!important;align-items:flex-start!important;margin:0 0 16px!important;padding:0!important;background:transparent!important;box-shadow:none!important;width:100%}
.cm-footer__brand-logo img{width:min(100%,300px)!important;height:auto!important;max-width:100%!important;display:block!important;object-fit:contain!important;object-position:left center!important}
html[data-theme="dark"] .cm-header .cm-brand img{content:url('cretemedia-logo-night-matching-teal.png')}
html:not([data-theme="dark"]) .cm-header .cm-brand img{content:url('cretemedia-logo-selected.png')}
@media(max-width:700px){.cm-footer__brand-logo{justify-content:flex-start!important}.cm-footer__brand-logo img{width:min(100%,245px)!important}}

.cm-header .cm-brand .cm-logo-light,.cm-header .cm-brand .cm-logo-dark{width:100%;height:auto;max-height:64px;object-fit:contain;object-position:left center}
html[data-theme="dark"] .cm-header .cm-brand .cm-logo-light{display:none!important}
html[data-theme="dark"] .cm-header .cm-brand .cm-logo-dark{display:block!important}
html:not([data-theme="dark"]) .cm-header .cm-brand .cm-logo-dark{display:none!important}

/* === 2026-11-10: Accessible warm navy palette, selected 4th wave logo === */
:root{--cm-bg:#fbfcfd;--cm-surface:#ffffff;--cm-card:#f3f7f9;--cm-text:#15283b;--cm-muted:#43566a;--cm-border:#d4e1e8;--cm-accent:#087e87;--cm-mutedbg:#eaf3f5;--cm-header:rgba(250,252,254,.98)}
html[data-theme="dark"]{
 --cm-bg:#131519;--cm-surface:#1b1e23;--cm-card:#22252b;--cm-text:#f0f6ff;--cm-muted:#c7d4e4;--cm-border:#494856;--cm-accent:#67ddd7;--cm-teal:#4dbfbd;--cm-mutedbg:#24212a;--cm-header:rgba(20,17,24,.97);
 --ink:#f0f6ff;--muted:#c7d4e4;--sand:#1b1e23;--border:#494856;--navy:#f0f6ff;--dark:#f0f6ff;--line:#494856;--sea:#24212a;color-scheme:dark;
}
.cm-header,.header.cm-header,.site-header.cm-header{background:var(--cm-header)!important;color:var(--cm-text)!important;border-bottom:1px solid var(--cm-border)!important}
.cm-header .cm-brand,.cm-header .cm-brand:where(:hover,:focus),html[data-theme="dark"] .cm-header .cm-brand{
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;display:flex!important;align-items:center!important;
}
.cm-header .cm-brand img.cm-logo-selected,html[data-theme="dark"] .cm-header .cm-brand img.cm-logo-selected{
 content:normal!important;display:block!important;width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important;object-position:left center!important;
}
.cm-header .cm-brand .brand-tag{display:none!important}
.cm-footer{background:linear-gradient(125deg,#0e1d32,#172f48 60%,#133849)!important}
.cm-footer__brand-logo{display:block!important;width:100%!important;min-height:0!important;text-align:left!important;justify-content:flex-start!important;align-items:flex-start!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0 0 16px!important;border-radius:0!important}
.cm-footer__brand-logo img{display:block!important;margin:0!important;width:min(100%,305px)!important;height:auto!important;max-width:100%!important;object-fit:contain!important;object-position:left!important;background:#f8fcfd;padding:7px 10px;border-radius:8px}
.cm-footer__heading,.cm-footer__tag{color:#eff7ff!important}.cm-footer__intro,.cm-footer__detail{color:#d0e0ed!important}.cm-footer a{color:#e2eff9!important}
html[data-theme="dark"] body,html[data-theme="dark"] main{background:var(--cm-bg)!important;color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.section,.services,.services-section,.film-types,.film-process,.faq-section,.tour-section,.tour-uses,.tour-process,.tour-faq,.tour-intro,.photo-gallery,.place-section,.about,.contact,.focus-grid,.film-gallery,.tour-features){background-color:var(--cm-bg)!important;color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.service-card,.focus-card,.feature,.film-card,.process-card,.faq-item,.tour-card,.tour-step,.tour-block,.quote-card,.browser-card,.strip,.video-strip,.tour-ribbon,.story-quote,.intro-grid,.place-content,.steps,.faq-grid,.film-scenic,.tour-note,.paper-card,.tile,.glass-card){background:var(--cm-card)!important;color:var(--cm-text)!important;border-color:var(--cm-border)!important}
html[data-theme="dark"] main :is(h1,h2,h3,h4,h5,h6){color:var(--cm-text)!important}
html[data-theme="dark"] main :is(p,li,dt,dd,summary,figcaption,small,blockquote){color:var(--cm-muted)!important}
html[data-theme="dark"] main :is(.service-card,.focus-card,.feature,.film-card,.process-card,.faq-item,.tour-card,.tour-step,.tour-block,.quote-card,.browser-card,.story-quote,.intro-grid,.place-content,.steps,.faq-grid,.film-scenic,.tour-note) :is(h1,h2,h3,h4){color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.service-card,.focus-card,.feature,.film-card,.process-card,.faq-item,.tour-card,.tour-step,.tour-block,.quote-card,.browser-card,.story-quote,.intro-grid,.place-content,.steps,.faq-grid,.film-scenic,.tour-note) :is(p,li,small,span){color:var(--cm-muted)!important}
html[data-theme="dark"] main :is(.hero,.video-hero,.tour-hero,.photo-hero,.graphic-hero,.contact-box,.cta-box,.film-cta,.tour-cta,.band) :is(h1,h2,h3,p,span){color:#ffffff!important}
html[data-theme="dark"] main :is(.hero,.video-hero,.tour-hero,.photo-hero,.graphic-hero) .eyebrow{color:#ffffff!important}
html[data-theme="dark"] main :is(.contact-box,.cta-box,.band){background:linear-gradient(130deg,#21262e,#1e2029)!important;color:#ffffff!important}
html[data-theme="dark"] main :is(.contact-box,.cta-box,.band) :is(p,span,h2,h3){color:#ffffff!important}
html[data-theme="dark"] main :is(.faq-item,details,.faq-grid) summary{color:var(--cm-text)!important}
html[data-theme="dark"] .cm-header .cm-primary-nav a,html[data-theme="dark"] .cm-header .cm-service-menu summary{color:#f0f6ff!important}
html[data-theme="dark"] .cm-header .cm-menu-panel{background:var(--cm-surface)!important;border-color:var(--cm-border)!important}
html:not([data-theme="dark"]) .cm-header .cm-menu-panel{background:#ffffff!important}
@media(max-width:440px){.cm-header .cm-brand,html[data-theme="dark"] .cm-header .cm-brand{width:155px!important;min-width:155px!important;max-width:155px!important}}
/* Final contrast adjustments across the individual service pages. */
html[data-theme="dark"] .cm-header .cm-brand{background:#f8fbfd!important;border:1px solid #c7d9e2!important;border-radius:10px!important;padding:4px 9px!important;box-shadow:0 3px 12px rgba(0,0,0,.15)!important}
html[data-theme="dark"] main :is(.wd-hero,.wd-hero .hero-left,.gd-hero,.gd-section-alt,.gd-section,.gd-hero-text){background-color:var(--cm-bg)!important;color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.gd-card,.gd-step){background:var(--cm-card)!important;border-color:var(--cm-border)!important;color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.gd-hero,.gd-section,.gd-card,.gd-step,.gd-faq) :is(h1,h2,h3,h4,summary){color:var(--cm-text)!important}
html[data-theme="dark"] main :is(.gd-hero,.gd-section,.gd-card,.gd-step,.gd-faq) :is(p,li,.gd-lead){color:var(--cm-muted)!important}
html[data-theme="dark"] .gd-kicker,html[data-theme="dark"] .gd-overline{color:#78e4dc!important}
html[data-theme="dark"] .gd-btn-ghost{color:#d5fffa!important;border-color:#7ac8c6!important}
html[data-theme="dark"] .gd-cta,html[data-theme="dark"] .gd-strap{background:linear-gradient(120deg,#22262f,#1f1e29)!important}
html[data-theme="dark"] .gd-cta :is(h2,p),html[data-theme="dark"] .gd-strap :is(p,span){color:#fff!important}
html:not([data-theme="dark"]) main :is(.gd-card,.gd-step,.tour-card,.tour-step,.tour-block,.film-card,.process-card,.focus-card,.service-card,.faq-item) :is(h2,h3,h4,summary){color:#172b40!important}
html:not([data-theme="dark"]) main :is(.gd-card,.gd-step,.tour-card,.tour-step,.tour-block,.film-card,.process-card,.focus-card,.service-card,.faq-item) :is(p,li,small){color:#42566a!important}
html:not([data-theme="dark"]) .gd-hero :is(h1,h2),html:not([data-theme="dark"]) .gd-section h2{color:#173044!important}
html:not([data-theme="dark"]) .gd-hero p,html:not([data-theme="dark"]) .gd-lead{color:#445a6c!important}
/* Maintain white text on image heroes and high-contrast calls to action. */
html[data-theme="dark"] main :is(.hero,.video-hero,.tour-hero,.photo-hero) :is(.hero-content h1,.hero-content p,h1,p){color:#fff!important}
html[data-theme="dark"] main :is(.gd-cta,.cta-box,.contact-box,.film-scenic) a{color:inherit}

/* Theme toggle: exactly one icon visible, including on mobile. */
.cm-theme-toggle .cm-icon-sun, .cm-theme-toggle .cm-icon-moon{display:none!important}
html:not([data-theme="dark"]) .cm-theme-toggle .cm-icon-moon{display:block!important}
html[data-theme="dark"] .cm-theme-toggle .cm-icon-sun{display:block!important}


.cm-header .cm-service-menu .cm-menu-panel.cm-mega-menu{top:calc(100% + 14px);left:50%;min-width:820px;padding:18px}
.cm-header .cm-mega-menu__overview:hover{color:var(--cm-accent)!important;background:transparent!important}
.cm-header .cm-service-tile:hover .cm-service-tile__title{color:var(--cm-accent)}
html[data-theme="dark"] .cm-header .cm-service-menu .cm-menu-panel.cm-mega-menu{background:#18181f!important;border-color:#3e464f!important;box-shadow:0 24px 60px rgba(0,0,0,.35)}
html[data-theme="dark"] .cm-header .cm-service-tile{background:linear-gradient(180deg,rgba(24,24,31,.96),rgba(20,20,25,.98));border-color:#3a444b}
html[data-theme="dark"] .cm-header .cm-service-tile:hover{background:linear-gradient(180deg,rgba(29,30,37,.98),rgba(23,22,29,.99))}
html[data-theme="dark"] .cm-header .cm-service-tile__icon{background:#22232a;color:#7ed8d0}
html[data-theme="dark"] .cm-header .cm-service-tile__title,html[data-theme="dark"] .cm-header .cm-mega-menu__overview{color:#eef8f8!important}
html[data-theme="dark"] .cm-header .cm-mega-menu__overview{border-bottom-color:#3a444b!important}
@media(max-width:980px){html[data-theme="dark"] .cm-header .cm-service-tile{background:#18181f!important;border-color:#3e464f!important}}


/* Compact dropdown alignment overrides */
@media (min-width:981px){
  .cm-header .cm-service-menu .cm-menu-panel.cm-mega-menu{left:50%!important;right:auto!important;transform:translateX(-50%)!important;min-width:0!important;max-width:calc(100vw - 40px)!important}
}

/* Legal links in all site footers */
.cm-footer__legal-links{display:inline-flex;align-items:center;gap:18px;flex-wrap:wrap;margin-left:auto;margin-right:22px}
.cm-footer__legal-links a{font-size:12px;color:#d3e7e9;text-decoration:none}
.cm-footer__legal-links a:hover{color:#8ff0dc;text-decoration:underline}
@media(max-width:700px){.cm-footer__legal-links{margin:0;gap:16px}}
