/* ==========================================================
   MILO FOR REGIONAL CHAIR OF DURHAM
   ========================================================== */

:root {
  --navy: #0e2a55;
  --navy-deep: #081c3a;
  --navy-soft: #1b3d70;
  --red: #c8202e;
  --red-dark: #a3151f;
  --gold: #c8a02c;
  --gold-light: #e6c356;
  --cream: #f7f2e6;
  --cream-deep: #efe6d3;
  --ink: #16223a;
  --ink-soft: #4a5670;
  --white: #ffffff;
  --shadow: 0 18px 40px -18px rgba(8, 28, 58, .38);
  --shadow-lg: 0 30px 70px -25px rgba(8, 28, 58, .45);
  --radius: 14px;
  --wrap: 1180px;
  --head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }

.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
  z-index: 999; background: var(--gold); color: var(--navy-deep);
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.06; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.9rem); }
h2.big { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.1em; }

.hl { color: var(--red); }
.center { text-align: center; }
.light { color: var(--white); }
.muted { color: var(--ink-soft); font-size: .92rem; }

.eyebrow {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em;
  font-weight: 700; font-size: .84rem; color: var(--red); margin: 0 0 .6em;
}
.eyebrow.light { color: var(--gold-light); }

.kicker {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 700; font-size: .9rem; color: var(--navy-soft); margin-bottom: 1rem;
}

.lede { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--ink-soft); max-width: 60ch; }
.sub { max-width: 68ch; margin: 0 auto 3rem; color: var(--ink-soft); font-size: 1.06rem; }
.sub.light { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; font-size: 1rem; text-decoration: none;
  padding: .72em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--lg { font-size: 1.15rem; padding: .8em 1.9em; }
.btn--sm { font-size: .92rem; padding: .5em 1.15em; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200,32,46,.75); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(200,160,44,.8); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red); color: #fff; overflow: hidden; white-space: nowrap;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em;
  font-size: .82rem; font-weight: 700; padding: 7px 0; position: relative; z-index: 60;
}
.ticker__track { display: inline-flex; animation: slide 55s linear infinite; }
.ticker__track span { padding-right: 2rem; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 3px solid var(--navy);
  transition: box-shadow .2s ease;
}
.nav.is-stuck { box-shadow: 0 8px 26px -14px rgba(8,28,58,.5); }
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--navy); }
.brand__pic {
  width: 78px; height: 78px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); background: var(--navy);
  box-shadow: 0 6px 16px -6px rgba(8,28,58,.55);
  transition: transform .2s ease;
}
.brand:hover .brand__pic { transform: scale(1.05) rotate(-3deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--head); font-size: 1.7rem; letter-spacing: .02em; }
.brand__text em {
  font-family: var(--cond); font-style: normal; text-transform: uppercase;
  letter-spacing: .12em; font-size: .82rem; color: var(--red); font-weight: 700;
}
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none;
}
.nav__links a:not(.btn):hover { color: var(--red); }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero__banner { max-width: 1240px; margin: 0 auto; padding: 22px 24px 0; }
.hero__banner img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.hero__body { max-width: 900px; margin: 0 auto; padding: 44px 24px 72px; text-align: center; }
.hero__body .lede { margin-left: auto; margin-right: auto; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; }

.countdown {
  margin: 44px auto 0; max-width: 620px; background: var(--navy);
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow);
}
.countdown__label {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; color: var(--gold-light); font-weight: 700; margin-bottom: 12px;
}
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown__grid div { color: #fff; }
.countdown__grid b {
  display: block; font-family: var(--head); font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown__grid span {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em;
  font-size: .7rem; color: rgba(255,255,255,.66);
}

/* ---------- Stats ---------- */
.stats { background: var(--navy-deep); padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b {
  display: block; font-family: var(--head); font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-light); line-height: 1;
}
.stat span {
  display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.4;
}

/* ---------- Promo video (full bleed) ---------- */
.promo {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 72px 0 66px; text-align: center;
}
.promo__head { margin-bottom: 34px; }
.promo h2 { text-transform: uppercase; font-size: clamp(1.8rem, 4.2vw, 2.9rem); margin-bottom: .35em; }
.promo__sub {
  font-family: var(--cond); font-size: 1.15rem; letter-spacing: .02em;
  color: rgba(255,255,255,.72) !important; max-width: 52ch; margin: 0 auto;
}
.promo__frame {
  position: relative; width: 100%; height: min(56.25vw, 78vh);
  background: #000; overflow: hidden;
  border-top: 5px solid var(--gold); border-bottom: 5px solid var(--gold);
  box-shadow: 0 26px 60px -20px rgba(0,0,0,.65);
}
.promo__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.promo__caption {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em;
  font-size: .84rem; color: var(--gold-light) !important; margin: 22px auto 0;
}

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy p { color: rgba(255,255,255,.8); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-2--wide { gap: 70px; }

.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .7rem; }
.checklist li::before {
  content: "\1F43E"; position: absolute; left: 0; top: -1px; font-size: 1rem;
}

/* ---------- Polaroids ---------- */
.portrait-stack { display: grid; gap: 26px; }
.polaroid {
  background: #fff; padding: 12px 12px 0; margin: 0; border-radius: 6px;
  box-shadow: var(--shadow-lg); transition: transform .25s ease;
}
.polaroid img { border-radius: 3px; width: 100%; }
.polaroid figcaption {
  font-family: var(--cond); font-size: .95rem; text-align: center;
  padding: 12px 6px 14px; color: var(--ink-soft); letter-spacing: .02em;
}
.polaroid--tilt { transform: rotate(-2.2deg); }
.polaroid--tilt:hover { transform: rotate(0deg) scale(1.015); }
.polaroid--tilt-r { transform: rotate(1.8deg); margin-top: 26px; }
.polaroid--tilt-r:hover { transform: rotate(0deg) scale(1.015); }
.polaroid--lg { transform: rotate(1.2deg); }
.polaroid--lg:hover { transform: rotate(0deg) scale(1.015); }
#boopTarget { cursor: pointer; }
.boop {
  display: inline-block; min-width: 26px; padding: 1px 8px; margin-left: 4px;
  background: var(--gold); color: var(--navy-deep); border-radius: 999px;
  font-weight: 700; font-family: var(--body); font-size: .8rem;
}

/* ---------- Planks ---------- */
.planks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px; margin-top: 8px;
}
.plank {
  background: #fff; border: 2px solid var(--cream-deep); border-radius: var(--radius);
  padding: 30px 28px 26px; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.plank::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--navy), var(--red));
}
.plank:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.plank__num {
  font-family: var(--head); font-size: 2.1rem; color: var(--cream-deep);
  line-height: 1; margin-bottom: 10px;
}
.plank h3 { color: var(--navy); }
.plank p { color: var(--ink-soft); font-size: .97rem; }
.plank__bark {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--cream-deep);
  font-family: var(--cond); font-size: 1.02rem; color: var(--navy) !important;
  font-weight: 600;
}
.plank--squirrel { border-color: var(--red); background: #fff8f7; }
.plank--squirrel::after { background: var(--red); }

.promise-box {
  margin-top: 44px; background: var(--navy); border-radius: var(--radius);
  padding: 34px 36px; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; box-shadow: var(--shadow);
}
.promise-box h3 { color: #fff; margin: 0; max-width: 46ch; font-size: 1.22rem; line-height: 1.35; }
.promise-box .eyebrow { color: var(--gold-light); }
.promise-box .btn { flex: 0 0 auto; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 22px; }
.tl {
  display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 18px; transition: background .22s ease;
}
.tl:hover { background: rgba(255,255,255,.11); }
.tl img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.tl__year {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; color: var(--gold-light); font-weight: 700;
}
.tl h4 { color: #fff; margin: 6px 0 8px; font-size: 1.16rem; }
.tl p { margin: 0; font-size: .95rem; }

.scandal {
  margin-top: 46px; background: var(--navy-deep); border: 2px solid var(--red);
  border-radius: var(--radius); padding: 34px; display: grid;
  grid-template-columns: 320px 1fr; gap: 34px; align-items: center;
}
.scandal__img img { border-radius: 10px; }
.scandal h3 { color: #fff; }
.scandal__quote {
  font-family: var(--cond); font-size: 1.28rem; color: var(--gold-light) !important;
  border-left: 4px solid var(--red); padding-left: 16px; margin: 18px 0 0;
}

/* ---------- Tour ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.stop {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border-bottom: 5px solid var(--navy); transition: transform .2s ease, border-color .2s ease;
}
.stop:hover { transform: translateY(-4px); border-bottom-color: var(--red); }
.stop h4 { color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.stop p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
blockquote {
  margin: 0; background: var(--cream); border-radius: var(--radius); padding: 28px;
  border-top: 5px solid var(--gold); display: flex; flex-direction: column; justify-content: space-between;
}
blockquote p { font-size: 1.06rem; color: var(--ink); font-weight: 500; }
blockquote cite {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em;
  font-size: .8rem; font-style: normal; color: var(--navy-soft); font-weight: 700;
}
.quote--neg { background: #fff5f4; border-top-color: var(--red); }

/* ---------- Compare ---------- */
.compare {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); overflow: hidden;
}
.compare__row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px;
  padding: 15px 22px; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .96rem; align-items: center;
}
.compare__row:last-child { border-bottom: 0; }
.compare__row > span:first-child { color: rgba(255,255,255,.72); }
.compare__row .milo { color: #fff; font-weight: 600; }
.compare__row > span:last-child { color: rgba(255,255,255,.46); }
.compare__row--head {
  background: rgba(255,255,255,.1); font-family: var(--cond); text-transform: uppercase;
  letter-spacing: .12em; font-size: .84rem; font-weight: 700;
}
.compare__row--head .milo { color: var(--gold-light); }

/* ---------- Form ---------- */
.form { display: grid; gap: 15px; margin-top: 26px; }
.form label { display: grid; gap: 6px; font-family: var(--cond); font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.form input[type="text"], .form input[type="email"], .form select {
  font-family: var(--body); font-size: .98rem; padding: 12px 14px;
  border: 2px solid var(--cream-deep); border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.form .check { display: flex; align-items: center; gap: 10px; font-family: var(--body); font-size: .93rem; font-weight: 400; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; accent-color: var(--red); }
.form__note { margin: 4px 0 0; font-weight: 600; color: var(--navy); min-height: 1.4em; }
.form__note.is-err { color: var(--red); }

.kibble {
  background: #fff; border: 2px solid var(--cream-deep); border-radius: var(--radius); padding: 30px;
}
.kibble h3 { color: var(--navy); margin-bottom: .3em; }
.tiers { list-style: none; margin: 18px 0 0; padding: 0; }
.tiers li { padding: 14px 0; border-top: 1px dashed var(--cream-deep); }
.tiers li b { display: block; font-family: var(--cond); font-size: 1.1rem; color: var(--red); }
.tiers li span { font-size: .93rem; color: var(--ink-soft); }
.tiers--max { background: #fffaf0; border-radius: 10px; padding: 14px 16px !important; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--cream); border-radius: 12px; padding: 4px 22px;
  border-left: 5px solid var(--navy);
}
.faq summary {
  cursor: pointer; font-family: var(--cond); font-size: 1.16rem; font-weight: 700;
  color: var(--navy); padding: 16px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " \25BE"; color: var(--red); }
.faq details[open] summary::after { content: " \25B4"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Closer ---------- */
.closer {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: #fff; text-align: center; padding: 96px 0;
}
.closer h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.closer p {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .3em;
  color: var(--gold-light); font-size: 1.05rem; margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.foot { background: #061428; color: rgba(255,255,255,.6); padding: 48px 0 56px; font-size: .88rem; }
.foot__inner { display: grid; gap: 18px; }
.foot__brand { font-family: var(--head); color: #fff; font-size: 1.5rem; margin-right: 10px; }
.foot__inner > div span { font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-light); }
.disclaimer { max-width: 78ch; line-height: 1.6; margin: 0; }
.disclaimer strong { color: #fff; }
.paid {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em;
  font-size: .76rem; color: rgba(255,255,255,.4); margin: 0;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px;
}

/* ---------- Paw burst ---------- */
.paw {
  position: fixed; pointer-events: none; z-index: 200; font-size: 20px;
  animation: pawFloat .9s ease-out forwards;
}
@keyframes pawFloat {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(.4) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, -160%) scale(1.35) rotate(24deg); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }
  .brand__pic { width: 62px; height: 62px; }
  .brand__text strong { font-size: 1.4rem; }
  .brand__text em { font-size: .72rem; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    border-bottom: 3px solid var(--navy); box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--cream-deep); }
  .nav__links .btn { margin-top: 14px; border-bottom: 0; }
  .grid-2, .grid-2--wide { grid-template-columns: 1fr; gap: 44px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .tl { grid-template-columns: 1fr; }
  .tl img { aspect-ratio: 16/9; }
  .scandal { grid-template-columns: 1fr; padding: 24px; }
  .promise-box { flex-direction: column; align-items: flex-start; padding: 28px; }
  .compare__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .compare__row--head { display: none; }
  .compare__row .milo::before {
    content: "Milo: "; color: var(--gold-light); font-family: var(--cond);
    text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  }
  .compare__row > span:last-child::before {
    content: "Usual: "; font-family: var(--cond); text-transform: uppercase;
    letter-spacing: .1em; font-size: .78rem;
  }
  .section { padding: 64px 0; }
  .promo { padding: 54px 0 48px; }
}

@media (max-width: 520px) {
  .countdown__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
