:root {
  --navy-950: #07162c;
  --navy-900: #0a1f3c;
  --navy-800: #11345d;
  --cream-50: #fffdf8;
  --cream-100: #f7f1e5;
  --cream-200: #efe3cf;
  --gold-400: #d8a94d;
  --gold-500: #c89537;
  --gold-600: #a7741d;
  --rust-500: #b33b2f;
  --rust-600: #8f241a;
  --text-900: #102033;
  --text-700: #425164;
  --text-500: #66768b;
  --line: rgba(10, 31, 60, 0.12);
  --line-strong: rgba(200, 149, 55, 0.35);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --shadow-soft: 0 18px 40px rgba(7, 22, 44, 0.08);
  --shadow-strong: 0 22px 52px rgba(7, 22, 44, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --max-width: 1240px;
  --hero-image: url("../images/heroes/leadership-hero.jpg");
}

body.page-home {
  --hero-image: url("../images/hero-washington-dc.jpg");
}

body.page-celebration {
  --hero-image: url("../images/celebration/the-celebration.jpeg");
}

body.page-leadership {
  --hero-image: url("../images/heroes/leadership-hero.jpg");
}

body.page-partners {
  --hero-image: url("../images/leadership/committee.jpg");
}

body.page-media {
  --hero-image: url("../images/heroes/leadership-hero.jpg");
}

body.page-contact {
  --hero-image: url("../images/heroes/leadership-hero.jpg");
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-900);
  background:
    radial-gradient(circle at top left, rgba(216, 169, 77, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f9f3e9 48%, #fffdf8 100%);
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-shell {
  background: rgba(255, 255, 255, 0.64);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(239, 227, 207, 0.38), rgba(255, 255, 255, 0.72));
  border-top: 1px solid rgba(200, 149, 55, 0.16);
  border-bottom: 1px solid rgba(200, 149, 55, 0.16);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(7, 22, 44, 0.98), rgba(17, 52, 93, 0.95)),
    url("../images/heroes/cta-texture.jpg") center/cover no-repeat;
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: rgba(255, 255, 255, 0.94);
}

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

.section-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 1px;
  margin-top: 0.22rem;
  background: currentColor;
  opacity: 0.65;
}

.section-head .eyebrow {
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
.display {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 4.7vw, 4.9rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.35rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.06;
}

p {
  margin: 0 0 1rem;
  color: var(--text-700);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-700);
}

.text-muted {
  color: var(--text-500);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-600);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.footer-link:focus-visible,
.tab-chip:focus-visible {
  outline: 2px solid rgba(216, 169, 77, 0.6);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--rust-500), var(--rust-600));
  box-shadow: 0 14px 32px rgba(143, 36, 26, 0.22);
}

.button-secondary {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(10, 31, 60, 0.12);
  box-shadow: 0 12px 30px rgba(7, 22, 44, 0.08);
}

.button-gold {
  color: var(--navy-900);
  background: linear-gradient(180deg, #f1d28f, #d9ab52);
  box-shadow: 0 14px 28px rgba(167, 116, 29, 0.18);
}

.button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.04);
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.76rem;
}

.button-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #07162c, #0a1f3c);
  box-shadow: 0 14px 34px rgba(7, 22, 44, 0.18);
}

.topbar {
  display: none;
}

.topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 8px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-strip strong {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.partner-strip img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.04);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.header-shell {
  background: linear-gradient(180deg, rgba(7, 22, 44, 0.98), rgba(10, 31, 60, 0.96));
  border-bottom: 1px solid rgba(216, 169, 77, 0.12);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  position: relative;
}

.brand-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(5, 15, 30, 0.24);
}

.brand-copy {
  min-width: 0;
}

.brand-title {
  font-size: 1.58rem;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-tagline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  white-space: nowrap;
}

.brand-tagline span {
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.1em;
}

.brand-years {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav > .button {
  display: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--gold-400), rgba(216, 169, 77, 0.25));
  transition: transform 180ms ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gold-400);
}

.header-cta {
  display: inline-flex;
}

.header-shell .button-primary {
  color: var(--navy-950);
  background: linear-gradient(180deg, #f1be56, #d79c31);
  box-shadow: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.page-hero,
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 0 0 72px;
}

.page-hero::before,
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(247, 241, 229, 0.9), rgba(255, 253, 248, 0.96));
}

.page-hero::after,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at left top, rgba(216, 169, 77, 0.12), transparent 32%);
  opacity: 1;
  pointer-events: none;
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.96), rgba(255, 248, 238, 0.84) 46%, rgba(255, 248, 238, 0.46)),
    var(--hero-image) center/cover no-repeat;
}

.home-hero::after {
  background: url("../images/heroes/flag-overlay.png") left center/cover no-repeat;
  opacity: 0.18;
}

.page-hero-shell {
  position: relative;
  display: block;
  height: 545px;
  min-height: 545px;
  overflow: hidden;
  border: 1px solid rgba(200, 149, 55, 0.22);
  border-radius: 0 0 28px 28px;
  background: #091d37;
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 545px;
  min-height: 545px;
  max-width: 640px;
  padding: 42px 46px 34px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 248, 238, 0.94) 58%, rgba(255, 248, 238, 0.36) 82%, rgba(255, 248, 238, 0) 100%),
    url("../images/heroes/flag-overlay.png") left center/cover no-repeat;
  box-shadow: none;
}

.hero-panel > p:last-of-type {
  max-width: 740px;
}

.home-hero .page-hero-shell {
  height: 560px;
  min-height: 560px;
  border-radius: 0 0 32px 32px;
}

/* Light cream wash for full-width sunset background */
.home-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.52) 0%, rgba(255, 248, 238, 0.76) 100%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 40px 60px 40px 48px;
}

/* Left column - floating seal logo */
.hero-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-large {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(7, 22, 44, 0.28));
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Right column - content panel */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--navy-950);
}

.hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.7rem, 1.2vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.hero-eyebrow-sep {
  color: var(--gold-500);
  font-size: 0.8rem;
}

.hero-star-divider {
  color: var(--gold-500);
  font-size: 0.88rem;
  margin: 6px 0 12px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy-950);
  margin: 0 0 16px;
}

.hero-lead {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy-900);
  max-width: 660px;
  margin: 0 0 22px;
  opacity: 0.95;
}

/* Details row (Date, Memorial, DC) */
.hero-details-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 28px;
}

.hero-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-950);
}

.hero-detail-icon {
  width: 15px;
  height: 15px;
  stroke: var(--navy-950);
  fill: none;
  stroke-width: 2.2;
}

.hero-detail-sep {
  color: rgba(10, 31, 60, 0.25);
  font-weight: 300;
}

/* Custom rounded-rectangle buttons */
.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 200ms ease;
  box-shadow: 0 4px 12px rgba(7, 22, 44, 0.08);
}

.hero-btn-primary {
  color: #fff;
  background: var(--rust-600);
  border: 1px solid var(--rust-600);
}

.hero-btn-primary:hover {
  background: var(--rust-500);
  border-color: var(--rust-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(143, 36, 26, 0.25);
}

.hero-btn-secondary {
  color: var(--navy-950);
  background: #f7eedb;
  border: 1px solid rgba(10, 31, 60, 0.18);
}

.hero-btn-secondary:hover {
  background: #fdfaf2;
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(216, 169, 77, 0.18);
}

.btn-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 180ms ease;
}

.hero-btn-primary:hover .btn-arrow,
.hero-btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}


.home-seal-card {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(7, 22, 44, 0.86);
  border: 1px solid rgba(216, 169, 77, 0.34);
  box-shadow: var(--shadow-strong);
}

.home-seal-card img {
  width: min(100%, 360px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.24));
}

.hero-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

body.page-home .hero-summary,
body.page-media .tab-wrap,
body.page-contact .tab-wrap {
  gap: 10px;
  margin-top: 18px;
}

.hero-media {
  position: relative;
  position: absolute;
  inset: 0;
  min-height: 100%;
  background: #091d37;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 22, 44, 0.02), rgba(7, 22, 44, 0.18));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.home-hero-seal {
  width: 86px;
  height: 86px;
  margin-bottom: 14px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(7, 22, 44, 0.16));
}

.summary-pill,
.tab-chip,
.meta-pill,
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(10, 31, 60, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-700);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(7, 22, 44, 0.06);
}

body.page-home .summary-pill,
body.page-media .tab-chip,
body.page-contact .tab-chip {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.meta-pill {
  background: rgba(7, 22, 44, 0.88);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(216, 169, 77, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.page-home .hero-actions,
body.page-media .hero-actions,
body.page-contact .hero-actions {
  gap: 12px;
}

body.page-home .hero-actions .button,
body.page-media .hero-actions .button,
body.page-contact .hero-actions .button {
  min-height: 48px;
  padding: 0 20px;
}

.hero-side-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(7, 22, 44, 0.95), rgba(17, 52, 93, 0.94));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-strong);
}

.page-hero .hero-side-card {
  display: none;
}

body.page-media .hero-media img {
  object-position: center center;
}

body.page-celebration .hero-media img {
  object-position: center 42%;
}

body.page-leadership .hero-media img {
  object-position: center 18%;
}

body.page-partners .hero-media img {
  object-position: center 28%;
}

body.page-contact .hero-media img,
body.page-home .hero-media img {
  object-position: center center;
}

body.page-home .hero-panel,
body.page-media .hero-panel,
body.page-contact .hero-panel {
  padding-top: 34px;
  padding-bottom: 28px;
}

body.page-home .hero-panel h1,
body.page-media .hero-panel h1 {
  font-size: clamp(2.55rem, 4.05vw, 4.15rem);
}

body.page-contact .hero-panel h1 {
  font-size: clamp(2.35rem, 3.85vw, 3.8rem);
}

body.page-home .hero-panel .lead,
body.page-media .hero-panel .lead,
body.page-contact .hero-panel .lead {
  font-size: 1rem;
}

.hero-side-card h3,
.hero-side-card p {
  color: inherit;
}

.hero-side-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.hero-side-list div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-side-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.surface-card,
.feature-card,
.stat-card,
.media-card,
.contact-card,
.quote-card,
.resource-card,
.sponsor-card,
.tier-card,
.info-card,
.leader-card,
.profile-card,
.panel-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.surface-card.soft,
.panel-card.soft {
  background: rgba(255, 255, 255, 0.74);
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.auto-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
}

.stack {
  display: grid;
  gap: 20px;
}

.icon-badge,
.icon-badge-dark,
.icon-badge-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--navy-900);
  background: linear-gradient(180deg, #f6dfb2, #dfb15b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.icon-badge-dark {
  color: #fff;
  background: linear-gradient(180deg, #16355e, #08182d);
}

.icon-badge-light {
  color: var(--gold-600);
  background: rgba(216, 169, 77, 0.12);
}

.icon-badge svg,
.info-icon svg,
.list-icon svg,
.footer-detail svg,
.resource-icon svg,
.hero-icon svg,
.contact-mini svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.feature-card h3,
.feature-card p {
  max-width: 34ch;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-900);
  font-size: 1.6rem;
  font-family: "Cormorant Garamond", serif;
}

.quote-card {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(247, 236, 216, 0.9));
}

.quote-mark {
  color: var(--gold-500);
  font-family: "Cormorant Garamond", serif;
  font-size: 4.6rem;
  line-height: 0.7;
}

.quote-card blockquote {
  margin: 0;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  line-height: 1.2;
}

.quote-card cite {
  color: var(--rust-500);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.feature-list,
.check-list,
.release-list,
.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.check-list li,
.detail-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-700);
}

.feature-list li::before,
.check-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2d28e, #d39e3e);
  box-shadow: 0 0 0 4px rgba(216, 169, 77, 0.12);
}

.badge-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-card {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  min-width: 168px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 149, 55, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(7, 22, 44, 0.05);
  font-weight: 800;
}

.badge-card span {
  margin-top: 8px;
  color: var(--gold-600);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  align-items: center;
}

.logo-chip {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(10, 31, 60, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(7, 22, 44, 0.05);
}

.logo-chip img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

.section-dark .logo-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .logo-chip img {
  filter: brightness(0) invert(1);
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.info-chip,
.release-item,
.resource-link,
.contact-row,
.footer-detail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.release-list {
  gap: 14px;
}

.release-item {
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(7, 22, 44, 0.04);
}

.release-main {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.release-main h4,
.release-main p {
  margin: 0;
}

.pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(179, 59, 47, 0.08);
  color: var(--rust-500);
}

.pdf-badge svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(216, 169, 77, 0.14);
  color: var(--gold-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-card,
.tier-card {
  display: grid;
  gap: 16px;
}

.sponsor-card.featured {
  background: linear-gradient(180deg, rgba(7, 22, 44, 0.98), rgba(17, 52, 93, 0.94));
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(216, 169, 77, 0.28);
}

.sponsor-card.featured p,
.sponsor-card.featured li,
.sponsor-card.featured h3 {
  color: inherit;
}

.tier-price {
  color: var(--gold-600);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 26px;
  align-items: stretch;
}

.leader-card img,
.profile-card img,
.media-card img,
.resource-image {
  width: 100%;
  border-radius: calc(var(--radius-md) - 8px);
  object-fit: cover;
}

.site-logo-image {
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(5, 15, 30, 0.18);
}

.leader-card img {
  min-height: 100%;
}

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

.profile-card {
  padding: 18px;
}

.profile-card img {
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.profile-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.profile-role {
  margin-bottom: 10px;
  color: var(--gold-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.media-card img {
  aspect-ratio: 16 / 10;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-500);
  font-size: 0.82rem;
  font-weight: 700;
}

.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tab-chip {
  min-height: 48px;
  color: var(--navy-900);
  border-color: rgba(10, 31, 60, 0.08);
}

.tab-chip svg,
.resource-icon svg,
.contact-mini svg {
  width: 22px;
  height: 22px;
}

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

.resource-card {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px 14px;
}

.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(216, 169, 77, 0.12);
  color: var(--navy-900);
}

.resource-link {
  color: var(--gold-600);
  font-weight: 800;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.field,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(10, 31, 60, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-900);
}

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

.field::placeholder,
.textarea::placeholder {
  color: var(--text-500);
}

.form-note {
  margin-bottom: 18px;
}

.contact-card {
  display: grid;
  gap: 18px;
}

.contact-row {
  align-items: flex-start;
}

.contact-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(216, 169, 77, 0.14);
  color: var(--navy-900);
  flex: 0 0 auto;
}

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

.quick-link {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 14px 28px rgba(7, 22, 44, 0.14);
}

.quick-link svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.quick-link.navy {
  background: linear-gradient(180deg, #17355b, #08182d);
}

.quick-link.gold {
  background: linear-gradient(180deg, #dfb562, #b88329);
  color: var(--navy-950);
}

.quick-link.rust {
  background: linear-gradient(180deg, #c65f52, #942b20);
}

.quick-link.green {
  background: linear-gradient(180deg, #2b6a54, #123d2d);
}

.quick-link.purple {
  background: linear-gradient(180deg, #7057a5, #452a74);
}

.quick-link.brown {
  background: linear-gradient(180deg, #9d7440, #6a4b1d);
}

.site-cta {
  padding: 0 0 72px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 22px;
  align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(7, 22, 44, 0.98), rgba(17, 52, 93, 0.94)),
    url("../images/heroes/cta-texture.jpg") center/cover no-repeat;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-strong);
}

.cta-card h2,
.cta-card h3,
.cta-card p {
  color: inherit;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer {
  border-top: 1px solid rgba(200, 149, 55, 0.16);
  background: linear-gradient(180deg, #07162c, #091d37);
  color: rgba(255, 255, 255, 0.86);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: 20px;
  padding: 24px 0 18px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(5, 15, 30, 0.24);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.footer-title {
  margin-bottom: 10px;
  color: var(--gold-400);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.footer-detail {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.footer-detail svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex: 0 0 auto;
}

.footer-presenters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-presenters .logo-chip {
  min-height: 70px;
  flex: 1 1 0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-presenters .logo-chip img {
  max-height: 30px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

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

.timeline-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(216, 169, 77, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 41, 75, 0.96), rgba(9, 29, 55, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 34px rgba(3, 11, 22, 0.18);
}

.timeline-card h3,
.timeline-card p {
  color: #fff;
}

.timeline-card .icon-badge-light {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gold-500);
  justify-content: flex-start;
}

.timeline-card .icon-badge-light svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  stroke: none;
}

.timeline-card h3 {
  margin-top: 2px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.presenter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.presenter-card {
  padding: 28px;
  border: 1px solid rgba(10, 31, 60, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.presenter-card img {
  height: 54px;
  width: auto;
  margin-bottom: 18px;
}

.partners-copy {
  display: grid;
  gap: 14px;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.social-panel {
  display: grid;
  gap: 14px;
}

.social-panel .social-links {
  gap: 12px;
}

.social-link-blocks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  box-shadow: 0 10px 26px rgba(7, 22, 44, 0.04);
}

.social-card .social-link {
  margin: 0 auto 10px;
}

.social-card h4 {
  margin-bottom: 4px;
}

.social-card p {
  font-size: 0.82rem;
}

@media (max-width: 1140px) {
  .page-hero-shell,
  .home-hero .page-hero-shell,
  .split-grid,
  .spotlight-grid,
  .home-about,
  .media-layout {
    grid-template-columns: 1fr;
  }

  .page-hero-shell {
    min-height: 430px;
  }

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

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

  .footer-top,
  .footer-bottom,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-actions,
  .footer-bottom {
    justify-content: flex-start;
  }

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

@media (max-width: 960px) {
  .header-main {
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(216, 169, 77, 0.14);
    border-radius: 26px;
    background: rgba(7, 22, 44, 0.98);
    box-shadow: var(--shadow-strong);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav .button {
    display: inline-flex;
    width: 100%;
  }

  .nav-link {
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
  }

  .hero-panel,
  .home-seal-card,
  .hero-side-card,
  .surface-card,
  .feature-card,
  .stat-card,
  .media-card,
  .contact-card,
  .quote-card,
  .resource-card,
  .sponsor-card,
  .tier-card,
  .info-card,
  .leader-card,
  .profile-card,
  .panel-card {
    padding: 24px;
  }

  .page-hero,
  .home-hero,
  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding-top: 0;
  }

  .page-hero-shell {
    min-height: 420px;
  }

  .hero-panel {
    min-height: 420px;
    max-width: 560px;
    padding: 32px 26px 28px;
  }

  .hero-media img {
    min-height: 100%;
  }

  .home-hero .page-hero-shell {
    height: auto;
    min-height: auto;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 24px;
    text-align: center;
  }

  .hero-logo-large {
    max-width: 240px;
  }

  .section-tight {
    padding: 44px 0;
  }

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

  .profile-grid,
  .presenter-grid,
  .grid-3,
  .grid-2,
  .form-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle,
  .brand-years {
    letter-spacing: 0.06em;
    font-size: 0.62rem;
  }

  .page-hero-shell {
    min-height: 520px;
    border-radius: 0 0 22px 22px;
  }

  .hero-panel {
    min-height: 520px;
    max-width: none;
    padding: 26px 18px 210px;
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 248, 238, 0.94) 56%, rgba(255, 248, 238, 0.14) 100%),
      url("../images/heroes/flag-overlay.png") left top/cover no-repeat;
  }

  .hero-media img {
    min-height: 520px;
  }

  .home-hero .page-hero-shell {
    height: auto;
    min-height: auto;
  }
  .home-hero .hero-media img {
    height: 100%;
    min-height: 100%;
  }

  .hero-summary,
  .hero-actions,
  .tab-wrap,
  .badge-cloud,
  .footer-presenters {
    gap: 10px;
  }

  .summary-pill,
  .tab-chip,
  .meta-pill,
  .contact-chip {
    width: auto;
    justify-content: flex-start;
  }

  .feature-highlight-grid,
  .grid-4,
  .resource-grid,
  .social-link-blocks {
    grid-template-columns: 1fr;
  }

  .footer-bottom,
  .footer-top {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-main {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 0.84rem;
  }

  .page-hero-shell {
    min-height: 520px;
  }

  .hero-panel h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-panel .lead {
    font-size: 0.96rem;
  }

  .hero-panel {
    min-height: 520px;
    padding-bottom: 200px;
  }

  .hero-media img {
    min-height: 520px;
  }

  .home-hero .page-hero-shell {
    height: auto;
    min-height: auto;
  }
  .home-hero .hero-media img {
    height: 100%;
    min-height: 100%;
  }
  .home-hero-grid {
    padding: 30px 16px;
    gap: 20px;
  }
  .hero-logo-large {
    max-width: 180px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }

  .home-hero-seal {
    width: 62px;
    height: 62px;
    margin-bottom: 10px;
  }

  .summary-pill,
  .tab-chip {
    font-size: 0.76rem;
    min-height: 38px;
    padding: 0 12px;
  }
}

/* ==========================================================================
   PARTICIPATION MODAL AND QUICK ACCESS FORMS
   ========================================================================== */

/* Modal Backdrop Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(7, 22, 44, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Card Container */
.modal-card {
  background-color: #fbf9f4; /* Theme Cream */
  border: 1px solid rgba(216, 169, 77, 0.35);
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 48px rgba(7, 22, 44, 0.25);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 36px 32px;
}

.modal-overlay.is-active .modal-card {
  transform: scale(1);
}

/* Scrollbar for Modal Card */
.modal-card::-webkit-scrollbar {
  width: 8px;
}
.modal-card::-webkit-scrollbar-track {
  background: rgba(7, 22, 44, 0.02);
  border-radius: 0 20px 20px 0;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(216, 169, 77, 0.3);
  border-radius: 4px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
  background: rgba(216, 169, 77, 0.5);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 22, 44, 0.05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #07162c;
  transition: all 0.25s ease;
  line-height: 1;
}

.modal-close:hover {
  background: #c65f52;
  color: #fff;
  transform: rotate(90deg);
}

/* Modal Body Header */
.modal-header-title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 1.7rem;
  color: #07162c;
  margin-bottom: 6px;
  border-bottom: 2px solid rgba(216, 169, 77, 0.2);
  padding-bottom: 10px;
  font-weight: 700;
}

.modal-header-desc {
  font-size: 0.92rem;
  color: #5a6575;
  margin-bottom: 24px;
  line-height: 1.45;
}

/* Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 580px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 580px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #07162c;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required-star {
  color: #c65f52;
}

/* Form Controls */
.modal-input {
  background: #fff;
  border: 1.5px solid rgba(7, 22, 44, 0.12);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.95rem;
  color: #07162c;
  transition: all 0.25s ease;
  width: 100%;
}

.modal-input::placeholder {
  color: #a0aab8;
}

.modal-input:focus {
  border-color: #d8a94d;
  box-shadow: 0 0 0 3px rgba(216, 169, 77, 0.18);
  outline: none;
}

textarea.modal-input {
  resize: vertical;
  min-height: 84px;
  font-family: inherit;
}

select.modal-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307162c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Custom Checkbox and Radio Grid */
.checkbox-group,
.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .checkbox-group,
  .radio-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4a5462;
  user-select: none;
  transition: color 0.2s ease;
}

.checkbox-item:hover,
.radio-item:hover {
  color: #07162c;
}

.checkbox-item input,
.radio-item input {
  accent-color: #b88329;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* WhatsApp Sync option */
.whatsapp-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -6px;
  margin-bottom: 2px;
}

.whatsapp-sync input {
  accent-color: #2b6a54; /* Green accent for WhatsApp */
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.whatsapp-sync span {
  font-size: 0.82rem;
  color: #5a6575;
  cursor: pointer;
  user-select: none;
}

/* Dynamic Conditional Fields container */
.conditional-fields {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.conditional-fields.show {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
  margin-top: 14px;
  border-left: 3px solid #d8a94d;
  padding-left: 16px;
}

/* File Upload Field */
.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px dashed rgba(216, 169, 77, 0.45);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.file-upload-wrapper:hover {
  border-color: #b88329;
  background: rgba(216, 169, 77, 0.02);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  color: #b88329;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.file-upload-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.file-upload-text {
  font-size: 0.88rem;
  color: #5a6575;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Form Actions / Submit Button */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.modal-submit-btn {
  background: linear-gradient(135deg, #c65f52, #942b20);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(198, 95, 82, 0.2);
}

.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 95, 82, 0.35);
  background: linear-gradient(135deg, #d36e61, #a3352a);
}

.modal-submit-btn:active {
  transform: translateY(0);
}

/* Success "Thank You" Screen */
.modal-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
}

.success-checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(43, 106, 84, 0.08);
  border: 3px solid #2b6a54;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b6a54;
  margin-bottom: 24px;
  transform: scale(0);
  animation: successPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-checkmark svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes successPop {
  to { transform: scale(1); }
}

.success-title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 1.8rem;
  color: #07162c;
  margin-bottom: 12px;
  font-weight: 700;
}

.success-desc {
  font-size: 0.98rem;
  color: #5a6575;
  max-width: 380px;
  line-height: 1.5;
}

/* Responsiveness for Modal padding */
@media (max-width: 580px) {
  .modal-card {
    padding: 30px 20px;
    width: 95%;
  }
  .modal-header-title {
    font-size: 1.5rem;
  }
}
