/* same CSS as original, moved here */
#intro-text {
  font-size: clamp(16px, 16vw, 8px);
  line-height: 1.1;
  font-weight: 800;
  transition:
    opacity 0.9s cubic-bezier(.4,0,.2,1),
    transform 0.9s cubic-bezier(.4,0,.2,1);
}
/* Full-page background image for hometown page */
.bg-hometown{
  background-image: url("hometown.jpg");
  background-size: cover;        /* fill entire screen */
  background-position: center;   /* center the image */
  background-repeat: no-repeat;
  background-attachment: fixed;  /* subtle parallax feel */
  min-height: 100vh;
}
.bg-hometown{
  filter: none !important;
}
.bg-hometown::before{
  filter: none !important;
}
/* Floating pill */
.float-pill{
  position: fixed;
  right: 18px;
  top: 90%;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;

  /* Match your glass/card vibe (adjust if needed) */
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  transform: translateY(0);
  transition: transform 120ms ease, opacity 200ms ease;
  opacity: 0.95;
}

.float-pill:hover{
  opacity: 1;
  transform: translateY(-2px);
}

/* Optional: hide on very small screens */
@media (max-width: 480px){
  .float-pill{
    right: 12px;
    top: auto;
    bottom: 18px;
  }
}
/* Minimal text on hometown page */
.bg-hometown .hometown-text{
  position: fixed;          /* stays put */
  top: 96px;                /* below header */
  left: 24px;

  max-width: 420px;

  color: rgb(255, 253, 253);
  font-size: 16px;
  line-height: 1.5;

  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.bg-hometown .hometown-text h1{
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  /* white-space: nowrap; */
}

:root{
  --bg:#ffffff;
  --ut:#bf5700;
  --text:#030303;
  --muted:rgba(255,255,255,.9);
  --line:rgba(255,255,255,.2);
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
}

*{ box-sizing:border-box }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  line-height:1.5;
}

/* Background video */
.bg-video{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

/* Overlay */
.page-index::before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(255,255,255,.55);
  z-index:-1;
}

a{ color:inherit }

.wrap{ max-width:980px; margin:0 auto; padding:28px 20px 60px }

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background:rgba(191,87,0,.92);
  border-bottom:1px solid var(--line);
  padding:14px 20px;
  z-index:10;
}

.brand{ display:flex; align-items:center; gap:12px; text-decoration:none }

.avatar{
  width:160px;height:160px;border-radius:100%;
  background:#fff;color:var(--ut);
  display:grid;place-items:center;
  font-weight:800;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* keeps aspect ratio */
}

nav{ display:flex; gap:14px; flex-wrap:wrap }
nav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
}
nav a:hover{ background:rgba(255,255,255,.12) }

.hero{ padding:34px 0 18px }

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}

@media (max-width:860px){
  .hero-grid{ grid-template-columns:1fr }
  header{ position:relative }
}

.card{
  background:rgba(191,87,0,.86);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  overflow-x: auto;
}

h1{
  margin:0 0 10px;
  font-size:clamp(28px,4vw,44px);
  letter-spacing:-.02em;
  transition:opacity .5s ease;
}

.pill-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:14px 0 18px;
}

.pill{
  font-size:13px;
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.buttons{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px }

.btn{
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.1);
  font-weight:700;
}
.btn:hover{ background:rgba(255,255,255,.18) }

section{ padding:14px 0 }

.section-title{
  display:flex;justify-content:space-between;align-items:baseline;
  margin:18px 0 12px;
}

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

@media (max-width:860px){
  .grid{ grid-template-columns:1fr }
}

.item h3{ margin:0 0 6px }
.item p{ margin:0; font-size:14px }


footer{
  margin-top:26px;
  color:#444;
  font-size:13px;
  display:flex;
  justify-content:space-between;
  border-top:1px solid rgba(0,0,0,.15);
  padding-top:16px;
}

@media (prefers-reduced-motion: reduce){
  .bg-video{ display:none }
}
