/*
Theme Name: KBC Public
Theme URI: https://kbchub.id
Author: KBCHub
Description: Tema website publik Kamajaya Business Club.
Version: 0.4.6
Text Domain: kbc-public
*/

@font-face {
  font-family: "Plus Jakarta Sans Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  /* Brand palette approved in the KBCHub UI/UX reference. */
  --color-navy-950: #032b4a;
  --color-navy-900: #063b63;
  --color-navy-800: #0a4d7d;
  --color-blue-700: #176ba0;
  --color-blue-500: #3f98c5;
  --color-blue-100: #dcecf4;
  --color-gold-500: #f1b82d;
  --color-gold-400: #f7c94e;
  --color-gold-100: #fff1bd;
  --color-ink: #102a3b;
  --color-ink-soft: #496372;
  --color-cream: #f7f5ef;
  --color-paper: #fffefa;
  --color-white: #ffffff;
  --color-line: #d9e0e2;
  --color-success: #11845b;
  --color-danger: #b83a45;

  /* Semantic aliases for theme components. */
  --color-heading: var(--color-navy-950);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-ink-soft);
  --color-link: var(--color-blue-700);
  --color-focus: var(--color-gold-500);
  --color-surface: var(--color-white);
  --color-canvas: var(--color-paper);

  --font-sans: "Plus Jakarta Sans Variable", "Segoe UI", Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-size-body: 1rem;
  --line-height-body: 1.55;
  --line-height-heading: 1.08;
  --letter-spacing-heading: -0.035em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-control: 10px;
  --shadow-sm: 0 12px 36px rgb(7 43 70 / 9%);
  --shadow-lg: 0 28px 72px rgb(3 43 74 / 18%);
  --container: 1180px;
  --transition: 220ms cubic-bezier(0.2, 0.75, 0.25, 1);

  /* Backward-compatible aliases while the theme templates are expanded. */
  --kbc-navy: var(--color-navy-950);
  --kbc-blue: var(--color-blue-700);
  --kbc-red: #d8232a;
  --kbc-ink: var(--color-ink);
  --kbc-muted: var(--color-ink-soft);
  --kbc-surface: var(--color-paper);
  --kbc-line: var(--color-line);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--color-canvas);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--color-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

img {
  height: auto;
}

:where(h1, h2, h3, h4, h5, h6) {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
  text-wrap: balance;
}

:where(p, li) {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  color: var(--color-navy-900);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

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

::selection {
  background: var(--color-gold-100);
  color: var(--color-navy-950);
}

.shell {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--color-navy-950);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand a {
  display: block;
}

.brand img,
.brand .custom-logo {
  width: 94px;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.header-navigation {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.site-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2vw, 32px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 0;
  color: var(--color-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--color-gold-500);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav a[aria-current="page"] {
  color: var(--color-navy-900);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-item--home a span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.header-join {
  min-width: 120px;
  justify-content: center;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-navy-900);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav-toggle__icon {
  display: grid;
  width: 19px;
  gap: 4px;
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.page-main {
  min-height: 70vh;
  padding-block: clamp(var(--space-12), 8vw, 7rem);
}

.hero {
  max-width: 760px;
}

.eyebrow {
  color: var(--color-blue-700);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: var(--space-3) 0 var(--space-5);
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: 1.02;
}

.lead {
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.content-card {
  padding: var(--space-6);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  margin-top: 0;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--large {
  min-height: 52px;
  padding: 14px 22px;
}

.button--primary {
  background: var(--color-navy-900);
  box-shadow: 0 8px 20px rgb(6 59 99 / 16%);
  color: var(--color-white);
}

.button--primary:hover {
  background: var(--color-navy-800);
  box-shadow: 0 12px 26px rgb(6 59 99 / 22%);
}

.button--outline {
  border-color: #b7c6cc;
  background: transparent;
  color: var(--color-navy-900);
}

.button--outline:hover {
  border-color: var(--color-navy-900);
  background: var(--color-white);
}

.button--light {
  background: var(--color-white);
  color: var(--color-navy-900);
}

.button--gold {
  background: var(--color-gold-500);
  box-shadow: 0 10px 24px rgb(241 184 45 / 18%);
  color: var(--color-navy-950);
}

.button--gold:hover {
  background: var(--color-gold-400);
}

.button--dark-ghost {
  border-color: rgb(255 255 255 / 24%);
  background: transparent;
  color: var(--color-white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy-900);
  font-size: 0.8125rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 0;
  background: radial-gradient(circle at 14% 36%, rgb(241 184 45 / 13%), transparent 24%), linear-gradient(180deg, var(--color-paper) 0%, #f8f6ef 100%);
}

.home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
}

.home-hero__copy {
  min-width: 0;
  padding: 30px 0 60px;
}

.home-hero .eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-blue-700);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 700px;
  margin: 22px 0 24px;
  font-size: clamp(3rem, 5.4vw, 4.75rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.home-hero__lead {
  max-width: 590px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.home-proof {
  display: flex;
  gap: 30px;
  margin-top: 48px;
}

.home-proof div {
  display: grid;
  min-width: 92px;
  padding-right: 26px;
  border-right: 1px solid var(--color-line);
}

.home-proof div:last-child {
  border-right: 0;
}

.home-proof strong {
  color: var(--color-navy-900);
  font-size: 1.5625rem;
  letter-spacing: -0.03em;
}

.home-proof span {
  max-width: 98px;
  color: #69808c;
  font-size: 0.625rem;
  line-height: 1.35;
}

.home-hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 530px;
}

.home-hero__photo {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  border-radius: 170px 170px 24px 24px;
  background: var(--color-navy-900);
  box-shadow: var(--shadow-lg);
}

.home-hero__photo > img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: 55% center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(3 43 74 / 2%) 45%, rgb(3 43 74 / 84%) 100%);
}

.home-hero__caption {
  position: absolute;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
}

.home-hero__caption > span:last-child,
.floating-card > span:last-child {
  display: grid;
}

.home-hero__caption small {
  color: rgb(255 255 255 / 70%);
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-hero__caption strong {
  font-size: 0.9375rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  border: 3px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  background: var(--color-gold-500);
  box-sizing: content-box;
}

.floating-card {
  position: absolute;
  display: flex;
  width: 228px;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 14px;
  background: rgb(255 255 255 / 93%);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.floating-card--top {
  top: 96px;
  left: -54px;
}

.floating-card--bottom {
  right: -48px;
  bottom: 112px;
}

.floating-card strong {
  color: var(--color-navy-950);
  font-size: 0.75rem;
}

.floating-card small {
  color: var(--color-text-muted);
  font-size: 0.5625rem;
}

.floating-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 9px;
  place-items: center;
}

.floating-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.floating-icon--gold {
  background: var(--color-gold-100);
  color: #9b6a00;
}

.floating-icon--blue {
  background: var(--color-blue-100);
  color: var(--color-blue-700);
}

.home-hero__orbit {
  position: absolute;
  border: 1px solid rgb(63 152 197 / 18%);
  border-radius: 50%;
  pointer-events: none;
}

.home-hero__orbit--outer {
  top: 70px;
  right: -180px;
  width: 660px;
  height: 660px;
}

.home-hero__orbit--inner {
  top: 130px;
  right: -120px;
  width: 540px;
  height: 540px;
}

.home-marquee {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border-top: 1px solid var(--color-line);
  color: #68808c;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-marquee i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold-500);
}

.home-section {
  padding: 112px 0;
}

.home-values {
  background: var(--color-paper);
}

.home-intro,
.home-programs__heading {
  display: grid;
  gap: 80px;
  grid-template-columns: 1.08fr 0.92fr;
}

.section-heading h2,
.home-programs__heading h2,
.home-join h2 {
  margin: 14px 0 0;
  font-size: clamp(2.375rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-intro__copy {
  align-self: end;
}

.home-intro__copy p {
  max-width: 490px;
  margin: 0 0 22px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.value-grid {
  display: grid;
  overflow: hidden;
  margin-top: 66px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  position: relative;
  min-height: 350px;
  padding: 28px 30px 32px;
  border-right: 1px solid var(--color-line);
  background: var(--color-white);
  transition: background var(--transition);
}

.value-card:last-child {
  border-right: 0;
}

.value-card:hover {
  background: #fbfaf6;
}

.value-card--featured,
.value-card--featured:hover {
  background: var(--color-gold-500);
}

.value-number {
  color: #5c707a;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-top: 36px;
  border-radius: 16px;
  background: var(--color-blue-100);
  color: var(--color-navy-800);
  place-items: center;
}

.value-card--featured .value-icon {
  background: rgb(255 255 255 / 42%);
}

.value-icon svg,
.event-meta svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.value-icon svg {
  width: 28px;
}

.value-card h3 {
  margin: 24px 0 10px;
  font-size: 1.375rem;
  letter-spacing: -0.025em;
}

.value-card p {
  max-width: 290px;
  margin: 0;
  color: #5a707b;
  font-size: 0.8125rem;
}

.home-programs {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 92% 15%, rgb(63 152 197 / 18%), transparent 22%), var(--color-navy-950);
  color: var(--color-white);
}

.home-programs::after {
  position: absolute;
  right: -170px;
  bottom: -240px;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  content: "";
}

.section-heading--light h2,
.home-programs__heading h2 {
  color: var(--color-white);
}

.home-programs__heading > p {
  max-width: 440px;
  align-self: end;
  margin: 0 0 6px;
  color: rgb(255 255 255 / 58%);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.program-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 60px;
  margin-top: 64px;
  grid-template-columns: 0.85fr 1.15fr;
}

.program-tabs {
  display: grid;
  align-content: start;
}

.program-tab {
  display: grid;
  min-height: 74px;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  background: transparent;
  color: rgb(255 255 255 / 54%);
  cursor: pointer;
  font: inherit;
  grid-template-columns: 44px 1fr auto;
  text-align: left;
  transition: color var(--transition), padding var(--transition);
}

.program-tab:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.program-tab:hover,
.program-tab.is-active {
  padding-left: 20px;
  color: var(--color-white);
}

.program-tab span {
  font-size: 0.625rem;
  font-weight: 800;
}

.program-tab strong {
  font-size: 0.9375rem;
}

.program-tab i {
  font-style: normal;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity var(--transition), transform var(--transition);
}

.program-tab:hover i,
.program-tab.is-active i {
  opacity: 1;
  transform: none;
}

.program-detail {
  display: grid;
  min-height: 440px;
  padding: 36px 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgb(255 255 255 / 8%), transparent 55%), var(--color-blue-700);
  box-shadow: 0 30px 70px rgb(0 0 0 / 16%);
}

.program-detail__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.program-tag {
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 999px;
  color: rgb(255 255 255 / 84%);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-count {
  color: rgb(255 255 255 / 48%);
  font-size: 0.6875rem;
}

.program-count b {
  color: var(--color-white);
  font-size: 1.25rem;
}

.program-detail h3 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: clamp(2.125rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.program-detail p {
  max-width: 550px;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.875rem;
  line-height: 1.72;
}

.program-detail__meta {
  display: grid;
  align-self: end;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-detail__meta div {
  display: grid;
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.program-detail__meta small {
  color: rgb(255 255 255 / 50%);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-detail__meta strong {
  margin-top: 5px;
  color: var(--color-white);
  font-size: 0.75rem;
}

.program-detail > .button {
  align-self: end;
  justify-self: start;
}

.home-agenda,
.home-insight {
  background: var(--color-cream);
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.event-grid {
  display: grid;
  gap: 22px;
  margin-top: 56px;
  grid-template-columns: repeat(3, 1fr);
}

.event-card {
  overflow: hidden;
  border: 1px solid #dde2df;
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.event-card__visual {
  position: relative;
  height: 260px;
  overflow: hidden;
  padding: 20px;
}

.event-card__visual > img,
.event-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-card__visual > img {
  object-fit: cover;
}

.event-card__shade {
  background: linear-gradient(145deg, rgb(3 43 74 / 68%), rgb(10 77 125 / 24%));
}

.event-date {
  position: relative;
  z-index: 2;
  display: inline-grid;
  width: 72px;
  min-height: 84px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px;
  background: rgb(2 43 74 / 96%);
  box-shadow: 0 10px 24px rgb(2 30 51 / 22%);
  color: var(--color-white);
  place-content: center;
  text-align: center;
}

.event-date strong {
  font-size: 1.6875rem;
  line-height: 1;
}

.event-date span {
  margin-top: 5px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.event-format {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgb(255 255 255 / 92%);
  color: var(--color-navy-950);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card__body {
  padding: 24px;
}

.event-category {
  color: var(--color-blue-700);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.event-card h3 {
  min-height: 58px;
  margin: 10px 0 18px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.event-meta {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-muted);
  font-size: 0.625rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.event-meta svg {
  width: 15px;
  flex: 0 0 15px;
  color: var(--color-blue-700);
}

.event-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 0;
  color: var(--color-navy-900);
  font-size: 0.6875rem;
  font-weight: 800;
  text-decoration: none;
}

.story-grid {
  display: grid;
  gap: 28px;
  margin-top: 56px;
  grid-template-columns: 1.12fr 0.88fr;
}

.story-main {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.story-main__art {
  position: relative;
  height: 270px;
  overflow: hidden;
  padding: 24px;
  background: var(--color-navy-800);
  color: var(--color-white);
}

.story-main__art::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(3 43 74 / 68%) 0%, rgb(3 43 74 / 8%) 48%, rgb(3 43 74 / 42%) 100%);
  content: "";
}

.story-main__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-main__art span {
  position: relative;
  z-index: 2;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.story-main__content {
  padding: 28px 30px 30px;
}

.story-main__content > span,
.story-list small {
  color: var(--color-blue-700);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-main h3 {
  margin: 10px 0 12px;
  font-size: 1.5625rem;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.story-main p {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.story-list {
  display: grid;
  align-content: stretch;
}

.story-list article {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #cfd8d8;
  grid-template-columns: 34px 1fr 38px;
}

.story-list article:last-child {
  border-bottom: 1px solid #cfd8d8;
}

.story-index {
  align-self: start;
  padding-top: 3px;
  color: #87979e;
  font-size: 0.625rem;
  font-weight: 800;
}

.story-list h3 {
  margin: 5px 0 7px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.story-list div > span {
  color: #778c96;
  font-size: 0.5625rem;
}

.story-list article > a {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid #c7d0d3;
  border-radius: 50%;
  color: var(--color-navy-900);
  place-items: center;
  text-decoration: none;
}

.home-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 36px;
  padding: 32px;
  border: 1px solid rgb(7 59 92 / 14%);
  border-radius: 20px;
  background: rgb(255 255 255 / 72%);
  color: var(--color-navy-900);
}

.home-empty strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.home-empty p {
  max-width: 640px;
  margin: 0;
  color: #607681;
  line-height: 1.7;
}

.home-empty--dark {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 7%);
  color: var(--color-white);
}

.home-empty--dark p {
  color: rgb(255 255 255 / 66%);
}

.home-join {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: var(--color-navy-950);
  color: var(--color-white);
  text-align: center;
}

.home-join__inner {
  position: relative;
  z-index: 2;
}

.section-kicker--gold {
  color: var(--color-gold-500);
}

.home-join h2 {
  color: var(--color-white);
  font-size: clamp(2.625rem, 5vw, 4.125rem);
}

.home-join p {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgb(255 255 255 / 60%);
}

.home-actions--center {
  justify-content: center;
}

.home-join__pattern::before,
.home-join__pattern::after {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  content: "";
}

.home-join__pattern::before {
  top: -240px;
  left: -150px;
  box-shadow: 0 0 0 60px rgb(255 255 255 / 1.8%), 0 0 0 120px rgb(255 255 255 / 1.2%);
}

.home-join__pattern::after {
  right: -180px;
  bottom: -280px;
  border-color: rgb(241 184 45 / 16%);
  box-shadow: 0 0 0 60px rgb(241 184 45 / 2.5%), 0 0 0 120px rgb(241 184 45 / 1.5%);
}

.public-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background: linear-gradient(145deg, #f7f3eb 0%, var(--color-white) 60%, #eef7fa 100%);
}

.public-hero::after {
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 480px;
  height: 480px;
  border: 1px solid rgb(19 91 128 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgb(19 91 128 / 3.5%), 0 0 0 140px rgb(19 91 128 / 2.5%);
  content: "";
}

.public-hero--navy {
  background: linear-gradient(135deg, #073b5b, #09557d);
  color: var(--color-white);
}

.public-hero--navy::after {
  border-color: rgb(255 255 255 / 14%);
  box-shadow: 0 0 0 70px rgb(255 255 255 / 3.5%), 0 0 0 140px rgb(255 255 255 / 2.5%);
}

.public-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.public-hero__inner--split {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.breadcrumbs {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  margin: 0 0 28px;
  color: var(--color-text-muted);
  font-size: 0.625rem;
  font-weight: 700;
}

.breadcrumbs a {
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.breadcrumbs > span[aria-hidden] {
  opacity: 0.65;
}

.breadcrumbs > [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  color: var(--color-navy-900);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-hero--navy .breadcrumbs,
.public-hero--navy .breadcrumbs > [aria-current="page"],
.detail-hero .breadcrumbs,
.detail-hero .breadcrumbs > [aria-current="page"],
.story-detail-hero .breadcrumbs,
.story-detail-hero .breadcrumbs > [aria-current="page"] {
  color: #c8dde8;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--color-blue-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-hero--navy .page-eyebrow {
  color: #a9d8ea;
}

.public-hero h1 {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: clamp(2.625rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.public-hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.public-hero--navy .public-hero__lead {
  color: #d6e5ec;
}

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

.hero-emblem {
  position: relative;
  display: grid;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: inset 0 0 0 44px rgb(255 255 255 / 3.5%);
  place-items: center;
}

.hero-emblem strong {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  font-size: clamp(3.125rem, 8vw, 5.625rem);
  letter-spacing: -0.07em;
}

.public-section {
  padding: 84px 0;
}

.public-section--soft {
  background: #f7f5f0;
}

.public-section--blue {
  background: #edf6f8;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-intro > div {
  max-width: 690px;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-intro p {
  margin: 14px 0 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.overline {
  display: block;
  margin-bottom: 10px;
  color: var(--color-blue-700);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

.entity-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 12px 34px rgb(6 53 82 / 6%);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.entity-card:hover {
  border-color: #b9d1dc;
  box-shadow: 0 18px 40px rgb(6 53 82 / 10%);
  transform: translateY(-3px);
}

.entity-card--accent {
  background: var(--color-gold-500);
}

.entity-card h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.entity-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.entity-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 17px;
  color: #486576;
  font-size: 0.75rem;
  font-weight: 700;
}

.entity-card__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
}

.entity-card__actions .button {
  flex: 1;
}

.badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e4f3f8;
  color: #07517a;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--gold {
  background: #fff0c6;
  color: #775000;
}

.badge--green {
  background: #e4f4eb;
  color: #176143;
}

.badge--red {
  background: #f9e5e5;
  color: #97313b;
}

.badge--outline {
  border: 1px solid rgb(255 255 255 / 30%);
  background: transparent;
  color: var(--color-white);
}

.icon-tile {
  display: grid;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e8f4f7;
  color: #0a577d;
  font-size: 1.125rem;
  font-weight: 900;
  place-items: center;
}

.timeline {
  position: relative;
  display: grid;
  max-width: 860px;
  margin: auto;
}

.timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 26px;
  width: 2px;
  background: #cee0e7;
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 0 0 32px;
  grid-template-columns: 54px 1fr;
}

.timeline-item__dot {
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  border: 8px solid #edf6f8;
  border-radius: 50%;
  background: var(--color-blue-700);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.timeline-item__content {
  padding: 21px 24px;
  border: 1px solid var(--color-line);
  border-radius: 17px;
  background: var(--color-white);
}

.timeline-item__content h3,
.timeline-item__content p {
  margin: 0;
}

.timeline-item__content p {
  margin-top: 6px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 34px;
  padding: 42px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.cta-panel p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--color-text-muted);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-story {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
}

.about-story__media {
  position: relative;
  min-height: 520px;
}

.about-story__media > img {
  width: calc(100% - 42px);
  height: 480px;
  border-radius: 22px 110px 22px 22px;
  object-fit: cover;
}

.about-story__note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(270px, 72%);
  gap: 7px;
  padding: 25px;
  border: 7px solid var(--color-paper);
  border-radius: 20px;
  background: var(--color-gold-500);
  color: var(--color-navy-950);
}

.about-story__note strong {
  font-size: 1.25rem;
  line-height: 1.25;
}

.about-story__note span {
  font-size: 0.6875rem;
  line-height: 1.5;
}

.about-story__content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.about-story__content > p,
.about-story__content > .prose {
  margin-top: 22px;
}

.about-story__content > p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.about-cycle-section {
  overflow: hidden;
  background: var(--color-navy-950);
  color: var(--color-white);
}

.section-intro--light h2 {
  color: var(--color-white);
}

.section-intro--light p {
  color: #c4d8e2;
}

.section-intro--light .overline {
  color: var(--color-gold-500);
}

.about-cycle {
  display: grid;
  padding: 0;
  margin: 54px 0 0;
  counter-reset: cycle;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.about-cycle li {
  position: relative;
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.about-cycle li:first-child {
  padding-left: 0;
  border-left: 0;
}

.about-cycle li:last-child {
  padding-right: 0;
}

.about-cycle li > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  color: var(--color-gold-400);
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.about-cycle li:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: -8px;
  z-index: 1;
  color: var(--color-gold-400);
  content: "→";
  font-weight: 900;
}

.about-cycle strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.45;
}

.about-cycle p {
  margin: 10px 0 0;
  color: #afc6d1;
  font-size: 0.75rem;
  line-height: 1.7;
}

.about-cycle__closing {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 46px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #d8e5ea;
  font-size: 0.8125rem;
}

.about-cycle__closing span {
  color: var(--color-gold-400);
  font-size: 1.5rem;
}

.program-card {
  overflow: hidden;
  padding: 0;
}

.program-card__visual {
  position: relative;
  display: flex;
  height: 190px;
  align-items: end;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(135deg, #073f62, #0b7395);
  color: var(--color-white);
}

.program-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card__visual strong {
  position: relative;
  z-index: 1;
  font-size: 1.6875rem;
  line-height: 1.05;
}

.program-card__visual::after {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 160px;
  height: 160px;
  border: 28px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  content: "";
}

.program-card__visual--gold {
  background: linear-gradient(135deg, #f7c03f, #fff0a1);
  color: #18394b;
}

.program-card__visual--red {
  background: linear-gradient(135deg, #a52c3a, #e56b58);
}

.program-card__visual--green {
  background: linear-gradient(135deg, #17644c, #4cab7d);
}

.program-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.program-card__body h3 {
  margin: 14px 0 10px;
}

.program-work-note {
  margin: 28px 0 0;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 26px;
}

.filter-pills {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-pill {
  flex: none;
  padding: 10px 15px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  border-color: var(--color-navy-900);
  color: var(--color-navy-900);
}

.filter-pill.is-active {
  border-color: var(--color-navy-900);
  background: var(--color-navy-900);
  color: var(--color-white);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-box::before {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2352707d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 15px 0 48px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
}

.search-box input:focus {
  border-color: var(--color-navy-900);
  outline: 3px solid rgb(241 184 45 / 35%);
  outline-offset: 2px;
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: -12px 0 20px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.news-filter-toolbar {
  justify-content: flex-end;
}

.article-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 12px 34px rgb(6 53 82 / 6%);
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.article-card:hover {
  border-color: #b9d1dc;
  box-shadow: 0 18px 40px rgb(6 53 82 / 10%);
  transform: translateY(-3px);
}

.article-card__media {
  position: relative;
  display: flex;
  min-height: 270px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-navy-900);
}

.article-card__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.article-card:hover .article-card__media > img {
  transform: scale(1.04);
}

.article-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(4 31 49 / 0%), rgb(4 31 49 / 90%));
}

.article-card__media h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
  color: var(--color-white);
  font-size: 1.625rem;
  line-height: 1.2;
}

.article-card__body {
  padding: 22px;
}

.article-card__body p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.article-card__body .article-meta {
  margin-top: 18px;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-list-card {
  display: grid;
  align-items: center;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-white);
  grid-template-columns: 110px minmax(0, 1fr) auto;
}

.event-list-date {
  display: grid;
  min-height: 92px;
  border-radius: 14px;
  background: var(--color-navy-900);
  color: var(--color-white);
  place-items: center;
  text-align: center;
}

.event-list-date strong,
.event-list-date span {
  display: block;
}

.event-list-date strong {
  font-size: 2.125rem;
  line-height: 1;
}

.event-list-date span {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.event-list-card h3 {
  margin: 8px 0;
}

.event-list-card h3 a {
  color: inherit;
  text-decoration: none;
}

.event-list-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.detail-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #073b5b, #0a6287);
  color: var(--color-white);
}

.detail-hero__grid,
.detail-layout,
.form-layout,
.legal-layout {
  display: grid;
  align-items: start;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.detail-hero__grid {
  align-items: end;
}

.detail-hero h1 {
  margin: 16px 0;
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.detail-hero p {
  max-width: 700px;
  color: #d5e7ee;
  line-height: 1.7;
}

.detail-facts {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 18px;
  background: rgb(255 255 255 / 8%);
}

.detail-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.75rem;
}

.detail-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-facts span {
  color: #bcd5df;
}

.detail-facts strong {
  color: var(--color-white);
  text-align: right;
}

.detail-cover {
  overflow: hidden;
  margin-top: 36px;
  border-radius: var(--radius-md);
}

.detail-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.prose {
  min-width: 0;
}

.prose h2 {
  margin: 38px 0 14px;
  font-size: 1.875rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 27px 0 10px;
}

.prose :where(p, li) {
  color: #466270;
  line-height: 1.8;
}

.prose img {
  border-radius: var(--radius-sm);
}

.sidebar-card,
.form-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 19px;
  background: var(--color-white);
  box-shadow: 0 18px 42px rgb(6 53 82 / 8%);
}

.sidebar-card {
  position: sticky;
  top: 110px;
}

.sidebar-card h3,
.contact-card h2 {
  margin: 14px 0 8px;
}

.sidebar-card p,
.contact-card p,
.form-card p {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.sidebar-card .button,
.contact-card .button,
.form-card > .button {
  width: 100%;
  margin-top: 9px;
}

.sidebar-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.sidebar-list div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.75rem;
}

.sidebar-list span {
  color: var(--color-text-muted);
}

.status-message,
.legal-note {
  display: block;
  padding: 14px;
  border-radius: 10px;
  background: var(--color-gold-100);
  color: #5f4a13;
  font-size: 0.75rem;
  line-height: 1.6;
}

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

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

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgb(2 30 51 / 76%);
  color: var(--color-white);
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
}

.faq-layout {
  display: grid;
  gap: 40px;
}

.faq-group {
  max-width: 860px;
  margin-inline: auto;
}

.faq-group h2 {
  margin: 0 0 16px;
}

.faq-group details {
  border-top: 1px solid var(--color-line);
}

.faq-group details:last-child {
  border-bottom: 1px solid var(--color-line);
}

.faq-group summary {
  padding: 20px 36px 20px 0;
  color: var(--color-navy-950);
  cursor: pointer;
  font-weight: 750;
}

.faq-group details p {
  max-width: 760px;
  margin: -6px 0 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 4px;
}

.legal-nav a {
  padding: 12px 14px;
  border-radius: 9px;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 750;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--color-blue-100);
  color: var(--color-navy-900);
}

.legal-content section {
  scroll-margin-top: 110px;
}

.empty-state {
  padding: 55px 20px;
  border: 1px dashed #b7cbd4;
  border-radius: 18px;
  background: var(--color-white);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--color-text-muted);
}

.story-archive-grid,
.news-grid {
  display: grid;
  gap: 24px;
}

.story-archive-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.story-archive-card__image,
.news-card__image {
  display: block;
  min-height: 300px;
  overflow: hidden;
}

.story-archive-card__image img,
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-archive-card > div {
  align-self: center;
  padding: 34px;
}

.story-archive-card h2,
.news-card h2 {
  margin: 14px 0 10px;
}

.story-archive-card h2 a,
.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.story-archive-card p,
.news-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.news-card__image {
  min-height: 220px;
  height: 220px;
}

.news-card__body {
  padding: 24px;
}

.story-detail-hero {
  position: relative;
  display: flex;
  min-height: 660px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-navy-950);
}

.story-detail-hero__image,
.story-detail-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-detail-hero__image {
  object-fit: cover;
}

.story-detail-hero__shade {
  background: linear-gradient(180deg, rgb(4 31 49 / 8%), rgb(4 31 49 / 92%));
}

.story-detail-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
  color: var(--color-white);
}

.story-detail-hero h1 {
  max-width: 900px;
  margin: 14px 0;
  color: var(--color-white);
  font-size: clamp(2.75rem, 6vw, 5rem);
}

.story-detail-hero p {
  max-width: 720px;
  color: rgb(255 255 255 / 74%);
}

.story-detail-hero .article-meta {
  color: rgb(255 255 255 / 68%);
}

.article-header {
  padding: 72px 0;
  background: linear-gradient(145deg, #f7f3eb, var(--color-white));
}

.article-header__inner {
  max-width: 900px;
}

.article-header h1 {
  margin: 16px 0;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
}

.article-header p {
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.article-body {
  max-width: 780px;
  margin-inline: auto;
}

.article-footer {
  display: flex;
  max-width: 780px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.article-footer a {
  color: var(--color-navy-900);
  font-weight: 750;
}

.navigation.pagination {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--color-line);
  border-radius: 9px;
  background: var(--color-white);
  color: var(--color-navy-900);
  font-size: 0.75rem;
  font-weight: 750;
  place-items: center;
  text-decoration: none;
}

.nav-links .current {
  border-color: var(--color-navy-900);
  background: var(--color-navy-900);
  color: var(--color-white);
}

.site-footer {
  background: #021e33;
  color: rgb(255 255 255 / 64%);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: 60px;
}

.footer-brand__logo {
  display: inline-flex;
  padding: 3px;
  border-radius: 4px;
  background: var(--color-white);
}

.footer-brand__logo img {
  width: 92px;
  height: 54px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 330px;
  margin: 24px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  color: rgb(255 255 255 / 72%);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  border-color: rgb(241 184 45 / 55%);
  background: rgb(241 184 45 / 10%);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.footer-menu,
.footer-menu .sub-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-menu > .menu-item {
  display: grid;
  align-content: start;
  gap: 17px;
}

.footer-menu > .menu-item > a,
.footer-menu__heading {
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-menu .sub-menu {
  display: grid;
  gap: 12px;
}

.footer-menu .sub-menu a {
  color: rgb(255 255 255 / 58%);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-menu .sub-menu a:hover,
.footer-menu .sub-menu a:focus-visible,
.footer-menu .current-menu-item > a {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.625rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--color-white);
  font-weight: 700;
}

.footer-bottom .footer-credit {
  color: rgb(255 255 255 / 78%);
  text-decoration: underline;
  text-decoration-color: rgb(241 184 45 / 52%);
  text-underline-offset: 3px;
}

.footer-bottom .footer-credit:hover {
  color: var(--color-white);
}

.back-to-top {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header .shell {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-navigation {
    position: absolute;
    z-index: 20;
    top: calc(100% - 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
  }

  .header-navigation[data-open="false"] {
    display: none;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

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

  .site-nav a {
    width: 100%;
    padding: 13px 2px;
  }

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

  .menu-item--home a span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
  }

  .header-join {
    width: 100%;
  }

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

  .about-story__media {
    max-width: 720px;
  }

  .about-cycle {
    gap: 34px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-cycle li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .about-cycle li:nth-child(2) {
    padding-right: 0;
  }

  .about-cycle li:nth-child(2)::after {
    display: none;
  }

  .public-hero__inner--split,
  .detail-hero__grid,
  .detail-layout,
  .form-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    width: min(100%, 360px);
  }

  .card-grid,
  .card-grid--4,
  .contact-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-card,
  .legal-nav {
    position: static;
  }

  .legal-nav {
    display: flex;
    overflow-x: auto;
  }

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

  .story-archive-card {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  }

  .home-hero__grid {
    gap: 54px;
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    padding-bottom: 12px;
  }

  .home-hero__visual {
    justify-self: center;
  }

  .home-intro,
  .home-programs__heading,
  .program-layout,
  .story-grid {
    gap: 40px;
    grid-template-columns: 1fr;
  }

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

  .value-card:last-child,
  .event-card:last-child {
    grid-column: 1 / -1;
  }

  .value-card:last-child {
    min-height: 300px;
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header .shell {
    align-items: center;
    flex-direction: row;
  }

  .about-story__media {
    min-height: 390px;
  }

  .about-story__media > img {
    width: calc(100% - 24px);
    height: 350px;
    border-radius: 18px 70px 18px 18px;
  }

  .about-story__note {
    padding: 18px;
    border-width: 5px;
  }

  .about-cycle {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .about-cycle li,
  .about-cycle li:first-child,
  .about-cycle li:nth-child(3),
  .about-cycle li:last-child {
    display: grid;
    gap: 15px;
    padding: 0 0 26px;
    border: 0;
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .about-cycle li > span {
    margin: 0;
  }

  .about-cycle li::after,
  .about-cycle li:not(:last-child)::after {
    display: none;
  }

  .about-cycle__closing {
    margin-top: 20px;
  }

  .public-hero {
    padding: 50px 0;
  }

  .public-hero h1 {
    font-size: 2.4375rem;
  }

  .public-hero__lead {
    font-size: 1rem;
  }

  .public-section {
    padding: 60px 0;
  }

  .section-intro {
    display: block;
  }

  .card-grid,
  .card-grid--4,
  .contact-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .search-box {
    width: 100%;
  }

  .filter-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    min-width: 0;
  }

  .result-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .cta-panel {
    padding: 29px;
  }

  .event-list-card {
    align-items: start;
    gap: 15px;
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .event-list-date {
    min-height: 76px;
  }

  .event-list-date strong {
    font-size: 1.75rem;
  }

  .event-list-card > .button {
    grid-column: 1 / -1;
  }

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

  .story-archive-card__image {
    min-height: 230px;
    height: 230px;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .detail-facts strong {
    max-width: 60%;
  }

  .story-detail-hero {
    min-height: 560px;
  }

  .story-detail-hero__content {
    padding-bottom: 42px;
  }

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

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

  .home-hero__copy {
    padding-top: 12px;
  }

  .home-hero h1 {
    margin-top: 16px;
    font-size: clamp(2.6875rem, 13vw, 3.625rem);
  }

  .home-hero__lead {
    font-size: 0.9375rem;
  }

  .home-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .home-actions .button {
    width: 100%;
  }

  .home-actions .text-link {
    justify-content: center;
  }

  .home-proof {
    gap: 14px;
    margin-top: 36px;
  }

  .home-proof div {
    min-width: 0;
    flex: 1;
    padding-right: 12px;
  }

  .home-proof strong {
    font-size: 1.25rem;
  }

  .home-hero__photo,
  .home-hero__photo > img {
    min-height: 470px;
    height: 470px;
  }

  .home-hero__photo {
    border-radius: 120px 120px 20px 20px;
  }

  .floating-card {
    width: min(210px, 68vw);
  }

  .floating-card--top {
    top: 78px;
    left: -8px;
  }

  .floating-card--bottom {
    right: -8px;
    bottom: 88px;
  }

  .home-hero__caption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .home-marquee {
    min-height: 62px;
    overflow: hidden;
    gap: 18px;
    justify-content: flex-start;
    white-space: nowrap;
  }

  .home-marquee span:nth-of-type(n + 4),
  .home-marquee i:nth-of-type(n + 4) {
    display: none;
  }

  .home-section {
    padding: 78px 0;
  }

  .section-heading h2,
  .home-programs__heading h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .value-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card:last-child {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .value-card:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .program-layout {
    margin-top: 42px;
  }

  .program-detail {
    min-height: 480px;
    padding: 28px 24px;
  }

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

  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-grid {
    margin-top: 40px;
  }

  .event-card:last-child {
    grid-column: auto;
  }

  .event-card__visual {
    height: 220px;
  }

  .story-list article {
    gap: 12px;
    grid-template-columns: 26px 1fr 36px;
  }

  .home-join {
    padding: 78px 0;
  }

  .home-join h2 {
    font-size: clamp(2.625rem, 12vw, 3.5rem);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .footer-bottom {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 20px;
    font-size: 0.6875rem;
  }
}

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

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