:root {
    --ink: #123943;
    --accent: #ffb987;
    --paper: #f7f0e5;
    --line: #ded3e4;
    --soft: #584d66;
}
body { background: var(--paper); }
.wrap { width: min(100% - 48px, 1280px); }
.masthead { background: #123943; border: 0; color: #fff5e8; }
.masthead-inner { min-height: 78px; }
.brand-mark { color: #fff5e8; font: 800 1.15rem/1.1 system-ui,sans-serif; white-space: normal; }
.brand-mark img { width: 44px; height: 44px; flex: none; }
.brand-parent { color: #f1d8ef; margin: .12rem 0 0 52px; }
.masthead .account > a, .masthead .account summary { background: #ead9f2; color: #123943; border: 0; }
.account-menu > div { color: var(--ink); }
.mallorca-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; margin: 24px 0 0; padding: 0; background: #332443; color: #fff5e8; }
.mallorca-hero picture { order: 2; display: block; min-height: 360px; position: relative; }
.mallorca-hero img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { padding: clamp(24px, 4vw, 65px); align-self: center; min-width: 0; }
.mallorca-kicker { color: #ffb987; letter-spacing: .16em; font-weight: 850; font-size: .75rem; }
.mallorca-hero h1 { font: 900 clamp(2.15rem,4.35vw,4.7rem)/.99 system-ui,sans-serif; text-wrap: initial; letter-spacing: -.06em; margin: .35em 0; overflow-wrap: anywhere; }
.hero-url { color: #ead9f2; font-size: .9rem; overflow-wrap: anywhere; }
.mallorca-hero p { color: #fff5e8; margin: 1.1rem 0; font-size: 1.15rem; }
.hero-cta { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1rem; text-decoration: none; background: #ffb987; color: #123943; font-weight: 800; border-radius: .2rem; }
.mallorca-intro { margin: 1rem 0; font-size: 1.12rem; max-width: 46rem; }
.feed-status { background: #ffebd4; border-left: 3px solid #9f5929; padding: .65rem .85rem; }
.tools, .results, .map-stage, .partner-cta { border-radius: .5rem; border-color: #d7c9df; }
.mallorca-guide { max-width: none; border-top: 2px solid #cab4d3; margin-top: 2.5rem; }
.mallorca-guide p { max-width: 55rem; }
.tour-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
.tour-grid article { background: #ead9f2; padding: 1rem; }
.tour-grid h4, .tour-grid p { margin: 0; }
.mallorca-map-privacy { flex-basis: 100%; margin: 0; font-size: .85rem; color: #584d66; }
.mallorca-view { display: flex; gap: .5rem; margin-bottom: .65rem; }
.mallorca-view button[aria-pressed=true] { background: #332443; color: white; }
.mallorca-view[hidden] { display: none; }
@media (min-width:761px) {
    .mallorca-view { display: none; }
    .map-first .workspace[data-view-mode=map] { display: grid; grid-template-columns: minmax(0,2fr) minmax(255px,1fr); align-items: start; }
    .map-first .workspace[data-view-mode=map] .map-stage { grid-column: 1; grid-row: 1; }
    .map-first .workspace[data-view-mode=map] .results { grid-column: 2; grid-row: 1; display: block; max-height: min(690px,72vh); margin: 0; }
    #bike-preview { right: auto; left: .85rem; }
}
@media (max-width:760px) {
    .wrap { width: calc(100% - 24px); }
    .mallorca-hero { grid-template-columns: minmax(0,1fr); margin-top: 12px; }
    .mallorca-hero picture { order: -1; min-height: 0; aspect-ratio: 2/1; }
    .hero-copy { padding: 18px; }
    .tour-grid { grid-template-columns: 1fr; }
}
@media (max-width:480px) {
    .masthead .account > a, .brand-parent { display: none; }
    .brand { min-width: 0; }
    .account { flex: 0 0 auto; }
}

:root { --ink:#123943; --paper:#f8f2e7; --line:#ddc8bd; --soft:#61434b; --accent:#f4d0a6; }
.masthead { background:#123943; }
.brand-parent { color:#f1d8ce; }
.masthead .account > a, .masthead .account summary { background:#f4d0a6; color:#123943; }
.mallorca-hero { position:relative; isolation:isolate; display:grid; overflow:hidden; min-height:clamp(390px,48vw,615px); grid-template-columns:1fr; align-items:end; background:#123943; }
.mallorca-hero picture { order:0; position:absolute; inset:0; z-index:-2; }
.mallorca-hero img { object-position:65% center; }
.mallorca-hero::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#2c1425f5,#2c1425b5 39%,transparent 86%); }
.hero-copy { padding:clamp(22px,6vw,80px); align-self:end; }
.mallorca-hero h1 { max-width:9.5em; font-family:Georgia,serif; font-weight:700; color:#fff9ed; letter-spacing:-.05em; }
.mallorca-kicker, .hero-url { color:#ffe3c3; }
.hero-cta, #bike-fit { background:#f4d0a6; color:#123943; }
.mallorca-guide { background:#fffaf0; padding:clamp(18px,4vw,48px); border-block:2px solid #d5afa3; }
.tour-grid article { background:#eddfd7; border-left:3px solid #925264; }
.tour-grid p { color:#553942; }
@media (max-width:760px) {
    .mallorca-hero { min-height:425px; }
    .mallorca-hero picture { min-height:0; aspect-ratio:auto; }
    .mallorca-hero::after { background:linear-gradient(0deg,#2c1425fc,#2c1425a5 47%,transparent 95%); }
    .mallorca-hero img { object-position:68% center; }
}
:root { --ink:#123943; --paper:#edf4ef; --soft:#284b53; --accent:#ffd092; --line:#b8d2cf; }
.masthead { background:#123943; }
.brand-parent { color:#d5eeea; }
.masthead .account > a, .masthead .account summary, .hero-cta, #bike-fit { background:#ffd092; color:#123943; }
.mallorca-hero::after { background:linear-gradient(90deg,#10303ced,#123943b5 39%,transparent 86%); }
.mallorca-kicker, .hero-url { color:#ffe5c0; }
.mallorca-guide { background:#fafaf2; border-color:#a9c7c7; }
.tour-grid article { background:#e0ede7; border-color:#489588; }
.tour-grid p { color:#284b53; }
@media (max-width:760px) { .mallorca-hero::after { background:linear-gradient(0deg,#10303cfc,#123943a5 47%,transparent 95%); } }
:root { --ink:#163c39; --paper:#f8f2e5; --soft:#365550; --accent:#f4c18b; --line:#c8d1c5; }
.masthead { background:#163c39; }
.masthead .account > a, .masthead .account summary, .hero-cta, #bike-fit { background:#f4c18b; color:#163c39; }
.mallorca-hero::after { background:linear-gradient(90deg,#12312aee,#163c39b5 39%,transparent 86%); }
.mallorca-guide { background:#fffbf2; border-color:#c3b39b; }
.tour-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tour-grid article { background:#f3e7d4; border-color:#ae6b43; }
.tour-grid p { color:#284841; }
@media (max-width:760px) {
    .mallorca-hero::after { background:linear-gradient(0deg,#12312afa,#17392ca5 47%,transparent 95%); }
    .tour-grid { grid-template-columns:1fr; }
}
