:root {
  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --navy: #0d2238;
  --navy-2: #143452;
  --cream: #f7f1e7;
  --cream-2: #fffaf2;
  --gold: #c99b4a;
  --teal: #4f8d8a;
  --coral: #e8906e;
  --ink: #152033;
  --muted: #617086;
  --line: rgba(13, 34, 56, 0.13);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 34, 56, 0.14);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--white);
  padding: 12px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 800px; }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand-simple {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a, .nav-dropbtn {
  padding: 10px 13px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 750;
  color: var(--navy);
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: .98rem;
  line-height: 1.2;
}
.main-nav a:hover, .main-nav a[aria-current="page"], .nav-dropbtn:hover, .nav-dropbtn[aria-current="page"], .nav-dropdown.is-open .nav-dropbtn { background: rgba(13, 34, 56, .07); }
.main-nav .nav-cta { background: var(--navy); color: #fff; padding: 11px 18px; white-space: nowrap; }
.main-nav .nav-cta:hover { background: var(--navy-2); color: #fff; }
.main-nav .nav-cta[aria-current="page"] {
  background: var(--navy-2);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(201, 167, 106, .42), 0 8px 18px rgba(13, 34, 56, .16);
  outline: 1px solid rgba(255,255,255,.45);
}
.nav-dropdown { position: relative; }
.nav-dropdown:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  display: none;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 248px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(13, 34, 56, .14);
  padding: 8px;
  margin-top: 8px;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
  z-index: 80;
}
.nav-dropdown:hover:after, .nav-dropdown:focus-within:after, .nav-dropdown.is-open:after { display: block; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a { display: block; border-radius: 12px; padding: 11px 12px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 99px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 155, 74, .25), transparent 25%),
    linear-gradient(135deg, #fffaf2 0%, #f4eadb 50%, #ecf5f4 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin: 0 0 12px;
}
h1, h2, h3 { color: var(--navy); font-family: var(--font-heading); font-weight: 700; }
.hero h1, .page-hero h1, .project-hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.page-hero h1, .project-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.lead, .page-hero p, .project-hero p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #415069;
  max-width: 700px;
  margin: 0 0 30px;
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button-row-center { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(13, 34, 56, .16);
  transition: transform .18s ease, background .18s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); background: var(--navy-2); }
.button-secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.button-light { background: #fff; color: var(--navy); }
.button-gold { background: var(--gold); color: #1b2430; }

/* Button visibility polish */
.button,
.button:visited {
  color: #fff;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--navy-2);
  outline: none;
}

.button-secondary,
.button-outline,
.button-secondary:visited,
.button-outline:visited {
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(13, 34, 56, .22);
  box-shadow: 0 10px 26px rgba(13, 34, 56, .08);
}

.button-secondary:hover,
.button-outline:hover,
.button-secondary:focus-visible,
.button-outline:focus-visible {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 12px 30px rgba(13, 34, 56, .16);
}

.button:focus-visible,
.button-secondary:focus-visible,
.button-outline:focus-visible {
  outline: 3px solid rgba(201, 155, 74, .55);
  outline-offset: 3px;
}

.card-button-line {
  margin-top: 22px;
}

.card-button-line .button {
  white-space: normal;
  text-align: center;
}

.hero-panel {
  position: relative;
  min-height: 430px;
  border-radius: 42px;
  background: linear-gradient(135deg, var(--navy), #315d67);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel:before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 32px;
}
.orb {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  right: 30px;
  bottom: 24px;
  opacity: .85;
}
.floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  border-radius: 26px;
  padding: 22px;
  max-width: 260px;
}
.floating-card strong { display: block; font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.floating-card span { color: var(--muted); }
.card-one { top: 70px; left: 54px; }
.card-two { right: 42px; bottom: 86px; }

.section { padding: 82px 0; }
.intro-section { background: #fff; }
.soft-bg { background: var(--cream); }
.section-heading { max-width: 790px; margin-bottom: 32px; }
.section-heading h2, .split h2, .cta-inner h2, .footer-cta h2, .form-panel h2, .contact-card h2, .narrow h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 16px;
}
.narrow p, .rich-text p, .section-heading p { font-size: 1.1rem; color: #4c5a70; }
.card-grid { display: grid; gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.project-card, .value-card, .contact-card, .form-panel, .plain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 45px rgba(13, 34, 56, .07);
}
.project-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.project-card:before {
  content: "";
  position: absolute;
  inset: auto -50px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  opacity: .18;
}
.project-card.playful:before { background: var(--coral); }
.project-card.true:before { background: var(--teal); }
.project-card.future:before { background: var(--gold); }
.project-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 900; }
.project-card h3, .plain-card h3, .value-card h3 { font-size: 2rem; letter-spacing: -.015em; line-height: 1.08; margin: 12px 0; }
.project-card p, .value-card p, .plain-card p { color: #4c5a70; }
.project-card a:not(.button), .value-card a { font-weight: 900; color: var(--navy); text-decoration: none; }
.plain-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
}
.plain-card p { margin-bottom: 28px; }
.plain-card .button { margin-top: auto; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.rich-text { font-size: 1.1rem; }
.cta-band { background: var(--navy); color: #fff; }
.cta-inner, .footer-cta { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta-inner h2, .cta-inner p, .footer-cta h2, .footer-cta p { color: #fff; }
.page-hero, .project-hero {
  padding: 82px 0;
  background: linear-gradient(135deg, var(--cream-2), var(--cream));
  border-bottom: 1px solid var(--line);
}
.project-hero.playful { background: linear-gradient(135deg, #fffaf2, #fff0e9); }
.project-hero.true { background: linear-gradient(135deg, #fffaf2, #ebf6f4); }
.project-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.project-affiliation { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 18px 55px rgba(13, 34, 56, .09); }
.project-affiliation strong { display: block; color: var(--navy); font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 8px; }
.project-affiliation span { display: inline-flex; color: var(--navy); background: rgba(13, 34, 56, .07); border-radius: 999px; padding: 8px 12px; font-weight: 850; margin-bottom: 14px; }
.project-affiliation p { font-size: 1rem; color: #4c5a70; margin: 0; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; list-style: none; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--navy); font-weight: 750; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: start; min-width: 0; }
.contact-layout > * { min-width: 0; }
.contact-method { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.contact-method strong { display: block; color: var(--navy); }
.contact-method span { color: var(--muted); }
.form-shell { border: 1px dashed rgba(13,34,56,.25); border-radius: 22px; padding: 26px; background: rgba(247,241,231,.55); }
.form-shell label { display: block; font-weight: 800; margin: 14px 0 6px; color: var(--navy); }
.form-shell input, .form-shell textarea, .form-shell select {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff;
}
.form-shell textarea { min-height: 150px; resize: vertical; }
.form-shell .button { border: 0; margin-top: 18px; cursor: not-allowed; opacity: .7; }
.placeholder-note { color: var(--muted); font-size: .95rem; }
.site-footer { background: var(--navy); color: #dbe7ef; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.15); padding: 58px 0; }
.footer-cta .button { white-space: nowrap; flex: 0 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr .85fr; gap: 34px; padding: 50px 0; }
.footer-grid h3, .footer-grid h4 { color: #fff; margin-top: 0; }
.footer-grid a { display: block; color: #dbe7ef; text-decoration: none; margin: 9px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; color: #adc0cc; font-size: .92rem; }
.footer-email a { display: inline; }

@media (max-width: 900px) {
  .container { width: min(100% - 28px, var(--max)); }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 82px; left: 14px; right: 14px;
    display: none; flex-direction: column; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a, .nav-dropbtn { padding: 13px 15px; width: 100%; text-align: left; }
  .nav-dropdown:after { display: none !important; }
  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border-radius: 16px;
    margin: 4px 0 6px;
    background: rgba(247,241,231,.55);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.is-open:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-panel { min-height: 350px; }
  .card-grid.two, .card-grid.three { grid-template-columns: 1fr; }
  .cta-inner, .footer-cta, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 20px, var(--max)); }
  .hero h1, .page-hero h1, .project-hero h1 { letter-spacing: -.025em; }
  .floating-card { left: 22px !important; right: 22px !important; max-width: none; }
  .card-one { top: 42px; }
  .card-two { bottom: 42px; }
  .orb { opacity: .55; }
  .project-card, .value-card, .contact-card, .form-panel, .plain-card { padding: 20px; }
  .form-shell { padding: 16px; border-radius: 18px; }
  .turnstile-field .cf-turnstile { transform-origin: left top; }
  .button { width: 100%; }
  .button-row { width: 100%; }
}

.about-photo { margin: 28px 0 0; }
.about-photo img { display: block; width: 100%; border-radius: 26px; box-shadow: 0 18px 45px rgba(13, 34, 56, .14); border: 1px solid var(--line); }
.about-photo figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.info-box { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 36px rgba(13, 34, 56, .06); }
.info-box h3 { margin: 0 0 10px; font-size: 1.45rem; }
.info-box ul { margin: 12px 0 0; padding-left: 20px; color: #4c5a70; }
.info-box li { margin: 7px 0; }

/* Contact form + private admin additions */
.form-shell .button { cursor: pointer; opacity: 1; }
.form-status { display: none; border-radius: 16px; padding: 12px 14px; margin-bottom: 16px; font-weight: 750; }
.button-area-status { margin-top: 14px; margin-bottom: 0; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e8f5ed; color: #164f2f; border: 1px solid rgba(22,79,47,.18); }
.form-status.error { background: #fff0ec; color: #7a2d18; border: 1px solid rgba(122,45,24,.18); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.turnstile-field { margin-top: 4px; max-width: 100%; overflow: hidden; }
.turnstile-field .cf-turnstile { margin-top: 4px; max-width: 100%; }
.form-help { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.form-fallback { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.form-fallback a, .placeholder-note a { color: var(--navy); font-weight: 800; }

.admin-body { background: var(--cream); min-height: 100vh; }
.admin-shell { width: min(100% - 32px, 1080px); margin: 0 auto; padding: 42px 0 70px; }
.admin-header-card, .admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 28px; }
.admin-header-card { margin-bottom: 20px; }
.admin-header-card h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.1rem); }
.admin-header-card p { color: var(--muted); max-width: 780px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-status { color: var(--muted); font-weight: 700; }
.admin-filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-filter-group .button { padding: 10px 14px; font-size: .9rem; }
.admin-filter-group .button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.messages-list { display: grid; gap: 14px; }
.message-card { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: rgba(247,241,231,.38); }
.message-card.unread { border-color: rgba(13,34,56,.32); background: #fff; }
.message-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.message-card h2 { margin: 0; font-size: 1.15rem; }
.message-meta { color: var(--muted); font-size: .92rem; }
.message-body { white-space: pre-wrap; color: #334155; margin-top: 14px; }
.message-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.message-actions .button { padding: 10px 14px; font-size: .9rem; }
.message-actions .button-secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.message-empty { color: var(--muted); padding: 16px 0; }
.admin-load-more-wrap { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 560px) {
  .admin-shell { width: min(100% - 22px, 1080px); padding-top: 24px; }
  .admin-header-card, .admin-panel { padding: 22px; border-radius: 22px; }
}

/* Live copy polish: equal card button alignment */
.card-grid.three { align-items: stretch; }
.card-grid.three .plain-card { height: 100%; }
.plain-card { display: flex; flex-direction: column; align-items: flex-start; }
.plain-card .button { margin-top: auto; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; }

/* Contact form validation updates */
.form-field { margin-top: 14px; }
.form-shell label span { color: var(--muted); font-weight: 650; font-size: .92em; }
.form-shell input.has-error, .form-shell textarea.has-error { border-color: #a33a1f; box-shadow: 0 0 0 3px rgba(163,58,31,.12); }
.field-error { display: none; margin: 6px 0 0; color: #7a2d18; font-size: .9rem; font-weight: 700; }
.field-error.is-visible { display: block; }
.message-details { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(13,34,56,.05); color: #334155; font-size: .94rem; }
.message-details div + div { margin-top: 6px; }
.message-details a { color: var(--navy); font-weight: 750; }

.checkbox-field { margin-top: 16px; }
.form-shell .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.35;
  margin: 14px 0 6px;
}
.checkbox-label { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; color: var(--navy); font-weight: 750; line-height: 1.35; }
.checkbox-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: .12em 0 0;
  flex: 0 0 20px;
  border: 2px solid rgba(13, 34, 56, .28);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-content: center;
  box-shadow: 0 1px 2px rgba(13, 34, 56, .06);
}
.checkbox-label input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform .12s ease;
  background: #fff;
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 20%, 84% 7%, 35% 68%);
}
.checkbox-label input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}
.checkbox-label input[type="checkbox"]:checked::before { transform: scale(1); }
.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(79, 141, 138, .35);
  outline-offset: 3px;
}
.checkbox-label span { color: var(--navy); font-size: 1rem; display: block; min-width: 0; }
.organization-fields { margin-top: 2px; padding: 2px 0 0; }
.organization-fields[hidden] { display: none !important; }

/* Backup admin passcode */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.admin-passcode-panel { margin-bottom: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(247,241,231,.45); }
.admin-passcode-panel h2 { margin: 0 0 6px; font-size: 1.2rem; }
.admin-passcode-panel p { margin: 0; color: var(--muted); }
.admin-passcode-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.admin-passcode-row input { flex: 1 1 260px; min-width: 220px; }
.admin-passcode-row .button { min-height: 48px; }
.admin-passcode-panel.is-unlocked { border-color: rgba(22,79,47,.25); background: #e8f5ed; }

/* Admin privacy update: keep details hidden until authorization succeeds */
.admin-locked-card { max-width: 760px; margin-left: auto; margin-right: auto; }
.admin-locked-card h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.admin-locked-card .admin-passcode-panel { margin: 22px 0 0; padding: 0; border: 0; background: transparent; }
.admin-passcode-row.compact { margin-top: 0; }
.admin-passcode-row.compact input { min-height: 52px; }
.admin-dashboard-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-dashboard-header h1 { margin-bottom: 0; }
.admin-lock-button { flex: 0 0 auto; }
[hidden] { display: none !important; }


/* Success state: replace the form controls with a stable confirmation card without collapsing the page. */
.success-card {
  display: none;
  min-height: 420px;
  padding: 38px 24px;
  border: 1px solid rgba(22, 79, 47, .18);
  border-radius: 22px;
  background: #e8f5ed;
  color: #164f2f;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.success-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(22, 79, 47, .12);
  color: #164f2f;
  font-size: 1.7rem;
  font-weight: 900;
}

.success-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #164f2f;
}

.success-card p {
  max-width: 520px;
  margin: 0 auto;
  color: #255b3a;
  line-height: 1.65;
}

.success-card-note {
  margin-top: 12px !important;
  font-size: .96rem;
}

.success-card-note a {
  color: #164f2f;
  font-weight: 800;
}

.success-card-button {
  margin-top: 22px;
}

.form-shell.form-submitted .form-field,
.form-shell.form-submitted .hp-field,
.form-shell.form-submitted button[type="submit"],
.form-shell.form-submitted .form-status {
  display: none;
}

.form-shell.form-submitted .success-card {
  display: flex;
}

/* Safari-only human verification loading state. Placeholder text explains the brief Turnstile wait without adding layout-changing text. */
.form-shell.is-human-verification-loading input,
.form-shell.is-human-verification-loading textarea {
  background: rgba(247, 241, 231, .65);
  cursor: wait;
}

.form-shell.is-human-verification-loading input::placeholder,
.form-shell.is-human-verification-loading textarea::placeholder {
  color: #4c5a70;
  opacity: 1;
}


/* Mobile layout polish updates */
@media (max-width: 390px) {
  .form-panel { padding: 16px 12px; }
  .form-shell { padding: 12px; }
  .turnstile-field { overflow: hidden; }
  .turnstile-field .cf-turnstile { transform: scale(.92); transform-origin: left top; width: 300px; margin-bottom: -5px; }
}

.footer-cta .button,
.main-nav .nav-cta { white-space: nowrap; }


/* Stay Faithful and fundraiser additions */
.project-hero.faithful { background: linear-gradient(135deg, #fffaf2, #f7f1e7 48%, #edf4fb); }
.project-card.faithful:before { background: var(--gold); }
.card-grid.three.project-overview-grid .project-card { min-height: 310px; }
.fundraiser-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.fundraiser-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 14px 45px rgba(13, 34, 56, .07); display: flex; flex-direction: column; align-items: flex-start; min-height: 360px; position: relative; overflow: hidden; }
.fundraiser-card:before { content: ""; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 999px; opacity: .16; background: var(--gold); }
.fundraiser-card.playful:before { background: var(--coral); }
.fundraiser-card.faithful:before { background: var(--gold); }
.fundraiser-card h3 { font-size: clamp(2.35rem, 4vw, 3.75rem); line-height: .98; margin: 10px 0 10px; }
.fundraiser-card h3 sup { font-family: var(--font-sans); font-size: .34em; top: -.65em; position: relative; margin-left: 2px; }
.fundraiser-card-subtitle { font-weight: 800; color: var(--ink) !important; margin: 0 0 14px; font-size: 1.05rem; }
.fundraiser-card p { color: #4c5a70; }
.fundraiser-card .button { margin-top: auto; }
.feature-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 14px 45px rgba(13, 34, 56, .07); }
.feature-box.cream { background: var(--cream); }
.feature-list { margin: 20px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 24px; margin-bottom: 12px; color: #344258; }
.feature-list li:before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); }
.metric-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 20px 50px rgba(13, 34, 56, .09); }
.metric-price { font-family: var(--font-heading); color: var(--navy); font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; margin-bottom: 8px; }
.metric-row { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.metric-row span { font-family: var(--font-heading); color: var(--gold); font-size: 2rem; line-height: 1; }
.metric-row p { color: var(--navy); font-weight: 850; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-mini { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 10px 32px rgba(13,34,56,.05); }
.product-mini h3 { font-size: 1.28rem; margin: 0 0 10px; }
.product-mini p { color: #4c5a70; margin: 0; font-size: 1rem; }
.note-box { background: #fff; border-left: 4px solid var(--gold); padding: 18px 20px; border-radius: 16px; color: var(--muted); margin-top: 22px; }
.note-box p { margin: 0; }
@media (max-width: 900px) {
  .fundraiser-card-grid, .product-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 64px 1fr; }
}


.tm-mark { font-size: .34em; line-height: 0; vertical-align: super; margin-left: .06em; letter-spacing: 0; }

/* Stay Playful project additions */
.feature-image-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: stretch; }
.feature-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 45px rgba(13, 34, 56, .07); }
.feature-photo img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.feature-photo figcaption { padding: 14px 18px; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); background: #fff; }
.feature-box h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 0 0 14px; }
.feature-box .button { margin-top: 18px; }
.product-idea-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-idea-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 32px rgba(13,34,56,.05); }
.product-idea-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-idea-gallery figcaption { padding: 12px 14px; color: var(--navy); font-weight: 800; font-size: .95rem; }
@media (max-width: 900px) {
  .feature-image-grid, .product-idea-gallery { grid-template-columns: 1fr; }
  .feature-photo img { height: auto; max-height: none; }
}

/* Homepage combined hero + projects panel update */
.home-combined-hero {
  padding: clamp(58px, 8vw, 100px) 0 76px;
  background:
    radial-gradient(circle at 78% 30%, rgba(201, 155, 74, .15), transparent 27%),
    radial-gradient(circle at 13% 16%, rgba(201, 155, 74, .13), transparent 30%),
    linear-gradient(135deg, #f7f1e7 0%, #fffaf2 100%);
}
.home-combined-hero .hero-grid { gap: clamp(38px, 7vw, 82px); }
.home-combined-hero h1 {
  font-size: clamp(3.7rem, 8vw, 6.8rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.home-combined-hero .lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.58;
  font-weight: 650;
  color: #566376;
}
.home-hero-panel {
  min-height: 500px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 74% 65%, rgba(201, 155, 74, .66), transparent 24%),
    linear-gradient(135deg, #0d2238 0%, #153f49 100%);
}
.home-hero-panel:before { border-radius: 30px; }
.home-hero-panel .floating-card {
  border-radius: 22px;
  padding: 22px 24px;
  width: min(46%, 310px);
  max-width: none;
}
.home-hero-panel .floating-card strong {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.home-hero-panel .floating-card span {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 650;
}
.home-hero-panel .card-one { left: 9%; top: 18%; }
.home-hero-panel .card-two { right: 8%; bottom: auto; top: 43%; }
.home-hero-panel .card-three { left: 16%; bottom: 13%; top: auto; }
.home-hero-panel .orb {
  width: 220px;
  height: 220px;
  right: 36px;
  bottom: 34px;
  opacity: .72;
}
.visual-caption {
  position: absolute;
  right: 9%;
  bottom: 7%;
  z-index: 4;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-purpose-section h2 { max-width: 820px; margin-inline: auto; }
.home-projects-section {
  background: var(--cream);
  padding: 80px 0;
}
.projects-panel {
  border-radius: 38px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 80% 24%, rgba(201, 155, 74, .34), transparent 31%),
    radial-gradient(circle at 38% 82%, rgba(79, 141, 138, .18), transparent 40%),
    linear-gradient(135deg, #0d2238 0%, #153f49 100%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.projects-top {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}
.projects-top .eyebrow { color: #e7c48e; }
.projects-top h2 {
  color: #fff;
  font-size: clamp(2.75rem, 6vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0;
  max-width: 620px;
}
.projects-top > p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 620px;
}
.project-cards-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card-home {
  min-height: 335px;
  border-radius: 28px;
  padding: 28px;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  border: 1px solid rgba(255,255,255,.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0,0,0,.09);
}
.project-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .82rem;
  font-weight: 900;
  color: var(--navy);
  background: #f4dca6;
  margin-bottom: 22px;
}
.project-card-home.true .project-tag { background: #dce8e5; }
.project-card-home.faithful .project-tag { background: #eadcc4; }
.project-card-home h3 {
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 900;
}
.project-card-home p {
  margin: 0;
  color: #5b6878;
  font-size: 1.04rem;
  line-height: 1.68;
  font-weight: 600;
}
.project-card-home a {
  margin-top: 28px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}
.project-card-home a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .projects-top, .project-cards-home { grid-template-columns: 1fr; }
  .home-hero-panel { min-height: 540px; }
  .project-card-home { min-height: 250px; }
}
@media (max-width: 560px) {
  .home-combined-hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .home-hero-panel {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 26px;
  }
  .home-hero-panel:before, .home-hero-panel .orb, .visual-caption { display: none; }
  .home-hero-panel .floating-card {
    position: static;
    width: 100%;
    max-width: none;
  }
  .projects-panel { border-radius: 28px; }
  .project-card-home { border-radius: 24px; padding: 24px; }
}

/* Responsive hero card fix: avoid text overlap at intermediate display sizes */
.home-hero-panel {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 18px;
  padding: 48px 50px 72px;
  min-height: 540px;
}
.home-hero-panel .floating-card {
  position: relative;
  z-index: 3;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: min(58%, 320px);
  max-width: 320px;
}
.home-hero-panel .card-one { justify-self: start; }
.home-hero-panel .card-two { justify-self: end; }
.home-hero-panel .card-three { justify-self: start; margin-left: 8%; }
.home-hero-panel .orb { z-index: 1; }
.home-hero-panel .visual-caption {
  z-index: 4;
  right: 50px;
  bottom: 30px;
}

@media (max-width: 1000px) {
  .home-hero-panel {
    min-height: auto;
    padding: 42px 42px 72px;
  }
}

@media (max-width: 760px) {
  .home-hero-panel .floating-card {
    width: min(72%, 330px);
  }
  .home-hero-panel .card-three { margin-left: 0; }
}

@media (max-width: 560px) {
  .home-hero-panel {
    padding: 26px;
  }
}


/* Short About page update */
.about-simple-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 68px;
  background: linear-gradient(135deg, var(--cream-2), var(--cream));
  border-bottom: 1px solid var(--line);
}
.about-simple-hero:before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 155, 74, .22), transparent 68%);
  top: -210px;
  right: -150px;
  pointer-events: none;
}
.about-simple-wrap { position: relative; max-width: 920px; }
.about-simple-hero h1 {
  font-size: clamp(2.55rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.032em;
  margin: 0 0 24px;
}
.about-simple-hero .lead { margin-bottom: 30px; }
.about-simple-heading { max-width: 820px; }
.about-simple-card,
.about-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.about-simple-card { max-width: 940px; }
.about-simple-card p,
.about-detail-card p,
.about-org-box p {
  color: #4c5a70;
  font-size: 1.07rem;
}
.about-simple-card p { margin: 0 0 18px; }
.about-simple-card p:last-child { margin-bottom: 0; }
.about-stay-list { display: grid; gap: 14px; max-width: 960px; }
.about-stay-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(13, 34, 56, .045);
}
.about-stay-item strong { color: var(--navy); font-weight: 900; }
.about-stay-item p { margin: 0; color: #4c5a70; }
.about-details-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: stretch; }
.about-detail-card h2,
.about-org-box h2 { margin-top: 0; }
.about-photo-inline { margin-top: 24px; }
.about-values-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-values-line span {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(13, 34, 56, .07);
  color: var(--navy);
  font-size: .92rem;
  font-weight: 850;
}
.about-org-box {
  padding: 34px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-org-box h2,
.about-org-box .eyebrow { color: #fff; }
.about-org-box p { color: rgba(255,255,255,.78); max-width: 930px; }
.about-org-box ul { margin: 16px 0 18px; padding-left: 20px; color: rgba(255,255,255,.82); }
.about-org-box li { margin: 7px 0; }
@media (max-width: 900px) {
  .about-stay-item,
  .about-details-grid { grid-template-columns: 1fr; }
  .about-stay-item { gap: 8px; }
}
@media (max-width: 560px) {
  .about-simple-hero { padding-top: 58px; }
  .about-simple-card,
  .about-detail-card,
  .about-org-box { padding: 24px; }
}


/* Homepage v2 restoration and no-overlap project stack */
.home-hero-v2 {
  background: radial-gradient(circle at 12% 18%, rgba(201,155,74,.16), transparent 32%), linear-gradient(135deg, #fffaf2 0%, #f8efe4 50%, #edf4fb 100%);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 46px;
  align-items: center;
}
.home-project-stack {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 42px;
  background: linear-gradient(135deg, var(--navy), #315d67);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.home-project-stack:before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 32px;
  pointer-events: none;
}
.home-stack-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}
.home-stack-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.02;
  margin: 8px 0 10px;
  letter-spacing: -.02em;
}
.home-stack-card p { margin: 0; color: #4c5a70; }
.home-stack-card.playful { transform: translateX(-10px); }
.home-stack-card.true { transform: translateX(18px); }
.home-stack-card.faithful { transform: translateX(-4px); }
.home-good-section { background: #fff; }
@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-project-stack { padding: 22px; }
  .home-stack-card.playful,
  .home-stack-card.true,
  .home-stack-card.faithful { transform: none; }
}
@media (max-width: 640px) {
  .home-project-stack { padding: 16px; border-radius: 30px; }
  .home-project-stack:before { inset: 14px; border-radius: 22px; }
  .home-stack-card { padding: 20px; border-radius: 22px; }
}


.about-detail-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.about-detail-list li {
  margin: 0.45rem 0;
}

/* Homepage light button visibility update */
.button-light,
.button-light:visited,
.cta-band .button-light,
.footer-cta .button-light {
  background: var(--gold);
  color: #1b2430;
  border: 1px solid rgba(201, 155, 74, .45);
  box-shadow: 0 12px 30px rgba(13, 34, 56, .18);
}

.button-light:hover,
.button-light:focus-visible,
.cta-band .button-light:hover,
.cta-band .button-light:focus-visible,
.footer-cta .button-light:hover,
.footer-cta .button-light:focus-visible {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255,255,255,.72);
}
