/* =========================================================
   EV COULD EAT - shared stylesheet
   Tokens: Onyx / Blue Slate / Alabaster Grey
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;700;800;900&family=Work+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root{
  --onyx: #0A0A0A;
  --onyx-soft: #151515;
  --onyx-line: rgba(229,228,226,0.14);
  --slate: #536878;
  --slate-light: #7C93A3;
  --slate-dim: rgba(83,104,120,0.35);
  --alabaster: #E5E4E2;
  --alabaster-dim: #cfcecb;
  --white: #ffffff;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;

  --measure: 66ch;
  --nav-h: 84px;
  --ease: cubic-bezier(.22,.68,.35,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--alabaster);
  color: var(--onyx);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

::selection{ background: var(--slate); color: var(--white); }

:focus-visible{
  outline: 2px solid var(--slate-light);
  outline-offset: 3px;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  margin: 0 0 .4em;
  letter-spacing: 0.002em;
}

p{ margin: 0 0 1.1em; }

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.measure{ max-width: var(--measure); }

.visually-hidden{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Wordmark ---------- */
.wordmark{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.14em;
  line-height: 0.9;
  position: relative;
}
.wordmark span{ display: inline-block; }
.wordmark::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -0.06em;
  height: 0.06em;
  background: currentColor;
  transition: right .5s var(--ease);
}
a.wordmark:hover::after,
a.wordmark:focus-visible::after{ right: 0; }

/* ---------- Nav ---------- */
.site-nav{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease);
  color: var(--white);
}
.site-nav.is-scrolled{
  height: 68px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--onyx-line);
}
.site-nav .wrap{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav .wordmark{
  font-size: clamp(20px, 2.4vw, 26px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.site-nav.is-scrolled .wordmark,
.site-nav.nav-solid .wordmark{ opacity: 1; transform: translateY(0); }

.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  list-style: none;
  margin: 0; padding: 0;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav-links a{
  position: relative;
  padding: 6px 0;
}
.nav-links a::after{
  content:'';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--slate-light);
  transition: right .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after{ right: 0; }

.nav-social{
  display: flex;
  gap: 14px;
}
.nav-social a{
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid rgba(229,228,226,0.4);
  border-radius: 50%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.nav-social a:hover, .nav-social a:focus-visible{
  border-color: var(--slate-light);
  background: var(--slate-dim);
  transform: translateY(-2px);
}
.nav-social svg{ width: 16px; height: 16px; fill: currentColor; }

.nav-toggle{
  display: none;
  background: none; border: 0; color: var(--white);
  width: 36px; height: 28px; position: relative; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span{ top: 50%; transform: translateY(-50%); }
.nav-toggle span::before{ top: -9px; }
.nav-toggle span::after{ top: 9px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 760px){
  .nav-links{
    position: fixed; inset: 68px 0 0 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .site-nav.menu-open .nav-links{ transform: translateX(0); }
  .nav-toggle{ display: block; }
  .nav-social{ position: fixed; bottom: 40px; left: 0; right: 0; justify-content: center; transform: translateX(100%); transition: transform .45s var(--ease) .05s; }
  .site-nav.menu-open .nav-social{ transform: translateX(0); }
}

/* ---------- Hero (home) ---------- */
.hero{
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--onyx);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-media{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media video, .hero-media .hero-fallback{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-fallback{
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(83,104,120,0.55), transparent 60%),
    radial-gradient(100% 80% at 85% 20%, rgba(124,147,163,0.35), transparent 55%),
    linear-gradient(120deg, #1c2228, #0A0A0A 55%, #232b31);
  background-size: 220% 220%;
  animation: driftGradient 22s ease-in-out infinite;
}
@keyframes driftGradient{
  0%{ background-position: 0% 30%; }
  50%{ background-position: 100% 70%; }
  100%{ background-position: 0% 30%; }
}
.hero-media::after{
  content: '';
  position: absolute; inset: 0;
  /* Deep blue-slate tint over the footage (heavier up top, behind the nav
     and wordmark) fading into solid onyx at the base of the hero. */
  background: linear-gradient(180deg, rgba(13,22,32,0.74) 0%, rgba(13,22,32,0.55) 40%, var(--onyx) 96%);
  z-index: 1;
}

.hero-lockup{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.hero-lockup .wordmark{
  font-size: clamp(52px, 12vw, 148px);
  letter-spacing: -0.01em;
}
.hero-lockup .wordmark span{
  opacity: 0;
  transform: translateY(0.5em);
  animation: wordUp .8s var(--ease) forwards;
}
.hero-lockup .wordmark span:nth-child(1){ animation-delay: .15s; }
.hero-lockup .wordmark span:nth-child(2){ animation-delay: .32s; }
.hero-lockup .wordmark span:nth-child(3){ animation-delay: .49s; }
@keyframes wordUp{
  to{ opacity: 1; transform: translateY(0); }
}
.site-nav.is-scrolled ~ .hero .hero-lockup,
.hero.lockup-hidden .hero-lockup{
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.hero-line{
  position: relative;
  z-index: 2;
  align-self: center;
  text-align: center;
  padding: 0 clamp(20px, 6vw, 64px) clamp(48px, 8vh, 88px);
  max-width: 980px;
}
.hero-line p{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4.4vw, 46px);
  line-height: 1.12;
}
.hero-line .reveal-word{
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
/* Plays automatically on load - same reliable pure-CSS pattern as the
   wordmark above it. Never depends on JS or scroll position, so it can
   never get stuck hidden. */
.hero-line .reveal-word span{
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordUp .7s var(--ease) forwards;
}
.hero-line .reveal-word:nth-child(1) span{ animation-delay: .5s; }
.hero-line .reveal-word:nth-child(2) span{ animation-delay: .62s; }
.hero-line .reveal-word:nth-child(3) span{ animation-delay: .74s; }
.hero-line .reveal-word:nth-child(4) span{ animation-delay: .86s; }
.hero-line .reveal-word:nth-child(5) span{ animation-delay: .98s; }
.hero-line .reveal-word:nth-child(6) span{ animation-delay: 1.1s; }

.scroll-cue{
  position: absolute;
  right: clamp(20px, 6vw, 64px);
  bottom: clamp(48px, 8vh, 88px);
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--alabaster-dim);
  writing-mode: vertical-rl;
}
.scroll-cue::before{
  content: '';
  width: 1px; height: 46px;
  background: linear-gradient(var(--alabaster-dim), transparent);
  animation: cuePulse 2.2s ease-in-out infinite;
}
@keyframes cuePulse{
  0%,100%{ opacity: .3; } 50%{ opacity: 1; }
}
@media (max-width: 640px){ .scroll-cue{ display: none; } }

/* ---------- Intro / blurb ---------- */
.intro{
  background: var(--alabaster);
  padding: clamp(64px, 10vh, 120px) 0 clamp(40px, 7vh, 80px);
}
.intro .wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.intro .measure{
  max-width: 80ch;
  margin: 0 auto;
  text-align: center;
}
.intro p{
  font-size: clamp(17px, 1.9vw, 20px);
  color: #262626;
}
.intro .pull{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 64px);
  line-height: 1;
  color: var(--onyx);
  margin-top: 8px;
  text-align: center;
}
.intro .pull em{
  font-style: normal;
  color: var(--slate);
}

/* Visible by default. JS applies the hidden starting state itself (inline,
   right before it starts watching for scroll position) so content can
   never end up hidden with nothing left to reveal it. */
.reveal-up{
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-up.in-view{ opacity: 1; transform: translateY(0); }
.stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- About / full story ---------- */
/* ---------- TikTok follow ticker ---------- */
.ticker{
  background: var(--onyx);
  border-top: 1px solid var(--onyx-line);
  border-bottom: 1px solid var(--onyx-line);
  overflow: hidden;
}
.ticker-link{
  display: block;
  padding: 16px 0;
}
.ticker-track{
  display: flex;
  width: max-content;
  animation: tickerScroll 26s linear infinite;
}
.ticker-link:hover .ticker-track,
.ticker-link:focus-visible .ticker-track{ animation-play-state: paused; }
.ticker-group{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.ticker-item{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3.6vw, 36px);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--alabaster);
  padding: 0 20px;
  transition: color .3s var(--ease);
}
.ticker-link:hover .ticker-item,
.ticker-link:focus-visible .ticker-item{ color: var(--slate-light); }
.ticker-sep{
  color: var(--slate);
  font-size: clamp(14px, 2vw, 20px);
  padding: 0 4px;
}
@keyframes tickerScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.story{
  background: var(--onyx);
  color: var(--alabaster);
  padding: clamp(72px, 12vh, 140px) 0 clamp(60px, 10vh, 120px);
}
.story-head{
  margin-bottom: clamp(32px, 6vh, 64px);
  border-bottom: 1px solid var(--onyx-line);
  padding-bottom: 22px;
}
.story-head h2{
  font-size: clamp(34px, 6vw, 68px);
}
.story-head .story-head-note{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate-light);
  font-size: clamp(16px, 2vw, 20px);
  max-width: 52ch;
  margin-top: 8px;
}

.story-body{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}
.story-body p{
  color: var(--alabaster-dim);
  font-size: clamp(16px, 1.7vw, 18.5px);
}

/* Journey strip - horizontal scroll of travel stops */
.journey{
  margin-top: clamp(48px, 8vh, 90px);
}
.journey-label{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--slate-light);
  margin-bottom: 18px;
}
.journey-track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 6px 26px;
  margin: 0 -6px;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--slate) transparent;
}
.journey-track:active{ cursor: grabbing; }
.journey-track::-webkit-scrollbar{ height: 6px; }
.journey-track::-webkit-scrollbar-thumb{ background: var(--slate); border-radius: 3px; }
.journey-track::-webkit-scrollbar-track{ background: transparent; }

.journey-stop{
  flex: 0 0 auto;
  width: min(72vw, 300px);
  scroll-snap-align: start;
  background: var(--onyx-soft);
  border: 1px solid var(--onyx-line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.journey-stop:hover, .journey-stop:focus-within{
  transform: translateY(-8px);
  border-color: var(--slate-light);
  background: #1b2124;
}
.stop-photo{
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2124, #0f1417);
}
.stop-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.journey-stop:hover .stop-photo img{ transform: scale(1.06); }
.stop-photo::after{
  content: '';
  position: absolute; inset: 0;
  /* Same blue-slate tint as the hero banner, so the photos read as one set. */
  background: rgba(13,22,32,0.5);
  transition: opacity .4s var(--ease);
}
.journey-stop:hover .stop-photo::after{ opacity: 0.55; }
.stop-text{
  padding: 20px 22px 22px;
}
.journey-stop .stop-place{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--white);
}
.journey-stop .stop-detail{
  font-size: 14.5px;
  color: var(--alabaster-dim);
  line-height: 1.55;
  margin: 0;
}
.journey-hint{
  font-size: 13px;
  color: var(--slate-light);
  font-style: italic;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--onyx);
  color: var(--alabaster-dim);
  border-top: 1px solid var(--onyx-line);
  padding: clamp(40px, 7vh, 72px) 0 28px;
}
.footer-top{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--onyx-line);
}
.footer-top .wordmark{
  color: var(--alabaster);
  font-size: clamp(28px, 4vw, 40px);
}
.footer-nav{
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0; margin: 0;
  font-size: 14.5px;
}
.footer-social{
  display: flex;
  gap: 14px;
}
.footer-social a{
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(229,228,226,0.35);
  border-radius: 50%;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.footer-social a:hover, .footer-social a:focus-visible{
  border-color: var(--slate-light);
  background: var(--slate-dim);
  transform: translateY(-3px) rotate(-4deg);
}
.footer-social svg{ width: 18px; height: 18px; fill: currentColor; }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 13px;
  color: #8b8b88;
}

/* ---------- Page hero (blog / contact interior header) ---------- */
.page-head{
  background: var(--onyx);
  color: var(--alabaster);
  padding: calc(var(--nav-h) + 64px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-head::before{
  content: '';
  position: absolute;
  right: -8%; top: -30%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(83,104,120,0.4), transparent 65%);
  filter: blur(10px);
}
.page-head h1{
  position: relative;
  font-size: clamp(46px, 9vw, 108px);
  line-height: 0.95;
}
.page-head p{
  position: relative;
  color: var(--alabaster-dim);
  font-size: 17px;
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn-solid{
  background: var(--onyx);
  color: var(--alabaster);
  border-color: var(--onyx);
}
.btn-solid:hover, .btn-solid:focus-visible{
  background: var(--slate);
  border-color: var(--slate);
  transform: translateY(-2px);
}
.btn-ghost:hover, .btn-ghost:focus-visible{
  background: var(--onyx);
  color: var(--alabaster);
  transform: translateY(-2px);
}
.btn svg{ width: 16px; height: 16px; fill: currentColor; transition: transform .3s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

/* ---------- Blog listing ---------- */
.blog-grid{
  background: var(--alabaster);
  padding: clamp(56px, 9vh, 100px) 0 clamp(80px, 12vh, 140px);
}
.blog-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background: var(--onyx-line);
  border: 1px solid var(--onyx-line);
}
.post-card{
  background: var(--alabaster);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: background-color .35s var(--ease);
}
.post-card::before{
  content: '';
  position: absolute; inset: 0;
  background: var(--onyx);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: 0;
}
.post-card:hover::before, .post-card:focus-within::before{ transform: translateY(0); }
.post-card > *{ position: relative; z-index: 1; }
.post-meta{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--slate);
  transition: color .35s var(--ease);
  margin-bottom: 14px;
}
.post-card:hover .post-meta, .post-card:focus-within .post-meta{ color: var(--slate-light); }
.post-card h3{
  font-size: clamp(24px, 2.8vw, 30px);
  margin-bottom: 12px;
  transition: color .35s var(--ease);
}
.post-card:hover h3, .post-card:focus-within h3{ color: var(--alabaster); }
.post-card p{
  font-size: 15px;
  color: #4a4a48;
  transition: color .35s var(--ease);
  margin-bottom: 20px;
}
.post-card:hover p, .post-card:focus-within p{ color: var(--alabaster-dim); }
.post-card a.read-more{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--onyx);
  transition: color .35s var(--ease);
}
.post-card:hover a.read-more, .post-card:focus-within a.read-more{ color: var(--white); }
.post-card a.read-more svg{ width: 13px; height: 13px; fill: currentColor; transition: transform .3s var(--ease); }
.post-card:hover a.read-more svg{ transform: translateX(4px); }
.post-card a::after{
  content: '';
  position: absolute; inset: 0;
}

.notice-box{
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px dashed var(--slate);
  background: rgba(83,104,120,0.06);
  font-size: 14.5px;
  color: #3a3a38;
  max-width: 62ch;
}
.notice-box strong{ color: var(--onyx); }

/* ---------- Contact form ---------- */
.contact-wrap{
  background: var(--alabaster);
  padding: clamp(56px, 9vh, 100px) 0 clamp(100px, 14vh, 160px);
}
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 40px;
  max-width: 720px;
}
.field{
  position: relative;
  margin-bottom: 30px;
}
.field label{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  margin-bottom: 9px;
  color: #33332f;
}
.field input,
.field textarea{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #b9b8b3;
  padding: 12px 2px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--onyx);
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field textarea{ min-height: 140px; }
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--slate);
}
.field::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--onyx);
  transition: right .4s var(--ease);
}
.field:focus-within::after{ right: 0; }
.field-hint{
  font-size: 13px;
  color: #7a7a76;
  margin-top: 6px;
}
.hp-field{ position: absolute; left: -9999px; opacity: 0; }

.form-status{
  margin-top: 18px;
  font-size: 14.5px;
}
.form-status[data-state="sent"]{ color: #2f5b3a; }
.form-status[data-state="error"]{ color: #8a2e2e; }

/* utility */
.mt-lg{ margin-top: clamp(40px, 6vh, 64px); }
