/* TACP Foundation brand colors. Source: TACPF_Brand_Color_Spec.pdf */
:root {
  --navy: #08202C;
  --red: #C20F0F;
  --teal: #0E445C;
  --cream: #FEF6E9;
  --green: #055329;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --slate: #5C6670;
  --gold: #C9A227;
  --sand: #F6F3EC;
  --line: #E3DED3;
  /* Typeface is not defined in the brand spec. System fonts until one is confirmed. */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.nowrap { white-space: nowrap; }
.small { font-size: 14px; color: var(--slate); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-block; padding: 15px 28px; border-radius: 4px; font-weight: 700; font-size: 18px; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-red { background: var(--red); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-red:hover, .btn-green:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.btn-outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--cream); color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--cream); }
.btn-block { display: block; width: 100%; }
.btn-ghost { display: inline-block; padding: 8px 16px; border: 2px solid var(--cream); border-radius: 4px; color: var(--cream); font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-ghost:hover { background: var(--cream); color: var(--navy); }

/* Top bar, sticky so Register is always one tap away */
.topbar { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 170px; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.topnav a:not(.btn-ghost) { color: var(--cream); text-decoration: none; opacity: .9; }
.topnav a:not(.btn-ghost):hover { opacity: 1; text-decoration: underline; }

/* Hero */
/* The hero photo itself is set by the build (from content/event.yml) in a style tag in the page head. */
.hero {
  color: var(--cream);
  background-color: var(--navy);
  background-image: linear-gradient(180deg, rgba(8,32,44,.82) 0%, rgba(14,68,92,.84) 55%, rgba(8,32,44,.94) 100%);
  background-size: cover;
  background-position: center;
  padding: 64px 0 72px;
}
@media (min-width: 801px) { .hero { padding: 88px 0 96px; } }
.hero-inner { text-align: center; }
.kicker { margin: 0 0 22px; color: var(--gold); text-transform: uppercase; }
.kicker-name { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: clamp(26px, 5vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: .12em; }
.kicker-name::before, .kicker-name::after { content: ""; width: 40px; height: 2px; background: var(--gold); flex: none; }
.kicker-sub { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.hero h1 { margin: 0; font-size: clamp(30px, 5.6vw, 52px); line-height: 1.12; font-weight: 800; text-transform: uppercase; }
.rule { display: block; width: 72px; height: 5px; margin: 24px auto; background: var(--red); }
.lede { max-width: 640px; margin: 0 auto; font-size: 19px; }

.countdown { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 32px auto 0; max-width: 460px; }
.countdown > div { flex: 1; min-width: 88px; padding: 14px 8px 10px; border: 1px solid rgba(254,246,233,.3); border-radius: 6px; background: rgba(8,32,44,.55); }
.countdown span { display: block; font-size: 38px; font-weight: 800; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.countdown small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.countdown-label { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; opacity: .9; }
.countdown.done > div { display: none; }
.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Latest update */
.updates { background: var(--sand); padding: 28px 0 0; }
.updates-card { background: var(--white); border-left: 6px solid var(--gold); border-radius: 6px; padding: 18px 22px; box-shadow: 0 4px 16px rgba(8,32,44,.08); }
.updates-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.updates h2 { margin: 0; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.badge { background: var(--navy); color: var(--cream); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.updates-latest { margin: 8px 0 0; font-size: 18px; font-weight: 600; }
.updates-older { margin-top: 10px; font-size: 16px; }
.updates-older summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.updates-older ul { margin: 8px 0 0; padding-left: 18px; }
.updates-older li span { font-weight: 700; color: var(--slate); margin-right: 6px; }

/* Key facts strip */
.facts { background: var(--sand); padding: 24px 0 36px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 860px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 6px; padding: 14px 16px; }
.fact-k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.fact-v { display: block; font-weight: 700; color: var(--navy); line-height: 1.35; margin-top: 4px; font-size: 17px; }

/* Registration card */
.register { background: var(--sand); padding: 0 0 64px; }
.card { background: var(--white); border-radius: 6px; box-shadow: 0 10px 30px rgba(8,32,44,.12); }
.card-action { max-width: 560px; margin: 0 auto; padding: 30px 24px; border-top: 6px solid var(--red); }
.card-action h2 { margin: 0 0 4px; color: var(--navy); font-size: 26px; line-height: 1.25; text-align: center; }
.card-sub { margin: 0 0 18px; color: var(--slate); font-size: 16px; text-align: center; }
.consent { background: var(--sand); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; margin-bottom: 18px; }
.consent p { margin: 0; font-size: 15px; line-height: 1.55; }
.widget { min-height: 140px; display: flex; justify-content: center; }
.widget givebutter-widget { display: block; width: 100%; max-width: 440px; }
.widget-fallback { margin: 14px 0 0; font-size: 16px; color: var(--slate); text-align: center; }
.tickets { margin-top: 20px; }
.note-box { margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 6px; text-align: center; font-size: 16px; color: var(--navy); font-weight: 600; }

/* Schedule */
.schedule { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-title { margin: 0 0 6px; color: var(--navy); font-size: 32px; line-height: 1.2; }
.section-sub { margin: 0 0 22px; color: var(--slate); font-size: 16px; }
.link-cal { font-weight: 700; font-size: 16px; }
.tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--line); margin-bottom: 4px; overflow-x: auto; }
.tab { font: inherit; font-size: 16px; font-weight: 700; background: none; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; padding: 10px 16px; color: var(--slate); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--red); }
.tab:hover { color: var(--navy); }
.panel-day { margin: 20px 0 8px; font-size: 20px; color: var(--navy); }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.tl-item.live { background: rgba(5,83,41,.06); border-left: 4px solid var(--green); padding-left: 12px; }
.tl-item.past { opacity: .55; }
.tl-time span { display: block; font-weight: 800; color: var(--navy); font-size: 18px; font-variant-numeric: tabular-nums; }
.tl-time .tl-to { font-weight: 500; color: var(--slate); font-size: 15px; }
.tl-body h4 { margin: 0 0 4px; font-size: 20px; color: var(--ink); line-height: 1.3; }
.tl-loc { margin: 0; color: var(--teal); font-weight: 600; font-size: 16px; }
.tl-details { margin: 4px 0 0; font-size: 16px; }
.tl-cal { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.tbc, .tl-live { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.tbc { background: var(--sand); color: var(--slate); border: 1px solid var(--line); }
.tl-live { background: var(--green); color: var(--white); }
@media (max-width: 520px) { .tl-item { grid-template-columns: 1fr; gap: 6px; } .tl-time span { display: inline; } .tl-time .tl-to { margin-left: 6px; } }

/* Hotel */
.hotel { background: var(--sand); padding: 64px 0; }
.hotel-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 860px) { .hotel-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; } }
.hotel-photo img, .ballroom { border-radius: 6px; width: 100%; object-fit: cover; }
.ballroom { margin-top: 28px; max-height: 360px; }
.hotel-name { margin: 0; font-weight: 800; font-size: 20px; color: var(--navy); }
.hotel-info > p { margin: 4px 0; }
.rate-box { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 6px; padding: 20px; margin: 18px 0 8px; }
.rate { margin: 0 0 4px; font-size: 19px; }
.deadline { margin: 0 0 14px; }
.deadline-left { display: inline-block; margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--red); }
.rate-box .btn { width: 100%; }
.rate-box .small { margin: 10px 0 0; }
.qr { display: none; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.qr img { width: 110px; }
@media (min-width: 860px) and (hover: hover) { .qr { display: flex; } }
.h3 { margin: 22px 0 4px; font-size: 18px; color: var(--navy); }

/* FAQ */
.faq { padding: 64px 0; }
.faq-wrap { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--teal); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 16px; }
.faq-more { margin: 20px 0; }
.share-msg { min-height: 1.6em; font-size: 15px; color: var(--green); font-weight: 600; }

/* Closing band */
.close { background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); color: var(--cream); padding: 64px 0; }
.close-inner { text-align: center; max-width: 720px; }
.close h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; }
.close p { margin: 0 0 28px; }
.built { text-align: center; font-size: 13px; color: var(--slate); margin: 0; padding: 10px 0; background: var(--white); }

@media (max-width: 720px) {
  .topnav a:not(.btn-ghost) { display: none; }
  .brand img { width: 140px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .kicker-name::before, .kicker-name::after { width: 18px; }
  .card-action { padding: 24px 16px; }
  .hero-ctas .btn { width: 100%; }
}
/* Footer, mirrors the tacpfoundation.org footer in brand colors */
.footer {
  background: var(--navy);
  color: var(--cream);
  font-size: 15px;
  line-height: 1.75;
}
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; }
.footer p { margin: 0 0 14px; }
.footer p a { text-decoration: underline; text-underline-offset: 3px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(254, 246, 233, .2);
}
.footer-h {
  margin: 0 0 18px;
  color: var(--cream);
  font-size: 28px;
  line-height: 1.2;
}
.footer-h-sm { font-size: 19px; color: var(--gold); }
.crisis {
  padding: 22px 24px;
  border: 1px solid rgba(254, 246, 233, .25);
  border-left: 5px solid var(--red);
  border-radius: 4px;
  background: rgba(14, 68, 92, .45);
}
.crisis-list { list-style: none; margin: 0 0 12px; padding: 0; font-size: 17px; }
.crisis-list li { margin-bottom: 6px; }
.crisis-label {
  display: inline-block;
  min-width: 52px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .1em;
}
.crisis-list a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.crisis-note { font-size: 14px; opacity: .85; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 44px 0 36px;
}
.footer-logo { width: 120px; margin-bottom: 16px; }
.footer-strong { font-weight: 700; }
.accent { color: var(--gold) !important; font-weight: 700; }
.footer-h3 { margin: 0 0 10px; color: var(--gold); font-size: 19px; }
.footer-h3 a { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 4px; }
.social { display: flex; gap: 14px; margin-top: 6px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}
.social a:hover { background: var(--teal); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(254, 246, 233, .2);
  padding: 22px 0 26px;
  text-align: center;
}
.footer-bottom p { margin: 0 0 6px; }
.credit { font-size: 13px; opacity: .75; }
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-cols { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; }
}


.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
