@font-face {
  font-family: "Sequel Sans Head";
  src: url("../assets/fonts/SequelSans-BlackHead.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sequel Sans Roman";
  src: url("../assets/fonts/SequelSans-RomanHead.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sequel Sans Roman";
  src: url("../assets/fonts/SequelSans-BoldHead.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sequel Sans Body";
  src: url("../assets/fonts/SequelSans-BookBody.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sequel Sans Body";
  src: url("../assets/fonts/SequelSans-SemiBoldBody.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sequel Sans Body";
  src: url("../assets/fonts/SequelSans-BoldBody.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/BebasNeue-Regular.woff2") format("woff2"),
       url("../assets/fonts/BebasNeue-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #ffffff;
  --color-text: #131113;
  --color-muted: #5c5760;
  --color-purple: #6123b6;      /* MAPLE brand purple */
  --color-purple-dark: #47198a;
  --color-pink: #e14f8a;
  --color-blue: #2ea6e0;
  --color-black: #131113;
  --color-border: #e2dbcb;
  --color-accent-yellow: #f2eea3;
  --max-width: 1800px;
  --font-display: "Sequel Sans Head", "Arial Black", var(--font-base);
  --font-base: "Sequel Sans Body", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-condensed: "Bebas Neue", "Archivo Narrow", var(--font-base);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

.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;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, calc(20px + (100vw - 375px) * 0.0873), 113px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.logo img {
  height: 28px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions .social-icons {
  display: flex;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-purple);
  transition: right 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-links a.active {
  color: var(--color-purple);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--color-purple);
  color: #fff;
  border: 1px solid var(--color-purple);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--color-purple-dark);
  border-color: var(--color-purple-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-accent-yellow);
  color: var(--color-black);
  border-color: var(--color-accent-yellow);
}

.btn-light {
  background: #fff;
  color: var(--color-black);
  border-color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-light svg {
  width: 14px;
  height: 14px;
}

.btn-light:hover {
  background: var(--color-purple);
  color: #fff;
  border-color: var(--color-purple);
}

/* Hero */
.hero {
  padding: 88px 0 64px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 160px;
  margin-bottom: 8px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-taglines {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 96px;
  border-top: 1px solid var(--color-border);
}

.hero-taglines p {
  max-width: 34ch;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-muted);
  margin: 0;
}

.hero-cta {
  margin-top: 36px;
}

/* Homepage hero */
.hero:has(.hero-taglines-static) {
  padding: 32px 0 0;
}

.hero-marquee-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 170px;
}

.hero-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

.hero-marquee span {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 100vw;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-taglines-static {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 1px solid var(--color-border);
}

.hero-taglines-static p {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-muted);
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero-taglines-static {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee {
    animation: none;
  }
}

/* Program / work section */
.section-program {
  background: var(--color-black);
  color: #fff;
  padding: 0;
}

/* Program slider */
.program-slider {
  position: relative;
  overflow: hidden;
}

.program-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.program-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.program-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 65%);
}

.program-slide-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  max-width: 560px;
  color: #fff;
}

.program-slide-logo {
  max-width: 400px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 32px;
}

.program-slide-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.4rem;
  line-height: 1;
  margin: 0 0 28px;
}

.program-slide-content p {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.92);
}

/* "Blank photo" program slides — light background, dark logo + copy */
.program-slide-blank {
  background: #ececec;
}

.program-slide-blank::before {
  display: none;
}

.program-slide-blank .program-slide-content {
  color: var(--color-text);
}

.program-slide-blank .program-slide-content p {
  color: var(--color-muted);
}

.program-slide-blank .btn-outline {
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.4);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  font-size: 1.1rem;
  transition: background 0.15s ease;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.slider-dots button.active {
  background: #fff;
}

/* Generic section */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 40px;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0;
}

.eyebrow-sequel {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--color-text);
  margin-bottom: 48px;
}

.section h2 {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 16px;
}

.section-lead {
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0 0 48px;
}

.see-all {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.see-all:hover {
  color: var(--color-purple);
}

.see-all-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.see-all:hover .see-all-arrow {
  transform: translateX(4px);
}

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-card .thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-blue) 100%);
  margin-bottom: 20px;
}

.article-card .thumb.alt1 { background: linear-gradient(135deg, var(--color-pink), var(--color-purple)); }
.article-card .thumb.alt2 { background: linear-gradient(135deg, var(--color-blue), var(--color-pink)); }

.article-card .thumb.thumb-img {
  overflow: hidden;
  background: var(--color-border);
}

.article-card .thumb.thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card a {
  display: block;
  color: inherit;
}

.article-card .meta {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-size: 0.65rem;
  color: var(--color-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}

.article-card h3 {
  margin: 0;
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.article-card a:hover h3 {
  color: var(--color-purple);
}

/* Article detail page */
.article-breadcrumb {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.article-breadcrumb:hover {
  color: var(--color-purple);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}

/* Social share bar (built by js/main.js on article detail pages) */
.article-share {
  max-width: 72ch;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.article-share-label {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-right: 4px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.share-btn:hover {
  background: var(--color-purple);
  color: #fff;
  border-color: var(--color-purple);
}

.share-btn.copied {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
}

/* Article listing pagination (client-side, js/main.js) */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.pagination:empty {
  display: none;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--color-purple);
  color: var(--color-purple);
}

.pagination button.active {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

.article-meta-row {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 24px 0 20px;
}

.article-headline {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 40px;
}

.article-hero-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 10px;
}

.article-caption {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 40px;
}

.article-body {
  max-width: 72ch;
  margin: 0 auto;
  padding-bottom: 24px;
}

.article-body p {
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.article-body .placeholder-note {
  font-style: italic;
  color: var(--color-muted);
  border-left: 3px solid var(--color-border);
  padding-left: 16px;
}

/* Markdown-generated content (CMS article bodies) */
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  line-height: 1.25;
  margin: 40px 0 16px;
}

.article-body h2 { font-size: 1.6rem; }
.article-body h3 { font-size: 1.3rem; }
.article-body h4 { font-size: 1.1rem; }

.article-body blockquote {
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--color-border);
  font-style: italic;
  color: var(--color-muted);
}

.article-body blockquote p {
  margin: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
  font-size: 1.05rem;
}

.article-body li {
  margin: 0 0 8px;
}

.article-body a {
  color: var(--color-purple);
  text-decoration: underline;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 8px 0 24px;
}

/* Collaboration / services cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--color-bg-alt);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.card-dark {
  background: var(--color-black);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.card-dark h3 {
  font-family: "Sequel Sans Roman", var(--font-base);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin: 0 0 20px;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.75);
  flex: 1;
  margin: 0 0 28px;
}

.card-dark .btn-light {
  align-self: flex-start;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg-alt);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.contact-info p {
  color: var(--color-muted);
  margin: 0 0 28px;
}

.contact-info a {
  font-weight: 600;
  color: var(--color-purple);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Values / about grid */
.value-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-purple);
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 0 32px;
}

.footer-badge-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 56px;
}

.footer-badge {
  position: relative;
  width: 180px;
  height: 180px;
}

.footer-badge .badge-ring {
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
}

.footer-badge .badge-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}

.footer-bottom a {
  font-weight: 600;
}

.footer-bottom a.footer-address {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a.footer-address:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.header-minimal .social-icons {
  gap: 6px;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.social-icons a:hover {
  background: var(--color-purple);
}

.social-icons a img {
  width: 15px;
  height: 15px;
}

/* Responsive */
@media (max-width: 860px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-2000px);
    transition: transform 0.25s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    border-top: 1px solid var(--color-border);
  }

  .nav-links a {
    display: block;
    padding: 18px 24px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .program-slide {
    min-height: 460px;
  }

  .program-slide-content {
    max-width: 100%;
    padding: 0 6vw;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-taglines {
    flex-direction: column;
    gap: 16px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Shrink the taglines so all 3 forced rows fit within the phone width */
  .hero-taglines-static p {
    font-size: 0.72rem;
  }

  .program-slide {
    min-height: 420px;
  }

  .program-slide-content {
    padding: 0 56px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .slider-arrow.prev {
    left: 12px;
  }

  .slider-arrow.next {
    right: 12px;
  }
}

@media (max-width: 620px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  /* On phones: full-bleed image (no black area), cropped to a tall frame with
     a bottom gradient behind the overlaid copy. */
  .program-slide {
    align-items: flex-end;
    min-height: 460px;
    background-size: cover;
    background-position: center;
  }

  .program-slide::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0) 70%);
  }

  .program-slide-content {
    padding: 0 24px 56px;
    color: #fff;
  }

  .program-slide-content p {
    font-size: 0.7rem;
  }

  .program-slide-logo {
    max-height: 44px;
    margin-bottom: 16px;
  }

  /* Keep the arrows working on phones, vertically centered over the image */
  .slider-arrow {
    display: flex;
    width: 34px;
    height: 34px;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }
}

@media (max-width: 400px) {
  .hero-taglines-static p {
    font-size: 0.62rem;
  }
}
