:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-alt: #f0ede6;
  --text: #1f2430;
  --muted: #5d6470;
  --line: #ddd6c8;

  --accent: #1d3557;
  --accent-2: #f59e0b;

  --max: 1180px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  --nav-height: 88px;
  --nav-height-mobile: 78px;
  --social-height: 42px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* TOP BANNER */

.top-banner {
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.top-banner .container {
  padding: 0.7rem 0;
}

.top-banner p {
  margin: 0;
}

/* HEADER */

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  position: static;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: auto;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-tagline {
  margin-top: 0.25rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  white-space: normal;
  text-wrap: balance;
  /* modern browsers */

}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--muted);
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* MENU BUTTON */

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-toggle:hover {
  border-color: var(--accent);
  text-decoration: underline;
}

.menu-label {
  font-size: 0.92rem;
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

/* OVERLAY */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  z-index: 900;
}

/* SIDE MENU */

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  /* width: 50%; */
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  /* overflow-y: auto; */
  z-index: 1000;
}

.side-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
}

.side-menu-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.side-menu-brand {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0 1rem 1rem;
  /* no right padding */
  border-bottom: 1px solid var(--line);
}

.side-menu-brand-text {
  min-width: 0;
}

.side-menu-brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-menu-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.65rem;
  line-height: 1.2;
  color: var(--accent-2);
  text-transform: uppercase;
  max-width: 25ch;
}

.side-menu-bottom {
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.side-menu-bottom p {
  margin: 0 0 0.4rem;
}

.side-menu-small {
  font-size: 0.8rem;
}

.side-menu-top {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 0.75rem;
}

.side-menu-close {
  display: inline-flex;
  /* 🔥 ensures proper alignment */
  align-items: center;
  gap: 0.35rem;

  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  margin-right: 1rem;
  /* controlled spacing */

  background: var(--surface);
  color: var(--text);

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;

  cursor: pointer;

  justify-self: end;
  white-space: nowrap;
  flex-shrink: 0;
}

.side-menu-close:hover {
  text-decoration: underline;
}

.side-menu-close span {
  margin-left: 0.25rem;
  font-size: 1rem;
}

.side-menu-search {
  padding: 0 1rem 1rem;
}

.side-menu-search form {
  display: grid;
  grid-template-columns: 1fr auto;
}

.side-menu-search input {
  height: 42px;
  min-width: 0;
  border: 1px solid var(--line);
  border-right: 0;
  padding: 0 0.75rem;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.side-menu-search button {
  height: 42px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.side-menu-section {
  margin-top: 0.25rem;
}

.side-menu-section h2 {
  background-color: var(--accent);
  margin: 0;
  padding: 0.8rem 1rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  border-top: 1px solid var(--line);
}

.side-menu-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-menu-section a {
  display: block;
  padding: 0.72rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.side-menu-section a:hover {
  background: var(--surface-alt);
  color: var(--text);
  text-decoration: underline;
}

/* MAIN */

main {
  width: 100%;
  flex: 1;
}

main>.section:only-child {
  padding-block: clamp(1.25rem, 3vh, 2.25rem);
}

/* CANDIDATE CARD */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 760px) {
  .candidate-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    align-items: start;
  }

  /* .candidate-card:nth-child(even) {
    margin-top: 2.5rem;
  } */

  .candidate-card:nth-child(odd) {
    transform: translateY(0);
  }

  .candidate-card:nth-child(even) {
    transform: translateY(2.5rem);
  }
}

.candidate-info {
  align-items: flex-start;
  text-align: left;
  padding: 1.25rem;
}

.candidate-card:hover {
  /* transform: translateY(-2px); */
  /* transform: translateY(2rem); */
  border-color: var(--accent);
}

.candidate-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.candidate-photo-wrap {
  position: relative;
  width: 140px;
  height: 100%;
  min-height: 180px;
  /* background: var(--surface-alt); */
  background:
    radial-gradient(circle, rgba(29, 53, 87, 0.06), transparent 65%),
    var(--surface-alt);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.candidate-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--surface-alt);
}

.candidate-photo.svg-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.candidate-photo.svg-placeholder svg {
  /* width: 60px;
  height: 60px; */
  height: auto;
  opacity: 0.06;
}

.candidate-number {
  position: absolute;
  top: 0;
  left: 0;

  min-width: 34px;
  height: 34px;
  padding: 0 0.45rem;

  display: grid;
  place-items: center;

  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;

  opacity: 0.9;

  border-bottom-right-radius: 10px;
}

.candidate-info h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.candidate-title {
  margin: 0.5rem 0 0;
  color: var(--accent);
  /*#2f402b; */
  font-size: 1.05rem;
}

.candidate-meta {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .candidate-card {
    grid-template-columns: 92px 1fr;
    padding: 0;
  }

  .candidate-photo-wrap {
    width: 140px;
    min-height: 140px;
  }

  .candidate-number {
    min-width: 28px;
    height: 28px;
    font-size: 0.78rem;
    border-bottom-right-radius: 8px;
  }

  .candidate-info {
    padding: 0.9rem;
  }
}

.candidate-title,
.candidate-meta {
  font-size: 0.85rem;
}

/* HERO */

.hero-image {
  position: relative;
  min-height: 61vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(135deg, var(--accent) 0%, #253f66 55%, #14243a 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 23, 42, 0.72) 0%,
      rgba(15, 23, 42, 0.5) 40%,
      rgba(15, 23, 42, 0.24) 100%);
}

.hero-no-image .hero-overlay {
  background: linear-gradient(135deg,
      rgba(29, 53, 87, 0.92) 0%,
      rgba(29, 53, 87, 0.82) 62%,
      rgba(245, 158, 11, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-copy {
  max-width: 860px;
  color: #fff;
}

.hero-copy h1 {
  max-width: 13ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  /* letter-spacing: 0em; */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-eyebrow {
  color: var(--accent-2);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.40);
}

.hero-copy .hero-lead {
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* TYPOGRAPHY */

.lead {
  text-align: center;
  /* max-width: 60ch; */
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: underline;
  background: color-mix(in srgb, var(--accent-2) 90%, transparent);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: transparent;
  /* background-color: var(--muted); */
  color: var(--text);
}

.btn-secondary-light {
  border-color: rgba(255, 255, 255, 0.7);
  /* background: rgba(255, 255, 255, 0.08); */
  background: color-mix(in srgb, var(--muted) 60%, transparent);
  color: #fff;
}

.btn-secondary-light:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-2) 100%, transparent);
  /* background: rgba(255, 255, 255, 0.14); */
  background: color-mix(in srgb, var(--accent-2) 90%, transparent);
  text-decoration: underline;
}

/* SECTIONS */

.section {
  padding-block: clamp(1.5rem, 4vh, 3rem);
}

.section-alt {
  background: var(--surface-alt);
}

.section-heading,
.page-header {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.page-header {
  margin-bottom: 2rem;
}

.section-heading h2,
.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* CARDS / LISTS */

.card-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card,
.news-card,
.list-card {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3,
.news-card h3,
.list-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.list-card h2:hover {
  text-decoration: underline;
  color: var(--accent);
}

.news-date {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.stack {
  display: grid;
  max-width: 760px;
  margin-inline: auto;
  gap: 0.5rem;
}


/* Call To Action (CTA) */

.cta {
  padding: 4rem 0 5rem;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* FIGURES */
.figure-center {
  text-align: center;
}

.figure-center img {
  display: block;
  margin-inline: auto;
}

.figure-small img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.figure-medium img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.figure-large img {
  max-width: 500px;
  width: 100%;
  height: auto;
}

/* SOCIAL BAR */

.social-bar {
  position: static;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  z-index: auto;
}

.social-bar-inner {
  min-height: var(--social-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.social-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 900;
}

.social-icon,
.social-icon svg,
.social-icon-img {
  width: 17px;
  height: 17px;
  display: block;
}

.social-icon svg {
  fill: currentColor;
}

.social-icon-img {
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.social-icon-text {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
}

/* Individual control */

.social-link-facebook {
  color: #1877f2;
}

.social-link-instagram {
  color: #e4405f;
}

.social-link-linkedin {
  color: #0a66c2;
}

.social-link-x {
  color: #111111;
}

.social-link-youtube {
  color: #ff0000;
}

.social-link-tiktok {
  color: #000000;
}

/* Individual hover examples */

.social-link-facebook:hover {
  background: var(--accent);
  color: #fff;
}

.social-link-instagram:hover {
  background: var(--accent);
  color: #fff;
}

.social-link-linkedin:hover {
  background: var(--accent);
  color: #fff;
}

.social-link-x:hover {
  background: var(--accent);
  color: #fff;
}

.social-link-youtube:hover {
  background: var(--accent);
  color: #fff;
}

.social-link-tiktok:hover {
  background: var(--accent);
  color: #fff;
}

.social-link-threads:hover {
  background: var(--accent);
  color: #fff;
}

/* CONTENT */
.content-logo {
  max-width: 220px;
  height: auto;
  margin: 1rem 0;
}

.content-logo.center {
  display: block;
  margin: 1rem auto;
}

.content-narrow {
  max-width: 760px;
  margin-inline: auto;
}

.content-body p,
.content-body li {
  color: #2f402b;
}

.content-body h2,
.content-body h3 {
  margin-top: 2rem;
}


.content-body ul.social_list.li:hover {
  text-decoration: underline;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: auto;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  padding-block: clamp(1rem, 3vh, 2rem);
  align-items: start;
}

.footer-brand strong {
  display: block;
  font-size: 1rem;
}

.footer-brand,
.footer-contact {
  max-width: 32ch;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-nav a {
  font-weight: 600;
  color: var(--muted);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-contact p {
  margin: 0.2rem 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.footer-bottom p {
  margin: 0;
  padding-block: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* RESPONSIVE */

/* DESKTOP */
@media (min-width: 1121px) {
  .social-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
}

/* MID */
@media (min-width: 901px) and (max-width: 1120px) {
  .nav-wrap {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo menu"
      "nav nav";
    gap: 0.75rem 1rem;
    padding-block: 0.75rem;
  }

  .logo {
    grid-area: logo;
    max-width: none;
  }

  .nav-actions {
    display: contents;
  }

  .menu-toggle {
    grid-area: menu;
    align-self: center;
    justify-self: end;
    height: 44px;
    padding: 0 0.8rem;
  }

  .nav-desktop {
    position: relative;
    grid-area: nav;
    display: block;
    width: 100%;
    border-top: 0;
    padding-top: 0.6rem;
  }

  .nav-desktop::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc((100vw - 100%) / -2);
    right: calc((100vw - 100%) / -2);
    height: 1px;
    background: var(--line);
  }

  .nav-desktop ul {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .logo-img {
    height: 60px;
  }

  .logo-text {
    font-size: 2.5rem;
  }

  .logo-tagline {
    font-size: 0.84rem;
  }

  .menu-label {
    font-size: 0.86rem;
  }

  .side-menu {
    width: 50%;
  }

  .card-grid,
  .news-grid,
  .cta-box,
  .footer-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-image {
    min-height: 40vh;
  }

  .hero-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 4.2rem);
  }

  .hero-copy .hero-lead {
    font-size: 1.05rem;
  }

  .section-heading,
  .page-header {
    text-align: left;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 1.75rem;
  }

  .footer-brand,
  .footer-contact {
    max-width: none;
  }
}

/* MOBILE */
/* Normal mobile: shrink text */
@media (max-width: 900px) {
  .nav-wrap {
    min-height: 72px;
    gap: 0.75rem;
    padding-block: 0.5rem;
  }

  .nav-desktop {
    display: none;
  }

  .logo {
    max-width: calc(100% - 104px);
    /* max-width: calc(100% - 92px); */
    gap: 0.55rem;
  }

  .logo-img {
    height: 55px;
  }

  .logo-text-wrap {
    min-width: 0;
  }

  .logo-text {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    line-height: 1.05;

    white-space: normal;
    /* 🔥 allow wrapping */
    overflow: visible;
    text-overflow: unset;

    word-break: keep-all;
  }

  .logo-tagline {
    /* font-size: clamp(0.52rem, 2.4vw, 0.68rem); */
    font-size: 0.6rem;
    line-height: 1.15;

    max-width: 40ch;
    /* 🔥 prevents ugly breaks */
    white-space: normal;

    letter-spacing: 0.03em;
  }

  .menu-toggle {
    height: 42px;
    padding: 0 0.75rem;
    flex-shrink: 0;
  }

  .menu-label {
    font-size: 0.86rem;
  }

  .social-bar-inner {
    min-height: 44px;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .social-label {
    font-size: 0.72rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .side-menu {
    width: min(51%, 92vw);
  }

  .hero-image {
    min-height: 58vh;
  }

  .hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .hero-copy .hero-lead {
    font-size: 1rem;
    max-width: 32ch;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .btn {
    min-height: 44px;
    padding: 0 0.95rem;
    font-size: 0.95rem;
  }

  .card-grid,
  .news-grid,
  .cta-box,
  .footer-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading,
  .page-header {
    text-align: left;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 1.75rem;
  }

  .footer-brand,
  .footer-contact {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .candidate-card {
    grid-template-columns: 1fr;
  }

  .candidate-photo-wrap {
    display: none;
  }
}

/* Very small phones */
@media (max-width: 430px) {
  .logo-tagline {
    display: block;
  }

  .side-menu-brand p {
    width: 25ch;
  }

  .side-menu {
    width: 100%;
  }
}

/* Tiny phones / cramped mode: logo only */
@media (max-width: 360px) {
  .side-menu {
    width: 100%;
  }

  .side-menu-brand .logo-text-wrap,
  .side-menu-brand strong,
  .side-menu-brand p {
    display: none;
  }

  .side-menu-brand {
    justify-content: flex-start;
  }

  .logo-text-wrap {
    display: none;
  }

  .logo {
    max-width: none;
  }

  .logo-img {
    height: 48px;
  }
}