/* Tokens */
:root{
  --maxw: 720px;        /* laptop & below */
  --maxw-wide: 880px;   /* big screens; tweak here */
  --header-h: 72px;
  --contact-bar-h: 60px;
  --bg: #0c6113;
  --fg: #fff;
}

/* Base */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2000;
  border-bottom: 2px solid #000;
  text-align: center;
  padding: 1rem 0;
}
.banner{ margin:0; font-weight:700; color: var(--fg); }
.banner.desktop{ display:none; }
.banner.mobile { display:block; font-size:1.5rem; }
@media (min-width:600px){
  .banner.desktop{ display:block; font-size:2.2rem; }
  .banner.mobile { display:none; }
}

/* Bottom bar — ALL sizes */
.contact-bar{
  position: fixed; left:0; right:0; bottom:0;
  height: var(--contact-bar-h);
  background: var(--bg);
  border-top: 2px solid #000;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1rem calc(env(safe-area-inset-bottom));
  z-index: 1500;
}
.contact-link{ color: var(--fg); text-decoration: none; font-weight: 700; }

/* Content wrapper */
.content{
  max-width: var(--maxw);
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Hero */
.hero{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  text-align: center;
  background: var(--bg);
}
.hero-inner{
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.15rem;
}
.hero-line{ margin: 0; }

/* Pills */
.pill-list{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.55rem; list-style: none; margin: 0.25rem 0; padding: 0;
}
.pill{
  border: 2px solid var(--fg);
  border-radius: 9999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.98rem;
  line-height: 1; white-space: nowrap;
}

/* Arrow */
.scroll-cue{
  margin-top: 0.25rem;
  font-size: 1.4rem;
  color: var(--fg);
  text-decoration: none;
  opacity: .85;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: translateY(0); opacity: .65; }
  50%    { transform: translateY(4px); opacity: 1; }
}

/* Sections */
.slide{ background: var(--bg); }
h2{ margin-top: 2rem; margin-bottom: 0.5rem; font-weight: 700; color: var(--fg); }
p, li{ margin-top: 0.5rem; }

/* ===== Laptop & smaller (≤1440px): full-screen slides ===== */
@media (max-width:1440px){
  html { scroll-behavior: smooth; }

  /* fix header */
  .site-header{ position: fixed; top: 0; left: 0; right: 0; }

  /* start content below header */
  main{ padding-top: var(--header-h); }

  /* leave room for bottom bar */
  .content{ padding-bottom: calc(var(--contact-bar-h) + 1rem + env(safe-area-inset-bottom)); }

  /* slides */
  main{ scroll-snap-type: y mandatory; }
  .slide{
    min-height: calc(100svh - var(--header-h) - var(--contact-bar-h));
    scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
    max-width: var(--maxw); margin: 0 auto;
  }

  /* hero tune */
  .hero{ padding-top: 14vh; padding-bottom: 6vh; }
  .hero-line{ font-size: 0.95rem; line-height: 1.5; }
  .pill{ font-size: 0.92rem; padding: 0.36rem 0.8rem; }
  .pill-list{ gap: 0.5rem; }
  .scroll-cue{ font-size: 1.5rem; }
}

/* ===== Desktop (>1440px): behave like laptop, slightly larger type, wider max ===== */
@media (min-width:1441px){
  /* mirror laptop behavior */
  html { scroll-behavior: smooth; }
  .site-header{ position: fixed; top: 0; left: 0; right: 0; }
  main{ padding-top: var(--header-h); }
  .content{ padding-bottom: calc(var(--contact-bar-h) + 1rem + env(safe-area-inset-bottom)); }
  main{ scroll-snap-type: y mandatory; }

  /* allow easy toggle of width */
  :root{ --maxw: var(--maxw-wide); }

  .slide{
    min-height: calc(100svh - var(--header-h) - var(--contact-bar-h));
    scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: center;
    padding: 2.25rem 1.25rem;
    box-sizing: border-box;
    max-width: var(--maxw); margin: 0 auto;
  }

  /* bump type & UI density slightly */
  .banner.desktop{ font-size: 2.6rem; }
  h2{ margin-top: 2.2rem; margin-bottom: 0.6rem; font-size: 1.15rem; }
  p{ font-size: 1.02rem; }
  .hero-line{ font-size: 1.05rem; line-height: 1.55; }
  .pill{ font-size: 1rem; padding: 0.42rem 0.9rem; }
  .pill-list{ gap: 0.6rem; }
  .scroll-cue{ font-size: 1.6rem; }
}

