/* Château La Châteline: one global, cache-busted typography and palette system.
   Controlled from Website Control Center, saved in storage/content.json.
   The Hub/booking data is never modified by this stylesheet. */
:is(body,#design-live-preview)[data-font="heritage"] { --serif:Georgia,'Palatino Linotype','Book Antiqua',serif;--sans:system-ui,-apple-system,'Segoe UI',Arial,sans-serif; }
:is(body,#design-live-preview)[data-font="editorial"] { --serif:'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif;--sans:'Trebuchet MS','Segoe UI',Arial,sans-serif; }
:is(body,#design-live-preview)[data-font="modern"] { --serif:'Avenir Next',Avenir,'Segoe UI',Arial,sans-serif;--sans:'Avenir Next',Avenir,'Segoe UI',Arial,sans-serif; }
:is(body,#design-live-preview)[data-font="boutique"] { --serif:'Times New Roman',Times,Georgia,serif;--sans:Georgia,'Trebuchet MS',serif; }
:is(body,#design-live-preview)[data-font="classic"] { --serif:Cambria,'Times New Roman',Georgia,serif;--sans:Verdana,Geneva,Arial,sans-serif; }
:is(body,#design-live-preview)[data-font="clear"] { --serif:'Segoe UI',Arial,Helvetica,sans-serif;--sans:Arial,Helvetica,'Segoe UI',sans-serif; }
/* Named palettes use actual color variables rather than CSS filter tricks. */
:is(body,#design-live-preview)[data-palette="forest"] { --ink:#18352e;--forest:#102b26;--forest2:#1d4035;--gold:#d8bc82;--gold2:#917039;--muted:#697970;--paper:#f8f7f3;--linen:#eeeee8;--border:#dfe3db;--footer-bg:#0b211c;--hero-tint:rgba(8,29,25,.82);--hero-tint-mid:rgba(12,33,26,.49); }
:is(body,#design-live-preview)[data-palette="lake"] { --ink:#173c43;--forest:#104b53;--forest2:#1a6970;--gold:#dfbc7f;--gold2:#8a6230;--muted:#61797a;--paper:#f5f9f8;--linen:#e7f1ef;--border:#cfdedb;--footer-bg:#0c353b;--hero-tint:rgba(8,38,42,.84);--hero-tint-mid:rgba(9,51,56,.48); }
:is(body,#design-live-preview)[data-palette="navy"] { --ink:#233b52;--forest:#17354d;--forest2:#28516c;--gold:#dab76f;--gold2:#90702d;--muted:#697985;--paper:#f5f6f8;--linen:#e9edf1;--border:#d9e0e7;--footer-bg:#122638;--hero-tint:rgba(8,25,45,.86);--hero-tint-mid:rgba(20,49,70,.51); }
:is(body,#design-live-preview)[data-palette="earth"] { --ink:#4b392b;--forest:#5b4939;--forest2:#785d47;--gold:#d4a16c;--gold2:#896039;--muted:#7b7167;--paper:#fbf7f2;--linen:#f3e9de;--border:#e3d9cc;--footer-bg:#35291f;--hero-tint:rgba(37,27,20,.83);--hero-tint-mid:rgba(61,41,30,.49); }
:is(body,#design-live-preview)[data-palette="burgundy"] { --ink:#4c2937;--forest:#612e43;--forest2:#813f58;--gold:#d2ad86;--gold2:#8c603f;--muted:#807078;--paper:#faf6f3;--linen:#f3ebe7;--border:#e8dcd8;--footer-bg:#321725;--hero-tint:rgba(39,12,25,.87);--hero-tint-mid:rgba(76,31,50,.5); }
:is(body,#design-live-preview)[data-palette="sage"] { --ink:#344b3b;--forest:#435a49;--forest2:#56735b;--gold:#cda979;--gold2:#876139;--muted:#727d71;--paper:#f7f8f1;--linen:#edf1e7;--border:#d8e1d2;--footer-bg:#263b30;--hero-tint:rgba(22,42,31,.85);--hero-tint-mid:rgba(50,75,55,.50); }
/* All public pages share these tokens, including independent accommodation details. */
body[data-palette]{color:var(--ink);background:var(--paper)}
body[data-font]{font-family:var(--sans)}
body[data-font] h1,body[data-font] h2,body[data-font] h3,body[data-font] .quick-heading strong,body[data-font] .stat-grid strong,body[data-font] .footer-top strong,body[data-font] .detail-quote>span{font-family:var(--serif)}
body[data-font] .brand-wordmark strong{font-family:var(--serif)}
body[data-palette] .topbar{background:var(--paper);border-bottom-color:var(--border)}
body[data-palette] .topbar .brand-wordmark strong,body[data-palette] .navlinks>a{color:var(--ink)}
body[data-palette] .brand-wordmark small,body[data-palette] .eyebrow:not(.light),body[data-palette] .stay-category,body[data-palette] .detail-list-card small{color:var(--gold2)}
body[data-palette] .navlinks>a:hover,body[data-palette] .text-link:hover{color:var(--gold2)}
body[data-palette] .nav-cta,body[data-palette] .btn-dark{background:var(--forest);color:#fff}
body[data-palette] .nav-cta:hover,body[data-palette] .btn-dark:hover{background:var(--forest2);color:#fff}
body[data-palette] .btn-gold{background:var(--gold);color:#1c261f}
body[data-palette] .btn-gold:hover{background:var(--gold);filter:brightness(1.08);color:#1c261f}
body[data-palette] .btn{border-radius:6px;text-align:center}
body[data-palette] .nav-cta{border-radius:6px}
body[data-palette] .hero{border-radius:0;background-image:linear-gradient(90deg,var(--hero-tint) 0%,var(--hero-tint-mid) 50%,rgba(15,23,20,.10) 100%),var(--hero-image)}
body[data-palette] .hero-wave path{fill:var(--paper)}
body[data-palette] .stays{background:var(--linen)}
body[data-palette] .booking-section{background:var(--linen)}
body[data-palette] .gallery,body[data-palette] .detail-page{background:var(--paper)}
body[data-palette] .stay-card,body[data-palette] .detail-list-card,body[data-palette] .quick-book,body[data-palette] .form-panel{background:#fff}
body[data-palette] .stay-details p,body[data-palette] .section-heading.split>p,body[data-palette] .detail-list-card p,body[data-palette] .detail-reading p,body[data-palette] .detail-block-text p{color:var(--muted)}
body[data-palette] .stay-bottom{border-top:0;background:var(--paper);border:1px solid var(--border);border-radius:7px;min-height:49px;padding:10px 16px;margin-top:auto;transition:background .2s,color .2s,border-color .2s;gap:8px}
body[data-palette] .stay-bottom .stay-cta-label{color:var(--forest);font-size:.79rem;line-height:1.35;font-weight:800;letter-spacing:.01em}
body[data-palette] .stay-bottom .stay-cta-arrow{color:var(--forest);font-size:1.05rem;line-height:1;font-weight:800;background:none;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;flex:none}
body[data-palette] .stay-card-detail:hover .stay-bottom,body[data-palette] .stay-card-detail:focus-visible .stay-bottom{background:var(--forest);border-color:var(--forest)}
body[data-palette] .stay-card-detail:hover .stay-cta-label,body[data-palette] .stay-card-detail:hover .stay-cta-arrow,body[data-palette] .stay-card-detail:focus-visible .stay-cta-label,body[data-palette] .stay-card-detail:focus-visible .stay-cta-arrow{color:#fff}
body[data-palette] .stay-card-detail{display:flex;flex-direction:column;height:100%}
body[data-palette] .stay-card .stay-details{height:auto;flex:1;display:flex;flex-direction:column}
body[data-palette] .lake,body[data-palette] .contact-section{background:var(--forest)}
body[data-palette] .storyband{background:var(--gold);color:#1d2c23}
body[data-palette] .storyband .eyebrow.light{color:#3b3627}
body[data-palette] .contact-form{background:var(--forest2)}
body[data-palette] .footer{background:var(--footer-bg)}
body[data-palette] .footer-top>a,body[data-palette] .footer-top p{color:var(--gold)}
body[data-palette] .form-panel input:not([type=checkbox]),body[data-palette] .form-panel textarea,body[data-palette] .form-panel select{border-color:var(--border);color:var(--ink)}
/* Detail page: theme accent by default; separate accent is opt-in per page. */
body.detail-page[data-palette]{--detail-accent:var(--gold)}
body.detail-page[data-palette] .detail-block.tone-white{background:#fff}
body.detail-page[data-palette] .detail-block.tone-paper{background:var(--linen)}
body.detail-page[data-palette] .detail-block.tone-dark{background:var(--forest);color:#fff}
body.detail-page[data-palette] .detail-hero-shade{background:linear-gradient(90deg,var(--hero-tint) 0%,var(--hero-tint-mid) 52%,rgba(0,0,0,.14) 100%)}
body.detail-page[data-palette] .detail-split .detail-hero-shade{background:linear-gradient(90deg,var(--hero-tint) 0%,var(--hero-tint-mid) 55%,rgba(0,0,0,.08) 100%)}
body.detail-page[data-palette] .detail-list-card span{color:var(--forest);border-color:var(--gold)}
body.detail-page[data-palette] .detail-hero .btn-gold,body.detail-page[data-palette] .detail-cta-block .btn-gold{background:var(--detail-accent);color:#1b251e}
body.detail-page[data-palette] .detail-page .detail-hero{border-radius:0}
body.detail-page[data-palette] .feature-card h3,body.detail-page[data-palette] .detail-block h2{font-family:var(--serif)}
body.detail-page[data-palette] .detail-block.tone-dark .detail-block-text p,body.detail-page[data-palette] .detail-block.tone-dark .detail-reading p,body.detail-page[data-palette] .detail-block.tone-dark .detail-cta-block p{color:#f1f3ec}
body.detail-page[data-palette] .tone-dark .feature-card{background:var(--forest2);border-color:var(--border)}
@media(max-width:1250px){body[data-palette] .topbar .navlinks{background:var(--paper);border-color:var(--border)}body[data-palette] .topbar .navlinks a{border-color:var(--border)}}
@media(max-width:650px){body[data-palette] .stay-bottom{min-height:48px}}
