*{box-sizing:border-box}
:root{--side:270px;--footer-expanded:150px;--footer-compact:72px;--footer-current:var(--footer-expanded);--lime:#35abe2;--ink:#111418;--paper:#f4f4f1;--muted:#8c9095;--line:#e5e5e1}
html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;color:var(--ink)}
body{display:grid;grid-template-columns:var(--side) minmax(0,1fr);min-height:100vh}
button,input{font:inherit}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}
.sidebar-search{position:relative;margin:28px 20px 10px}.sidebar-search input{width:100%;height:44px;padding:0 14px 0 42px;border:1px solid #d8d8d4;border-radius:7px;background:#fff;color:#17191c;font-size:14px;outline:none}.sidebar-search input:focus{border-color:#aeb2b6;box-shadow:0 0 0 3px rgba(0,0,0,.04)}.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#111418;font-size:22px;line-height:1;pointer-events:none}
.page-nav{flex:1;overflow:auto;padding:8px 0 calc(var(--footer-current) + 22px)}.nav-item{
  display:flex;
  align-items:center;
  width:100%;
  padding:10px 28px;
  border:0;
  border-bottom:1px solid #eeeeeb;
  border-left:5px solid transparent;
  background:#fff;
  color:#17191c;
  text-align:left;
  font-size:14px;
  font-weight:650;
  cursor:pointer;
}.nav-item:hover{background:#f5f5f2}.nav-item.active{background:var(--lime);border-left-color:#bac500}
.app-main{min-width:0;background:#17191d;padding-bottom:calc(var(--footer-current) + 36px);transition:padding-bottom .22s ease}.hero{position:relative;min-height:78vh;overflow:hidden;background:#111}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.48) 30%,rgba(0,0,0,.12) 68%,rgba(0,0,0,.02) 100%),linear-gradient(0deg,rgba(0,0,0,.15),rgba(0,0,0,0) 50%)}.hero-copy{position:relative;z-index:2;width:min(560px,68%);padding:150px 50px 70px;color:#fff}.hero-copy h1{margin:0;font-size:clamp(68px,7vw,118px);line-height:.86;letter-spacing:-.055em;font-weight:900}.accent-line{width:54px;height:3px;background:var(--lime);margin:30px 0 26px}.hero-copy p{margin:0;font-size:18px;line-height:1.42;color:#f2f2ef}
.gallery-section{background:#f2f2ef;padding:36px 40px 64px}.gallery-header{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.section-kicker,.latest-kicker{color:var(--lime);font-size:10px;font-weight:800;letter-spacing:.12em}.gallery-header h2{margin:6px 0 0;font-size:36px;letter-spacing:-.035em}.gallery-count{color:#7f8388;font-size:13px}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.card{margin:0;background:#fff;border:1px solid #deded9;overflow:hidden}.card img{display:block;width:100%;height:auto}.card figcaption{padding:9px 12px;color:#777b80;border-top:1px solid #e7e7e3;font-size:12px}
.latest-footer{position:fixed;left:0;right:0;bottom:0;z-index:50;height:var(--footer-current);display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:center;padding:18px 28px;background:rgba(21,23,26,.985);color:#fff;border-top:1px solid #2b2e32;box-shadow:0 -8px 24px rgba(0,0,0,.18);backdrop-filter:blur(10px);transition:height .22s ease,padding .22s ease}.latest-label{align-self:center;min-width:0}.latest-meta-row{display:block}.latest-title{margin:7px 0 4px;font-size:21px;line-height:1.05;letter-spacing:-.02em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.latest-date{color:#aeb2b6;font-size:12px;line-height:1.35}.latest-thumbs{display:flex;gap:10px;min-width:0;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:thin}.thumb{position:relative;flex:0 0 150px;height:100px;padding:0;border:0;background:#25282d;cursor:pointer;overflow:hidden;transition:flex-basis .22s ease,height .22s ease}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb:hover::after{content:"";position:absolute;inset:0;border:3px solid var(--lime)}
body.footer-compact{--footer-current:var(--footer-compact)}body.footer-compact .latest-footer{padding-top:9px;padding-bottom:9px}body.footer-compact .latest-kicker{font-size:9px}body.footer-compact .latest-meta-row{display:flex;align-items:baseline;gap:12px}body.footer-compact .latest-title{margin:3px 0 0;font-size:16px}body.footer-compact .latest-date{margin:0;white-space:nowrap}body.footer-compact .thumb{flex-basis:92px;height:50px}body.footer-compact .latest-thumbs{gap:7px}.hidden{display:none!important}
@media(max-width:900px){:root{--side:220px}.nav-item{padding:10px 20px}.hero-copy{padding:120px 34px 60px}.hero-copy h1{font-size:64px}.gallery{grid-template-columns:1fr}.latest-footer{grid-template-columns:220px minmax(0,1fr)}}


/* V5 dark sidebar + compact gallery */
.sidebar{
  background:#111315;
  border-right:1px solid #24272a;
}
.sidebar-search{margin:22px 18px 10px;}
.sidebar-search input{
  height:42px;
  border:1px solid #34383c;
  border-radius:5px;
  background:#181b1e;
  color:#f4f4f1;
}
.sidebar-search input:focus{border-color:#5a5f64;box-shadow:none;}
.search-icon{color:#b8bcc0;}

.nav-item{
  display:block;
  padding:10px 24px;
  border-bottom:1px solid #202326;
  border-left:3px solid transparent;
  background:#111315;
  color:#f0f0ed;
  font-weight:550;
}
.nav-item::before{display:none;}
.nav-item:hover{background:#171a1d;}
.nav-item.active{
  background:#171a1d;
  border-left-color:var(--lime);
  color:var(--lime);
}
.nav-item.active::before{display:none;}

.gallery-section{
  background:#17191d;
  padding:28px 22px 64px;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:start;
}
.card{
  margin:0;
  background:#101214;
  border:1px solid #24272a;
  overflow:hidden;
  cursor:pointer;
}
.card img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.card figcaption{display:none;}

.sticky-location{
  position:sticky;
  top:0;
  z-index:40;
  height:0;
  overflow:visible;
  pointer-events:none;
}
.sticky-location-inner{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:50px;
  padding:7px 22px 6px;
  background:#f7f7f5;
  border-bottom:1px solid #dcdcd7;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
  opacity:0;
  transform:translateY(-100%);
  transition:opacity .18s ease,transform .18s ease;
}
body.show-sticky-location .sticky-location-inner{
  opacity:1;
  transform:translateY(0);
}
.sticky-kicker{
  color:var(--lime);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1;
  margin-bottom:4px;
}
.sticky-name{
  color:#17191c;
  font-size:19px;
  font-weight:750;
  line-height:1;
  letter-spacing:-.02em;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:rgba(0,0,0,.92);
}
.lightbox-image{
  max-width:96vw;
  max-height:92vh;
  width:auto;
  height:auto;
  object-fit:contain;
}
.lightbox-close{
  position:absolute;
  top:16px;
  right:22px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.lightbox-close:hover{background:rgba(255,255,255,.2);}

@media(max-width:1200px){
  .gallery{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:900px){
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
}


.card{position:relative;}
.card img{transition:transform .22s ease;}
.card::after{
  content:"+";
  position:absolute;
  left:50%;
  top:50%;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translate(-50%,-50%) scale(.88);
  border:1.5px solid rgba(255,255,255,.95);
  border-radius:50%;
  background:rgba(10,12,14,.38);
  color:#fff;
  font-size:26px;
  font-weight:300;
  line-height:1;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
@media (hover:hover) and (pointer:fine){
  .card:hover img{transform:scale(1.035);}
  .card:hover::after{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
  }
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(0,0,0,.60);
}
.lightbox-panel{
  position:relative;
  width:min(1080px,88vw);
  max-height:90vh;
  padding:54px 70px 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0d0f11;
  border:1px solid #404347;
  border-radius:10px;
  box-shadow:0 28px 70px rgba(0,0,0,.5);
}
.lightbox-stage{
  width:100%;
  height:min(72vh,760px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-image{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
.lightbox-meta{
  position:absolute;
  left:24px;
  top:20px;
  color:#f5f5f2;
  font-size:14px;
  font-weight:500;
  letter-spacing:.01em;
}
.lightbox-close{
  position:absolute;
  top:10px;
  right:14px;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:32px;
  line-height:1;
  cursor:pointer;
}
.lightbox-nav{
  position:absolute;
  top:50%;
  width:50px;
  height:64px;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#fff;
  font-size:54px;
  font-weight:200;
  line-height:1;
  cursor:pointer;
  opacity:.9;
}
.lightbox-nav:hover{color:var(--lime);}
.lightbox-prev{left:8px;}
.lightbox-next{right:8px;}

@media(max-width:700px){
  .lightbox{padding:12px;}
  .lightbox-panel{width:96vw;padding:48px 38px 24px;}
  .lightbox-stage{height:70vh;}
  .lightbox-meta{left:16px;top:16px;font-size:12px;}
  .lightbox-prev{left:-2px;}
  .lightbox-next{right:-2px;}
}


/* V7 responsive mobile layout */
.mobile-topbar,.mobile-scrim,.mobile-drawer-top,.mobile-latest{display:none;}

@media(max-width:760px){
  :root{--side:0px;--footer-expanded:0px;--footer-compact:0px;--footer-current:0px;}
  html,body{width:100%;overflow-x:hidden;background:#0f1113;}
  body{display:block;padding-top:58px;}
  .mobile-topbar{position:fixed;top:0;left:0;right:0;z-index:80;height:58px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;padding:0 8px;background:#0f1113;border-bottom:1px solid #232629;color:#fff;}
  .mobile-icon-button{width:44px;height:44px;border:0;background:transparent;color:#fff;font-size:25px;cursor:pointer;}
  .mobile-location{min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;}
  .mobile-location span{color:var(--lime);font-size:11px;font-weight:800;margin-right:4px;}
  .mobile-location strong{color:#f5f5f2;font-weight:600;}
  .sidebar{position:fixed;top:0;bottom:0;left:0;z-index:95;width:min(86vw,360px);height:100%;transform:translateX(-102%);transition:transform .22s ease;box-shadow:14px 0 38px rgba(0,0,0,.42);overflow:hidden;}
  body.mobile-nav-open .sidebar{transform:translateX(0);}
  .mobile-scrim{position:fixed;inset:0;z-index:90;display:block;background:rgba(0,0,0,.62);opacity:0;pointer-events:none;transition:opacity .2s ease;}
  body.mobile-nav-open .mobile-scrim{opacity:1;pointer-events:auto;}
  .mobile-drawer-top{display:flex;align-items:center;height:66px;padding:8px 16px 0;}
  .mobile-close-button{width:44px;height:44px;border:0;background:transparent;color:#fff;font-size:34px;font-weight:200;cursor:pointer;}
  .sidebar-search{margin:6px 18px 12px;}
  .sidebar-search input{height:46px;font-size:16px;}
  .page-nav{flex:1;min-height:0;overflow:auto;padding:8px 0 18px;}
  .nav-item{padding:12px 28px;font-size:16px;border-bottom:1px solid #24272a;}
  .mobile-latest{display:block;padding:18px 20px 24px;border-top:1px solid #2a2d30;background:#111315;}
  .mobile-latest-header{margin-bottom:14px;color:#c7c9cb;font-size:12px;font-weight:750;letter-spacing:.09em;}
  .mobile-latest-item{display:grid;grid-template-columns:78px 1fr;gap:12px;align-items:center;width:100%;margin:0 0 12px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;}
  .mobile-latest-item img{width:78px;height:52px;object-fit:cover;border-radius:3px;}
  .mobile-latest-title{color:#fff;font-size:15px;font-weight:600;line-height:1.2;}
  .mobile-latest-date{margin-top:3px;color:#8f9397;font-size:12px;}
  .app-main{padding-bottom:0;}
  .hero{min-height:0;height:auto;aspect-ratio:4/3;}
  .hero-copy{width:100%;padding:42px 22px 28px;}
  .hero-copy h1{font-size:clamp(52px,16vw,76px);line-height:.88;}
  .hero-copy p{font-size:16px;}
  .accent-line{margin:20px 0 18px;}
  .gallery-section{padding:18px 12px 32px;}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px;}
  .card{border-radius:7px;}
  .card img{aspect-ratio:4/3;}
  .card::after{display:none;}
  .sticky-location{display:none;}
  .latest-footer{display:none;}
  .lightbox{z-index:120;padding:0;background:rgba(0,0,0,.78);}
  .lightbox-panel{width:100vw;max-height:none;min-height:100vh;padding:72px 12px 38px;border:0;border-radius:0;background:#0d0f11;box-shadow:none;}
  .lightbox-stage{height:auto;min-height:55vh;}
  .lightbox-image{max-width:100%;max-height:70vh;border-radius:6px;}
  .lightbox-meta{top:22px;left:18px;right:58px;font-size:14px;}
  .lightbox-close{top:10px;right:10px;}
  .lightbox-nav{top:50%;width:44px;height:52px;border-radius:50%;background:rgba(0,0,0,.5);font-size:42px;}
  .lightbox-prev{left:8px;}.lightbox-next{right:8px;}
}


/* =========================
   V8 REBUILT POLISH
   ========================= */

/* Lightbox fade */
.lightbox{
  transition:opacity .18s ease;
}
.lightbox.lightbox-fade-in{
  opacity:0;
}
.lightbox.lightbox-fade-out{
  opacity:0;
  pointer-events:none;
}
.lightbox-panel{
  transition:opacity .18s ease, transform .18s ease;
}
.lightbox.lightbox-fade-in .lightbox-panel{
  opacity:0;
  transform:scale(.992);
}
.lightbox.lightbox-fade-out .lightbox-panel{
  opacity:0;
  transform:scale(.995);
}

@media(prefers-reduced-motion:reduce){
  .lightbox,
  .lightbox-panel{
    transition:none !important;
  }
}

@media(max-width:760px){
  /* Hide the mobile location label on the landing/index view only. */
  body.index-view .mobile-location{
    visibility:hidden;
  }

  /* Slightly shorter hero on mobile. */
  .hero{
    aspect-ratio:16/9;
  }

  /* Keep lightbox metadata closer to the image. */
  .lightbox-panel{
    min-height:100vh;
    justify-content:center;
    padding-top:28px;
    padding-bottom:28px;
  }

  .lightbox-stage{
    min-height:0;
    height:auto;
    margin-top:42px;
  }

  .lightbox-meta{
    top:18px;
    left:18px;
    right:58px;
    bottom:auto;
    font-size:14px;
  }
}

/* =========================
   V9 — FULL MOBILE INDEX HERO
   ========================= */
@media(max-width:760px){
  /* Landing/index only: fill the visible area beneath the 58px mobile header. */
  body.index-view .hero{
    height:calc(100vh - 58px);
    height:calc(100svh - 58px);
    min-height:0;
    max-height:none;
    aspect-ratio:auto;
  }
}

@media(max-width:760px){
  .companion-videos-link{
    margin:4px 16px 12px;
  }
}


/* V12 — shared SB + LESUEURRAT site header */
.companion-site-header{
  grid-column:1 / -1;
  height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 3%;
  background:#080a0b;
  color:#f2f2ef;
  border-bottom:1px solid #292d2e;
  z-index:100;
}
.companion-site-header .logo{
  height:72px;
  display:flex;
  align-items:center;
  text-decoration:none;
}
.companion-site-header .logo img{
  display:block;
  height:64px;
  width:auto;
  max-width:245px;
  object-fit:contain;
}
.companion-site-header .primary-nav{
  align-self:stretch;
  display:flex;
  align-items:center;
  gap:38px;
  font:900 13px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.08em;
}
.companion-site-header .primary-nav a{
  height:100%;
  display:flex;
  align-items:center;
  color:#b8b9b8;
  text-decoration:none;
}
.companion-site-header .primary-nav a.active{
  color:#35abe2;
  border-bottom:2px solid #35abe2;
}

/* Desktop map layout now begins below the shared header. */
@media(min-width:761px){
  .sidebar{
    top:92px;
    height:calc(100vh - 92px);
  }
}

/* Mobile keeps the same site header, then the map-specific toolbar below it. */
@media(max-width:760px){
  body{
    padding-top:58px;
  }
  .companion-site-header{
    height:72px;
    padding:7px 18px;
    position:relative;
  }
  .companion-site-header .logo{
    height:55px;
  }
  .companion-site-header .logo img{
    height:48px;
    max-width:176px;
  }
  .companion-site-header .primary-nav{
    gap:16px;
    font-size:10px;
  }
  .mobile-topbar{
    top:72px;
  }
  .sidebar{
    top:72px;
    height:calc(100% - 72px);
  }
  .mobile-scrim{
    top:72px;
  }
}


/* V14 — pinned shrinking shared header */
.companion-site-header{
  position:sticky;
  top:0;
  grid-column:1 / -1;
  z-index:120;
  height:92px;
  background:rgba(8,10,11,.96);
  backdrop-filter:blur(10px);
  transition:height .22s ease,padding .22s ease,box-shadow .22s ease;
}
.companion-site-header .logo,
.companion-site-header .logo img,
.companion-site-header .primary-nav{
  transition:height .22s ease,max-width .22s ease,font-size .22s ease;
}
body.header-compact .companion-site-header{
  height:64px;
  padding-top:4px;
  padding-bottom:4px;
  box-shadow:0 8px 24px rgba(0,0,0,.24);
}
body.header-compact .companion-site-header .logo{
  height:50px;
}
body.header-compact .companion-site-header .logo img{
  height:44px;
  max-width:190px;
}
body.header-compact .companion-site-header .primary-nav{
  font-size:11px;
}

/* Sidebar follows the compressed header height. */
@media(min-width:761px){
  body.header-compact .sidebar{
    top:64px;
    height:calc(100vh - 64px);
  }
}

@media(max-width:760px){
  .companion-site-header{
    position:sticky;
    top:0;
  }
  body.header-compact .companion-site-header{
    height:58px;
  }
  body.header-compact .companion-site-header .logo{
    height:44px;
  }
  body.header-compact .companion-site-header .logo img{
    height:39px;
    max-width:150px;
  }
  body.header-compact .mobile-topbar{
    top:58px;
  }
  body.header-compact .sidebar{
    top:58px;
    height:calc(100% - 58px);
  }
  body.header-compact .mobile-scrim{
    top:58px;
  }
}
