/* Port Arthur Transit Access Study — shared styles
   Blue palette matched to the original study site (nfp-draft.wixsite.com/transit):
   #1E40AF deep, #2856C7 bright. The PAT logo keeps its own maroon. */

:root {
  --blue: #1E40AF;
  --blue-bright: #2856C7;
  --blue-dark: #18338C;
  --blue-tint: #E8EEFB;
  --ink: #121214;
  --ink-2: #3A3A40;
  --ink-3: #65656E;
  --wash: #EDF1F6;
  --line: #DCE3EC;
  --white: #FFFFFF;
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18,18,20,.06), 0 8px 24px rgba(18,18,20,.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Alert bar ---------- */

.alertbar {
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  letter-spacing: .01em;
}
.alertbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: center;
  padding-top: 11px;
  padding-bottom: 11px;
  text-align: center;
}
.alertbar strong { font-weight: 700; }
.alertbar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img { width: 118px; height: auto; }
.brand-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .005em;
  border-left: 1px solid var(--line);
  padding-left: 14px;
  color: var(--ink-2);
}
.brand-text span { display: block; font-weight: 500; color: var(--ink-3); }

nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
nav.main a:hover { background: var(--wash); color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue-tint); }
.btn.inverse { background: #fff; color: var(--blue); border-color: #fff; }
.btn.inverse:hover { background: var(--wash); }

/* ---------- Hero ---------- */

.hero {
  background: var(--blue-bright);
  color: #fff;
  padding: 76px 0 80px;
}
.hero .eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { color: #fff; }
.hero p.lede { color: rgba(255,255,255,.9); }
.hero a:not(.btn) { color: #fff; }
.hero .btn { background: #fff; color: var(--blue); border-color: #fff; }
.hero .btn:hover { background: var(--blue-tint); border-color: var(--blue-tint); }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hero .wrap { max-width: 860px; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero p.lede {
  font-size: clamp(17px, 2.1vw, 21px);
  margin: 0 auto 32px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section.alt { background: var(--wash); }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 18px;
  font-weight: 800;
}
h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.005em; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 18px; }

.prose p { margin: 0 0 18px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Checklist ---------- */

ul.checks { list-style: none; margin: 0; padding: 0; }
ul.checks li {
  position: relative;
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}
ul.checks li:last-child { border-bottom: 0; }
ul.checks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
ul.checks li small {
  display: block;
  font-weight: 400;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Timeline ---------- */

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.phase {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
}
.phase.current { border-top-color: var(--blue); box-shadow: var(--shadow); }
.phase .num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.phase.current .num { color: var(--blue); }
.phase h3 { font-size: 18px; margin-bottom: 6px; }
.phase p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.55; }
.tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
}
.phase-progress { display: flex; gap: 20px; margin: 0 0 18px; }
.phase-progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--line); }
.phase-progress span.done { background: var(--blue); opacity: .45; }
.phase-progress span.active { background: var(--blue); }
.phase.done { border-top-color: var(--blue); opacity: .92; }
.phase.done .num { color: var(--ink-3); }
.tag.muted { background: var(--wash); color: var(--ink-3); }

/* ---------- Meeting / notice card ---------- */

.notice-card {
  background: var(--wash);
  border-left: 7px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 0 38px;
  align-items: center;
}
.datebox { text-align: center; padding-right: 4px; }
.datebox .dow {
  font-size: 15px; font-weight: 800; color: var(--blue);
  letter-spacing: .1em; text-transform: uppercase;
}
.datebox .day {
  font-size: 68px; font-weight: 800; line-height: .95;
  letter-spacing: -.03em; margin: 2px 0 2px;
}
.datebox .mon {
  font-size: 16px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
}
.notice-rule { background: var(--line); width: 1px; height: 100%; min-height: 120px; }
.notice-meta dl { margin: 0; }
.notice-meta dt {
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px;
}
.notice-meta dd { margin: 0 0 16px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.notice-meta dd:last-child { margin-bottom: 0; }

/* ---------- Topic pills ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}
.card p { margin: 0; color: var(--ink-3); font-size: 15.5px; line-height: 1.6; }
.card .ico {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
  margin-bottom: 16px;
}

/* ---------- File list ---------- */

ul.files { list-style: none; margin: 0; padding: 0; }
ul.files li {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
ul.files li:first-child { border-top: 1px solid var(--line); }
.ftype {
  flex: none; width: 50px; height: 58px; border-radius: 6px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.finfo { flex: 1 1 auto; min-width: 0; }
.finfo strong { display: block; font-size: 17px; font-weight: 700; }
.finfo span { font-size: 14.5px; color: var(--ink-3); }
.fdl {
  flex: none; font-weight: 650; font-size: 15px;
  color: var(--blue); text-decoration: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 18px;
}
.fdl:hover { background: var(--blue-tint); border-color: var(--blue-tint); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--blue); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 18px; max-width: 580px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 54px 0 34px;
  font-size: 15px;
}
footer.site-footer .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14);
}
footer.site-footer h4 {
  color: #fff; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 14px; font-weight: 800;
}
footer.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
footer.site-footer a:hover { color: #fff; text-decoration: underline; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 9px; }
footer.site-footer .foot-logo { width: 150px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
footer.site-footer strong { color: #fff; font-weight: 700; }
.legal {
  display: flex; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.55);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  footer.site-footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 52px 0; }
  .hero { padding: 54px 0 58px; }
  .nav-toggle { display: block; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  .site-header .wrap { position: relative; }
  .brand img { width: 96px; }
  .brand-text { display: none; }
  .notice-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 24px;
    border-left-width: 6px;
  }
  .notice-rule { display: none; }
  .datebox { text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .datebox .day { font-size: 46px; }
  .notice-meta dd { font-size: 18px; }
  .timeline { grid-template-columns: 1fr; }
  footer.site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  ul.files li { flex-wrap: wrap; }
  .fdl { width: 100%; text-align: center; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
