/*
Theme Name: Civics Alive Kentucky 1.0
Description: Responsive Civics Alive Kentucky theme based on the supplied design directions.
Version: 1.3
Text Domain: civics-alive-kentucky
Requires PHP: 7.4
*/
/* ============================================================
TOKENS — sampled from the inspiration image
============================================================ */
:root {
  /* Tip's palette (Canva codes, 9 Sep) */
  --blue: #3765cb;
  /* Tip: blue */
  --gold: #efc43d;
  /* Tip: yellow — this is the light */
  --red: #fe3d35;
  /* Tip: vivid red */
  --ink: #222224;
  /* Tip: dark gray */
  --paper: #fcfdfc;
  /* Tip: light green */
  /* derived — sampled from Tip's own bars-and-light graphic */
  --navy: #00246b;
  /* deep ground of his artwork */
  --bar: #9a9ba1;
  --bar-hi: #c2c3c8;
  /* accessibility variants of the two brand colours */
  --gold-deep: #8a6a12;
  /* gold marks on light backgrounds (4.96:1) */
  --red-deep: #d93228;
  /* wherever small white text sits on red (4.73:1) */
  --ink-2: #5a5a60;
  --light: var(--gold);
  /* alias */
  --olive: var(--gold);
  /* alias */
  --rule: rgba(26,26,28,.14);
  --sans: 'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --serif: 'Fraunces',Georgia,'Times New Roman',serif;
  --grot: 'Bricolage Grotesque','Public Sans',system-ui,sans-serif;
  --pad: clamp(20px,5vw,64px);
  --measure: 66ch;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--light);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

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

/* ============================================================
THE MOTIF — light through bars, pure CSS
============================================================ */
.motif {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.motif > * {
  position: relative;
  z-index: 3;
}

.motif::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(100deg,rgba(0,26,79,.78) 0 46%,rgba(0,26,79,.30) 72%,transparent 100%);
}

.motif__bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(90deg,transparent 0 134px, rgba(210,212,218,.42) 134px 143px,rgba(120,121,126,.42) 143px 150px), repeating-linear-gradient(0deg,transparent 0 268px, rgba(210,212,218,.30) 268px 275px,rgba(120,121,126,.30) 275px 281px);
  opacity: .5;
}

.motif__shaft {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -8%;
  width: 46%;
  transform: skewX(-19deg);
  transform-origin: top left;
  background: linear-gradient(170deg,rgba(239,196,61,.95) 0%,rgba(214,170,40,.58) 45%, rgba(120,100,40,.16) 85%,transparent 100%);
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

.motif__shaft--soft {
  opacity: .45;
}

/* small inline bar-rule used as a divider throughout */
.barrule {
  height: 8px;
  border: 0;
  background: repeating-linear-gradient(90deg,var(--bar-hi) 0 6px,transparent 6px 22px);
  opacity: .5;
  margin: 0;
}

/* ============================================================
LANDING
============================================================ */
.hub {
  min-height: 100vh;
  padding: clamp(36px,7vw,80px) var(--pad) 72px;
}

.hub__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hub__head {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 56px;
}

@media(min-width:820px) {
  .hub__head {
    grid-template-columns: 132px minmax(0,1fr);
    gap: 40px;
  }
}

.hub__logo {
  width: 132px;
  background: #fff;
  padding: 14px;
  border-radius: 4px;
}

.hub__note {
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--light);
  font-weight: 700;
  margin-bottom: 14px;
}

.hub h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(38px,6.2vw,66px);
  line-height: 1.03;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.018em;
  margin-bottom: 22px;
  max-width: 16ch;
}

.hub__lede {
  color: rgba(255,255,255,.9);
  max-width: 60ch;
  font-size: clamp(17px,2vw,20px);
}

.hub__lede + .hub__lede {
  margin-top: 16px;
}

.hub__lede b {
  color: var(--light);
  font-weight: 700;
}

.decks {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0,1fr);
}

@media(min-width:760px) {
  .decks {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

.deck {
  display: flex;
  flex-direction: column;
  text-align: left;
  font: inherit;
  background: var(--paper);
  border: 0;
  border-top: 9px solid var(--blue);
  padding: 26px 24px 24px;
  cursor: pointer;
  color: var(--ink);
}

.deck:nth-child(2) {
  border-top-color: var(--red);
}

.deck:nth-child(3) {
  border-top-color: var(--bar);
}

.deck:hover {
  background: #fff;
}

.deck__aud {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.deck:nth-child(2) .deck__aud {
  color: var(--red-deep);
}

.deck:nth-child(3) .deck__aud {
  color: #5b5c63;
}

.deck h2 {
  font-family: var(--grot);
  font-size: 27px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.deck__job {
  font-size: 15.5px;
  color: var(--ink-2);
  margin-bottom: 18px;
  flex-grow: 0;
}

.deck__list {
  list-style: none;
  font-size: 14.5px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.deck__list li {
  padding: 7px 0 7px 20px;
  position: relative;
  border-top: 1px solid var(--rule);
}

.deck__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 9px;
  height: 3px;
  background: var(--gold-deep);
}

.deck__go {
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 3px;
}

.deck:hover .deck__go {
  background: var(--blue);
}

.hub__foot {
  margin-top: 52px;
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
  max-width: 70ch;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 22px;
}

/* ============================================================
SHARED PIECES
============================================================ */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.narrow {
  max-width: var(--measure);
}

.sec {
  padding: clamp(48px,7vw,88px) 0;
}

.slot {
  background: rgba(0,0,0,.055);
  border-bottom: 2px dotted var(--gold-deep);
  color: inherit;
  font-weight: 600;
  font-style: italic;
  padding: 0 4px;
}

.motif .slot,.sitefoot .slot,#b .rights .slot,#b .signup .slot {
  background: rgba(255,255,255,.16);
  border-bottom-color: var(--light);
}

#a .ask .slot {
  background: rgba(0,36,107,.12);
  border-bottom-color: var(--navy);
}

.brandbar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brandbar img {
  width: 52px;
  background: #fff;
  padding: 5px;
  border-radius: 3px;
}

.brandbar span {
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.sitefoot {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding: 34px 0;
  font-size: 13.5px;
}

.sitefoot .wrap {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ============================================================
POSTURE A — THE CASE (funders)
============================================================ */
#a {
  font-size: 17.5px;
}

#a .topnav {
  background: var(--navy);
  color: #fff;
  padding: 18px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

#a .topnav nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
}

#a .topnav a {
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

#a .topnav a:hover {
  border-bottom-color: var(--light);
}

#a .hero {
  padding: clamp(56px,9vw,116px) 0 clamp(52px,8vw,104px);
  color: #fff;
}

#a .hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(34px,5.6vw,60px);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 19ch;
  margin-bottom: 28px;
}

#a .hero p {
  max-width: 56ch;
  font-size: clamp(17px,2.1vw,20.5px);
  color: rgba(255,255,255,.92);
}

#a .quote {
  margin-top: 36px;
  padding-left: 22px;
  border-left: 4px solid var(--olive);
  max-width: 52ch;
}

#a .quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}

#a .quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14px;
  color: var(--light);
  font-weight: 700;
}

#a .problem {
  background: var(--paper);
}

#a .problem h2,#a .work h2,#a .ask h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px,4vw,42px);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin-bottom: 24px;
  max-width: 20ch;
}

#a .problem p {
  max-width: var(--measure);
  font-size: 19px;
  line-height: 1.68;
  margin-bottom: 18px;
}

#a .figures {
  display: grid;
  gap: 1px;
  background: var(--rule);
  margin-top: 44px;
  grid-template-columns: minmax(0,1fr);
}

@media(min-width:700px) {
  #a .figures {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

#a .fig {
  background: var(--paper);
  padding: 26px 22px;
}

#a .fig dt {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

#a .fig dd {
  font-size: 15px;
  color: var(--ink-2);
}

#a .work {
  background: var(--navy);
  color: #fff;
}

#a .work h2 {
  color: #fff;
}

#a .work .grid {
  display: grid;
  gap: 34px;
  margin-top: 36px;
  grid-template-columns: minmax(0,1fr);
}

@media(min-width:760px) {
  #a .work .grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

#a .work h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--light);
  margin-bottom: 12px;
  padding-top: 14px;
  border-top: 3px solid var(--olive);
}

#a .work p {
  color: rgba(255,255,255,.88);
  font-size: 16px;
}

#a .ask {
  background: var(--light);
  color: var(--ink);
}

#a .ask p {
  max-width: 56ch;
  font-size: 19px;
  margin-bottom: 28px;
}

#a .ask .btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 17px 34px;
  border-radius: 3px;
}

#a .ask .btn:hover {
  background: var(--ink);
}

/* ============================================================
POSTURE B — JOIN THE WORK (volunteers / advocates)
============================================================ */
#b {
  font-size: 17px;
}

#b .topnav {
  background: var(--ink);
  color: #fff;
  padding: 16px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#b .topnav .cta {
  background: var(--red-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 2px;
}

#b .topnav .cta:hover {
  background: #a8221c;
}

#b .hero {
  color: #fff;
  padding: clamp(52px,8vw,104px) 0;
}

#b .hero h1 {
  font-family: var(--grot);
  font-weight: 800;
  font-size: clamp(40px,8.4vw,86px);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 13ch;
  margin-bottom: 26px;
}

#b .hero h1 span {
  color: var(--light);
  display: block;
}

#b .hero p {
  max-width: 50ch;
  font-size: clamp(17px,2.2vw,21px);
  color: rgba(255,255,255,.92);
  margin-bottom: 34px;
}

#b .hero .row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

#b .btn-a {
  background: var(--red-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  padding: 17px 32px;
  border-radius: 2px;
}

#b .btn-a:hover {
  background: #a8221c;
}

#b .btn-b {
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  padding: 15px 30px;
  border: 3px solid #fff;
  border-radius: 2px;
}

#b .btn-b:hover {
  background: #fff;
  color: var(--ink);
}

#b .ways {
  background: var(--paper);
}

#b .ways h2 {
  font-family: var(--grot);
  font-weight: 800;
  font-size: clamp(28px,4.6vw,46px);
  letter-spacing: -.028em;
  line-height: 1.06;
  margin-bottom: 36px;
  max-width: 17ch;
}

#b .waygrid {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--ink);
}

#b .way {
  display: grid;
  gap: 6px 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  grid-template-columns: minmax(0,1fr);
}

@media(min-width:780px) {
  #b .way {
    grid-template-columns: minmax(0,7fr) minmax(0,11fr) auto;
    align-items: baseline;
  }
}

#b .way h3 {
  font-family: var(--grot);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1.15;
}

#b .way p {
  color: var(--ink-2);
  font-size: 16.5px;
}

#b .way .time {
  font-size: 14px;
  font-weight: 700;
  color: var(--red-deep);
  white-space: nowrap;
}

#b .rights {
  background: var(--ink);
  color: #fff;
}

#b .rights h2 {
  font-family: var(--grot);
  font-weight: 800;
  line-height: 1.06;
  font-size: clamp(26px,4vw,40px);
  letter-spacing: -.025em;
  margin-bottom: 20px;
  max-width: 20ch;
}

#b .rights p {
  max-width: 58ch;
  font-size: 18px;
  color: rgba(255,255,255,.86);
  margin-bottom: 16px;
}

#b .rights .pull {
  font-family: var(--grot);
  font-weight: 800;
  color: var(--light);
  font-size: clamp(22px,3.4vw,32px);
  line-height: 1.2;
  letter-spacing: -.02em;
  max-width: 22ch;
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 3px solid var(--olive);
}

#b .signup {
  background: var(--red-deep);
  color: #fff;
}

#b .signup h2 {
  font-family: var(--grot);
  font-weight: 800;
  font-size: clamp(30px,5.4vw,54px);
  letter-spacing: -.03em;
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 16ch;
}

#b .signup p {
  max-width: 52ch;
  font-size: 19px;
  margin-bottom: 30px;
}

#b .signup .btn {
  display: inline-block;
  background: #fff;
  color: var(--red-deep);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  padding: 18px 36px;
  border-radius: 2px;
}

#b .signup .btn:hover {
  background: var(--ink);
  color: #fff;
}

/* ============================================================
POSTURE C — PROGRAM & PARTNERSHIP (facilities / KDOC)
============================================================ */
#c {
  font-size: 16.5px;
}

#c .topnav {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 16px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

#c .topnav nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}

#c .topnav a {
  text-decoration: none;
  color: var(--ink-2);
}

#c .topnav a:hover {
  color: var(--blue);
}

#c .hero {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: clamp(44px,6vw,76px) 0;
}

#c .hero .kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

#c .hero h1 {
  font-size: clamp(30px,4.6vw,46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.022em;
  max-width: 22ch;
  margin-bottom: 20px;
}

#c .hero p {
  max-width: var(--measure);
  font-size: 18px;
  color: var(--ink-2);
}

#c h2 {
  font-size: clamp(23px,3.1vw,31px);
  font-weight: 800;
  letter-spacing: -.018em;
  margin-bottom: 8px;
}

#c .sub {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 60ch;
}

#c .modules {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  grid-template-columns: minmax(0,1fr);
}

@media(min-width:720px) {
  #c .modules {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

#c .mod {
  background: #fff;
  padding: 24px 22px;
}

#c .mod .n {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .05em;
  margin-bottom: 10px;
}

#c .mod h3 {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 9px;
  letter-spacing: -.01em;
}

#c .mod p {
  font-size: 15.5px;
  color: var(--ink-2);
}

#c .specs {
  background: #fff;
}

#c table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

#c caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#c th,#c td {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

#c th {
  width: 40%;
  font-weight: 700;
  color: var(--ink);
}

#c td {
  color: var(--ink-2);
}

@media(max-width:620px) {
  #c th,#c td {
    display: block;
    width: 100%;
    padding: 0 0 4px;
  }
  #c th {
    border-bottom: 0;
    padding-top: 16px;
  }
  #c td {
    padding-bottom: 16px;
  }
}

#c .contact {
  background: var(--navy);
  color: #fff;
}

#c .contact h2 {
  color: #fff;
}

#c .contact .cols {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0,1fr);
}

@media(min-width:760px) {
  #c .contact .cols {
    grid-template-columns: minmax(0,3fr) minmax(0,2fr);
  }
}

#c .contact p {
  color: rgba(255,255,255,.88);
  max-width: 52ch;
  margin-bottom: 24px;
  font-size: 17px;
}

#c .contact .btn {
  display: inline-block;
  background: var(--light);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: 3px;
}

#c .contact .btn:hover {
  background: #fff;
}

#c .contact .box {
  border-left: 3px solid var(--olive);
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255,255,255,.9);
}

#c .contact .box strong {
  color: var(--light);
  display: block;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 14px;
}

#c .contact .box strong:first-child {
  margin-top: 0;
}

/* WordPress site layout */
body {
  background: var(--navy);
}

.site-header {
  position: relative;
  z-index: 30;
  background: var(--navy);
  color: #fff;
  padding: 15px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.12;
}

.site-header .custom-logo {
  width: auto;
  max-width: 150px;
  max-height: 78px;
  object-fit: contain;
}

.site-header__brand span {
  max-width: 190px;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.site-menu li {
  list-style: none;
}

.site-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.site-menu a:hover,.site-menu a:focus-visible {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  padding: 9px 11px;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  align-items: center;
  gap: 8px;
}

.menu-toggle__bars {
  width: 20px;
  display: grid;
  gap: 4px;
}

.menu-toggle__bars i {
  height: 2px;
  background: currentColor;
  width: 100%;
}

@media(max-width:850px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    box-shadow: 0 12px 20px rgba(0,0,0,.22);
    padding: 18px var(--pad);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-menu {
    display: block;
  }
  .site-menu li {
    margin: 0;
  }
  .site-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #ffffff44;
  }
}

.hub {
  min-height: calc(100vh - 100px);
}

.hub__head {
  display: grid;
  grid-template-columns: 132px minmax(0,1fr);
  gap: 40px;
  align-items: start;
}

.hub__head h1 {
  max-width: 20ch;
}

.hub__logo-frame {
  width: 132px;
  background: #fff;
  padding: 14px;
  border-radius: 4px;
}

.hub__logo-frame .hub__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  background: none;
  border-radius: 0;
  object-fit: contain;
}

.hub__logo-placeholder {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.home .site-header {
  justify-content: flex-end;
}

.home .site-header__brand {
  display: none;
}

.deck {
  text-decoration: none;
  transition: transform .15s,background .15s;
}

.deck:hover {
  transform: translateY(-3px);
}

.hub__foot {
  margin-top: 48px;
}

.page-shell {
  min-height: 65vh;
  background: var(--paper);
  padding: 70px var(--pad);
}

.page-shell__inner {
  max-width: 1120px;
  margin: auto;
}

.page-shell h1 {
  font: 600 clamp(34px,5vw,60px)/1.12 var(--serif);
  margin-bottom: 24px;
}

.page-shell p {
  margin-bottom: 1em;
}

.page-shell a {
  color: var(--navy);
}

.sitefoot {
  background: var(--ink);
}

#a,#b,#c {
  display: block;
}

#a .topnav,#b .topnav,#c .topnav {
  display: none;
}

#c {
  background: var(--paper);
}

#a .hero,#b .hero {
  min-height: 380px;
}

@media(max-width:760px) {
  .hub__head {
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
  }
  .hub__logo-frame {
    width: 132px;
  }
}

@media(max-width:650px) {
  .hub {
    padding-top: 48px;
  }
  .deck {
    padding: 22px;
  }
  .site-header .custom-logo {
    max-width: 108px;
    max-height: 64px;
  }
}

/* The front page logo lives in the introduction; no empty header if its menu is hidden. */
.home .site-header--no-menu {
  display: none;
}

/* Front page 1.3: sunlight, larger logo and compact horizontal navigation tiles. */
:root {
  --grot: 'Franklin Gothic Medium','Franklin Gothic',Arial,sans-serif;
  --sans: 'Franklin Gothic Medium','Franklin Gothic',Arial,sans-serif;
}

.hub.motif {
  background: var(--navy);
}

.hub.motif::after {
  background: linear-gradient(100deg,rgba(0,25,70,.28),rgba(0,25,70,.08) 48%,transparent 90%);
}

.hub .motif__shaft {
  left: -5%;
  width: 43%;
  background: linear-gradient(170deg,rgba(255,227,113,.97),rgba(239,196,61,.82) 42%,rgba(239,196,61,.28) 75%,transparent);
  mix-blend-mode: screen;
}

.hub .motif__bars {
  opacity: .68;
}

.hub {
  padding-top: clamp(42px,6vw,80px);
}

.hub__head {
  grid-template-columns: clamp(160px,19vw,240px) minmax(0,1fr);
  gap: clamp(28px,4vw,56px);
  align-items: center;
  margin-bottom: clamp(36px,5vw,60px);
}

.hub__logo-frame {
  width: 100%;
  max-width: 240px;
  padding: 16px;
}

.hub__logo-frame .hub__logo {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
}

.hub h1 {
  font-family: var(--grot);
  font-weight: 700;
  font-size: clamp(42px,6.3vw,80px);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 16ch;
  margin: 0;
}

.hub .decks {
  gap: 18px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.hub .deck {
  padding: 18px 20px;
  min-height: 132px;
  border: 3px solid #6f9df4;
  background: rgba(252,253,252,.97);
  justify-content: center;
}

.hub .deck:nth-child(2) {
  border-color: var(--red);
}

.hub .deck:nth-child(3) {
  border-color: var(--gold);
}

.hub .deck__aud {
  font-size: 12px;
  margin-bottom: 3px;
}

.hub .deck h2 {
  font-size: clamp(20px,2.2vw,28px);
  margin-bottom: 4px;
  font-family: var(--grot);
}

.hub .deck__job {
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.hub .deck:hover {
  background: #fff;
  transform: translateY(-3px);
}

.hub__body {
  color: #fff;
  margin-top: clamp(42px,6vw,72px);
  max-width: 830px;
  padding: 0 0 20px;
}

.hub__body h2 {
  font: 700 clamp(25px,3vw,36px)/1.2 var(--grot);
  color: var(--gold);
  margin-bottom: 16px;
}

.hub__body>p {
  font-size: clamp(17px,2vw,20px);
  line-height: 1.62;
  max-width: 68ch;
}

.hub__quote {
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  margin-top: 28px;
  max-width: 65ch;
}

.hub__quote p {
  font-family: var(--serif);
  font-size: clamp(18px,2.2vw,23px);
  line-height: 1.5;
  font-style: italic;
}

.hub__quote cite {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

@media(max-width:760px) {
  .hub__head {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
  }
  .hub__logo-frame {
    width: 180px;
  }
  .hub .decks {
    grid-template-columns: minmax(0,1fr);
  }
  .hub .deck {
    min-height: 0;
    padding: 16px 19px;
  }
}
