/* =========================================================
   NATIONAL COALITION — civic editorial design system
   ========================================================= */

:root {
  --navy: #0a2540;
  --navy-deep: #071b31;
  --navy-light: #10365e;
  --red: #b22234;
  --red-bright: #c52b40;
  --red-deep: #8f1a29;
  --ink: #122033;
  --muted: #5e6876;
  --muted-light: #7b8490;
  --line: #dfe2e6;
  --line-dark: #cbd1d8;
  --mist: #f5f5f2;
  --mist-blue: #f3f6f9;
  --cream: #fbf8f2;
  --gold: #c4a25b;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 18px 54px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 32px 90px rgba(7, 27, 49, 0.18);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif-alt-1: "Merriweather", Georgia, serif;
  --font-serif-alt-2: "Libre Baskerville", Georgia, serif;
  --font-serif-alt-3: "Crimson Pro", Georgia, serif;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.nc-archive-directory-header {
  padding: clamp(44px, 6vw, 78px) 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 88% 20%, rgba(178, 34, 52, 0.08), transparent 28%), var(--mist-blue);
}

.nc-archive-directory-intro,
.nc-archive-directory-content {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.nc-archive-directory-header .nc-archive-directory-intro {
  width: min(var(--container), 100%);
}

.nc-archive-directory-intro h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
  line-height: 1.04;
}

.nc-archive-directory-intro > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.nc-archive-back-link {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.nc-archive-back-link:hover {
  color: var(--red);
}

.nc-archive-directory-content {
  padding: 48px 0 80px;
}

.nc-archive-directory-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.nc-archive-directory-heading .eyebrow {
  margin-bottom: 10px;
}

.nc-archive-directory-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.nc-archive-directory-heading > div > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.nc-archive-directory .nc-news-archive-grid {
  margin: 28px 0 0;
}

.nc-archive-directory .nc-news-archive-card {
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nc-archive-directory .nc-news-archive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.nc-archive-directory .nc-news-archive-image img {
  display: block;
  aspect-ratio: 16 / 10;
}

.nc-archive-card-action {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nc-archive-directory a:focus-visible,
.nc-archive-promo a:focus-visible,
.nc-archive-hero-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.nc-news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin: 30px 30px 64px;
}

.nc-news-category {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.nc-news-category-header {
  max-width: 820px;
  margin: 0 auto 38px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.nc-news-category-header .eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nc-news-category-header h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.nc-news-category-description {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.nc-news-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nc-news-story-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nc-news-story-image {
  display: block;
  overflow: hidden;
  background: var(--mist-blue);
  aspect-ratio: 16 / 9;
}

.nc-news-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease);
}

.nc-news-story-image:hover img {
  transform: scale(1.03);
}

.nc-news-story-body {
  padding: 20px 22px 22px;
}

.nc-news-story-date,
.nc-news-story-byline {
  margin: 0 0 10px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nc-news-story-body h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.nc-news-story-body h2 a {
  color: var(--navy);
  text-decoration: none;
}

.nc-news-story-body h2 a:hover,
.nc-news-story-readmore:hover {
  color: var(--red);
}

.nc-news-story-byline {
  color: var(--red);
  letter-spacing: 0.04em;
}

.nc-news-story-summary {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.nc-news-story-readmore {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nc-news-story-card--no-image {
  border-top: 3px solid var(--red);
}

.nc-news-subcategory-section {
  margin-top: 56px;
}

.nc-news-subcategory-section--under-title {
  margin-top: 0;
}

.nc-news-subcategory-section--under-title > h2 {
  margin-bottom: 12px;
}

.nc-news-subcategory-section--under-title .nc-news-subcategories {
  margin: 0 30px 38px;
}

.nc-news-subcategory-section > h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.8rem;
}

.nc-news-category-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.nc-news-category-pagination > p,
.com-content-category-blog__navigation > .counter {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.nc-news-category-pagination .pagination__wrapper,
.com-content-category-blog__navigation .pagination__wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nc-news-category-pagination ul.pagination,
.com-content-category-blog__navigation ul.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-news-category-pagination .page-item,
.com-content-category-blog__navigation .page-item {
  margin: 0;
}

.nc-news-category-pagination .page-link,
.com-content-category-blog__navigation .page-link {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.nc-news-category-pagination .icon-angle-double-left,
.nc-news-category-pagination .icon-angle-left,
.nc-news-category-pagination .icon-angle-right,
.nc-news-category-pagination .icon-angle-double-right,
.com-content-category-blog__navigation .icon-angle-double-left,
.com-content-category-blog__navigation .icon-angle-left,
.com-content-category-blog__navigation .icon-angle-right,
.com-content-category-blog__navigation .icon-angle-double-right {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.nc-news-category-pagination .icon-angle-double-left::before,
.com-content-category-blog__navigation .icon-angle-double-left::before {
  content: "\00ab";
}

.nc-news-category-pagination .icon-angle-left::before,
.com-content-category-blog__navigation .icon-angle-left::before {
  content: "\2039";
}

.nc-news-category-pagination .icon-angle-right::before,
.com-content-category-blog__navigation .icon-angle-right::before {
  content: "\203a";
}

.nc-news-category-pagination .icon-angle-double-right::before,
.com-content-category-blog__navigation .icon-angle-double-right::before {
  content: "\00bb";
}

.nc-news-category-pagination a.page-link:hover,
.nc-news-category-pagination a.page-link:focus-visible,
.com-content-category-blog__navigation a.page-link:hover,
.com-content-category-blog__navigation a.page-link:focus-visible {
  border-color: var(--navy);
  background: var(--mist-blue);
}

.nc-news-category-pagination .active .page-link,
.com-content-category-blog__navigation .active .page-link {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.nc-news-category-pagination .disabled .page-link,
.com-content-category-blog__navigation .disabled .page-link {
  background: var(--mist);
  color: var(--muted-light);
}

.nc-news-category-pagination a.page-link:focus-visible,
.com-content-category-blog__navigation a.page-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .nc-news-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nc-news-category {
    width: min(100% - 32px, var(--container));
    padding: 32px 0 56px;
  }

  .nc-news-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nc-news-category-pagination ul.pagination,
  .com-content-category-blog__navigation ul.pagination {
    gap: 4px;
  }

  .nc-news-category-pagination .page-link,
  .com-content-category-blog__navigation .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
  }
}

.nc-news-archive-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nc-news-archive-image {
  display: block;
  background: #f8f4e9;
}

.nc-news-archive-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.nc-news-archive-image:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.nc-news-archive-card-body {
  padding: 20px 22px;
}

.nc-news-archive-card-body > .com-content-categories__item-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nc-news-archive-card-body > .com-content-categories__item-title-wrapper .com-content-categories__item-title {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: center;
}

.nc-news-archive-card-body > .com-content-categories__item-title-wrapper a:hover {
  color: var(--red);
}

.nc-news-archive-card-body > .category-desc img[src*="Patriotic-flag-banner.jpg"] {
  display: none;
}

@media (max-width: 900px) {
  .nc-news-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nc-news-archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--red);
  color: #fff;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  display: inline-block;
  fill: currentColor;
  vertical-align: -0.14em;
}

.icon-star {
  width: 0.8em;
  height: 0.8em;
}

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 3px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgba(178, 34, 52, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.section-mist {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "★";
  font-size: 9px;
  line-height: 1;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.74);
}

.eyebrow-light::before {
  color: var(--red-bright);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.font-serif-playfair { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }
.font-serif-merriweather { font-family: "Merriweather", Georgia, serif; }
.font-serif-libre-baskerville { font-family: "Libre Baskerville", Georgia, serif; }
.font-serif-crimson-pro { font-family: "Crimson Pro", Georgia, serif; }

h2 {
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  color: var(--navy);
}

h2 em,
h1 em {
  font-weight: 400;
  color: var(--red);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.22s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn .icon {
  transition: transform 0.22s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(180deg, #15508a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  border-color: var(--navy);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -2px 8px rgba(0, 0, 0, 0.32), 0 14px 30px rgba(10, 37, 64, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #c52b40 0%, #a91e31 55%, var(--red-deep) 100%);
  border-color: var(--red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 8px rgba(0, 0, 0, 0.3), 0 18px 38px rgba(178, 34, 52, 0.34);
}

.btn-red {
  background: linear-gradient(180deg, #c52b40 0%, var(--red) 55%, var(--red-deep) 100%);
  border-color: var(--red);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 8px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(178, 34, 52, 0.28);
}

.btn-red:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #d63a4d 0%, #c52b40 55%, #b22234 100%);
  border-color: var(--red-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 8px rgba(0, 0, 0, 0.28), 0 16px 34px rgba(178, 34, 52, 0.4);
}

.btn-outline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 248, 242, 0.95));
  border-color: var(--line-dark);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.16);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--navy);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  background: var(--mist);
}

.btn-small {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 10.5px;
}

.btn-wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(10, 37, 64, 0.25);
  padding-bottom: 5px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link .icon {
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-link-light {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.text-link-light:hover {
  color: #fff;
  border-color: #fff;
}

.text-link-danger {
  color: var(--red);
  border: none;
  padding: 0;
  background: none;
  font-size: 11px;
}

/* =========================================================
   Announcement + header
   ========================================================= */

.announcement {
  position: relative;
  z-index: 60;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.84);
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announcement p,
.announcement a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement p .icon-star {
  color: var(--red-bright);
}

.announcement a {
  color: #fff;
  transition: color 0.2s ease;
}

.announcement a:hover {
  color: #f0c9ce;
}

.announcement a .icon {
  width: 15px;
  height: 15px;
}

.nc-breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: var(--mist-blue);
}

.nc-breadcrumbs .mod-breadcrumbs__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nc-breadcrumbs .mod-breadcrumbs__wrapper > a.jmodedit {
  margin: 11px 0;
}

.nc-breadcrumbs .mod-breadcrumbs {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

.nc-breadcrumbs .mod-breadcrumbs__divider {
  display: none;
}

.nc-breadcrumbs .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
  margin-inline-end: 10px;
  color: var(--line-dark);
  content: "/";
}

.nc-breadcrumbs .mod-breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
}

.nc-breadcrumbs .mod-breadcrumbs a:hover,
.nc-breadcrumbs .mod-breadcrumbs a:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 226, 230, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 12px 34px rgba(10, 37, 64, 0.08);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

@media (min-width: 901px) {
  .site-header .brand {
    transform: translateX(calc(-1 * min(40px, max(0px, (100vw - min(var(--container), 100vw - 64px)) / 2 - 16px))));
  }
}

.brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 7px;
  filter: drop-shadow(0 3px 8px rgba(10, 37, 64, 0.14));
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 34.92px; /* 36px - 3% */
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: none;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 6px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 33px 0 30px;
  color: var(--ink);
  font-size: 13.8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--red);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

/* =========================================================
   Market ticker
   ========================================================= */

.market-ticker {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
  height: 84px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 600px) {
  .market-ticker {
    width: calc(100% - 36px);
  }
}

.market-ticker-widget {
  width: 100%;
  height: 84px;
}

.market-ticker-widget iframe {
  width: 100% !important;
}

.hero-slide-count {
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

#page-home {
  overflow-x: hidden;
}

/* =========================================================
   Hero
   ========================================================= */

.page {
  animation: pageIn 0.4s ease both;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero {
  position: relative;
  padding: 78px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 8%, rgba(178, 34, 52, 0.055), transparent 24%),
    radial-gradient(ellipse at 50% 118%, rgba(178, 34, 52, 0.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, #fff 82%, #fbfbf9 100%);
}

.hero-pattern {
  position: absolute;
  z-index: 0;
  top: -40px;
  right: -60px;
  width: 620px;
  height: 620px;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M45 12l4.2 13.1 13.8.1-11.1 8.2 4.2 13.2L45 38.4l-11.1 8.2 4.2-13.2-11.1-8.2 13.8-.1L45 12Z' fill='%230a2540' fill-opacity='.12'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(circle at 75% 30%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 75% 30%, #000 0%, transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
  min-height: 670px;
  padding-bottom: 58px;
}

.hero-copy {
  padding: 24px 0 20px;
  animation: riseIn 0.8s 0.08s var(--ease) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker-star {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(178, 34, 52, 0.28);
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
}

.hero h1 {
  max-width: 740px;
  color: var(--navy);
  font-size: clamp(4.25rem, 7.05vw, 7.35rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.052em;
}

.hero h1 .hero-america {
  color: var(--red);
}

.hero h1 em {
  display: inline-block;
  position: relative;
  padding-right: 0.02em;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0;
  bottom: 0.02em;
  height: 6px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 0.9s 0.8s var(--ease) forwards;
}

@keyframes drawLine {
  to { transform: scaleX(1); }
}

.hero-lead {
  max-width: 555px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 12px;
}

.hero-proof strong {
  color: var(--navy);
  font-weight: 800;
}

.proof-stars {
  display: flex;
  gap: 2px;
  color: var(--red);
  font-size: 9px;
}

.proof-stars span:nth-child(2) {
  color: var(--navy);
}

.hero-visual {
  position: relative;
  padding: 10px 30px 44px 0;
  animation: heroVisualIn 1s 0.18s var(--ease) both;
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(28px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1.08;
  max-height: 650px;
  border-radius: 230px 230px 5px 5px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 216px 216px 0 0;
  pointer-events: none;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  border-radius: 240px 240px 4px 4px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 46%;
  transform: scale(1.01);
  transition: transform 8s ease;
}

.hero-photo-frame:hover .hero-photo {
  transform: scale(1.045);
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 49, 0.02) 35%, rgba(7, 27, 49, 0.44) 100%);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  top: 28%;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px 13px 13px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 14px 40px rgba(7, 27, 49, 0.16);
  color: var(--navy);
}

.hero-badge-star {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}

.hero-badge span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hero-badge strong {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
}

.hero-badge small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-caption {
  position: absolute;
  z-index: 3;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
}

.hero-caption p {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0.01em;
}

.mini-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}

/* Hero slideshow */

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide .hero-photo {
  display: block;
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(7, 27, 49, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-arrow .icon {
  width: 15px;
  height: 15px;
}

.hero-arrow:hover {
  background: var(--navy);
  color: #fff;
  transform: scale(1.06);
}

.hero-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-arrow-prev {
  left: 18px;
}

.hero-arrow-prev .icon {
  transform: rotate(180deg);
}

.hero-arrow-next {
  right: 18px;
}

.hero-slide-controls {
  position: absolute;
  z-index: 5;
  left: 2px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-dot {
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.24);
  background-clip: content-box;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.hero-dot:hover {
  background-color: rgba(10, 37, 64, 0.5);
}

.hero-dot.is-active {
  width: 22px;
  border-radius: 99px;
  background-color: var(--red);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.hero-slide-toggle {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(10, 37, 64, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-slide-toggle:hover {
  opacity: 1;
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.hero-slide-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.hero-slide-toggle .icon {
  width: 9px;
  height: 9px;
}

.hero-slide-toggle .icon-play {
  display: none;
}

.hero-slide-toggle.is-paused .icon-pause {
  display: none;
}

.hero-slide-toggle.is-paused .icon-play {
  display: block;
}

@keyframes heroCaptionIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.hero-caption p.is-swapping {
  animation: heroCaptionIn 0.55s var(--ease) both;
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  right: -8px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(178, 34, 52, 0.25);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-stamp strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-spark {
  position: absolute;
  width: 26px;
  height: 26px;
  fill: var(--red);
  opacity: 0.8;
}

.spark-one {
  top: 17%;
  right: 20px;
}

.spark-two {
  bottom: 30%;
  left: 3px;
  width: 14px;
  height: 14px;
  fill: var(--navy);
  opacity: 0.35;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(178, 34, 52, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.1); }
  50% { box-shadow: 0 0 0 6px rgba(178, 34, 52, 0.02); }
}

.ticker > a:not(.ticker-arrow) {
  flex: 1;
  overflow: hidden;
  color: var(--ink);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ticker > a:not(.ticker-arrow):hover {
  color: var(--red);
}

.ticker-date {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ticker-arrow:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ticker-arrow .icon {
  width: 14px;
  height: 14px;
}

/* =========================================================
   Impact strip
   ========================================================= */

.impact-strip {
  position: relative;
  color: #fff;
  border-bottom: 4px solid var(--red);
}

.impact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  align-items: stretch;
  min-height: 176px;
}

.impact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px 36px 0;
}

.impact-intro .eyebrow {
  margin-bottom: 10px;
}

.impact-intro h2 {
  color: #fff;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.06;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.stat-line {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.impact-stat strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 3.1vw, 3.3rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.impact-stat .stat-suffix {
  display: inline;
  margin-left: 2px;
  margin-top: 2px;
  color: var(--red-bright);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
}

.impact-stat > span:last-child {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* =========================================================
   Values
   ========================================================= */

.values-section {
  padding-top: 116px;
  padding-bottom: 116px;
}

.values-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}

.values-intro {
  position: sticky;
  top: 126px;
}

.values-intro h2 {
  font-size: clamp(3rem, 4.4vw, 4.3rem);
  line-height: 0.98;
}

.values-intro > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.values-intro .text-link {
  margin-top: 28px;
}

.values-photo {
  position: relative;
  margin-top: 44px;
  width: 92%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.values-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.8s var(--ease);
}

.values-photo:hover img {
  transform: scale(1.035);
}

.values-photo span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  background: #fff;
  color: var(--navy);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.values-list {
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 18px;
  align-items: start;
  padding: 31px 10px 31px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s var(--ease);
}

.value-row:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(178, 34, 52, 0.035), transparent);
}

.value-num {
  padding-top: 7px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-row h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.value-row p {
  max-width: 490px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.value-star {
  width: 15px;
  height: 15px;
  margin-top: 10px;
  color: var(--line-dark);
  fill: currentColor;
  transition: color 0.25s ease, transform 0.35s var(--ease);
}

.value-row:hover .value-star {
  color: var(--red);
  transform: rotate(36deg);
}

/* =========================================================
   Section heads
   ========================================================= */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head-wide {
  align-items: flex-end;
  margin-bottom: 50px;
}

.section-head-copy {
  max-width: 360px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-head .text-link {
  flex: 0 0 auto;
  margin-bottom: 8px;
}

/* =========================================================
   Story cards + news
   ========================================================= */

.news-feature {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  min-height: 390px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-image {
  position: relative;
  display: block;
  min-height: 330px;
  overflow: hidden;
  background: var(--navy);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature-image:hover img {
  transform: scale(1.035);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 27, 49, 0.26));
  pointer-events: none;
}

.feature-category {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  padding: 7px 10px;
  background: #fff;
  color: var(--red);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-meta .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-dark);
}

.feature-content h3 {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.02;
}

.feature-content h3 a:hover {
  color: var(--red);
}

.feature-content > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.feature-content .text-link {
  margin-top: 26px;
}

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.story-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}

.story-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.story-card:hover .story-image img {
  transform: scale(1.045);
}

.story-image .feature-category {
  top: 14px;
  left: 14px;
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.story-body h3 {
  color: var(--navy);
  font-size: clamp(1.4rem, 1.75vw, 1.72rem);
  line-height: 1.06;
}

.story-body h3 a:hover {
  color: var(--red);
}

.story-body > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.story-body .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  font-size: 9.5px;
  border-bottom: none;
}

.story-body .text-link .icon {
  width: 13px;
  height: 13px;
}

/* =========================================================
   Blog preview + ledger
   ========================================================= */

.blog-preview {
  overflow: hidden;
}

.blog-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.blog-preview-intro {
  min-width: 0;
}

.blog-preview-intro .section-head-copy {
  margin-top: 24px;
}

.blog-preview-video img {
  display: block;
  width: 100%;
  max-width: 725px;
  height: auto;
  margin-inline: auto;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px 28px 26px;
  background: var(--cream);
  border: 1px solid #ebe4d6;
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 42px;
  height: 3px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: var(--line-dark);
}

.blog-card:hover::before {
  width: calc(100% - 56px);
}

.blog-index {
  margin-bottom: auto;
  color: rgba(10, 37, 64, 0.24);
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
}

.blog-card .story-meta {
  margin: 28px 0 14px;
}

.blog-card h3 {
  color: var(--navy);
  font-size: clamp(1.62rem, 2.15vw, 2.05rem);
  line-height: 1.03;
}

.blog-card h3 a:hover {
  color: var(--red);
}

.blog-card > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.blog-card .text-link {
  align-self: flex-start;
  margin-top: 24px;
  font-size: 9.5px;
}

.ledger-bar {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 56px;
  padding: 33px 38px;
  background: var(--navy);
  color: #fff;
}

.ledger-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
}

.ledger-bar p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.25;
}

.ledger-bar .text-link {
  margin-left: auto;
}

/* =========================================================
   Social preview
   ========================================================= */

.social-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-head-actions .text-link {
  margin-left: 10px;
  margin-bottom: 0;
}

.social-round {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.social-round:hover {
  transform: translateY(-2px);
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.social-round .icon {
  width: 16px;
  height: 16px;
}

.social-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.social-card {
  position: relative;
  min-height: 300px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.social-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.social-platform {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.social-platform .icon {
  width: 13px;
  height: 13px;
}

.social-handle {
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.social-time {
  margin-left: auto;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-card-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.social-card-dark .social-platform {
  background: #fff;
  color: var(--navy);
}

.social-card-dark .social-handle {
  color: #fff;
}

.social-card-dark .social-time {
  color: rgba(255, 255, 255, 0.48);
}

.social-copy {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.social-card-dark .social-copy {
  color: rgba(255, 255, 255, 0.93);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.32;
}

.social-card-dark .social-copy strong {
  color: #fff;
}

.social-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 19px;
  color: #f0b5bd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.social-tags span {
  color: rgba(255, 255, 255, 0.45);
}

.social-engagement {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.social-card-photo {
  padding: 0;
  border: none;
  min-height: 320px;
  background: var(--navy);
}

.social-card-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease);
}

.social-card-photo:hover > img {
  transform: scale(1.035);
}

.social-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  background: linear-gradient(180deg, rgba(7, 27, 49, 0.02) 32%, rgba(7, 27, 49, 0.85) 100%);
  color: #fff;
}

.social-photo-overlay .social-platform {
  margin-bottom: auto;
  background: #fff;
  color: var(--navy);
}

.social-photo-overlay p {
  max-width: 300px;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.15;
}

.social-photo-overlay .social-handle {
  color: rgba(255, 255, 255, 0.68);
}

.social-card-light {
  background: var(--cream);
  border-color: #ebe4d6;
}

.social-card-light .social-copy {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.22;
}

.social-platform-fb {
  background: #1877f2;
}

.social-quote-rule {
  width: 44px;
  height: 2px;
  margin: 22px 0 16px;
  background: var(--red);
}

.social-small {
  color: var(--muted);
  font-size: 11px;
}

/* =========================================================
   Join band
   ========================================================= */

.join-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  color: #fff;
}

.impact-strip,
.join-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(178, 34, 52, 0.28), transparent 28%),
    var(--navy-deep);
}

.impact-strip::before,
.join-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 10l3.2 10 10.5.1-8.5 6.2 3.2 10L36 30.2l-8.4 6.1 3.2-10-8.5-6.2 10.5-.1L36 10Z' fill='%23ffffff' fill-opacity='.55'/%3E%3C/svg%3E");
}

.join-stars {
  position: absolute;
  right: 4%;
  top: -30px;
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 100px;
  line-height: 1;
  pointer-events: none;
}

.join-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.join-copy h2 {
  color: #fff;
  font-size: clamp(2.21rem, 3.57vw, 3.4rem);
  line-height: 1;
}

.join-action > p {
  max-width: 440px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 520px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: none;
  border-radius: 2px 0 0 2px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
}

.newsletter-form .btn {
  border-radius: 0 2px 2px 0;
}

.form-note {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Inner page headers
   ========================================================= */

.page-header {
  padding: 78px 0 62px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 22%, rgba(178, 34, 52, 0.055), transparent 24%),
    #fff;
}

.page-header-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: end;
  gap: 80px;
}

.page-header-grid-single {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-header-grid-single > div:first-child {
  max-width: 880px;
}

.page-header h1,
.page-header h2 {
  color: var(--navy);
  font-size: clamp(3.65rem, 6.2vw, 6.4rem);
  line-height: 0.9;
}

.nc-news-page .page-header h1 {
  font-size: clamp(3.1025rem, 5.27vw, 5.44rem);
}

.nc-about-us .page-header h1 {
  font-size: clamp(3.285rem, 5.58vw, 5.76rem);
}

.page-header-contact h1 {
  font-size: clamp(2.92rem, 4.96vw, 5.12rem);
}

.page-header-contact .contact-heading-note {
  color: var(--navy);
}

.page-header-contact .contact-header-image {
  align-self: center;
  padding-bottom: 0;
}

.page-header-contact .contact-header-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.page-header-aside {
  padding-bottom: 6px;
}

.page-header-aside > p {
  max-width: 390px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-header-aside .text-link {
  margin-top: 24px;
}

.response-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted) !important;
  font-size: 10.5px !important;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* =========================================================
   News page
   ========================================================= */

.news-page-body,
.blog-page-body,
.social-page-body {
  padding-top: 55px;
  padding-bottom: 110px;
}

.nc-archive-hero-link {
  margin-top: 22px;
}

.nc-archive-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: var(--mist-blue);
}

.nc-archive-promo .eyebrow {
  margin-bottom: 10px;
}

.nc-archive-promo h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.15;
}

.nc-archive-promo div > p:last-child {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.nc-archive-promo .btn {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .nc-archive-promo {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .nc-archive-directory-content {
    width: calc(100% - 32px);
    padding: 36px 0 56px;
  }

  .nc-archive-directory-header {
    padding-right: 16px;
    padding-left: 16px;
  }
}

.news-feature-page {
  min-height: 460px;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 52px 0 30px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.filter-stack,
.filter-group-wrap {
  display: grid;
}

.filter-stack {
  gap: 15px;
}

.filter-group-wrap {
  gap: 5px;
}

.filter-label {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-disclosure {
  margin: 0 0 34px;
  padding: 20px 22px;
  border-left: 4px solid var(--red);
  background: var(--mist);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.editorial-disclosure strong,
.editorial-disclosure summary {
  color: var(--navy);
}

.editorial-disclosure details {
  margin-top: 12px;
}

.editorial-disclosure summary {
  cursor: pointer;
  font-weight: 700;
}

.editorial-disclosure details p {
  margin-top: 8px;
}

.archive-link {
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-btn {
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  color: var(--navy);
  background: var(--mist);
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.filter-count {
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.article-grid .story-card.is-hidden {
  display: none;
}

.article-grid.is-empty::after {
  content: "No stories in this category yet.";
  grid-column: 1 / -1;
  padding: 60px 0;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 24px;
  text-align: center;
}

.page-newsletter {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 64px;
  padding: 42px 46px;
  border: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(178, 34, 52, 0.28), transparent 28%),
    var(--navy-deep);
  color: #fff;
}

.page-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 10l3.2 10 10.5.1-8.5 6.2 3.2 10L36 30.2l-8.4 6.1 3.2-10-8.5-6.2 10.5-.1L36 10Z' fill='%23ffffff' fill-opacity='.55'/%3E%3C/svg%3E");
}

.page-newsletter > * {
  position: relative;
  z-index: 1;
}

.page-newsletter h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1;
  color: #fff;
}

.page-newsletter .eyebrow {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.page-newsletter .eyebrow::before {
  color: var(--red-bright);
}

.page-newsletter .form-note {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
}

.newsletter-form-light {
  max-width: 470px;
}

.newsletter-form-light input {
  border-color: var(--line-dark);
  border-right: none;
  background: #fff;
  color: var(--ink);
}

.newsletter-form-light input::placeholder {
  color: var(--muted-light);
}

.newsletter-form-light input:focus {
  border-color: var(--navy);
  background: #fff;
}

.page-newsletter .newsletter-form-light input {
  border-color: rgba(255, 255, 255, 0.22);
  border-right: none;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.page-newsletter .newsletter-form-light input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.page-newsletter .newsletter-form-light input:focus {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.page-newsletter .btn-primary {
  background: linear-gradient(180deg, #c52b40 0%, var(--red) 55%, var(--red-deep) 100%);
  border-color: var(--red);
}

/* =========================================================
   Blog page
   ========================================================= */

.ledger-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 430px;
  background: var(--cream);
  border: 1px solid #ebe4d6;
  overflow: hidden;
}

.ledger-feature-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.ledger-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.ledger-feature-image:hover img {
  transform: scale(1.035);
}

.ledger-feature-image::after {
  content: "The American Ledger";
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 10px;
  background: #fff;
  color: var(--navy);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ledger-feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 4.5vw, 58px);
}

.ledger-feature-content .story-meta {
  margin-bottom: 18px;
}

.ledger-feature-content h2 {
  color: var(--navy);
  font-size: clamp(2.25rem, 3.5vw, 3.4rem);
  line-height: 0.99;
}

.ledger-feature-content h2 a:hover {
  color: var(--red);
}

.ledger-feature-content > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.ledger-feature-content .text-link {
  margin-top: 28px;
}

.article-grid-blog .story-card {
  background: var(--cream);
  border-color: #ebe4d6;
}

.article-grid-blog .story-body {
  padding-top: 26px;
}

.article-grid-blog .story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.ledger-quote {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 200px;
  align-items: center;
  gap: 32px;
  margin-top: 64px;
  padding: 48px 52px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.quote-icon {
  width: 44px;
  height: 44px;
  color: var(--red-bright);
}

.ledger-quote blockquote p {
  max-width: 740px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-style: italic;
  line-height: 1.16;
}

.ledger-quote cite {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ledger-quote-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  color: rgba(255, 255, 255, 0.11);
  font-size: 45px;
  line-height: 1;
  transform: rotate(-8deg);
}

.ledger-quote-art span:nth-child(2n) {
  color: rgba(178, 34, 52, 0.45);
}

/* =========================================================
   Social page
   ========================================================= */

.social-follow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.social-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.social-follow:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  background: var(--mist);
}

.social-follow .icon {
  width: 14px;
  height: 14px;
}

.social-follow .arrow {
  width: 12px;
  height: 12px;
  color: var(--muted-light);
}

.social-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.wall-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.wall-card-text {
  background: var(--mist);
}

.wall-user {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.wall-user strong {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wall-user span {
  color: var(--muted-light);
  font-size: 9px;
}

.wall-copy {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.3;
}

.wall-hashtags {
  margin-top: 18px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
}

.wall-engagement {
  display: flex;
  gap: 24px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.wall-card-image {
  padding: 0;
  min-height: 420px;
  border: none;
  background: var(--navy);
}

.wall-card-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.wall-card-image:hover > img {
  transform: scale(1.035);
}

.wall-image-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(7, 27, 49, 0.02) 38%, rgba(7, 27, 49, 0.88));
  color: #fff;
}

.image-kicker {
  margin-bottom: 9px;
  color: #f0b5bd;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wall-image-copy h3 {
  max-width: 370px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.04;
}

.wall-image-copy p {
  max-width: 370px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  line-height: 1.55;
}

.image-handle {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wall-card-quote {
  align-items: flex-start;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  text-align: left;
}

.big-quote {
  height: 44px;
  color: var(--red-bright);
  font-family: var(--font-serif);
  font-size: 82px;
  line-height: 0.9;
}

.wall-card-quote blockquote {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.3vw, 2.25rem);
  font-style: italic;
  line-height: 1.12;
}

.quote-credit {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.quote-stars {
  margin-top: auto;
  padding-top: 20px;
  color: var(--red-bright);
  font-size: 11px;
  letter-spacing: 4px;
}

.wall-card-tall {
  min-height: 500px;
}

.wall-card-video {
  background: #fff;
}

.video-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-platform-yt {
  background: #ff0000;
}

.video-duration {
  padding: 3px 6px;
  background: var(--navy);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.video-art {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 18px 0;
  overflow: hidden;
  background: var(--navy);
}

.video-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  transition: transform 0.7s var(--ease);
}

.wall-card-video:hover .video-art img {
  transform: scale(1.035);
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.play-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-btn span {
  margin-left: 2px;
  font-size: 13px;
}

.wall-card-video h3 {
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.05;
}

.wall-card-video > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.wall-card-alt {
  background: var(--cream);
}

.wall-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: auto;
  padding-top: 24px;
}

.wall-photo-strip img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.social-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 46px;
  padding: 48px 54px;
  background: var(--navy);
  color: #fff;
}

.social-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.social-cta-copy .eyebrow {
  margin-bottom: 12px;
}

.social-cta-copy > p:last-child {
  max-width: 680px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
}

.social-cta-copy strong {
  color: rgba(255, 255, 255, 0.86);
}

/* Community link added next to the story CTA */
.social-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 60px;
  align-items: start;
  padding-top: 55px;
  padding-bottom: 110px;
}

.contact-form-wrap {
  position: relative;
  padding: 44px 46px 46px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form-head {
  position: relative;
  padding-bottom: 27px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.form-number {
  position: absolute;
  top: -7px;
  right: 0;
  color: var(--line);
  font-family: var(--font-serif);
  font-size: 54px;
  font-style: italic;
  line-height: 1;
}

.contact-form-head h2 {
  font-size: clamp(2rem, 2.8vw, 2.65rem);
}

.contact-form-head p {
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 11px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--navy);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: #fcfcfb;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.07);
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: var(--red);
  background: #fff8f9;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-field input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  flex: 0 0 auto;
}

.form-status {
  min-height: 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
}

.form-status.is-success {
  color: #1d6f45;
}

.contact-success {
  padding: 60px 10px 40px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 24px;
  border: 1px solid rgba(29, 111, 69, 0.25);
  border-radius: 50%;
  background: #f1f8f4;
  color: #1d6f45;
}

.success-mark .icon {
  width: 28px;
  height: 28px;
}

.contact-success .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}

.contact-success h3 {
  color: var(--navy);
  font-size: 2.5rem;
}

.contact-success > p:not(.eyebrow) {
  max-width: 410px;
  margin: 16px auto 26px;
  color: var(--muted);
  font-size: 14px;
}

.contact-success .text-link {
  border: none;
  background: none;
  padding: 0;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  padding: 34px 34px 32px;
  border: 1px solid var(--line);
}

.contact-card-navy {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.contact-card-navy::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.025), 0 0 0 68px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.contact-seal {
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 7px;
}

.contact-card h3 {
  color: var(--navy);
  font-size: 1.85rem;
}

.contact-card-navy h3 {
  color: #fff;
  font-size: 2rem;
}

.contact-card-navy .eyebrow {
  margin-bottom: 10px;
}

.contact-card address {
  margin: 15px 0 25px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-style: normal;
  line-height: 1.75;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.5;
}

.contact-line .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
}

.contact-line a:hover {
  color: #fff;
}

.contact-socials {
  display: flex;
  gap: 8px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-socials a {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-socials a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.contact-socials .icon {
  width: 13px;
  height: 13px;
}

.contact-card-press {
  background: var(--mist);
}

.contact-card-press p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.contact-card-press .text-link {
  font-size: 9.5px;
}

.contact-card-quote {
  background: var(--cream);
  border-color: #ebe4d6;
}

.contact-card-quote p {
  margin: 13px 0 14px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.22;
}

.contact-card-quote > span:last-child {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-stars {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 3px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-flag-bar {
  display: flex;
  height: 4px;
}

.footer-flag-bar span:nth-child(1) {
  flex: 1;
  background: var(--red);
}

.footer-flag-bar span:nth-child(2) {
  flex: 1;
  background: var(--navy);
}

.footer-flag-bar span:nth-child(3) {
  flex: 1;
  background: var(--red);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-top: 62px;
  padding-bottom: 55px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand .brand-name {
  font-size: 26.19px;
}

.footer-brand .brand-mark {
  width: 43.4px;
  height: 43.4px;
}

.footer-brand > p {
  max-width: 330px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.footer-socials .icon {
  width: 14px;
  height: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.footer-col a {
  transition: color 0.2s ease, padding 0.2s ease;
}

.footer-col a:hover {
  color: var(--red);
  padding-left: 2px;
}

.footer-col-contact a {
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.footer-values {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cms-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: none;
  background: none;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.cms-link:hover {
  color: var(--navy);
}

.cms-link .icon {
  width: 12px;
  height: 12px;
}

/* =========================================================
   Article reader
   ========================================================= */

.reader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  padding: 34px 20px;
  background: rgba(7, 27, 49, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.25s ease both;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reader-panel {
  position: relative;
  width: min(920px, 100%);
  height: fit-content;
  margin: auto;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: readerIn 0.35s var(--ease) both;
}

@keyframes readerIn {
  from { opacity: 0; transform: translateY(20px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reader-close {
  position: sticky;
  z-index: 3;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 18px 18px -60px auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.reader-close:hover {
  background: var(--navy);
  color: #fff;
}

.reader-image {
  height: 360px;
  overflow: hidden;
  background: var(--navy);
}

.reader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-content {
  padding: 54px clamp(28px, 7vw, 92px) 70px;
}

.reader-content .feature-category {
  position: static;
  display: inline-block;
  margin-bottom: 20px;
  background: var(--mist);
}

.reader-content h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 0.98;
}

.reader-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reader-byline .meta-dot {
  width: 3px;
  height: 3px;
  align-self: center;
  border-radius: 50%;
  background: var(--line-dark);
}

.reader-body {
  margin-top: 30px;
}

.reader-body p {
  margin-bottom: 20px;
  color: #334155;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.68;
}

.reader-body p:first-child::first-letter {
  float: left;
  margin: 7px 10px 0 0;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.68;
}

.reader-back {
  margin-top: 26px;
}

/* =========================================================
   CMS drawer
   ========================================================= */

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  justify-content: flex-end;
  background: rgba(7, 27, 49, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.admin-overlay.is-open {
  opacity: 1;
}

.admin-panel {
  display: flex;
  flex-direction: column;
  width: min(760px, 94vw);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 70px rgba(7, 27, 49, 0.22);
  transform: translateX(40px);
  transition: transform 0.3s var(--ease);
}

.admin-overlay.is-open .admin-panel {
  transform: translateX(0);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  background: var(--navy-deep);
  color: #fff;
}

.admin-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-heading .brand-mark {
  width: 38px;
  height: 38px;
}

.admin-heading h2 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-heading p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.admin-tabs {
  display: flex;
  gap: 26px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-tab {
  position: relative;
  padding: 17px 0 15px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.admin-tab.is-active {
  color: var(--navy);
}

.admin-tab.is-active::after {
  transform: scaleX(1);
}

.tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--muted);
  font-size: 8px;
}

.tab-badge.has-items {
  background: var(--red);
  color: #fff;
}

.admin-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 30px 50px;
  background: #fbfbfa;
}

.admin-view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-view-head h3 {
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1;
}

.admin-view-head .eyebrow {
  margin-bottom: 8px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-item-thumb {
  width: 66px;
  height: 54px;
  object-fit: cover;
  background: var(--mist);
}

.admin-item-main {
  min-width: 0;
}

.admin-item-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.admin-pill {
  padding: 3px 6px;
  background: var(--mist);
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-pill-news {
  background: rgba(178, 34, 52, 0.09);
  color: var(--red);
}

.admin-pill-blog {
  background: rgba(10, 37, 64, 0.08);
  color: var(--navy);
}

.admin-item h4 {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-item-date {
  color: var(--muted-light);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-item-actions {
  display: flex;
  gap: 5px;
}

.admin-icon-btn {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-icon-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.admin-icon-btn.is-delete:hover {
  border-color: var(--red);
  background: var(--red);
}

.admin-icon-btn .icon {
  width: 14px;
  height: 14px;
}

.admin-empty {
  padding: 54px 24px;
  border: 1px dashed var(--line-dark);
  background: #fff;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  text-align: center;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-form .field input,
.admin-form .field textarea,
.admin-form .field select {
  background: #fcfcfb;
}

.admin-form-actions {
  display: flex;
  gap: 10px;
  padding-top: 6px;
}

.admin-form-actions .btn {
  min-width: 140px;
}

.admin-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(178, 34, 52, 0.22);
  background: #fffafa;
}

.admin-danger-zone h4 {
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
}

.admin-danger-zone p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.admin-footnote {
  margin-top: 22px;
  color: var(--muted-light);
  font-size: 9.5px;
  line-height: 1.6;
}

.admin-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-card {
  position: relative;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.message-card.is-unread {
  border-left: 3px solid var(--red);
}

.message-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.message-head h4 {
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
}

.message-head span {
  color: var(--muted-light);
  font-size: 8.5px;
  white-space: nowrap;
}

.message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
  color: var(--muted-light);
  font-size: 9px;
}

.message-meta strong {
  color: var(--red);
  font-weight: 700;
}

.message-card > p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.message-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.message-actions button {
  border: none;
  background: none;
  color: var(--muted-light);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-actions button:hover {
  color: var(--red);
}

/* =========================================================
   Toast
   ========================================================= */

.toast {
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  padding: 13px 20px 13px 14px;
  background: var(--navy-deep);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.toast-icon .icon {
  width: 14px;
  height: 14px;
}

/* =========================================================
   About page
   ========================================================= */

.about-body {
  padding-top: 84px;
  padding-bottom: 110px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
}

.about-story-copy h2 {
  font-size: clamp(3rem, 4.6vw, 4.55rem);
  line-height: 0.98;
}

.about-lead {
  margin-top: 27px;
  color: var(--navy) !important;
  font-family: var(--font-serif);
  font-size: 22px !important;
  line-height: 1.42 !important;
}

.about-story-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.about-story-copy .text-link {
  margin-top: 30px;
}

.about-collage {
  position: relative;
  min-height: 590px;
  padding: 0 0 64px 50px;
}

.about-collage-main {
  width: 88%;
  margin-left: auto;
  aspect-ratio: 0.78;
  overflow: hidden;
  background: var(--navy);
}

.about-collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 45%;
}

.about-collage-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  aspect-ratio: 0.84;
  overflow: hidden;
  border: 9px solid #fff;
  box-shadow: 0 18px 44px rgba(10, 37, 64, 0.18);
  background: var(--navy);
}

.about-collage-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: 0;
  bottom: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 142px;
  padding: 18px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  text-align: center;
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.12);
}

.about-badge-stars {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 8px;
  letter-spacing: 3px;
}

.about-badge strong {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
}

.about-badge > span:last-child {
  margin-top: 5px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-collage-caption {
  position: absolute;
  right: 164px;
  bottom: 62px;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-pillar {
  position: relative;
  padding: 40px 34px 38px;
  transition: background 0.25s ease;
}

.about-pillar + .about-pillar {
  border-left: 1px solid var(--line);
}

.about-pillar:hover {
  background: var(--mist);
}

.pillar-number {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.about-pillar h3 {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.about-pillar p {
  max-width: 330px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.about-beliefs {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
  margin-top: 100px;
  padding-top: 94px;
  border-top: 1px solid var(--line);
}

.about-beliefs-intro {
  position: sticky;
  top: 130px;
}

.about-beliefs-intro h2 {
  font-size: clamp(3rem, 4.5vw, 4.35rem);
  line-height: 0.98;
}

.about-beliefs-intro > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.about-beliefs-intro .text-link {
  margin-top: 28px;
}

.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.belief-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--line);
}

.belief-number {
  padding-top: 6px;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
}

.belief-list h3 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.04;
}

.belief-list p {
  max-width: 520px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.about-quote {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 90px;
  padding: 48px 54px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.about-quote::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.025), 0 0 0 70px rgba(255, 255, 255, 0.018);
}

.about-quote blockquote p {
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-style: italic;
  line-height: 1.16;
}

.about-quote cite {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-quote-stars {
  position: relative;
  z-index: 1;
  color: var(--red-bright);
  font-size: 12px;
  letter-spacing: 5px;
}

/* =========================================================
   The moment — home
   ========================================================= */

.moment-section {
  border-top: 1px solid var(--line);
}

.moment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.moment-copy h2 {
  font-size: clamp(3rem, 4.4vw, 4.35rem);
  line-height: 0.98;
}

.moment-copy > p:not(.eyebrow) {
  max-width: 545px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.moment-copy .text-link {
  margin-top: 26px;
}

.moment-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--mist);
}

.moment-stat {
  padding: 30px 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.moment-stat strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.6625rem, 2.1945vw, 2.3275rem);
  font-weight: 500;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.moment-stat p {
  margin-top: 12px;
  color: var(--navy);
  font-size: 12.5px;
  line-height: 1.55;
}

.moment-stat span {
  display: block;
  margin-top: 16px;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.moment-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 64px;
  padding: 32px 38px;
  background: var(--navy);
  color: #fff;
}

.moment-banner p {
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.2;
}

.moment-banner .text-link {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* =========================================================
   Mission, platform, and path forward — About
   ========================================================= */

.mission-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(50px, 8vw, 112px);
  align-items: start;
  margin-top: 100px;
  padding-top: 94px;
  border-top: 1px solid var(--line);
}

.mission-intro {
  position: sticky;
  top: 130px;
}

.mission-intro h2 {
  font-size: clamp(3rem, 4.5vw, 4.35rem);
  line-height: 0.98;
}

.mission-name {
  margin-top: 24px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.mission-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.mission-lead {
  margin-top: 0 !important;
  color: var(--navy) !important;
  font-family: var(--font-serif);
  font-size: 22px !important;
  line-height: 1.45 !important;
}

.mission-copy blockquote {
  margin-top: 32px;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--red);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-style: italic;
  line-height: 1.28;
}

.platform-section {
  margin-top: 100px;
  padding-top: 92px;
  border-top: 1px solid var(--line);
}

.platform-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(30px, 6vw, 80px);
}

.platform-head h2 {
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  line-height: 0.98;
}

.platform-head > p {
  max-width: 430px;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.platform-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  margin-top: 50px;
}

.platform-column {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 6px;
  border: 1px solid var(--line);
  background: #fff;
}

.platform-column-head {
  display: flex;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.platform-column-head > span {
  padding-top: 7px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.platform-column-head h3 {
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1;
}

.platform-column-head p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.reform-item {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
}

.reform-item h4 {
  color: var(--navy);
  font-size: 1.38rem;
  line-height: 1.05;
}

.reform-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.68;
}

.reform-item ul {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.reform-item li {
  position: relative;
  padding-left: 17px;
  color: var(--navy);
  font-size: 12.5px;
  line-height: 1.55;
}

.reform-item li::before {
  content: "★";
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--red);
  font-size: 7px;
}

.platform-aside {
  margin: auto -30px 20px;
  padding: 24px 30px;
  background: var(--mist);
  border-left: 3px solid var(--red);
}

.platform-column .reform-item:last-of-type {
  margin-bottom: 26px;
}

.platform-aside-mark {
  color: var(--red);
  font-size: 11px;
}

.platform-aside p {
  margin-top: 8px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.35;
}

.platform-note {
  margin-top: 24px;
  color: var(--muted-light);
  font-size: 10.5px;
  line-height: 1.65;
}

.stakes-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px 60px;
  margin-top: 96px;
  padding: 46px 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.stakes-head {
  grid-row: 1 / span 2;
}

.stakes-head h2 {
  font-size: clamp(2.7rem, 3.8vw, 3.6rem);
  line-height: 0.98;
}

.stakes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.stakes-grid article {
  padding-top: 20px;
  border-top: 2px solid var(--navy);
}

.stakes-grid span {
  display: block;
  margin-bottom: 15px;
  color: var(--red);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.stakes-grid h3 {
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
}

.stakes-grid p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.stakes-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.forward-section {
  max-width: 830px;
  margin: 96px auto 0;
  padding-top: 74px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.forward-section .eyebrow {
  justify-content: center;
}

.forward-section h2 {
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  line-height: 0.98;
}

.forward-section > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

.forward-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.sources {
  margin-top: 74px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.sources summary {
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.sources ol {
  columns: 2;
  column-gap: 48px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.sources li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.sources > p {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted-light);
  font-size: 10.5px;
  line-height: 1.65;
}

/* =========================================================
   Scroll reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .main-nav {
    gap: 22px;
  }

  .header-inner {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(4rem, 7vw, 6.1rem);
  }

  .impact-grid {
    grid-template-columns: 1.15fr repeat(4, 1fr);
  }

  .impact-stat {
    padding: 28px 17px;
  }

  .footer-main {
    gap: 24px;
  }
}

@media (max-width: 1030px) {
  .header-actions .btn {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .hero-visual {
    padding-right: 18px;
  }

  .impact-grid {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .impact-intro {
    grid-row: span 2;
  }

  .impact-stat:nth-child(4),
  .impact-stat:nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .values-grid {
    gap: 50px;
  }

  .contact-body {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 34px;
  }

  .contact-form-wrap {
    padding: 36px;
  }

  .social-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .social-preview-grid > :last-child {
    grid-column: 1 / -1;
    min-height: 230px;
  }

  .social-wall {
    grid-template-columns: 1fr 1fr;
  }

  .wall-card-tall {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .footer-brand .brand-name {
    font-size: 21.825px;
  }

  .container {
    width: min(var(--container), calc(100% - 44px));
  }

  .announcement p {
    font-size: 8.5px;
  }

  .header-inner {
    min-height: 86px;
  }

  .brand-name {
    font-size: 29.1px; /* 30px - 3% */
  }

  .brand-mark {
    width: 53px;
    height: 53px;
  }

  .brand-tagline {
    font-size: 9px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px rgba(10, 37, 64, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s var(--ease), visibility 0.22s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 55px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(4rem, 12.5vw, 6.4rem);
  }

  .hero-lead {
    max-width: 620px;
  }

  .hero-visual {
    width: min(560px, 100%);
    margin-inline: auto;
    padding-right: 24px;
  }

  .hero-photo-frame {
    max-height: none;
    aspect-ratio: 1 / 0.98;
    border-radius: 180px 180px 4px 4px;
  }

  .hero-photo-frame::before {
    border-radius: 168px 168px 0 0;
  }

  .hero-photo-frame::after {
    border-radius: 190px 190px 4px 4px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .values-intro {
    position: static;
  }

  .values-photo {
    width: 100%;
    max-width: 560px;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-preview-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-preview-grid > :last-child {
    display: none;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .blog-card {
    min-height: 260px;
  }

  .ledger-bar {
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 28px;
    max-width: 620px;
    margin-inline: auto;
  }

  .ledger-bar .text-link {
    grid-column: 2;
    margin: 6px 0 0;
  }

  .join-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-header-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-header {
    padding: 60px 0 48px;
  }

  .page-header h1,
  .page-header h2 {
    font-size: clamp(3.4rem, 10vw, 5.4rem);
  }

  .nc-news-page .page-header h1 {
    font-size: clamp(2.89rem, 8.5vw, 4.59rem);
  }

  .nc-about-us .page-header h1 {
    font-size: clamp(3.06rem, 9vw, 4.86rem);
  }

  .page-header-contact h1 {
    font-size: clamp(2.72rem, 8vw, 4.32rem);
  }

  .page-header-aside > p {
    max-width: 560px;
  }

  .ledger-feature {
    grid-template-columns: 1fr;
  }

  .ledger-feature-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .ledger-quote {
    grid-template-columns: 48px 1fr;
    padding: 38px;
  }

  .ledger-quote-art {
    display: none;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-collage {
    width: min(540px, 100%);
    min-height: 560px;
    margin-inline: auto;
  }

  .about-pillars {
    margin-top: 72px;
  }

  .about-pillar {
    padding: 34px 24px;
  }

  .about-beliefs {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 76px;
    padding-top: 72px;
  }

  .about-beliefs-intro {
    position: static;
  }

  .about-quote {
    grid-template-columns: 48px minmax(0, 1fr);
    margin-top: 72px;
    padding: 38px;
  }

  .about-quote-stars {
    display: none;
  }

  .contact-body {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 18px;
  }

  .contact-card-navy {
    grid-row: span 2;
  }

  .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .reader-image {
    height: 270px;
  }
}

@media (max-width: 720px) {
  .announcement a {
    display: none;
  }

  .announcement-inner {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 13.8vw, 5.2rem);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .hero-stamp {
    right: 0;
  }

  .hero-arrow {
    display: none;
  }

  .hero-caption {
    right: 22px;
    bottom: 20px;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-intro {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 30px 0 18px;
  }

  .impact-stat {
    padding: 24px 16px;
  }

  .impact-stat:nth-child(4),
  .impact-stat:nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .impact-stat:nth-child(odd) {
    border-left: none;
  }

  .impact-stat:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-head .text-link {
    margin-bottom: 0;
  }

  .section-head-wide {
    gap: 20px;
  }

  .blog-preview-head {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 32px;
    text-align: center;
  }

  .blog-preview-intro .section-head-copy {
    margin-inline: auto;
  }

  .blog-preview-intro .eyebrow {
    justify-content: center;
  }

  .blog-preview-video img {
    width: 80%;
  }

  .section-head-copy {
    max-width: 520px;
  }

  .news-preview-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-preview-grid > :last-child {
    display: flex;
  }

  .feature-content {
    padding: 28px;
  }

  .feature-content h3 {
    font-size: 2rem;
  }

  .social-preview-grid {
    grid-template-columns: 1fr;
  }

  .social-preview-grid > :last-child {
    grid-column: auto;
    min-height: 300px;
  }

  .join-band {
    padding: 64px 0;
  }

  .join-stars {
    font-size: 65px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
  }

  .newsletter-form .btn {
    border-radius: 2px;
  }

  .newsletter-form-light input {
    border-right: 1px solid var(--line-dark);
  }

  .filter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 38px;
  }

  .page-newsletter {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
  }

  .page-newsletter .newsletter-form {
    max-width: 100%;
  }

  .ledger-feature-content {
    padding: 30px;
  }

  .ledger-quote {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 34px 30px;
  }

  .quote-icon {
    width: 34px;
    height: 34px;
  }

  .social-wall {
    grid-template-columns: 1fr;
  }

  .wall-card,
  .wall-card-image,
  .wall-card-tall {
    min-height: 330px;
  }

  .social-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    padding: 34px 30px;
  }

  .about-body {
    padding-top: 60px;
    padding-bottom: 76px;
  }

  .about-collage {
    min-height: 470px;
    padding-left: 24px;
  }

  .about-badge {
    width: 112px;
    height: 112px;
    bottom: 24px;
  }

  .about-badge strong {
    font-size: 33px;
  }

  .about-collage-caption {
    right: 126px;
    bottom: 52px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .about-pillar {
    padding: 30px 8px;
  }

  .about-pillar + .about-pillar {
    border-top: 1px solid var(--line);
    border-left: none;
  }

  .pillar-number {
    margin-bottom: 16px;
  }

  .about-beliefs {
    margin-top: 62px;
    padding-top: 58px;
  }

  .about-quote {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 28px;
  }

  .about-quote .quote-icon {
    width: 32px;
    height: 32px;
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .contact-card-navy {
    grid-row: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding-top: 46px;
    padding-bottom: 40px;
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }

  .footer-values {
    order: 3;
    width: 100%;
  }

  .cms-link {
    order: 2;
  }

  .admin-panel {
    width: 100%;
    max-width: 100%;
  }

  .admin-body {
    padding: 24px 20px 44px;
  }

  .admin-tabs {
    gap: 18px;
    padding: 0 20px;
  }

  .admin-form {
    padding: 20px;
  }

  .admin-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .admin-item-thumb {
    width: 52px;
    height: 46px;
  }

  .reader-overlay {
    padding: 0;
  }

  .reader-panel {
    min-height: 100%;
  }

  .reader-image {
    height: 220px;
  }

  .reader-content {
    padding: 38px 24px 54px;
  }

  .reader-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 460px) {
  .footer-brand .brand-name {
    font-size: 19.6425px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .brand-name {
    font-size: 26.19px; /* 27px - 3% */
  }

  .brand-tagline {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .kicker {
    font-size: 9px;
  }

  .hero-badge {
    left: -8px;
    padding: 10px;
  }

  .hero-badge-star {
    width: 33px;
    height: 33px;
  }

  .hero-badge strong {
    font-size: 19px;
  }

  .hero-badge small {
    font-size: 7px;
  }

  .hero-caption {
    left: 22px;
    bottom: 20px;
  }

  .hero-caption p {
    font-size: 16px;
  }

  .hero-slide-controls {
    left: 0;
    gap: 12px;
  }

  .hero-dot.is-active {
    width: 18px;
  }

  .value-row {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .value-star {
    display: none;
  }

  .social-follow {
    font-size: 8px;
  }

  .ledger-bar {
    grid-template-columns: 1fr;
  }

  .ledger-mark {
    display: none;
  }

  .ledger-bar .text-link {
    grid-column: auto;
  }

  .admin-view-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .admin-item {
    grid-template-columns: 1fr auto;
  }

  .admin-item-thumb {
    display: none;
  }

  .admin-item h4 {
    white-space: normal;
  }

  .admin-danger-zone {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-form-actions {
    flex-direction: column;
  }

  .admin-form-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   Gloss & polish
   ========================================================= */

/* Glossy framed photography */
.hero-photo-frame {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    var(--shadow-md);
}

.hero-badge {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 8px rgba(10, 37, 64, 0.12),
    0 16px 40px rgba(7, 27, 49, 0.2);
}

.hero-stamp {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 8px rgba(0, 0, 0, 0.28),
    0 12px 28px rgba(178, 34, 52, 0.3);
}

/* Glossy card & surface insets */
.news-feature,
.story-card,
.blog-card,
.social-card,
.contact-card,
.ledger-feature,
.ledger-bar,
.wall-card,
.admin-item,
.message-card,
.admin-form,
.social-cta,
.contact-form-wrap,
.contact-card-navy,
.contact-card-quote,
.contact-card-press,
.about-quote,
.ledger-quote,
.page-newsletter,
.values-photo,
.ledger-feature-content {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    var(--shadow-sm);
}

/* Glossy hover elevation */
.story-card:hover,
.blog-card:hover,
.news-feature:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 22px 48px rgba(10, 37, 64, 0.16);
}

/* Deep, glossy treatment for dark patriotic bands */
.impact-strip,
.join-band,
.about-quote,
.ledger-quote,
.contact-card-navy,
.social-cta {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 60px -18px rgba(10, 37, 64, 0.35);
}

/* Refined color accents — deeper patriotic contrast */
.section-head h2,
.values-intro h2,
.join-copy h2,
.social-cta h2 {
  text-wrap: balance;
}

/* Glossy selection + focus accents */
::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(178, 34, 52, 0.55);
  outline-offset: 3px;
}

/* Elevated glossy top highlight for alternating bands */
.section-mist {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 220px),
    var(--mist);
}

@media (max-width: 1100px) {
  .moment-grid {
    gap: 48px;
  }

  .platform-column {
    padding: 28px 24px 4px;
  }

  .platform-aside {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 900px) {
  .moment-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .moment-copy > p:not(.eyebrow) {
    max-width: 640px;
  }

  .moment-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 32px;
  }

  .mission-section {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 76px;
    padding-top: 72px;
  }

  .mission-intro {
    position: static;
  }

  .platform-section {
    margin-top: 76px;
    padding-top: 70px;
  }

  .platform-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .platform-head > p {
    justify-self: start;
  }

  .platform-columns {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .stakes-section {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 32px;
  }

  .stakes-head {
    grid-row: auto;
  }

  .stakes-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stakes-grid article {
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }

  .stakes-grid article:first-child {
    border-top: 2px solid var(--navy);
  }

  .stakes-grid span {
    margin-bottom: 8px;
  }

  .forward-section {
    margin-top: 76px;
    padding-top: 60px;
  }
}

@media (max-width: 600px) {
  .moment-section.section {
    padding: 76px 0;
  }

  .moment-grid {
    gap: 34px;
  }

  .moment-copy h2 {
    font-size: 2.8rem;
  }

  .moment-stat {
    padding: 22px 20px 20px;
  }

  .moment-stat strong {
    font-size: 1.69575rem;
  }

  .moment-stat p {
    font-size: 11.5px;
  }

  .moment-banner {
    margin-top: 44px;
    padding: 26px 24px;
  }

  .mission-section {
    margin-top: 62px;
    padding-top: 58px;
  }

  .mission-lead {
    font-size: 19px !important;
  }

  .platform-section {
    margin-top: 62px;
    padding-top: 58px;
  }

  .platform-column {
    padding: 26px 20px 4px;
  }

  .platform-column-head h3 {
    font-size: 1.8rem;
  }

  .platform-aside {
    margin-right: -20px;
    margin-left: -20px;
    padding: 20px;
  }

  .stakes-section {
    padding: 30px 24px;
  }

  .forward-section {
    margin-top: 62px;
    padding-top: 52px;
  }

  .forward-section h2 {
    font-size: 2.8rem;
  }

  .sources ol {
    columns: 1;
  }
}

@media (max-width: 460px) {
  .moment-stat strong {
    font-size: 1.463rem;
  }

  .moment-stat p {
    font-size: 11px;
  }

  .moment-stat span {
    font-size: 7.5px;
  }

  .reform-item h4 {
    font-size: 1.26rem;
  }
}


/* =========================================================
   Joomla integration ? template chrome
   ========================================================= */

.main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul li {
  margin: 0;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .main-nav > ul {
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
  }

  .main-nav > ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav .main-nav-item {
    width: 100%;
  }

  .main-nav a {
    display: block;
  }
}

.site-header .brand {
  box-sizing: border-box;
  flex: 0 1 430px;
  width: 100%;
  min-width: 0;
  padding: 7px 10px;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  container-type: inline-size;
}

.site-header .brand-mark {
  width: clamp(34px, 14cqi, 62px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.site-header .brand-type {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header .brand-name {
  font-size: clamp(16px, 7.7cqi, 34.92px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.site-header .brand-tagline {
  margin-top: clamp(3px, 1.3cqi, 6px);
  font-size: clamp(6.5px, 2.5cqi, 11.5px);
  letter-spacing: clamp(0.04em, 0.09cqi, 0.14em);
}

@media (max-width: 900px) {
  .site-header .brand {
    flex: 0 1 430px;
  }
}

@media (max-width: 460px) {
  .site-header .brand {
    padding: 6px 8px;
    gap: 6px;
  }
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.cms-link {
  text-decoration: none;
}

/* Joomla system messages */
.alert {
  width: min(var(--container), calc(100% - 48px));
  margin: 26px auto;
  padding: 15px 20px;
  border-left: 4px solid var(--red);
  background: var(--mist);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.6;
}

.alert.alert-success {
  border-left-color: #1c7a4a;
}

.alert.alert-error {
  border-left-color: var(--red);
}

/* Editorial articles */
.page-header-article h1 {
  font-size: clamp(1.825rem, 3.1vw, 3.2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .page-header-article h1 {
    font-size: clamp(1.7rem, 5vw, 2.7rem);
  }
}

.page-header-article .page-header-aside p {
  max-width: 380px;
}

.article-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-meta-line .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-dark);
}

.article-body {
  max-width: 880px;
  padding-top: 72px;
  padding-bottom: 104px;
}

.article-figure {
  margin: 0 0 44px;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
}

.article-content {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.article-content p {
  margin: 0 0 1.15em;
}

.article-content svg:empty,
.article-content p:empty {
  display: none;
}

.article-content h2,
.article-content h3 {
  margin: 1.8em 0 0.55em;
  color: var(--navy);
  line-height: 1.06;
}

.article-content h2 {
  font-size: 2.05rem;
}

.article-content h3 {
  font-size: 1.5rem;
}

.article-content blockquote {
  margin: 1.8em 0;
  padding-left: 24px;
  border-left: 3px solid var(--red);
  color: var(--navy);
  font-style: italic;
}

.article-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.2em;
  padding-left: 22px;
}

.article-content li {
  margin-bottom: 0.45em;
}

.nc-article-comments {
  margin: 64px 0 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 3px;
  background: var(--mist-blue);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

.nc-article-comments .jom-artilecommentstitle {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.nc-article-comments a {
  color: var(--red);
}

.nc-article-comments .joms-alert--info {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--muted);
  font-size: 13px;
}

.nc-article-comments .joms-button--neutral,
.nc-article-comments button,
.nc-article-comments input[type="submit"],
.nc-article-comments input[type="button"] {
  padding: 11px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy) !important;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.nc-article-comments .joms-button--neutral:hover,
.nc-article-comments button:hover,
.nc-article-comments input[type="submit"]:hover,
.nc-article-comments input[type="button"]:hover {
  border-color: var(--navy);
  background: var(--mist);
  color: var(--navy) !important;
}

.nc-article-comments textarea,
.nc-article-comments input[type="text"] {
  max-width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.nc-article-comments :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.article-footer {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  .article-body {
    padding-top: 48px;
    padding-bottom: 68px;
  }

  .article-content {
    font-size: 17px;
  }

  .nc-article-comments {
    margin-top: 44px;
  }
}

/* ==========================================================================
   Joomla core editor chrome
   --------------------------------------------------------------------------
   Joomla prints a "module edit" pencil (a.jmodedit) plus a tooltip node
   (div[role="tooltip"]) around modules for logged-in editors. The utility
   class .visually-hidden is not shipped here, so the pencil's label and the
   tooltip were rendering as full-size text and pushing the header nav apart.
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a.jmodedit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  min-height: 0;
  padding: 0;
  margin: 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.jmodedit::before {
  content: "";
  width: 13px;
  height: 13px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.6 1.4a1.9 1.9 0 0 1 2.7 0l.3.3a1.9 1.9 0 0 1 0 2.7L5.8 13.2 2 14l.8-3.8 8.8-8.8ZM10.2 3.3 12 5.1l.8-.8a.4.4 0 0 0 0-.6l-.5-.5a.4.4 0 0 0-.6 0l-.8.8ZM9.1 4.4 3.5 10l-.4 1.9 1.9-.4 5.6-5.6-1.5-1.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.6 1.4a1.9 1.9 0 0 1 2.7 0l.3.3a1.9 1.9 0 0 1 0 2.7L5.8 13.2 2 14l.8-3.8 8.8-8.8ZM10.2 3.3 12 5.1l.8-.8a.4.4 0 0 0 0-.6l-.5-.5a.4.4 0 0 0-.6 0l-.8.8ZM9.1 4.4 3.5 10l-.4 1.9 1.9-.4 5.6-5.6-1.5-1.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

a.jmodedit:hover,
a.jmodedit:focus {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

a.jmodedit .icon-edit {
  display: none;
}

/* The tooltip duplicates the link's own tooltip; keep it out of the layout. */
a.jmodedit + [role="tooltip"],
a.jmodedit ~ [role="tooltip"] {
  display: none;
}

/* Inside block-level module output (custom HTML modules in the footer) the
   pencil would otherwise sit on its own line above the first heading. Float it
   out of the flow and reveal it on hover so the layout stays clean. */
.mod-custom {
  position: relative;
}

.mod-custom > a.jmodedit {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mod-custom:hover > a.jmodedit,
.mod-custom > a.jmodedit:focus-visible {
  opacity: 1;
}

/* The header menu module prints the same pencil as the first item of the nav
   list, which pushes the whole nav right. Park it in the gap between the
   wordmark and the nav, and reveal it on hover. */
.main-nav {
  position: relative;
}

.main-nav-list > a.jmodedit {
  position: absolute;
  left: -22px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  transform: translateY(-50%);
}

.main-nav:hover > .main-nav-list > a.jmodedit,
.main-nav > .main-nav-list > a.jmodedit:focus-visible {
  opacity: 1;
}

@media (max-width: 1400px) and (min-width: 901px) {
  .footer-brand .brand-name {
    font-size: clamp(20.25px, 1.95vw, 24.75px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    font-size: clamp(27px, 2.6vw, 33px);
  }

  .brand-tagline {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .main-nav > ul {
    gap: clamp(8px, 1vw, 15px);
  }

  .main-nav a {
    font-size: clamp(10px, 0.95vw, 12px);
    letter-spacing: 0.07em;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
  }
}

/* =========================================================
   Membership Pro employment application
   ========================================================= */

.careers-application #osm-signup-page {
  width: min(940px, calc(100% - 40px));
  margin: clamp(32px, 6vw, 72px) auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.careers-application #osm-signup-page .osm-page-title {
  margin-bottom: 20px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.careers-application #osm-signup-page .osm-message {
  margin-bottom: 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--red);
  background: var(--cream);
  color: var(--ink);
}

.careers-application #osm-signup-page .osm-message p {
  max-width: 70ch;
}

.careers-application #os_form {
  display: flex;
  width: 100%;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.careers-application #os_form #field_upload_profile_avatar {
  display: none;
}

.careers-application #os_form > .form-group.form-row {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 20px 0;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
}

.careers-application #os_form .form-control-label {
  width: auto;
  max-width: none;
  padding: 10px 0 0;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.careers-application #os_form .eb-form-control {
  min-width: 0;
}

.careers-application #os_form .eb-form-control > .form-control,
.careers-application #os_form .eb-form-control input:not([type="checkbox"]):not([type="radio"]),
.careers-application #os_form .eb-form-control select,
.careers-application #os_form .eb-form-control textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.careers-application #os_form .eb-form-control textarea {
  min-height: 140px;
  resize: vertical;
}

.careers-application #os_form .eb-form-control input[type="file"] {
  min-height: 48px;
  padding: 8px;
  border: 1px dashed var(--line-dark);
  background: var(--mist-blue);
}

.careers-application #os_form .password-group .input-group {
  display: flex;
  width: 100%;
}

.careers-application #os_form .password-group .input-group > input {
  width: 0;
  flex: 1 1 auto;
  border-right: 0;
}

.careers-application #os_form .input-password-toggle {
  position: relative;
  display: inline-flex;
  min-width: 68px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 0 2px 2px 0;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.careers-application #os_form .input-password-toggle::before {
  width: 17px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 80% 12%;
  content: "";
  transform: rotate(45deg);
}

.careers-application #os_form .input-password-toggle::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.careers-application #os_form .input-group:has(input[type="text"]) .input-password-toggle::after {
  width: 20px;
  height: 2px;
  border-radius: 0;
  transform: rotate(-45deg);
}

.careers-application #os_form .input-password-toggle:hover {
  background: var(--red);
}

.careers-application #os_form .eb-form-control input:focus,
.careers-application #os_form .eb-form-control select:focus,
.careers-application #os_form .eb-form-control textarea:focus {
  border-color: var(--navy-light);
  outline: 3px solid rgba(16, 54, 94, 0.14);
  outline-offset: 1px;
}

.careers-application #os_form .osm-checkboxes-contaier {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
}

.careers-application #os_form .osm-checkboxes-contaier > .row {
  display: contents;
}

.careers-application #os_form .osm-checkboxes-contaier .col-md-12 {
  width: auto;
  min-width: min(100%, 210px);
  flex: 1 1 210px;
}

.careers-application #os_form .osm-checkboxes-contaier .checkbox {
  display: flex;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--mist-blue);
  color: var(--ink);
}

.careers-application #os_form .osm-checkboxes-contaier input[type="checkbox"],
.careers-application #os_form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.careers-application #os_form .star,
.careers-application #os_form .required {
  color: var(--red);
}

.careers-application #os_form .description,
.careers-application #os_form .form-text,
.careers-application #os_form .osm-field-description {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.careers-application #os_form .form-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.careers-application #os_form .osm-privacy-policy-message {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--mist-blue);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.careers-application #btn-submit {
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: linear-gradient(180deg, #15508a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-sm);
  color: var(--white);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.careers-application #btn-submit:hover {
  background: linear-gradient(180deg, #c52b40 0%, var(--red) 55%, var(--red-deep) 100%);
}

@media (max-width: 700px) {
  .careers-application #osm-signup-page {
    width: min(100% - 24px, 560px);
    margin: 24px auto 40px;
    padding: 22px 18px;
  }

  .careers-application #os_form > .form-group.form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .careers-application #os_form .form-control-label {
    padding-top: 0;
  }

  .careers-application #os_form .form-actions {
    justify-content: stretch;
  }

  .careers-application #btn-submit {
    width: 100%;
  }
}
