:root{
  --navy:#102a43;
  --navy2:#173f63;
  --gold:#e8b43c;
  --cream:#fffaf0;
  --warm:#f8f3e7;
  --ink:#18324a;
  --muted:#607286;
  --line:#e6dfd1;
  --white:#fff;
  --shadow:0 22px 60px rgba(16,42,67,.12);
  --radius:28px
}

*{
  box-sizing:border-box
}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  color:var(--ink);
  font-family:'DM Sans',system-ui,sans-serif;
  background:var(--cream);
  line-height:1.55
}

a{
  color:inherit;
  text-decoration:none
}

.container{
  width:min(1160px,calc(100% - 40px));
  margin:auto
}


/* =========================================================
   HEADER / NAVIGATION
========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,250,240,.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(230,223,209,.8)
}

.nav-wrap{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand img{
  width:142px;
  height:auto;
  display:block
}

.nav{
  display:flex;
  gap:28px;
  font-weight:700;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em
}

.nav a{
  opacity:.78
}

.nav a:hover{
  opacity:1;
  color:var(--navy2)
}

.menu-btn{
  display:none;
  border:0;
  background:none;
  font-size:25px;
  color:var(--navy)
}


/* =========================================================
   HERO
========================================================= */

.hero{
  min-height:650px;
  display:grid;
  grid-template-columns:1fr .95fr;
  align-items:center;
  gap:30px;
  padding:70px 0 80px
}

.eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--navy2);
  text-transform:uppercase
}

.hero h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(58px,8vw,96px);
  line-height:.92;
  letter-spacing:-.065em;
  margin:18px 0 28px;
  color:var(--navy)
}

.hero h1 span{
  color:#c58e17
}

.hero-tagline{
  font-size:18px;
  max-width:620px;
  color:#52677a
}

.hero-tagline strong{
  color:var(--navy)
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:32px
}

.btn{
  padding:14px 20px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  transition:.2s transform,.2s box-shadow
}

.btn:hover{
  transform:translateY(-2px)
}

.btn-primary{
  background:var(--navy);
  color:white;
  box-shadow:0 10px 25px rgba(16,42,67,.18)
}

.btn-ghost{
  border:1px solid var(--line);
  background:white
}

.hero-art{
  position:relative;
  min-height:470px;
  display:grid;
  place-items:center
}

.hero-logo{
  width:min(410px,78%);
  position:relative;
  z-index:2;
  filter:drop-shadow(0 24px 24px rgba(16,42,67,.16));
  animation:float 5s ease-in-out infinite
}

.hero-orbit{
  position:absolute;
  border:2px dashed rgba(16,42,67,.13);
  border-radius:50%;
  width:440px;
  height:440px
}

.orbit-two{
  width:330px;
  height:330px;
  border-color:rgba(232,180,60,.35);
  transform:rotate(28deg)
}

.float-card{
  position:absolute;
  z-index:3;
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px 18px;
  font-weight:900;
  line-height:1;
  box-shadow:var(--shadow);
  letter-spacing:.08em;
  color:var(--navy)
}

.float-card small{
  font-size:20px;
  display:block;
  text-align:center;
  margin-top:8px
}

.card-bite{
  left:3%;
  top:22%;
  transform:rotate(-7deg)
}

.card-byte{
  right:4%;
  bottom:22%;
  transform:rotate(7deg)
}

@keyframes float{
  50%{
    transform:translateY(-10px) rotate(1deg)
  }
}


/* =========================================================
   TICKER
========================================================= */

.ticker{
  overflow:hidden;
  background:var(--navy);
  color:white;
  padding:14px 0;
  white-space:nowrap
}

.ticker-track{
  display:flex;
  justify-content:space-around;
  gap:36px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.1em;
  min-width:max-content;
  animation:marquee 25s linear infinite
}

.ticker i{
  font-style:normal;
  color:var(--gold)
}

@keyframes marquee{
  to{
    transform:translateX(-50%)
  }
}


/* =========================================================
   SECTION JUMP NAVIGATION
========================================================= */

.section-jump{
  background:var(--cream);
  border-bottom:1px solid var(--line);
  padding:12px 0
}

.section-jump-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap
}

.section-jump-label{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-right:4px
}

.section-jump a{
  padding:6px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:white;
  color:var(--navy);
  font-size:12px;
  font-weight:800;
  transition:.2s transform,.2s background,.2s border-color
}

.section-jump a:hover{
  transform:translateY(-1px);
  background:var(--warm);
  border-color:var(--gold)
}

#latest,
#food,
#tech,
#life{
  scroll-margin-top:110px
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section{
  padding:95px 0
}

.section-soft{
  background:var(--warm)
}

.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:30px
}

.section h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(34px,5vw,54px);
  line-height:1;
  letter-spacing:-.045em;
  color:var(--navy);
  margin:9px 0 0
}

.text-link{
  font-weight:800;
  border-bottom:2px solid var(--gold);
  padding-bottom:3px;
  white-space:nowrap
}


/* =========================================================
   CONTENT CARDS
========================================================= */

.content-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}

.content-card{
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  transition:.2s transform,.2s box-shadow;
  display:flex;
  flex-direction:column
}

.content-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow)
}

.thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,#e9e1d2,#faf6eb);
  display:grid;
  place-items:center;
  overflow:hidden;
  position:relative
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover
}

.placeholder{
  font-size:48px
}

.card-body{
  padding:20px
}

.card-meta{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
  color:#738497
}

.content-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:22px;
  line-height:1.12;
  margin:9px 0 9px;
  color:var(--navy)
}

.content-card p{
  font-size:14px;
  color:var(--muted);
  margin:0 0 18px
}

.card-link{
  margin-top:auto;
  font-size:13px;
  font-weight:800;
  color:var(--navy2)
}


/* =========================================================
   VIDEO PAGINATION
========================================================= */

.video-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  margin:24px 0 8px
}

.pagination-summary{
  color:var(--muted);
  font-size:13px;
  font-weight:700
}

.pagination-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px
}

.pagination-controls button{
  min-height:40px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:white;
  color:var(--navy);
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .15s ease
}

.pagination-controls button:hover:not(:disabled){
  border-color:var(--gold);
  transform:translateY(-1px)
}

.pagination-controls button.is-current{
  background:var(--navy);
  border-color:var(--navy);
  color:white
}

.pagination-controls button:disabled{
  opacity:.42;
  cursor:not-allowed
}

.pagination-ellipsis{
  padding:0 3px;
  color:var(--muted)
}

@media(max-width:600px){
  .video-pagination{
    align-items:flex-start;
    flex-direction:column
  }

  .pagination-controls{
    justify-content:flex-start
  }

  .pagination-controls button{
    min-height:38px;
    padding:7px 10px
  }
}


/* =========================================================
   FINDS
========================================================= */

.finds-card{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:45px;
  align-items:center;
  border-radius:32px;
  background:var(--navy);
  color:white;
  padding:45px;
  overflow:hidden;
  position:relative
}

.finds-card:after{
  content:'';
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  right:-130px;
  top:-130px;
  background:rgba(232,180,60,.15)
}

.finds-mascot{
  background:var(--cream);
  border-radius:24px;
  padding:20px;
  display:grid;
  place-items:center
}

.finds-mascot img{
  width:100%
}

.finds-card .eyebrow{
  color:var(--gold)
}

.finds-card h2{
  color:white
}

.finds-card p{
  color:#d6e0e9;
  max-width:680px
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px
}

.pill-row span{
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.06);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:700
}


/* =========================================================
   FOODICAN MAP
========================================================= */

.map-section{
  background:#e9e2d4
}

.map-heading{
  align-items:flex-end;
  margin-bottom:28px
}

.map-stats{
  color:var(--muted);
  font-size:14px;
  font-weight:600;
  text-align:right;
  line-height:1.5
}

.map-panel{
  width:100%;
  margin:auto
}

.foodican-map{
  width:100%;
  height:560px;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(16,42,67,.10);
  background:var(--warm);
  box-shadow:var(--shadow);
  position:relative
}


/* Leaflet controls */

.foodican-map .leaflet-control-zoom{
  border:0;
  box-shadow:0 8px 25px rgba(16,42,67,.15)
}

.foodican-map .leaflet-control-zoom a{
  color:var(--navy);
  background:#fff;
  border-color:var(--line)
}

.foodican-map .leaflet-control-zoom a:hover{
  background:var(--cream)
}

.foodican-map .leaflet-control-attribution{
  font-size:10px;
  background:rgba(255,255,255,.88)
}


/* Map loading state */

.map-loading{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:8px;
  text-align:center;
  padding:30px;
  color:var(--navy);
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,.9),
      rgba(248,243,231,.95)
    )
}

.map-loading-icon{
  font-size:54px;
  margin-bottom:8px
}

.map-loading strong{
  font-family:'Space Grotesk',sans-serif;
  font-size:22px
}

.map-loading span{
  color:var(--muted);
  font-size:14px;
  max-width:500px
}


/* Foodican map pin */

.map-pin{
  background:transparent;
  border:0
}

.foodican-pin{
  width:42px;
  height:42px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:var(--navy);
  border:4px solid #fff;
  box-shadow:0 7px 20px rgba(16,42,67,.28);
  display:flex;
  align-items:center;
  justify-content:center
}

.foodican-pin span{
  transform:rotate(45deg);
  font-size:19px
}


/* Map popup */

.foodican-popup{
  min-width:240px;
  max-width:310px
}

.foodican-popup-location{
  color:var(--gold);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:5px
}

.foodican-popup-title{
  color:var(--navy);
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;
  font-weight:700;
  margin-bottom:12px
}

.foodican-popup-video{
  display:flex;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  padding:9px 0;
  border-top:1px solid var(--line)
}

.foodican-popup-video:hover{
  color:var(--navy)
}

.foodican-popup-thumb{
  width:72px;
  height:72px;
  flex:0 0 72px;
  object-fit:cover;
  border-radius:10px;
  background:var(--warm)
}

.foodican-popup-video-info{
  min-width:0
}

.foodican-popup-video-title{
  font-size:13px;
  line-height:1.35;
  font-weight:700
}

.foodican-popup-video-meta{
  color:var(--muted);
  font-size:10px;
  margin-top:5px;
  text-transform:uppercase;
  letter-spacing:.06em
}


/* Videos waiting for locations */

.map-unmapped{
  margin-top:20px
}

.map-unmapped:empty{
  display:none
}

.map-unmapped-inner{
  padding:22px 24px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(16,42,67,.08);
  border-radius:20px
}

.map-unmapped-title{
  font-family:'Space Grotesk',sans-serif;
  color:var(--navy);
  font-size:17px;
  font-weight:700;
  margin-bottom:6px
}

.map-unmapped-copy{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin-bottom:14px
}

.map-unmapped-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}

.map-unmapped-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--ink);
  font-size:11px;
  text-decoration:none
}

.map-unmapped-item:hover{
  border-color:var(--navy);
  color:var(--navy)
}


/* =========================================================
   ABOUT
========================================================= */

.about{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:60px;
  align-items:center
}

.about-logo{
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:25px
}

.about-logo img{
  width:100%
}

.about p{
  font-size:18px;
  color:var(--muted);
  max-width:700px
}

.social-row{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:25px
}

.social-row a{
  font-weight:800;
  border-bottom:2px solid var(--gold)
}


/* =========================================================
   FOOTER
========================================================= */

.footer{
  border-top:1px solid var(--line);
  padding:30px 0;
  background:var(--cream);
  font-size:13px;
  color:var(--muted)
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px
}

.footer a{
  font-weight:800;
  color:var(--navy)
}

.footer-dot{
  color:var(--gold);
  padding:0 8px
}


/* =========================================================
   EMPTY CONTENT STATE
========================================================= */

.empty-state{
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  padding:35px;
  text-align:center;
  color:var(--muted);
  grid-column:1/-1
}


/* =========================================================
   YOUTUBE SHORTS BADGE
========================================================= */

.short-badge{
  position:absolute;
  top:10px;
  right:10px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(0,0,0,.82);
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  pointer-events:none
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:800px){

  .nav{
    display:none;
    position:absolute;
    left:20px;
    right:20px;
    top:75px;
    background:white;
    border:1px solid var(--line);
    border-radius:18px;
    padding:18px;
    box-shadow:var(--shadow);
    flex-direction:column;
    gap:14px
  }

  .nav.open{
    display:flex
  }

  .menu-btn{
    display:block
  }

  .hero{
    grid-template-columns:1fr;
    padding-top:45px;
    min-height:auto
  }

  .hero-art{
    min-height:380px;
    order:-1
  }

  .hero-logo{
    width:270px
  }

  .hero-orbit{
    width:320px;
    height:320px
  }

  .orbit-two{
    width:245px;
    height:245px
  }

  .float-card{
    font-size:12px
  }

  .card-bite{
    left:2%;
    top:12%
  }

  .card-byte{
    right:1%;
    bottom:12%
  }

  .content-grid{
    grid-template-columns:1fr
  }

  .section-heading{
    align-items:start;
    flex-direction:column
  }

  .finds-card,
  .about{
    grid-template-columns:1fr;
    gap:25px
  }

  .finds-mascot{
    max-width:220px
  }

  .footer-inner{
    flex-direction:column
  }

  .brand img{
    width:125px
  }

  .section-jump{
    padding:10px 0
  }

  .section-jump-inner{
    justify-content:flex-start;
    gap:6px
  }

  .section-jump-label{
    width:100%;
    margin-right:0;
    margin-bottom:1px
  }

  /* Map */

  .map-heading{
    align-items:flex-start
  }

  .map-stats{
    text-align:left;
    margin-top:4px
  }

  .foodican-map{
    height:470px;
    border-radius:22px
  }

  .map-unmapped-inner{
    padding:18px
  }

  .foodican-popup{
    min-width:210px;
    max-width:270px
  }

  .foodican-popup-thumb{
    width:62px;
    height:62px;
    flex-basis:62px
  }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media(max-width:480px){

  .container{
    width:min(100% - 28px,1160px)
  }

  .section{
    padding:70px 0
  }

  .nav-wrap{
    height:72px
  }

  .hero h1{
    font-size:clamp(52px,16vw,72px)
  }

  .hero-art{
    min-height:320px
  }

  .hero-logo{
    width:220px
  }

  .hero-orbit{
    width:275px;
    height:275px
  }

  .orbit-two{
    width:210px;
    height:210px
  }

  .float-card{
    padding:11px 13px;
    font-size:10px
  }

  .float-card small{
    font-size:16px
  }

  .card-bite{
    top:8%
  }

  .card-byte{
    bottom:8%
  }

  .foodican-map{
    height:420px;
    border-radius:18px
  }

  .map-loading{
    padding:22px
  }

  .map-loading-icon{
    font-size:44px
  }

  .map-loading strong{
    font-size:19px
  }

  .map-loading span{
    font-size:13px
  }

  .map-unmapped-item{
    font-size:10px
  }
}
/* Return-to-latest links sit below each content section */
.section-return{
  display:flex;
  justify-content:flex-end;
  margin-top:28px
}

@media (max-width:700px){
  .section-return{
    justify-content:flex-start;
    margin-top:22px
  }
}
