@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..600&family=Manrope:wght@400;700;800&display=swap');

:root {
  --paper: #ffffff;
  --paper-warm: #f9f9f9f1;
  --surface-hover: #eef4ff;
  --ink: #0b0f14;
  --ink-soft: #40506f;
  --cobalt: #0052cc;
  --cobalt-hover: #003d99;
  --brass: #d97706;
  --rule: #e2e8f0;
  --menu-hover: #e5e7eb;
  --navy: #101a35;
  --shadow: 0 14px 35px rgba(16, 26, 53, 0.12);
  --card-bg: #eef4fb;
  --card-bg-hover: #e4efff;
  --card-border: #cbd8e8;
  --card-shadow: 0 14px 35px rgba(16, 26, 53, 0.1);
  --header-bg: rgba(255, 255, 255, 0.95);
  --mobile-nav-bg: #f1f3f5;
  --font-editorial: 'Fraunces', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --partner-logo-height: 48px;
}

/* Dark Mode Theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b0f14;
  --paper-warm: #131922;
  --surface-hover: #172033;
  --ink: #f1f5f9;
  --ink-soft: #94a3b8;
  --cobalt: #3b82f6;
  --cobalt-hover: #60a5fa;
  --brass: #f59e0b;
  --rule: #0f151d;
  --menu-hover: #1a2535;
  --navy: #070a0f;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  --card-bg: #162235;
  --card-bg-hover: #1d304b;
  --card-border: #334b69;
  --card-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(11, 15, 20, 0.95);
  --mobile-nav-bg: #171a1f;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-editorial);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s ease;
}

p {
  margin: 0;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

/* Container */
.container-page, .container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* Typography Utilities */
.font-editorial {
  font-family: var(--font-editorial);
}

.font-sans {
  font-family: var(--font-sans);
}

.manrope-bold {
  font-family: var(--font-sans);
  font-weight: 700;
}

.manrope-extra-bold {
  font-family: var(--font-sans);
  font-weight: 800;
}

.eyebrow, .chapter-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.italic {
  font-style: italic;
}

.lowercase {
  text-transform: lowercase;
}

.eyebrow em.lowercase,
.chapter-label em.lowercase {
  text-transform: lowercase !important;
}

.text-cobalt {
  color: var(--cobalt) !important;
}

.text-ink {
  color: var(--ink);
}

.text-ink-soft {
  color: var(--ink-soft);
}

.bg-paper-warm {
  background-color: var(--paper-warm);
  transition: background-color 0.3s ease;
}

.bg-ink {
  background-color: var(--ink);
  color: var(--paper);
}

.bg-navy {
  background-color: var(--navy);
  color: #ffffff;
}

.border-t {
  border-top: 1px solid var(--rule);
}

.border-b {
  border-bottom: 1px solid var(--rule);
}

.border-rule {
  border-color: var(--rule);
}

/* Skip link */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header__inner {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-header__inner {
  width: min(1140px, calc(100% - 32px));
}

@media (min-width: 768px) {
  .site-header__inner {
    height: 5.25rem;
  }
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  z-index: 10;
}

.brand__text {
  display: none;
}

.brand__logo {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand__logo--light {
  display: block;
}

.brand__logo--dark {
  display: none;
}

html[data-theme="dark"] .brand__logo--light {
  display: none !important;
}

html[data-theme="dark"] .brand__logo--dark {
  display: block !important;
}

.brand__tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}

@media (min-width: 768px) {
  .brand__tagline {
    display: block;
  }

  .brand__logo {
    height: 4rem;
  }
}

.brand__divider {
  margin-inline: 0.5rem;
  color: var(--rule);
}

/* Header Control Actions & Menu Toggle */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 1.25rem; /* Equal gap between toggle button and nav links */
  z-index: 10;
}

.employee-public-site-link {
  position: relative;
  z-index: 10;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.employee-public-site-link:hover {
  color: var(--cobalt);
}

.menu-toggle-label {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: opacity 0.2s ease;
}

.menu-toggle-label.is-hidden {
  display: none;
}

/* Minimal 2-Bar Icon Toggle Button (No Borders!) */
.menu-toggle-btn, .menu-button {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.25rem !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: color 0.2s ease;
}

.menu-toggle-btn:hover, .menu-button:hover {
  color: var(--cobalt);
}

/* 2-Bar Icon Container */
.menu-toggle-icon {
  position: relative;
  width: 1.25rem;
  height: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  transform-origin: center;
}

/* Morph 2 Bars into 'X' when open */
.menu-toggle-btn[aria-expanded="true"] .menu-toggle-icon span:first-child,
.menu-button[aria-expanded="true"] .menu-toggle-icon span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle-btn[aria-expanded="true"] .menu-toggle-icon span:last-child,
.menu-button[aria-expanded="true"] .menu-toggle-icon span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Desktop Pop-Out Navigation — Equal 1.25rem gap spacing, no clipping overflow! */
.site-nav {
  display: none;
}

@media (min-width: 992px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* Equal spacing between links */
    margin: 0;
    padding: 0;
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden; /* Only overflow hidden during transition */
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    transition: max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                visibility 0.3s ease;
  }

  .site-nav.is-open {
    max-width: 900px;
    opacity: 1;
    visibility: visible;
    overflow: visible !important; /* Allow dropdowns to float freely */
  }
}

/* Staggered Pop-Out Link Animations */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  opacity: 0;
  border: none !important;
  transform: translateX(14px);
  transition: opacity 0.3s ease,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease;
  transition-delay: calc(var(--item-index, 0) * 35ms);
}

.nav-link__label {
  display: inline-flex;
  align-items: center;
}

.nav-icon {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease;
}

.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon,
.nav-link.active .nav-icon,
.nav-link[aria-current="page"] .nav-icon {
  transform: translateY(-2px) scale(1.08);
}

.site-nav.is-open .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.nav-link:hover, .nav-link.active, .nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--cobalt);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after, .nav-link[aria-current="page"]::after {
  width: 100%;
}

/* Desktop Parent-Child Dropdown Navigation (100% Visible & Hoverable) */
.nav-item--has-dropdown {
  position: relative;
}

.dropdown-chevron {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: transform 0.25s ease;
}

.nav-item--has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 230px;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 0.65rem 0.5rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 1000;
}

/* Hover bridge to seamlessly cover the gap between parent link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
  background: transparent;
}

/* Hover & Focus State for Dropdown */
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover {
  background-color: var(--menu-hover);
  color: var(--cobalt);
}

.nav-child-label {
  display: inline-flex;
  align-items: center;
  gap: 0.825rem;
}

/* Language Switcher (flag pill trigger + dropdown list) */
.lang-switcher {
  position: relative;
}

.lang-switcher__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem !important;
  padding: 0 !important;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem !important;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-switcher__trigger:hover,
.lang-switcher__trigger[aria-expanded="true"] {
  border-color: var(--cobalt);
}

.lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1;
  background-color: var(--paper-warm);
}

.lang-switcher__trigger .lang-switcher__flag {
  background-color: transparent;
}

.lang-switcher__chevron {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  width: 0.85rem;
  height: 0.85rem;
  color: var(--ink-soft);
  transition: transform 0.25s ease;
}

.lang-switcher__trigger[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 190px;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lang-switcher__option:hover {
  background-color: var(--menu-hover);
}

.lang-switcher__option .lang-switcher__name {
  flex: 1;
}

.lang-switcher__check {
  width: 1rem;
  height: 1rem;
  color: var(--cobalt);
  visibility: hidden;
}

.lang-switcher__option.is-selected .lang-switcher__check {
  visibility: visible;
}

/* Hover/focus tooltip for icon-only controls (theme toggle, contact, language) */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover,
[data-tooltip]:focus-visible {
  z-index: 1200;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 0.35rem 0.65rem;
  background-color: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0.35rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lang-switcher__trigger[aria-expanded="true"]::after {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* The drawer scrolls its content; let it grow past the fold while the dropdown is open so the menu isn't clipped. */
.mobile-nav-drawer.has-open-language-menu {
  overflow: visible;
}

.mobile-nav-actions-row .lang-switcher__menu {
  right: 0;
  left: auto;
}

.employee-lock-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown-item > span:not(.nav-child-label) {
  font-family: var(--font-editorial);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
  margin-left: 0.825rem;
  font-weight: 400;
  font-style: italic;
}

.stats-section {
  background-color: var(--navy);
  color: #ffffff;
}

.stats-section .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.stats-section .section-title {
  color: #ffffff;
}

.stats-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.stats-intro {
  max-width: 50ch;
  margin-top: 1.25rem;
  color: #d9e2fa;
  font-size: 1.05rem;
}

.stats-section .btn-white {
  margin-top: 1.5rem;
}

.stats-list {
  display: grid;
  gap: 1.2rem;
  margin: 0;
}

.stats-list div {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
}

.stats-list dt {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #d1d5db;
  font-family: var(--font-editorial);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.stats-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-list dd {
  margin: 0.35rem 0 0;
  color: #d9e2fa;
}

@media (max-width: 767px) {
  .stats-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.care-decision-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.technology-feature-media {
  position: relative;
  min-height: 34rem;
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  isolation: isolate;
}

.technology-feature-media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background: linear-gradient(110deg, rgba(7, 18, 41, 0.88), rgba(7, 18, 41, 0.52));
}

.technology-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: -50% center;
  transform: perspective(900px) rotateY(-12deg) skewY(2deg) scale(1.08);
  transform-origin: right center;
  -webkit-mask-image: radial-gradient(ellipse 99% 80% at 82% 50%, #000 48%, rgba(0, 0, 0, 0.82) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 99% 80% at 82% 50%, #000 48%, rgba(0, 0, 0, 0.82) 68%, transparent 100%);
}

@media (max-width: 767px) {
  .technology-feature-media img {
    transform: perspective(900px) rotateY(-7deg) skewY(1deg) scale(1.05);
  }
}

.technology-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 34rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.technology-feature-copy .eyebrow,
.technology-feature-copy .section-title,
.technology-feature-copy .care-decision-copy p,
.technology-feature-copy .text-cobalt {
  color: #fff;
}

.technology-human-connection {
  color: #fff;
}

.testimonial-carousel {
  align-self: start;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: var(--paper-warm);
}

.testimonial-carousel__topline,
.testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-carousel__count {
  color: var(--cobalt);
}

.testimonial-carousel__viewport {
  display: grid;
  min-height: 230px;
  align-items: center;
  padding: 1.5rem 0;
}

.testimonial {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.testimonial.is-active {
  opacity: 1;
  transform: none;
}

.testimonial[hidden] {
  display: block;
  visibility: hidden;
}

.testimonial__quote {
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}

.testimonial__source {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-carousel__controls {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.testimonial-carousel__dots,
.testimonial-carousel__arrows {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testimonial-dot,
.testimonial-arrow {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.testimonial-dot {
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-dot::before {
  content: '•';
  font-size: 1rem;
  transition: color 180ms ease, transform 180ms ease;
}

.testimonial-dot.is-active::before,
.testimonial-dot:hover::before {
  color: var(--cobalt);
  transform: scale(1.35);
}

.testimonial-arrow {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--rule);
  font-size: 1rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.testimonial-arrow:hover {
  background-color: var(--cobalt);
  color: #ffffff;
  transform: translateY(-2px);
}

.employee-auth-modal[hidden] {
  display: none;
}

.employee-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.employee-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 20, 0.68);
}

.employee-auth-modal__dialog {
  position: relative;
  width: min(100%, 30rem);
  padding: 2rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.employee-auth-modal__dialog .section-title {
  margin-top: 0.75rem;
}

.employee-auth-modal__dialog > p:not(.eyebrow):not(.employee-auth-modal__status) {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.employee-auth-modal__status {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.employee-auth-modal__dialog [data-employee-auth-login] {
  margin-top: 1.25rem;
}

.employee-auth-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.employee-auth-modal-open {
  overflow: hidden;
}

.employee-profile__avatar {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.employee-profile__avatar.has-photo {
  border-color: rgba(255, 255, 255, 0.75);
  background-color: transparent;
}

.employee-auth [data-login],
.employee-auth [data-logout] {
  width: min(100%, 18rem);
  min-height: 3.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .employee-auth-modal__dialog {
    transition: none;
  }
}

@media (max-width: 480px) {
  .employee-auth-modal__dialog {
    padding: 1.5rem;
  }
}

/* Buttons */
.btn-pill, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.15);
}

.btn-pill-sm, .button--small {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}

.btn-dark, .button--dark {
  background-color: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-dark:hover {
  background-color: var(--cobalt);
  border-color: var(--cobalt);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--paper);
}

.btn-white {
  background-color: #ffffff;
  color: #0b0f14;
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: var(--cobalt);
  border-color: var(--cobalt);
  color: #ffffff;
}

/* Contact Us Button with 3 Smooth Rotating Icons (Headset, Email, Map Pin) */
.contact-rotate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem !important;
  border-radius: 0.75rem !important;
}

.icon-rotator {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-rotator .rotate-icon {
  inset: 0;
}

.rotate-icon {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0;
  transform: translateY(4px) scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: currentColor;
}

.rotate-icon.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Compact Icon-Only Buttons (Matching Light/Dark Mode & Contact Button) */
.icon-btn-only {
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  transform: translateX(14px);
  transition-delay: calc(var(--item-index, 0) * 35ms);
}

.site-nav.is-open .icon-btn-only {
  opacity: 1;
  transform: translateX(0);
}

.icon-btn-only:hover {
  background-color: var(--cobalt) !important;
  border-color: var(--cobalt) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.theme-icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
}

.mobile-nav-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  overflow: visible;
}

/* The contact control sits at the bottom of the mobile drawer. Open its
   tooltip upward so the drawer's scroll boundary cannot clip it. */
.mobile-nav-actions-row .contact-rotate-btn[data-tooltip]::after {
  top: auto;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%) translateY(4px);
}

.mobile-nav-actions-row .contact-rotate-btn[data-tooltip]:hover::after,
.mobile-nav-actions-row .contact-rotate-btn[data-tooltip]:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

/* Contact and language controls use the same rounded-square geometry everywhere. */
.contact-rotate-btn,
.lang-switcher__trigger,
.mobile-nav-actions-row .contact-rotate-btn,
.mobile-nav-actions-row .lang-switcher__trigger {
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem !important;
  min-height: 3rem !important;
  padding: 0 !important;
  border-radius: 0.75rem !important;
}

.nav-item:has([data-tooltip]:hover),
.nav-item:has([data-tooltip]:focus-visible),
.lang-switcher:has([data-tooltip]:hover),
.lang-switcher:has([data-tooltip]:focus-visible) {
  z-index: 1200;
}

.mobile-nav-actions-row .icon-btn-only {
  opacity: 1;
  transform: none;
  color: var(--paper);
}

/* Mobile Navigation Drawer (Vertical Menu) */
@media (min-width: 992px) {
  .menu-button {
    display: none !important;
  }
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 4.5rem;
  right: 0;
  left: 0;
  max-height: calc(100vh - 4.5rem);
  background-color: var(--mobile-nav-bg);
  z-index: 45;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--rule);
  overflow-y: auto;
  transition: background-color 0.3s ease;
}

@media (min-width: 992px) {
  .mobile-nav-drawer,
  .mobile-nav-drawer.is-open {
    display: none;
  }
}

.mobile-nav-drawer.is-open {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  border: none !important;
}

.mobile-primary-link,
.mobile-nav-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-primary-link {
  width: 100%;
}

.mobile-primary-link .nav-icon,
.mobile-nav-label .nav-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-basis: 1.2rem;
  color: var(--cobalt);
}

.mobile-dropdown-chevron {
  transition: transform 0.25s ease;
}

.mobile-dropdown-toggle[aria-expanded="true"] .mobile-dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none !important;
  padding: 0;
  cursor: pointer;
}

.mobile-dropdown-children {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 0;
  padding: 0 0 0 1rem;
  margin-top: 0;
  border-left: 2px solid var(--rule);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: max-height 0.3s ease, margin-top 0.3s ease, padding-bottom 0.3s ease, opacity 0.2s ease, transform 0.3s ease;
}

.mobile-dropdown-children.is-open {
  max-height: 30rem;
  padding-bottom: 0.25rem;
  margin-top: 0.5rem;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-dropdown-children a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.mobile-dropdown-children .nav-child-sub {
  font-family: var(--font-editorial);
  font-size: 0.85rem;
  margin-left: 0.825rem;
  font-weight: 400;
  font-style: italic;
}

/* Layout Grids */
.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }

  .col-span-4 { grid-column: span 4 / span 4; }
  .col-span-5 { grid-column: span 5 / span 5; }
  .col-span-6 { grid-column: span 6 / span 6; }
  .col-span-7 { grid-column: span 7 / span 7; }
  .col-span-8 { grid-column: span 8 / span 8; }
  .col-span-12 { grid-column: span 12 / span 12; }
}

/* Section Spacing */
.section-padding {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.about-logo-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo {
  width: 100%;
  margin-inline: auto;
}

.about-team-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .about-logo-column {
    justify-content: center;
  }

  .about-logo {
    width: 125%;
    max-width: 42rem;
    margin-inline: auto;
  }
}

/* Editorial Headlines */
.hero-title {
  font-family: var(--font-editorial);
  font-size: 2.75rem;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 24ch;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.75rem;
  }
}

.section-title {
  font-family: var(--font-editorial);
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.card-title {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ink);
}

.team-member-card {
  overflow: hidden;
  border: 1px solid var(--card-border) !important;
  border-radius: 0.75rem;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  padding: 0 !important;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, border-color 320ms ease;
}

.team-member-card:hover,
.team-member-card:focus-within {
  border-color: var(--cobalt) !important;
  box-shadow: 0 18px 38px rgba(16, 26, 53, 0.18);
  transform: translateY(-4px);
}

.team-member-card .team-member-photo {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 4 / 5 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.team-member-card .team-member-photo::after {
  background: linear-gradient(180deg, transparent 55%, rgba(11, 15, 20, 0.28));
  opacity: 1;
}

.team-member-card .team-member-photo img {
  object-position: center top;
  transform: scale(1.001);
}

.team-member-card:hover .team-member-photo img,
.team-member-card:focus-within .team-member-photo img {
  transform: scale(1.03);
}

.team-member-card > h3,
.team-member-card > .eyebrow,
.team-member-card > p {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.team-member-card > h3 {
  margin-top: 1.25rem;
}

.team-member-card > p:last-child {
  margin-bottom: 1.5rem;
}

.team-member-photo {
  position: relative;
}

.team-member-photo::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), transparent 55%);
  content: '';
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.team-member-photo img {
  transform: scale(1.001);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), filter 320ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .team-member-photo::after,
  .team-member-photo img {
    transition: none;
  }
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.65rem;
  }
}

/* Interactive Hover Lift on Cards & Lists */
.border-list-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  padding-inline: 1rem;
  background-color: transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
}

@media (min-width: 768px) {
  .border-list-item {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
  }
  .border-list-item > :first-child {
    grid-column: span 5 / span 5;
  }
  .border-list-item > :last-child {
    grid-column: span 7 / span 7;
  }
}

.border-list-item:hover {
  transform: translateX(4px);
  border-color: var(--cobalt);
  background-color: var(--surface-hover);
}

/* Practice Cards */
.practice-card__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  background-color: var(--cobalt);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.practice-card__icon--home {
  -webkit-mask-image: url('../icons/house-heart.svg');
  mask-image: url('../icons/house-heart.svg');
}

.practice-card__icon--advisory {
  -webkit-mask-image: url('../icons/clipboard-check.svg');
  mask-image: url('../icons/clipboard-check.svg');
}

.practice-card__icon--community {
  -webkit-mask-image: url('../icons/users.svg');
  mask-image: url('../icons/users.svg');
}

.practice-card__icon--leadership {
  -webkit-mask-image: url('../icons/briefcase-business.svg');
  mask-image: url('../icons/briefcase-business.svg');
}

.practice-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 3.5rem;
}

.practice-card-grid--home {
  gap: 1rem;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.practice-card {
  background-color: var(--card-bg);
  border: 1px solid var(--rule);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card:hover {
  background-color: var(--card-bg-hover);
}

.practice-card-grid--home .practice-card {
  display: block;
}

.practice-card-grid--home .practice-card__info,
.practice-card-grid--home .practice-card__details {
  width: 100%;
}

.practice-card__details {
  margin-top: 1.25rem;
}

.practice-card-grid--home .practice-card__details {
  text-align: center;
}

@media (min-width: 768px) {
  .practice-card-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-card {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  .practice-card__info {
    grid-column: span 5 / span 5;
  }
  .practice-card__details {
    grid-column: span 7 / span 7;
    margin-top: 0;
  }
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .feature-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-bullet-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink);
}

.feature-bullet-item [data-i18n^="home.card"][data-i18n*="Bullet"] {
  font-weight: 700;
}

.bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.practice-card-grid--home .feature-bullets {
  max-width: 34rem;
  margin-inline: auto;
  text-align: left;
}

.care-areas-stack .feature-bullet-item {
  gap: 0.875rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.care-areas-stack .bullet-check {
  width: 1.125rem;
  height: 1.125rem;
  flex-basis: 1.125rem;
  font-size: 0.75rem;
}

.care-areas-stack .practice-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--navy);
  border-color: transparent;
}

.care-areas-stack .practice-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background: linear-gradient(100deg, rgba(7, 18, 41, 0.94) 0%, rgba(7, 18, 41, 0.78) 55%, rgba(7, 18, 41, 0.56) 100%);
}

.care-areas-stack .practice-card__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.care-areas-stack .practice-card__info,
.care-areas-stack .practice-card__details {
  position: relative;
  z-index: 2;
}

.care-areas-stack .practice-card .card-title,
.care-areas-stack .practice-card p,
.care-areas-stack .practice-card .feature-bullet-item {
  color: #fff;
}

.care-areas-stack .practice-card__icon {
  background-color: #fff;
}

html:not([data-theme="dark"]) .care-areas-stack .practice-card::before {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.55) 68%, rgba(255, 255, 255, 0) 100%);
}

html:not([data-theme="dark"]) .care-areas-stack .practice-card .card-title,
html:not([data-theme="dark"]) .care-areas-stack .practice-card p,
html:not([data-theme="dark"]) .care-areas-stack .practice-card .feature-bullet-item {
  color: var(--ink);
}

html:not([data-theme="dark"]) .care-areas-stack .practice-card__icon {
  background-color: var(--cobalt);
}

/* Homepage care areas: a compact horizontal scroll track inspired by the cards demo. */
@media (min-width: 768px) {
  .care-areas-stack {
    padding-bottom: 6rem;
  }

  .care-areas-heading {
    position: sticky;
    z-index: 4;
    top: 5.5rem;
    padding: 0.75rem 0 1.25rem;
    background: linear-gradient(to bottom, var(--paper) 78%, transparent);
  }

  .care-areas-horizontal {
    height: 310vh;
    margin-top: 2rem;
  }

  .care-areas-horizontal .practice-card-grid--home {
    position: sticky;
    top: 16rem;
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    width: max-content;
    height: clamp(14rem, 45vh, 27rem);
    min-height: 0;
    margin-top: 0;
  }

  .care-areas-horizontal .practice-card {
    flex: 0 0 min(68vw, 52rem);
    min-height: 0;
  }

  .care-areas-cta {
    position: sticky;
    z-index: 5;
    top: 16rem;
    width: max-content;
    margin-top: clamp(-27rem, -45vh, -14rem);
    padding-top: 2rem;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }
}

@media (max-width: 767px) {
  .care-areas-cta {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .care-areas-stack .practice-card {
    transition: none;
  }
}

.bullet-line {
  height: 1px;
  width: 0.75rem;
  flex-shrink: 0;
  background-color: var(--brass);
}

/* Accessibility menu: a pinned gooey trigger with options that fan out to the left. */
main {
  font-size: calc(1rem * var(--accessibility-scale, 1));
}

.accessibility-goo-filter {
  position: absolute;
  width: 0;
  height: 0;
}

.accessibility-menu {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  overflow: visible;
  filter: url("#accessibility-fancy-goo");
}

.accessibility-menu__items,
.accessibility-launcher,
.accessibility-menu__item,
.accessibility-option {
  position: absolute;
  background: #050505;
  color: #fff;
  border: 0;
  border-radius: 0.75rem;
}

.accessibility-menu__items {
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.accessibility-menu__item {
  right: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.5);
  transition: transform 0.45s cubic-bezier(0.16, 1.4, 0.3, 1), opacity 0.2s ease;
}

.accessibility-reset-icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  margin: auto;
}

.accessibility-option {
  right: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.5);
  transition: transform 0.45s cubic-bezier(0.16, 1.4, 0.3, 1), opacity 0.2s ease;
}

.accessibility-option > .accessibility-menu__item {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  transform: none;
}

.accessibility-scale-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
}

.accessibility-scale-trigger__small {
  font-size: 0.8rem;
}

.accessibility-scale-trigger__large {
  font-size: 1.2rem;
}

.accessibility-option__label {
  position: absolute;
  right: 50%;
  bottom: 3.45rem;
  z-index: 3;
  width: max-content;
  max-width: 9rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  background: #050505;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 0.25rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.accessibility-option:hover > .accessibility-option__label,
.accessibility-option:focus-within > .accessibility-option__label {
  opacity: 1;
  transform: translate(50%, 0);
}

/* Position the Text Size tooltip above the slider's percentage value. */
.accessibility-scale-label {
  right: 6rem;
  bottom: 7.5rem;
}

.accessibility-scale-popover {
  position: absolute;
  right: 0;
  bottom: 3.5rem;
  display: grid;
  gap: 0.35rem;
  width: 12rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  background: #050505;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.accessibility-scale-option:hover .accessibility-scale-popover,
.accessibility-scale-option:focus-within .accessibility-scale-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.accessibility-scale-popover__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.accessibility-scale-popover__large-label {
  font-size: 1.15rem;
}

.accessibility-scale-popover output {
  color: #aebfff;
  font-size: 0.72rem;
}

.accessibility-scale-popover input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--cobalt);
}

.accessibility-reader-option > .accessibility-menu__item {
  position: relative;
  inset: auto;
  display: grid;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  place-items: center;
  padding: 0;
  transform: none;
}

.accessibility-reader-trigger[aria-pressed="true"],
.accessibility-reader-trigger[aria-pressed="false"] {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  transform: none;
}

.accessibility-reader-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.accessibility-reader-trigger[aria-pressed="true"] {
  background: var(--cobalt);
  outline: 0;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cobalt) 65%, white);
}

html[data-theme="dark"] .accessibility-reader-trigger[aria-pressed="true"] {
  background: #505762;
  box-shadow: inset 0 0 0 2px #7b8491;
}

body.accessibility-reader-enabled main :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, dt, dd) {
  cursor: pointer;
}

.accessibility-reading-active {
  color: #111 !important;
  background: #ffe680 !important;
  box-shadow: 0 0 0 0.2em #ffe680;
  border-radius: 0.15em;
}

.accessibility-status {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 55;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.55rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.accessibility-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.accessibility-theme-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin: auto;
}

.accessibility-theme-option > .accessibility-menu__item {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  transform: none;
}

.accessibility-theme-trigger[aria-pressed="true"],
.accessibility-theme-trigger[aria-pressed="false"] {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  transform: none;
}

html[data-theme="dark"] .accessibility-menu__items,
html[data-theme="dark"] .accessibility-menu__item,
html[data-theme="dark"] .accessibility-reader-option,
html[data-theme="dark"] .accessibility-scale-option,
html[data-theme="dark"] .accessibility-scale-popover,
html[data-theme="dark"] .accessibility-theme-option,
html[data-theme="dark"] .accessibility-option__label,
html[data-theme="dark"] .accessibility-launcher {
  background: #3d424b;
}

.accessibility-menu__item:hover {
  background: #050505;
  color: #3d7bd2;
  outline: 0;
}

.accessibility-menu__item:focus-visible,
.accessibility-launcher:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--cobalt);
}

html[data-theme="dark"] .accessibility-menu__item:hover {
  background: #3d424b;
  color: var(--cobalt-hover);
}

html[data-theme="dark"] .accessibility-menu__item:focus-visible,
html[data-theme="dark"] .accessibility-launcher:focus-visible {
  box-shadow: inset 0 0 0 2px #7b8491;
}

.accessibility-launcher {
  position: absolute;
  right: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 26, 53, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1.4, 0.3, 1);
}

.accessibility-launcher__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.25rem;
  height: 1.65rem;
  margin: auto;
  background: #fff;
  -webkit-mask: center / contain no-repeat url('../icons/wheelchair-icon.svg');
  mask: center / contain no-repeat url('../icons/wheelchair-icon.svg');
}

.accessibility-launcher__wheel {
  position: absolute;
  left: 0.9rem;
  bottom: 0.67rem;
  width: 0.82rem;
  height: 0.82rem;
  border: 2px dashed #fff;
  border-radius: 50%;
  box-sizing: border-box;
  transform-origin: center;
  pointer-events: none;
}

.accessibility-launcher:hover .accessibility-launcher__wheel,
.accessibility-launcher[aria-expanded="true"] .accessibility-launcher__wheel {
  animation: accessibility-wheel-spin 0.75s linear infinite;
}

@keyframes accessibility-wheel-spin {
  to {
    transform: rotate(360deg);
  }
}

.accessibility-menu.is-open .accessibility-menu__item,
.accessibility-menu.is-open .accessibility-option {
  opacity: 1;
  pointer-events: auto;
}

.accessibility-menu.is-open .accessibility-menu__items > :nth-child(1) {
  transform: translateX(-3.25rem) scale(1);
}

.accessibility-menu.is-open .accessibility-menu__items > :nth-child(2) {
  transform: translateX(-6.5rem) scale(1);
}

.accessibility-menu.is-open .accessibility-menu__items > :nth-child(3) {
  transform: translateX(-9.75rem) scale(1);
}

.accessibility-menu.is-open .accessibility-menu__items > :nth-child(4) {
  transform: translateX(-13rem) scale(1);
}

@media (max-width: 639px) {
  .accessibility-menu {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .accessibility-menu.is-open .accessibility-menu__items > :nth-child(1) {
    transform: translateX(-3.1rem) scale(0.92);
  }

  .accessibility-menu.is-open .accessibility-menu__items > :nth-child(2) {
    transform: translateX(-6.2rem) scale(0.92);
  }

  .accessibility-menu.is-open .accessibility-menu__items > :nth-child(3) {
    transform: translateX(-9.3rem) scale(0.92);
  }

  .accessibility-menu.is-open .accessibility-menu__items > :nth-child(4) {
    transform: translateX(-12.4rem) scale(0.92);
  }
}

/* Mobile Safari clips transformed children to an SVG filter's source bounds. */
@supports (-webkit-touch-callout: none) {
  .accessibility-menu {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accessibility-menu__item,
  .accessibility-launcher {
    transition: none;
  }

  .accessibility-launcher__wheel {
    animation: none !important;
  }
}

/* Partner Logo Marquee */
.logo-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.logo-marquee-track:hover {
  animation-play-state: running;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item__name {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.logo-item img {
  height: var(--partner-logo-height);
  width: auto;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

html[data-theme="dark"] .logo-item img {
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.88;
}

html[data-theme="dark"] .logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .logo-marquee-track:hover {
    animation-play-state: paused;
  }
}

.logo-item__sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

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

/* Dark Banner Section */
.dark-cta-section {
  background-color: var(--navy);
  color: #ffffff;
  border-top: 1px solid var(--rule);
}

.dark-cta-section p {
  color: rgba(255, 255, 255, 0.75);
}

.dark-cta-section h2 {
  color: #ffffff;
}

.social-section {
  background-color: var(--paper-warm);
  border-bottom: 1px solid var(--rule);
}

.social-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.social-banner {
  min-height: 5.5rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 0.35rem;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.social-banner:hover,
.social-banner:focus-visible {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-3px);
}

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

.social-banner--instagram {
  background-color: #b52d75;
}

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

.social-banner svg {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-banner .social-facebook-mark,
.social-banner .social-linkedin-mark {
  fill: currentColor;
  stroke: none;
}

.social-banner .social-banner-dot {
  fill: currentColor;
  stroke: none;
}

.social-banner-arrow {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.social-banner:hover .social-banner-arrow,
.social-banner:focus-visible .social-banner-arrow {
  transform: translateX(0.25rem);
}

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

@media (max-width: 899px) and (min-width: 640px) {
  .social-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Scroll Reveal Animations */
.animate-rise, [data-reveal="true"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-rise.is-revealed, [data-reveal="true"].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
  padding-top: 4rem;
  padding-bottom: 2rem;
  transition: background-color 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-links-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

@media (max-width: 767px) {
  .footer-links-col .footer-link-group:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  .footer-brand-col {
    grid-column: span 5 / span 5;
  }
  .footer-links-col {
    grid-column: span 7 / span 7;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.footer-link-group h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.footer-link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.footer-link-group a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.footer-link-group a:hover {
  color: var(--cobalt);
}

.footer-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--cobalt);
  border-color: var(--cobalt);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social-link .footer-social-facebook-mark,
.footer-social-link .footer-social-solid-mark {
  fill: currentColor;
  stroke: none;
}

.footer-social-link .footer-social-dot {
  fill: currentColor;
  stroke: none;
}

/* Privacy Policy */
.privacy-policy {
  display: grid;
  gap: 2.5rem;
}

.privacy-policy__meta {
  align-self: start;
}

.privacy-policy__dates {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.6;
}

.privacy-policy__content {
  max-width: 72ch;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-policy__content > p:first-child {
  font-size: 1.125rem;
  line-height: 1.7;
}

.privacy-policy__content h2 {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-editorial);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--ink);
}

.privacy-policy__content h3 {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.privacy-policy__content ul {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.25rem;
}

.privacy-policy__content li {
  margin-top: 0.35rem;
  padding-left: 0.25rem;
}

.privacy-policy__content address {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--cobalt);
  font-style: normal;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .privacy-policy {
    grid-template-columns: 4fr 8fr;
    gap: 2rem;
  }

  .privacy-policy__meta {
    position: sticky;
    top: 2rem;
  }
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Contact Page Form & Input Fields */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.contact-field-error {
    color: #b42318;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: 0.4rem;
    min-height: 0;
}

.contact-phi-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.contact-phi-notice input {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  accent-color: var(--cobalt);
}

html[data-theme="dark"] .contact-phi-notice {
  color: #ffffff;
}

/* Animated Contact Submit */
.submit-action {
  --submit-bg: var(--ink);
  --submit-fg: var(--paper);
  --submit-progress: var(--cobalt);
  --submit-error: #b42318;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-width: 10.75rem;
  min-height: 2.625rem;
  margin: 1rem auto 0;
}

.submit-action__button {
  position: relative;
  z-index: 1;
  min-width: 100%;
  min-height: 2.625rem;
  margin-top: 0;
  background: var(--submit-bg);
  color: var(--submit-fg);
  border-color: var(--submit-bg);
}

.submit-action__button > span {
  position: relative;
  z-index: 2;
}

.submit-action__button::before,
.submit-action__button::after {
  content: "";
  position: absolute;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.submit-action__button::before {
  inset: 0;
  border-radius: inherit;
  background: var(--submit-bg);
}

.submit-action__button::after {
  top: 45%;
  right: 51%;
  bottom: 45%;
  left: 51%;
  border-radius: 999px;
  background: var(--submit-progress);
}

.submit-action.is-loading .submit-action__button {
  color: transparent;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  cursor: wait;
  pointer-events: none;
  transform: none;
}

.submit-action.is-loading .submit-action__button::before {
  opacity: 1;
  animation: submit-squish 400ms cubic-bezier(0.26, 0.6, 0.46, 1.7) forwards;
}

.submit-action.is-loading .submit-action__button::after {
  opacity: 1;
  animation: submit-progress 850ms 400ms ease forwards;
}

.submit-action__result {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  color: #ffffff;
  background: var(--submit-progress);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.submit-action__result svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 41;
  stroke-dashoffset: 41;
}

.submit-action.is-success .submit-action__button {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.65);
  transition: opacity 180ms ease, transform 180ms ease;
}

.submit-action.is-success .submit-action__result {
  animation: submit-result-pop 280ms 120ms cubic-bezier(0.26, 0.6, 0.46, 1.7) forwards;
}

.submit-action.is-success .submit-action__result svg {
  animation: submit-check-draw 280ms 380ms ease forwards;
}

.submit-action.is-error .submit-action__button {
  color: #ffffff;
  background: var(--submit-error);
  border-color: var(--submit-error);
  animation: submit-restore 240ms ease;
}

.submit-action.is-error .submit-action__button:hover {
  background: #9d1c13;
  border-color: #9d1c13;
}

.submit-action:not(.is-loading):not(.is-success) .submit-action__button:disabled {
  color: #6b7280;
  background: #d1d5db;
  border-color: #d1d5db;
  cursor: not-allowed;
  opacity: 1;
}

@keyframes submit-squish {
  100% {
    top: 45%;
    right: -8%;
    bottom: 45%;
    left: -8%;
    border-radius: 999px;
  }
}

@keyframes submit-progress {
  100% {
    right: -8%;
    left: -8%;
  }
}

@keyframes submit-result-pop {
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes submit-check-draw {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes submit-restore {
  0% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .submit-action,
  .submit-action *,
  .submit-action *::before,
  .submit-action *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}

.form-control[aria-invalid="true"] {
    border-color: #b42318;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   SMCS KNOWLEDGE & RESOURCE CENTER
   ============================================================ */


/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.resource-hero {
  position: relative;
  overflow: hidden;
}

.resource-hero::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -8rem;
  top: -8rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}

.resource-hero-title {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.resource-hero-copy {
  position: relative;
  z-index: 1;
}


/* ------------------------------------------------------------
   SEARCH SECTION
   ------------------------------------------------------------ */

.resource-search-section {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.resource-search-panel {
  padding: 2.75rem 0 2.5rem;
}

.resource-search-wrapper {
  max-width: 850px;
}

.resource-search-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.resource-search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.resource-search-box:hover {
  border-color: var(--cobalt);
}

.resource-search-box:focus-within {
  border-color: var(--cobalt);
  box-shadow:
    0 0 0 4px rgba(55, 100, 235, 0.10);
}

.resource-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  flex: 0 0 3.25rem;
  color: var(--ink-soft);
}

.resource-search-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.resource-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.9rem 0.5rem;
}

.resource-search-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.resource-search-input::-webkit-search-cancel-button {
  appearance: none;
}

.resource-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-right: 0.45rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.resource-search-clear:hover {
  background: var(--surface);
  color: var(--ink);
  transform: rotate(6deg);
}

.resource-search-clear:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.resource-search-clear svg {
  width: 1rem;
  height: 1rem;
}

.resource-search-help {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}


/* ------------------------------------------------------------
   FILTERS
   ------------------------------------------------------------ */

.resource-filter-area {
  margin-top: 2rem;
}

.resource-filter-label {
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.resource-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.resource-filter:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}

.resource-filter:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.resource-filter.is-active {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 5px 16px rgba(55, 100, 235, 0.18);
}

.resource-filter.is-active:hover {
  color: #fff;
  transform: translateY(-1px);
}

.resource-filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.resource-filter-icon svg {
  width: 1rem;
  height: 1rem;
}


/* ------------------------------------------------------------
   RESULTS HEADER
   ------------------------------------------------------------ */

.resource-results-section {
  overflow: hidden;
}

.resource-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.resource-result-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  white-space: nowrap;
}


/* ------------------------------------------------------------
   RESOURCE GRID
   ------------------------------------------------------------ */

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

.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 310px;
  padding: 2rem;
  background: var(--paper);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    background-color 180ms ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--cobalt);
  transition: height 240ms ease;
}

.resource-card:hover {
  background: var(--surface);
  transform: translateY(-3px);
  z-index: 2;
}

.resource-card:hover::before {
  height: 100%;
}

.resource-card--hidden {
  opacity: 0;
  transform: translateY(8px);
}

.resource-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.resource-card[hidden] {
  display: none;
}


/* ------------------------------------------------------------
   RESOURCE CARD CONTENT
   ------------------------------------------------------------ */

.resource-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.resource-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--cobalt);
  background: var(--paper);
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.resource-card:hover .resource-card-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--cobalt);
  color: #fff;
}

.resource-card-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.resource-card-category {
  color: var(--cobalt);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-align: right;
  text-transform: uppercase;
}

.resource-card-title {
  margin: 0;
  max-width: 25rem;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.15;
}

.resource-card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 160ms ease;
}

.resource-card-title a:hover {
  color: var(--cobalt);
}

.resource-card-title a:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
  border-radius: 2px;
}

.resource-card-description {
  margin-top: 1rem;
  max-width: 35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.resource-card-footer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.resource-card-dot {
  opacity: 0.5;
}

.resource-card-arrow {
  margin-left: auto;
  color: var(--cobalt);
  font-size: 1.25rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 180ms ease;
}

.resource-card:hover .resource-card-arrow {
  transform: translateX(5px);
}


/* ------------------------------------------------------------
   EMPTY STATE
   ------------------------------------------------------------ */

.resource-empty-state {
  padding: 5rem 1rem;
  text-align: center;
}

.resource-empty-state[hidden] {
  display: none;
}

.resource-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-soft);
}

.resource-empty-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.resource-empty-state h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--ink);
}

.resource-empty-state p {
  margin: 0.75rem auto 1.5rem;
  max-width: 35rem;
  color: var(--ink-soft);
}


/* ------------------------------------------------------------
   FEATURED RESOURCE
   ------------------------------------------------------------ */

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

.resource-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.7fr);
  gap: 3rem;
  align-items: center;
  min-height: 330px;
  padding: 3.5rem;
  border: 1px solid var(--rule);
  overflow: hidden;
}

.resource-featured-content {
  position: relative;
  z-index: 2;
}

.resource-featured-copy {
  max-width: 600px;
  margin: 1.25rem 0 1.75rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.resource-featured-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt);
  opacity: 0.18;
  transform: rotate(8deg);
  transition:
    opacity 300ms ease,
    transform 400ms ease;
}

.resource-featured:hover .resource-featured-mark {
  opacity: 0.28;
  transform: rotate(0deg) scale(1.04);
}

.resource-featured-mark svg {
  width: min(100%, 240px);
  height: auto;
}


/* ------------------------------------------------------------
   BUTTON SUPPORT
   ------------------------------------------------------------ */

.resource-featured .btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}


/* ------------------------------------------------------------
   DARK MODE
   ------------------------------------------------------------ */

[data-theme="dark"] .resource-search-box,
[data-theme="dark"] .resource-card,
[data-theme="dark"] .resource-featured {
  background: var(--paper);
}

[data-theme="dark"] .resource-card:hover {
  background: var(--surface);
}

[data-theme="dark"] .resource-filter:hover {
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .resource-filter.is-active {
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .resource-card-icon {
  background: var(--paper);
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1000px) {

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

  .resource-featured {
    grid-template-columns: minmax(0, 1fr) 180px;
    padding: 2.75rem;
  }

}


@media (max-width: 760px) {

  .resource-hero::after {
    width: 15rem;
    height: 15rem;
    right: -7rem;
    top: -6rem;
  }

  .resource-search-panel {
    padding: 2rem 0;
  }

  .resource-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.25rem 0.1rem 0.75rem;
    margin-right: -1rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .resource-filter {
    flex: 0 0 auto;
  }

  .resource-results-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

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

  .resource-card {
    min-height: 280px;
    padding: 1.65rem;
  }

  .resource-featured {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .resource-featured-mark {
    display: none;
  }

}


@media (max-width: 480px) {

  .resource-search-box {
    min-height: 3.5rem;
  }

  .resource-search-icon {
    width: 2.75rem;
    flex-basis: 2.75rem;
  }

  .resource-search-input {
    font-size: 0.92rem;
  }

  .resource-card-top {
    align-items: flex-start;
  }

  .resource-card-category {
    max-width: 55%;
  }

  .resource-card-footer {
    flex-wrap: wrap;
  }

}


/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

  .resource-card,
  .resource-card::before,
  .resource-card-icon,
  .resource-card-arrow,
  .resource-filter,
  .resource-search-box,
  .resource-search-clear,
  .resource-featured-mark {
    transition: none !important;
  }

  .resource-card--hidden,
  .resource-card--visible {
    transform: none;
  }

}


/* ------------------------------------------------------------
   HIGH CONTRAST / FOCUS
   ------------------------------------------------------------ */

.resource-filter:focus-visible,
.resource-search-input:focus-visible,
.resource-search-clear:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}


/* ------------------------------------------------------------
   PRINT
   ------------------------------------------------------------ */

@media print {

  .resource-search-section,
  .resource-filter-area,
  .dark-cta-section {
    display: none;
  }

  .resource-grid {
    display: block;
    border: 0;
  }

  .resource-card {
    page-break-inside: avoid;
    border-bottom: 1px solid #ccc;
  }

}

/* ------------------------------------------------------------
   HOMEPAGE GRAND REDESIGN CURTAIN
   ------------------------------------------------------------ */

.redesign-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.redesign-curtain[hidden] {
  display: none;
}

.redesign-curtain__panel {
  position: absolute;
  top: 0;
  bottom: -12vh;
  width: 51%;
  z-index: 1;
  overflow: hidden;
  background: repeating-linear-gradient(90deg,
    #01050f 0%,
    #071a36 3%,
    #173b68 6.25%,
    #071a36 9.5%,
    #01050f 12.5%);
  box-shadow: inset 0 -2rem 4rem rgba(0, 3, 12, 0.68);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  will-change: transform, clip-path;
  backface-visibility: hidden;
  contain: paint;
}

.redesign-curtain__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0 2.2%,
    rgba(255, 255, 255, 0.075) 3.5%,
    transparent 5.2%,
    rgba(0, 3, 14, 0.2) 6.8%,
    transparent 8%);
  mix-blend-mode: screen;
}

.redesign-curtain__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(0, 2, 10, 0.25) 0 1.2%,
    transparent 2.2% 5.4%,
    rgba(76, 125, 181, 0.08) 6.4%,
    transparent 7.6% 9.5%);
  opacity: 0.9;
}

.redesign-curtain__panel--left {
  left: 0;
  transform-origin: left center;
  border-radius: 0 0 18% 0;
}

.redesign-curtain__panel--right {
  right: 0;
  transform-origin: right center;
  border-radius: 0 0 0 18%;
  background: repeating-linear-gradient(270deg,
    #01050f 0%,
    #071a36 3%,
    #173b68 6.25%,
    #071a36 9.5%,
    #01050f 12.5%);
}

.redesign-curtain.is-opening .redesign-curtain__panel--left {
  animation:
    redesign-curtain-open-left 2400ms linear both,
    redesign-curtain-curve-left 2400ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.redesign-curtain.is-opening .redesign-curtain__panel--right {
  animation:
    redesign-curtain-open-right 2400ms linear both,
    redesign-curtain-curve-right 2400ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

@keyframes redesign-curtain-curve-left {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 18%, 100% 28%, 100% 38%, 100% 46%, 100% 50%, 100% 54%, 100% 62%, 100% 72%, 100% 82%, 100% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 98% 18%, 94% 28%, 86% 38%, 72% 46%, 56% 50%, 72% 54%, 86% 62%, 94% 72%, 98% 82%, 100% 100%, 0 100%);
  }
}

@keyframes redesign-curtain-curve-right {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 82%, 0 72%, 0 62%, 0 54%, 0 50%, 0 46%, 0 38%, 0 28%, 0 18%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 2% 82%, 6% 72%, 14% 62%, 28% 54%, 44% 50%, 28% 46%, 14% 38%, 6% 28%, 2% 18%);
  }
}

@keyframes redesign-curtain-open-left {
  0% {
    transform: translate3d(0, 0, 0) scaleX(1) skewY(0);
    clip-path: polygon(0 0, 100% 0, 100% 31%, 100% 50%, 100% 69%, 100% 100%, 0 100%);
  }
  8% {
    transform: translate3d(-3%, 0, 0) scaleX(0.98) skewY(-0.2deg);
    clip-path: polygon(0 0, 100% 0, 95% 31%, 84% 50%, 95% 69%, 100% 100%, 0 100%);
  }
  18% {
    transform: translate3d(-9%, 0, 0) scaleX(0.94) skewY(-0.45deg);
    clip-path: polygon(0 0, 100% 0, 92% 30.5%, 76% 50%, 92% 69.5%, 100% 100%, 0 100%);
  }
  32% {
    transform: translate3d(-23%, 0, 0) scaleX(0.85) skewY(-0.9deg);
    clip-path: polygon(0 0, 100% 0, 88% 30%, 67% 50%, 88% 70%, 100% 100%, 0 100%);
  }
  46% {
    transform: translate3d(-41%, 0, 0) scaleX(0.77) skewY(-1.25deg);
    clip-path: polygon(0 0, 100% 0, 85% 30%, 61% 50%, 85% 70%, 100% 100%, 0 100%);
  }
  60% {
    transform: translate3d(-56%, 0, 0) scaleX(0.7) skewY(-1.5deg);
    clip-path: polygon(0 0, 100% 0, 84% 30%, 58% 50%, 84% 70%, 100% 100%, 0 100%);
  }
  74% {
    transform: translate3d(-58%, 0, 0) scaleX(0.69) skewY(-0.8deg);
    clip-path: polygon(0 0, 100% 0, 82% 30.5%, 54% 50%, 82% 69.5%, 100% 100%, 0 100%);
  }
  84% {
    transform: translate3d(-60%, 0, 0) scaleX(0.67) skewY(-0.55deg);
    clip-path: polygon(0 0, 100% 0, 81.5% 31%, 55% 50%, 81.5% 69%, 100% 100%, 0 100%);
  }
  93% {
    transform: translate3d(-60.7%, 0, 0) scaleX(0.655) skewY(-0.35deg);
    clip-path: polygon(0 0, 100% 0, 81.2% 31%, 55.7% 50%, 81.2% 69%, 100% 100%, 0 100%);
  }
  100% {
    transform: translate3d(-61%, 0, 0) scaleX(0.65) skewY(-0.25deg);
    clip-path: polygon(0 0, 100% 0, 81% 31%, 56% 50%, 81% 69%, 100% 100%, 0 100%);
  }
}

@keyframes redesign-curtain-open-right {
  0% {
    transform: translate3d(0, 0, 0) scaleX(1) skewY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 69%, 0 50%, 0 31%);
  }
  8% {
    transform: translate3d(3%, 0, 0) scaleX(0.98) skewY(0.2deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 69%, 16% 50%, 5% 31%);
  }
  18% {
    transform: translate3d(9%, 0, 0) scaleX(0.94) skewY(0.45deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8% 69.5%, 24% 50%, 8% 30.5%);
  }
  32% {
    transform: translate3d(23%, 0, 0) scaleX(0.85) skewY(0.9deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12% 70%, 33% 50%, 12% 30%);
  }
  46% {
    transform: translate3d(41%, 0, 0) scaleX(0.77) skewY(1.25deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15% 70%, 39% 50%, 15% 30%);
  }
  60% {
    transform: translate3d(56%, 0, 0) scaleX(0.7) skewY(1.5deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16% 70%, 42% 50%, 16% 30%);
  }
  74% {
    transform: translate3d(58%, 0, 0) scaleX(0.69) skewY(0.8deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18% 69.5%, 46% 50%, 18% 30.5%);
  }
  84% {
    transform: translate3d(60%, 0, 0) scaleX(0.67) skewY(0.55deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18.5% 69%, 45% 50%, 18.5% 31%);
  }
  93% {
    transform: translate3d(60.7%, 0, 0) scaleX(0.655) skewY(0.35deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18.8% 69%, 44.3% 50%, 18.8% 31%);
  }
  100% {
    transform: translate3d(61%, 0, 0) scaleX(0.65) skewY(0.25deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 19% 69%, 44% 50%, 19% 31%);
  }
}

.redesign-curtain__valance {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: clamp(7rem, 19vh, 12rem);
  background:
    radial-gradient(ellipse 21% 88% at 12.5% 0%, #0b2548 0 48%, #030e20 70%, transparent 72%),
    radial-gradient(ellipse 21% 88% at 37.5% 0%, #071a35 0 48%, #020a18 70%, transparent 72%),
    radial-gradient(ellipse 21% 88% at 62.5% 0%, #0b2548 0 48%, #030e20 70%, transparent 72%),
    radial-gradient(ellipse 21% 88% at 87.5% 0%, #071a35 0 48%, #020a18 70%, transparent 72%),
    linear-gradient(180deg, #00030a 0%, #06172e 68%, #020a17 100%) top / 100% 46% no-repeat;
  filter: drop-shadow(0 10px 8px rgba(0, 3, 14, 0.62));
  transform-origin: top;
  transition: transform 1050ms cubic-bezier(0.65, 0, 0.18, 1) 500ms, opacity 700ms ease 700ms;
}

.redesign-curtain__valance::before {
  content: "";
  position: absolute;
  inset: 0 0 22%;
  background: repeating-linear-gradient(90deg,
    rgba(0, 2, 10, 0.32) 0 1.5%,
    rgba(49, 84, 129, 0.18) 3%,
    transparent 5%,
    rgba(0, 2, 10, 0.28) 6.5% 8%);
  mask-image: linear-gradient(#000 0 72%, transparent 100%);
}

.redesign-curtain.is-opening .redesign-curtain__valance {
  opacity: 0;
  transform: translateY(-105%);
}

.redesign-curtain__message {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 2rem;
  text-align: center;
  text-shadow: 0 3px 18px rgba(34, 0, 6, 0.8);
  transition: opacity 500ms ease, transform 650ms ease;
}

.redesign-curtain.is-opening .redesign-curtain__message {
  opacity: 0;
  transform: scale(0.94);
}

.redesign-curtain__eyebrow {
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.78;
}

.redesign-curtain__title {
  font-family: var(--font-editorial, Georgia, serif);
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.redesign-curtain__rule {
  width: min(11rem, 42vw);
  height: 2px;
  margin-top: 0.65rem;
  background: #f0ce82;
  transform-origin: center;
  animation: redesign-rule-reveal 500ms ease-out both;
}

.redesign-curtain-active {
  overflow: hidden;
}

@keyframes redesign-rule-reveal {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 760px) {
  .redesign-curtain__valance {
    background:
      radial-gradient(ellipse 28% 88% at 16.667% 0%, #0b2548 0 48%, #030e20 70%, transparent 72%),
      radial-gradient(ellipse 28% 88% at 50% 0%, #071a35 0 48%, #020a18 70%, transparent 72%),
      radial-gradient(ellipse 28% 88% at 83.333% 0%, #0b2548 0 48%, #030e20 70%, transparent 72%),
      linear-gradient(180deg, #00030a 0%, #06172e 68%, #020a17 100%) top / 100% 46% no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  .redesign-curtain__panel,
  .redesign-curtain__valance,
  .redesign-curtain__message {
    animation-duration: 160ms;
    transition-duration: 160ms;
    transition-delay: 0ms;
  }

  .redesign-curtain__rule {
    animation: none;
  }
}

@media print {
  .redesign-curtain {
    display: none !important;
  }
}
