:root {
  --primary: #087f5b;
  --primary-dark: #056044;
  --primary-bright: #009970;
  --primary-soft: #e8f7f1;
  --ink: #16231f;
  --muted: #60706a;
  --line: #dce7e2;
  --surface: #ffffff;
  --background: #f5f8f7;
  --shadow: 0 18px 48px rgba(18, 63, 49, 0.09);
  --shadow-hover: 0 24px 60px rgba(18, 63, 49, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--background);
  font-family: "Poppins", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 9px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

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

.home-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 72px;
  color: #fff;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-bright));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(5, 96, 68, 0.14);
  transition: box-shadow 180ms ease;
}

.home-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(5, 96, 68, 0.22);
}

.home-header-inner {
  display: flex;
  width: min(1388px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.home-brand {
  display: inline-flex;
  align-items: center;
}

.home-brand img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.home-desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-desktop-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #e4fff5;
  font-size: 13px;
  font-weight: 700;
  transition: 160ms ease;
}

.home-desktop-nav a:hover,
.home-desktop-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.home-desktop-nav .home-nav-cta {
  margin-left: 8px;
  padding-inline: 16px;
  color: var(--primary-dark);
  background: #fff;
}

.home-desktop-nav .home-nav-cta:hover,
.home-desktop-nav .home-nav-cta:focus-visible {
  color: var(--primary-dark);
  background: #dcfff1;
}

.home-menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: 700;
}

.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 11px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.home-mobile-nav {
  position: fixed;
  z-index: 999;
  top: 72px;
  right: 0;
  left: 0;
  padding: 16px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 35px rgba(18, 63, 49, 0.16);
}

.home-mobile-nav[hidden] {
  display: none;
}

.home-mobile-nav a {
  display: flex;
  padding: 13px 12px;
  align-items: center;
  justify-content: space-between;
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.home-mobile-nav a:hover,
.home-mobile-nav a:focus-visible {
  color: var(--primary-dark);
  background: var(--primary-soft);
  outline: none;
}

.home-mobile-nav .mobile-nav-cta {
  margin-top: 8px;
  color: #fff;
  background: var(--primary);
}

.home-hero {
  position: relative;
  overflow: visible;
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 13% 15%, rgba(0, 153, 112, 0.1), transparent 27rem),
    radial-gradient(circle at 87% 85%, rgba(0, 153, 112, 0.09), transparent 26rem),
    var(--background);
}

.home-hero::before {
  position: absolute;
  top: 20px;
  right: -70px;
  content: "CA";
  color: rgba(8, 127, 91, 0.035);
  font-size: clamp(260px, 35vw, 520px);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-kicker span {
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #10221c;
  font-size: clamp(43px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero-copy h1 em {
  display: block;
  color: var(--primary);
  font-style: normal;
}

.hero-description {
  max-width: 660px;
  margin: 24px 0 0;
  color: #52625c;
  font-size: 17px;
  line-height: 1.75;
}

.global-search {
  position: relative;
  z-index: 40;
  max-width: 680px;
  margin-top: 27px;
}

.global-search form > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.global-search-control { position: relative; }

.global-search-control > .fa-search {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  color: var(--primary);
  font-size: 17px;
  transform: translateY(-50%);
}

.global-search-control input {
  width: 100%;
  height: 58px;
  padding: 0 52px 0 50px;
  border: 1px solid #bcd4ca;
  border-radius: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(18, 63, 49, 0.1);
  outline: none;
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.global-search-control input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 127, 91, 0.12), 0 16px 38px rgba(18, 63, 49, 0.12);
}

.global-search-control input::placeholder { color: #82918b; }

.global-search-control button {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.global-search-control button[hidden] { display: none; }

.global-search-control button:hover,
.global-search-control button:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  outline: none;
}

.global-search-panel {
  position: absolute;
  z-index: 60;
  top: 88px;
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(18, 63, 49, 0.2);
}

.global-search-panel[hidden] { display: none; }

.global-search-status {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--background);
  font-size: 9px;
  font-weight: 700;
}

.global-search-panel ul {
  max-height: 390px;
  margin: 0;
  padding: 7px;
  overflow-y: auto;
  list-style: none;
}

.global-search-panel li a {
  display: grid;
  min-height: 66px;
  padding: 9px 11px;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 11px;
  transition: background 140ms ease;
}

.global-search-panel li.is-active a,
.global-search-panel li a:hover,
.global-search-panel li a:focus-visible {
  background: var(--primary-soft);
  outline: none;
}

.global-result-code {
  display: inline-flex;
  min-height: 34px;
  padding: 5px 8px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.global-result-copy,
.global-result-copy strong,
.global-result-copy small {
  display: block;
  min-width: 0;
}

.global-result-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-result-copy small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-search-panel li > a > .fa { color: var(--primary); font-size: 11px; }

.global-search-hint {
  display: flex;
  margin: 9px 0 0;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.global-search-hint i { color: var(--primary); }

.hero-actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.primary-button {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 25px rgba(8, 127, 91, 0.22);
}

.secondary-button {
  border: 1px solid #cadbd4;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.7);
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 15px 30px rgba(8, 127, 91, 0.18);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--primary-dark);
}

.hero-benefits {
  display: flex;
  margin: 26px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #52625c;
  font-size: 12px;
  font-weight: 600;
}

.hero-benefits i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
}

.hero-finder {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(8, 127, 91, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-finder::after {
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: -14px;
  width: 75%;
  height: 75%;
  content: "";
  border-radius: 24px;
  background: var(--primary-soft);
}

.finder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.finder-label {
  color: #788781;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.finder-heading h2 {
  margin: 4px 0 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.finder-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 18px;
}

.finder-years {
  display: grid;
  margin-top: 20px;
  gap: 9px;
}

.finder-years a {
  display: grid;
  min-height: 69px;
  padding: 10px 14px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: 170ms ease;
}

.finder-years a:hover,
.finder-years a:focus-visible {
  border-color: #9dcfbc;
  background: #f4fcf9;
  transform: translateX(4px);
  outline: none;
}

.finder-years .year-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.finder-years strong,
.finder-years small {
  display: block;
}

.finder-years strong {
  font-size: 14px;
}

.finder-years small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-years > a > i {
  color: var(--primary);
  font-size: 12px;
}

.finder-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.finder-note i {
  margin-right: 5px;
  color: var(--primary);
}

.section-space {
  padding: 92px 0;
}

.section-heading {
  max-width: 650px;
}

.section-heading.centered {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(31px, 3.7vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.year-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.year-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 26px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 63, 49, 0.045);
  transition: 190ms ease;
}

.year-card:hover,
.year-card:focus-visible {
  border-color: #a9d4c4;
  transform: translateY(-6px);
  outline: none;
  box-shadow: var(--shadow-hover);
}

.year-card-number {
  position: absolute;
  top: -22px;
  right: -8px;
  color: rgba(8, 127, 91, 0.055);
  font-size: 100px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.year-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 20px;
}

.year-card-tag {
  width: max-content;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--primary-dark);
  background: #effaf6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.year-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.year-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.resource-section {
  border-block: 1px solid var(--line);
  background: #eef5f2;
}

.split-heading {
  display: grid;
  max-width: none;
  margin-bottom: 38px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.split-heading > p:last-child {
  margin: 0 0 5px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  display: grid;
  min-height: 132px;
  padding: 20px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: 170ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: #9dcfbc;
  transform: translateY(-3px);
  outline: none;
  box-shadow: 0 15px 35px rgba(18, 63, 49, 0.08);
}

.resource-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 18px;
}

.resource-card strong,
.resource-card small {
  display: block;
}

.resource-card strong {
  font-size: 14px;
}

.resource-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.resource-card > i {
  color: #95a69f;
  font-size: 12px;
}

.about-panel {
  position: relative;
  display: grid;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(45px, 7vw, 85px);
  align-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-bright));
  box-shadow: 0 24px 60px rgba(5, 96, 68, 0.18);
}

.about-panel::before {
  position: absolute;
  right: -55px;
  bottom: -110px;
  content: "CA";
  color: rgba(255, 255, 255, 0.045);
  font-size: 310px;
  font-weight: 800;
  line-height: 1;
}

.section-kicker.light {
  color: #a8f4d8;
}

.about-copy,
.benefit-grid {
  position: relative;
  z-index: 1;
}

.about-copy h2,
.contact-card h2 {
  color: #fff;
}

.about-copy > p:not(.section-kicker) {
  margin: 20px 0 0;
  color: #d8f4e9;
  font-size: 14px;
  line-height: 1.8;
}

.about-copy > a {
  display: inline-flex;
  margin-top: 26px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.benefit-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.09);
}

.benefit-grid i {
  color: #c5f9e5;
  font-size: 20px;
}

.benefit-grid h3 {
  margin: 13px 0 5px;
  font-size: 14px;
}

.benefit-grid p {
  margin: 0;
  color: #d8f4e9;
  font-size: 10px;
  line-height: 1.6;
}

.journey-section {
  padding-top: 30px;
}

.journey-grid {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
}

.journey-grid::before {
  position: absolute;
  z-index: 0;
  top: 29px;
  right: 16%;
  left: 16%;
  height: 1px;
  content: "";
  border-top: 2px dashed #bfdbd1;
}

.journey-grid li {
  position: relative;
  z-index: 1;
  padding: 0 30px;
  text-align: center;
}

.journey-grid li > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 21px;
  place-items: center;
  border: 7px solid var(--background);
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 0 1px #afd8c8;
  font-size: 13px;
  font-weight: 800;
}

.journey-grid li > i {
  color: var(--primary);
  font-size: 22px;
}

.journey-grid h3 {
  margin: 13px 0 7px;
  font-size: 17px;
}

.journey-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.team-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 75px;
  align-items: center;
}

.team-grid {
  display: grid;
  gap: 12px;
}

.team-card {
  display: grid;
  min-height: 88px;
  padding: 15px 18px;
  grid-template-columns: 50px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--background);
}

.team-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  font-size: 13px;
  font-weight: 800;
}

.team-card h3 {
  margin: 0;
  font-size: 14px;
}

.team-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.team-card > a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--primary);
  background: #fff;
}

.team-card > a:hover,
.team-card > a:focus-visible {
  color: #fff;
  background: var(--primary);
  outline: none;
}

.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-card {
  display: grid;
  padding: 40px 46px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 60px;
  align-items: center;
  border-radius: 24px;
  color: #fff;
  background: #102d24;
}

.contact-card > div:first-child > p:last-child {
  max-width: 570px;
  margin: 13px 0 0;
  color: #bed3cc;
  font-size: 13px;
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  gap: 9px;
}

.contact-actions > a,
.contact-actions > span {
  display: grid;
  min-height: 64px;
  padding: 10px 15px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
}

.contact-actions > a:hover,
.contact-actions > a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.contact-actions > * > i {
  color: #83ddbd;
  font-size: 18px;
  text-align: center;
}

.contact-actions small {
  display: block;
  margin-bottom: 2px;
  color: #9eb7ae;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-engraving {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 180px;
  overflow: hidden;
  place-items: center;
  background: radial-gradient(circle at center, rgba(8, 127, 91, 0.08), transparent 23rem), var(--background);
}

.footer-engraving img {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(520px, 82vw);
  max-height: 150px;
  transform: translate(-50%, -44%);
  object-fit: contain;
  opacity: 0.09;
  mix-blend-mode: multiply;
}

.footer-engraving p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #53635d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-engraving i {
  color: #e03131;
}

.footer-main {
  color: #d7eee6;
  background: linear-gradient(120deg, #064b37, #087f5b);
}

.section-footer-links {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 30px;
}

.section-footer-links a {
  color: #d7eee6;
  font-size: 10px;
  font-weight: 700;
}

.section-footer-links a:hover,
.section-footer-links a:focus-visible {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7d8cd;
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-note {
  max-width: 980px;
  padding: 0 0 20px;
  color: #b7d8cd;
  font-size: 10px;
  line-height: 1.7;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.back-to-top {
  position: fixed;
  z-index: 950;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(8, 127, 91, 0.24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: 170ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

html[data-theme="dark"] {
  --primary: #45d3a0;
  --primary-dark: #70e0b8;
  --primary-soft: #24483b;
  --ink: #f1f7f4;
  --muted: #b8c7c1;
  --line: #40564d;
  --surface: #263630;
  --background: #1a2722;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .home-header {
  background: linear-gradient(90deg, #063b2d, #087052);
}

html[data-theme="dark"] .skip-link,
html[data-theme="dark"] .home-mobile-nav,
html[data-theme="dark"] .finder-years a,
html[data-theme="dark"] .year-card,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .team-card > a {
  background: var(--surface);
}

html[data-theme="dark"] .home-desktop-nav .home-nav-cta {
  color: #064b37;
  background: #dffff3;
}

html[data-theme="dark"] .secondary-button {
  border-color: var(--line);
  color: var(--primary);
  background: rgba(38, 54, 48, 0.86);
}

html[data-theme="dark"] .hero-copy h1,
html[data-theme="dark"] .hero-description,
html[data-theme="dark"] .hero-benefits li {
  color: var(--ink);
}

html[data-theme="dark"] .hero-finder {
  border-color: var(--line);
  background: rgba(38, 54, 48, 0.96);
}

html[data-theme="dark"] .global-search-control input {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(38, 54, 48, 0.98);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .global-search-control input::placeholder { color: #a6b5af; }

html[data-theme="dark"] .global-search-panel {
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .finder-label {
  color: var(--muted);
}

html[data-theme="dark"] .primary-button,
html[data-theme="dark"] .home-mobile-nav .mobile-nav-cta,
html[data-theme="dark"] .back-to-top {
  color: #fff;
  background: #147b5b;
}

html[data-theme="dark"] .year-card-tag {
  color: #9aefd0;
  background: #294d40;
}

html[data-theme="dark"] .finder-years a:hover,
html[data-theme="dark"] .finder-years a:focus-visible {
  border-color: var(--primary);
  background: #30443c;
}

html[data-theme="dark"] .resource-section {
  background: #1e2d27;
}

html[data-theme="dark"] .team-section,
html[data-theme="dark"] .contact-section {
  background: #202f29;
}

html[data-theme="dark"] .team-card {
  background: var(--background);
}

html[data-theme="dark"] .about-panel {
  background: linear-gradient(135deg, #123d31, #176249);
}

html[data-theme="dark"] .footer-engraving p {
  color: var(--muted);
}

html[data-theme="dark"] .footer-engraving img {
  opacity: 0.06;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1);
}

html[data-theme="dark"] .primary-button:hover,
html[data-theme="dark"] .primary-button:focus-visible,
html[data-theme="dark"] .back-to-top:hover,
html[data-theme="dark"] .back-to-top:focus-visible {
  background: #249b73;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1020px) {
  .home-desktop-nav {
    display: none;
  }

  .home-menu-button {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 38px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

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

  .year-card {
    min-height: 290px;
  }

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

  .team-layout {
    gap: 45px;
  }
}

@media (max-width: 800px) {
  .home-shell {
    width: min(100% - 32px, 680px);
  }

  .home-hero {
    padding: 55px 0 65px;
  }

  .hero-grid,
  .about-panel,
  .team-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-kicker,
  .hero-actions,
  .hero-benefits {
    justify-content: center;
  }

  .hero-copy h1,
  .hero-description {
    margin-inline: auto;
  }

  .hero-finder {
    width: min(100%, 570px);
    margin: 0 auto;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-panel {
    gap: 34px;
  }

  .journey-grid {
    gap: 8px;
  }

  .journey-grid li {
    padding-inline: 10px;
  }

  .team-layout {
    gap: 32px;
  }

  .contact-card {
    gap: 30px;
  }

}

@media (max-width: 580px) {
  html {
    scroll-padding-top: 78px;
  }

  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    width: 40px;
    padding-inline: 0;
  }

  .home-brand img {
    width: min(210px, 55vw);
    max-width: none;
  }

  .home-menu-button span {
    display: none;
  }

  .home-menu-button {
    width: 40px;
    padding-inline: 0;
    justify-content: center;
  }

  .global-search-control input {
    height: 54px;
    padding-left: 45px;
    font-size: 11px;
  }

  .global-search-control > .fa-search { left: 16px; }
  .global-search-panel { top: 84px; }
  .global-search-panel li a { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 9px; }
  .global-result-code { font-size: 9px; }

  .home-header,
  .home-header-inner {
    height: 72px;
  }

  .home-header-inner {
    width: calc(100% - 24px);
  }

  .home-brand img {
    width: min(210px, 55vw);
    height: auto;
    max-width: none;
  }

  .home-shell {
    width: calc(100% - 24px);
  }

  .home-hero {
    padding-top: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 51px);
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-benefits {
    gap: 10px 14px;
  }

  .hero-benefits li {
    font-size: 10px;
  }

  .hero-finder {
    padding: 20px;
    border-radius: 20px;
  }

  .finder-heading h2 {
    font-size: 18px;
  }

  .finder-years a {
    padding-inline: 10px;
  }

  .section-space {
    padding: 68px 0;
  }

  .section-heading.centered {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-card h2 {
    font-size: 32px;
  }

  .year-card-grid,
  .resource-grid,
  .benefit-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .year-card {
    min-height: 280px;
  }

  .resource-card {
    min-height: 118px;
    padding: 16px;
  }

  .about-panel {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .journey-section {
    padding-top: 10px;
  }

  .journey-grid {
    gap: 32px;
  }

  .journey-grid::before {
    display: none;
  }

  .journey-grid li {
    padding: 0 22px;
  }

  .team-card {
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    padding: 13px;
  }

  .team-avatar {
    width: 46px;
    height: 46px;
  }

  .contact-section {
    padding: 52px 0;
  }

  .contact-card {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .contact-actions > a,
  .contact-actions > span {
    font-size: 10px;
  }

  .footer-bottom {
    padding: 18px 0;
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
