:root{
  --navy:#06111c;
  --navy-2:#0b1b2b;
  --ink:#f6f1e7;
  --muted:rgba(246,241,231,.70);
  --gold:#d2a85f;
  --panel:rgba(4,12,21,.82);
  --line:rgba(255,255,255,.18);
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;min-height:100%;font-family:'DM Sans',system-ui,sans-serif;background:var(--navy);color:var(--ink)}
body{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
.map-shell{position:relative;width:100%;height:100vh;min-height:620px;background:var(--navy);overflow:hidden}
#map{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:620px;background:var(--navy)}
.leaflet-container{background:var(--navy);font-family:'DM Sans',system-ui,sans-serif}
.leaflet-tile-pane{filter:saturate(1.08) contrast(1.04) brightness(.77)}
.map-vignette{position:absolute;inset:0;z-index:250;pointer-events:none;background:linear-gradient(90deg,rgba(3,10,18,.94) 0%,rgba(3,10,18,.78) 25%,rgba(3,10,18,.22) 48%,rgba(3,10,18,.06) 66%,rgba(3,10,18,.25) 100%),linear-gradient(180deg,rgba(2,8,15,.58) 0%,transparent 18%,transparent 76%,rgba(2,8,15,.55) 100%)}

.map-header{position:absolute;z-index:600;left:0;right:0;top:0;height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,62px);border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(3,10,18,.90),rgba(3,10,18,.18));backdrop-filter:blur(4px)}
.brand{display:flex;align-items:center;gap:16px;min-width:0}
.brand-main{font-family:'Playfair Display',serif;font-size:25px;letter-spacing:.22em;white-space:nowrap}
.brand-main span{color:var(--gold)}
.brand-sub{font-size:8px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);padding-left:17px;border-left:1px solid rgba(255,255,255,.22);white-space:nowrap}
.map-header nav{display:flex;align-items:center;gap:30px;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.map-header nav a{opacity:.72;transition:opacity .2s,color .2s}
.map-header nav a:hover,.map-header nav a:focus-visible{opacity:1;color:#fff}
.map-header nav a.active{opacity:1;color:var(--gold)}

.editorial-panel{position:absolute;z-index:500;left:clamp(24px,4vw,62px);top:125px;width:min(470px,38vw);pointer-events:none}
.panel-topline{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.eyebrow{margin:0;font-size:10px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--ink)}
.eyebrow.gold{color:#8c6426}
.coming{font-size:8px;font-weight:800;letter-spacing:.17em;padding:7px 10px;border:1px solid rgba(210,168,95,.62);color:var(--gold);border-radius:999px}
.editorial-panel h1{font-family:'Playfair Display',serif;font-weight:500;font-size:clamp(48px,5vw,74px);line-height:.98;letter-spacing:-.035em;margin:0 0 18px;text-shadow:0 4px 30px rgba(0,0,0,.38)}
.lede{font-family:'Playfair Display',serif;font-size:18px;line-height:1.55;letter-spacing:.03em;color:rgba(255,255,255,.82);max-width:430px;margin:0 0 24px}
.map-tabs{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:4px;margin-bottom:28px;background:rgba(3,10,18,.44);backdrop-filter:blur(5px)}
.tab{font-size:9px;letter-spacing:.18em;font-weight:800;padding:9px 15px;border-radius:999px}
.tab.active{background:var(--gold);color:#111}
.tab.muted{color:rgba(255,255,255,.62)}

.story-card{pointer-events:auto;position:relative;width:min(430px,100%);aspect-ratio:1.45/1;overflow:hidden;border:1px solid rgba(255,255,255,.24);border-radius:16px;background:#132030;padding:0;color:#fff;text-align:left;cursor:pointer;box-shadow:0 20px 60px rgba(0,0,0,.30)}
.story-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.story-card:hover img{transform:scale(1.025)}
.story-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 12%,rgba(0,0,0,.18) 45%,rgba(0,0,0,.90) 100%)}
.story-card-copy{position:absolute;inset:auto 22px 19px;display:flex;flex-direction:column;align-items:flex-start}
.story-kicker{font-size:8px;letter-spacing:.18em;font-weight:800;margin-bottom:9px}
.story-card strong{font-family:'Playfair Display',serif;font-size:31px;line-height:.98;letter-spacing:-.02em}
.story-meta{font-size:10px;color:rgba(255,255,255,.72);margin-top:8px}
.view-story{margin-top:15px;display:inline-flex;align-items:center;gap:18px;background:#fff;color:#111;border-radius:999px;padding:11px 16px;font-size:9px;font-weight:800;letter-spacing:.15em}
.story-card:focus-visible,.reset-view:focus-visible,.close-story:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

.map-status{position:absolute;z-index:500;right:clamp(22px,3vw,44px);top:98px;display:flex;align-items:center;gap:9px;padding:10px 13px;background:rgba(3,10,18,.72);border:1px solid rgba(255,255,255,.12);border-radius:999px;backdrop-filter:blur(8px);font-size:9px;letter-spacing:.08em;color:rgba(255,255,255,.72)}
.status-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(210,168,95,.12)}
.map-credit{position:absolute;z-index:500;right:20px;bottom:10px;font-size:7px;letter-spacing:.04em;color:rgba(255,255,255,.54);text-shadow:0 1px 6px #000}

/* Leaflet controls */
.leaflet-control-attribution{display:none!important}
.leaflet-bottom.leaflet-right{right:20px;bottom:58px}
.leaflet-control-zoom{border:0!important;box-shadow:none!important;margin:0!important;display:flex;flex-direction:column;gap:8px}
.leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:40px!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:50%!important;background:rgba(9,22,36,.76)!important;color:#fff!important;font-size:24px!important;backdrop-filter:blur(8px);box-shadow:0 8px 20px rgba(0,0,0,.22)}
.leaflet-control-zoom a:hover{background:rgba(15,34,52,.95)!important}
.reset-view{position:absolute;z-index:550;right:20px;bottom:20px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.32);background:rgba(9,22,36,.76);color:#fff;font-size:22px;cursor:pointer;backdrop-filter:blur(8px);box-shadow:0 8px 20px rgba(0,0,0,.22)}

.berlo-marker-wrap{background:transparent;border:0}
.berlo-marker{position:relative;width:34px;height:34px;border-radius:50%;background:#fff;border:3px solid rgba(255,255,255,.72);box-shadow:0 0 0 7px rgba(210,168,95,.18),0 8px 25px rgba(0,0,0,.55)}
.berlo-marker:before{content:'';position:absolute;inset:7px;border-radius:50%;background:var(--gold)}
.berlo-marker:after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;transform:translate(-50%,-50%);border-radius:50%;background:#0a1521}
.leaflet-tooltip.berlo-tooltip{border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px 11px;background:rgba(4,12,21,.92);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.28);font-size:10px;font-weight:700;letter-spacing:.04em}
.leaflet-tooltip.berlo-tooltip:before{display:none}

.story-scrim{position:fixed;inset:0;z-index:790;background:rgba(0,0,0,.52);opacity:0;pointer-events:none;transition:opacity .25s ease}
.story-scrim.open{opacity:1;pointer-events:auto}
.story-panel{position:fixed;z-index:800;right:0;top:0;width:min(690px,92vw);height:100%;background:#f7f3eb;color:#111;transform:translateX(102%);transition:transform .34s cubic-bezier(.22,.61,.36,1);box-shadow:-22px 0 70px rgba(0,0,0,.36)}
.story-panel.open{transform:translateX(0)}
.close-story{position:absolute;z-index:5;right:18px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(5,12,20,.90);color:#fff;font-size:29px;line-height:1;cursor:pointer}
.story-scroll{height:100%;overflow:auto;overscroll-behavior:contain}
.story-hero{margin:0;position:relative;height:440px;background:#ddd}
.story-hero img{width:100%;height:100%;object-fit:cover}
.story-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.55))}
.story-hero figcaption{position:absolute;z-index:2;left:24px;bottom:20px;color:#fff;font-size:9px;letter-spacing:.18em;font-weight:800}
.story-body{padding:36px 42px 58px}
.story-body h2{font-family:'Playfair Display',serif;font-size:clamp(43px,5vw,64px);line-height:.98;letter-spacing:-.035em;margin:12px 0 14px}
.story-deck{font-family:'Playfair Display',serif;font-size:22px;line-height:1.4;color:#333;margin:0 0 26px}
.facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(17,17,17,.16);border-bottom:1px solid rgba(17,17,17,.16);margin-bottom:28px}
.facts div{padding:14px 12px;border-right:1px solid rgba(17,17,17,.16)}
.facts div:last-child{border-right:0}
.facts span{display:block;font-size:8px;letter-spacing:.13em;text-transform:uppercase;color:#777;margin-bottom:5px}
.facts strong{font-size:12px}
.story-body>p:not(.eyebrow):not(.story-deck):not(.source-note){font-size:15px;line-height:1.8}
.story-body blockquote{font-family:'Playfair Display',serif;font-size:28px;line-height:1.25;margin:30px 0;padding:22px 0;border-top:1px solid rgba(17,17,17,.16);border-bottom:1px solid rgba(17,17,17,.16)}
.photo-story{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:30px 0}
.photo-story figure{margin:0;position:relative;overflow:hidden;background:#ddd;aspect-ratio:4/5}
.photo-story figure.wide{grid-column:1/-1;aspect-ratio:16/10}
.photo-story img{width:100%;height:100%;object-fit:cover}
.photo-story figcaption{position:absolute;left:0;right:0;bottom:0;padding:28px 14px 12px;background:linear-gradient(0deg,rgba(0,0,0,.66),transparent);color:#fff;font-size:9px}
.tip{background:#ebe5da;padding:17px 18px;font-size:13px;line-height:1.65}
.story-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 17px;font-size:11px;font-weight:800;border:1px solid transparent}
.gold-btn{background:#c99a48;color:#111}.outline-btn{border-color:#111}
.source-note{font-size:9px;line-height:1.55;color:#777;margin-top:16px}

@media(max-width:980px){
  .editorial-panel{width:min(430px,44vw)}
  .map-header nav{gap:18px}
  .brand-sub{display:none}
}
@media(max-width:760px){
  .map-shell{min-height:100%}
  .map-header{height:66px;padding:0 16px;background:linear-gradient(180deg,rgba(3,10,18,.96),rgba(3,10,18,.40))}
  .brand-main{font-size:21px}
  .map-header nav{gap:14px;font-size:8px}
  .map-header nav a:last-child{display:none}
  .map-vignette{background:linear-gradient(180deg,rgba(3,10,18,.76) 0%,rgba(3,10,18,.12) 28%,rgba(3,10,18,.07) 64%,rgba(3,10,18,.78) 100%)}
  .editorial-panel{left:16px;right:16px;top:88px;width:auto;pointer-events:none}
  .panel-topline{margin-bottom:9px}
  .editorial-panel h1{font-size:42px;margin-bottom:8px;max-width:360px}
  .lede{font-size:14px;max-width:330px;margin-bottom:12px}
  .map-tabs{margin-bottom:0}
  .story-card{position:fixed;left:14px;right:14px;bottom:18px;width:auto;height:158px;aspect-ratio:auto;border-radius:14px;z-index:560}
  .story-card-copy{inset:auto 18px 15px}
  .story-card strong{font-size:24px}
  .story-kicker,.story-meta{font-size:7px}
  .view-story{padding:8px 12px;margin-top:9px;font-size:8px}
  .map-status{top:74px;right:14px;padding:8px 10px;font-size:8px}
  .map-credit{display:none}
  .leaflet-bottom.leaflet-right{right:14px;bottom:198px}
  .leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:36px!important}
  .reset-view{right:14px;bottom:150px;width:40px;height:40px}
  .story-panel{top:auto;bottom:0;width:100%;height:88%;transform:translateY(102%);border-radius:18px 18px 0 0}
  .story-panel.open{transform:translateY(0)}
  .story-hero{height:300px;border-radius:18px 18px 0 0;overflow:hidden}
  .story-body{padding:28px 20px 44px}
  .story-body h2{font-size:44px}
  .story-deck{font-size:19px}
  .facts{grid-template-columns:1fr}
  .facts div{border-right:0;border-bottom:1px solid rgba(17,17,17,.16)}
  .facts div:last-child{border-bottom:0}
  .photo-story{grid-template-columns:1fr}
  .photo-story figure.wide{grid-column:auto;aspect-ratio:4/5}
  .story-actions{flex-direction:column}.btn{width:100%}
}
@media(max-width:430px){
  .map-header nav a:first-child{display:none}
  .editorial-panel h1{font-size:36px}
  .lede{font-size:13px;max-width:280px}
  .coming{font-size:7px}
  .tab{font-size:8px;padding:7px 11px}
  .story-card{height:146px}
}

/* V10 hardening: keep story media contained even if browser defaults vary. */
.story-panel img,.story-card img,.photo-story img,.story-hero img{display:block;max-width:100%;}
.story-card.compact{height:auto!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;background:rgba(4,12,21,.78)!important;border:1px solid rgba(255,255,255,.20)!important;overflow:hidden!important;}
.story-card.compact .story-card-copy{position:relative!important;inset:auto!important;display:block!important;padding:15px 17px!important;}
.story-card.compact strong{display:block!important;font-family:'Playfair Display',serif!important;font-size:20px!important;line-height:1.08!important;margin:3px 0 6px!important;}
.story-card.compact .story-meta{display:block!important;font-size:9px!important;color:rgba(246,241,231,.72)!important;}
.story-card.compact .story-location{display:block;color:rgba(246,241,231,.8);font-size:12px;line-height:1.4;margin-top:4px;}
.story-card.compact .story-meta{color:var(--gold)!important;font-weight:700;letter-spacing:.05em;margin-top:10px;}
@media(max-width:760px){.story-card.compact{position:fixed!important;left:14px!important;right:14px!important;bottom:16px!important;height:auto!important;min-height:0!important;border-radius:12px!important;}.story-card.compact strong{font-size:18px!important;}.story-card.compact .story-kicker,.story-card.compact .story-meta{font-size:11px!important;}}

/* V11: second live location — Villa Xona. */
.berlo-marker-wrap.stay .berlo-marker{box-shadow:0 0 0 3px rgba(255,255,255,.90),0 5px 18px rgba(0,0,0,.42);}
.berlo-marker-wrap:not(.selected) .berlo-marker{width:14px;height:14px;margin:10px;background:var(--gold);border:2px solid #fff;box-shadow:0 0 0 3px rgba(9,22,36,.45),0 3px 10px rgba(0,0,0,.45);}
.berlo-marker-wrap:not(.selected) .berlo-marker:before,.berlo-marker-wrap:not(.selected) .berlo-marker:after{display:none;}
.xona-hero img{object-position:center 58%;}
@media(max-width:760px){.xona-hero img{object-position:center 55%;}}

/* Additional local stories retain the same map drawer and photo treatment. */
.boats-hero img{object-position:center 56%;}
.operator-section{padding:30px 0 6px;border-top:1px solid rgba(17,17,17,.16);}
.operator-section + .operator-section{margin-top:24px;}
.operator-kicker{margin:0 0 8px;color:#8b682e;font-size:10px;font-weight:800;letter-spacing:.16em;}
.operator-section h3{font-family:'Playfair Display',serif;font-size:clamp(31px,3.6vw,43px);font-weight:500;line-height:1.08;letter-spacing:-.025em;margin:0 0 16px;}
.operator-section>p:not(.operator-kicker){font-size:15px;line-height:1.8;}
.operator-section .photo-story{margin:24px 0 20px;}
.text-link{display:inline-block;color:#704d18;font-weight:700;font-size:13px;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;}
.text-link:focus-visible{outline:3px solid #c99a48;outline-offset:4px;}
@media(max-width:760px){#story-panel-boats .photo-story figure.wide{aspect-ratio:16/10;}}
