:root {
  --bg: #071224;
  --bg2: #0b1933;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.58);

  --accent: #dd6f00;
  --accent2: #ff8a1d;

  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);

  --radius: 16px;
  --radius2: 22px;

  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(221,111,0,0.18), transparent 55%),
              radial-gradient(900px 700px at 80% 10%, rgba(255,138,29,0.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

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

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

.narrow { width: min(860px, calc(100% - 40px)); }

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

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.dot { opacity: 0.5; padding: 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.fineprint { font-size: 12px; color: var(--muted2); margin-top: 10px; line-height: 1.4; }

.topbar__link { color: var(--muted); font-size: 13px; }
.topbar__link:hover { color: var(--text); text-decoration: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}

.nav--simple { position: relative; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-weight: 800; letter-spacing: -0.3px; font-size: 18px; }
.brand__sub { font-size: 12px; color: var(--muted); }

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

.nav__links a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.05); text-decoration: none; }

.nav__links--simple a { color: var(--muted); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 5px auto;
  background: rgba(255,255,255,0.80);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color: #111;
  box-shadow: 0 12px 30px rgba(221,111,0,0.25);
}
.btn--primary:hover { filter: brightness(1.03); }

.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); }

.btn--small { padding: 8px 12px; font-size: 13px; border-radius: 10px; }

.hero {
  padding: 54px 0 34px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -1px;
  margin: 0 0 12px;
}

.lead {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 50px 0 0;
}

.hero__trust {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.trust-item {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.trust-item__title { font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.trust-item__text { font-size: 13px; color: var(--muted); line-height: 1.45; }

.hero__media {
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  padding: 14px;
}

.photo {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    radial-gradient(700px 450px at 40% 10%, rgba(221,111,0,0.16), transparent 55%);
  overflow: hidden;
  position: relative;
}
.photo::after {
  content: "Photo placeholder";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

.ph--tall { height: 420px; }
.ph--wide { height: 260px; }

.section { padding: 54px 0; }
.section--alt {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header { margin-bottom: 18px; }
.section__header h2,
.section__header h1 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.section__sub { margin: 0; color: var(--muted); line-height: 1.6; max-width: 70ch; }

.h3 { font-size: 18px; margin: 0 0 10px; }

.story-card {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.04);
  padding: 22px;
  box-shadow: var(--shadow);
}

.story-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.2px; }
.story-card p { margin: 0 0 12px; color: var(--muted); line-height: 1.7; }

.callout {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  color: var(--text);
  background: rgba(221,111,0,0.06);
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.story-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mini {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  border-radius: 16px;
  padding: 14px;
}
.mini__title { font-weight: 900; font-size: 13px; margin-bottom: 6px; }
.mini__text { font-size: 13px; color: var(--muted); line-height: 1.5; }

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

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

.card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--muted); line-height: 1.6; }

.card--cta {
  background: radial-gradient(700px 450px at 20% 10%, rgba(221,111,0,0.12), transparent 60%),
              rgba(255,255,255,0.04);
}

.list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.list li { margin: 6px 0; }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(0,0,0,0.18);
  padding: 18px;
  box-shadow: var(--shadow);
}

.comparison {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
}
.comparison__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.comparison__row:first-child { border-top: none; }
.comparison__label { color: var(--muted); font-weight: 700; font-size: 13px; }
.comparison__label--accent { color: rgba(255,255,255,0.92); }
.comparison__value { color: rgba(255,255,255,0.55); font-size: 12px; align-self: center; }

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}

.about__copy p { color: var(--muted); line-height: 1.7; margin: 0 0 12px; }

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.fact {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 12px;
}
.fact__k { font-size: 12px; color: var(--muted2); margin-bottom: 6px; font-weight: 700; }
.fact__v { font-size: 13px; color: var(--text); font-weight: 800; line-height: 1.35; }

.form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}
.form input, .form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  padding: 10px 12px;
  color: var(--text);
  outline: none;
}
.form input::placeholder { color: rgba(255,255,255,0.45); }

.form--stack { grid-template-columns: 1fr; }
.form--stack label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.form--stack button { justify-self: start; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: rgba(0,0,0,0.24);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
  align-items: start;
}

.footer__brand { font-weight: 900; letter-spacing: -0.2px; }
.footer__sub { color: var(--muted); margin-top: 6px; line-height: 1.5; }
.footer__links { display: grid; gap: 8px; justify-content: start; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--text); text-decoration: none; }

.footer__legal { display: grid; gap: 10px; justify-content: end; text-align: right; }

.footer--mini {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  background: transparent;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .story-card__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav__toggle { display: inline-block; }
  .nav__links {
    position: absolute;
    top: 62px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
  }
  .nav__links.is-open { display: flex; }
}

/* ===== Light theme overrides (for the new direction) ===== */
body.theme-light {
  background: #f6f7fb;
  color: #0b1933;
}

body.theme-light a { color: inherit; }

body.theme-light .topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 46, 95, 0.12);
}

body.theme-light .topbar__office {
  font-weight: 700;
  font-size: 13px;
  color: rgba(15, 46, 95, 0.85);
}

body.theme-light .topbar__link {
  color: rgba(15, 46, 95, 0.78);
}

body.theme-light .nav {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(15, 46, 95, 0.12);
  backdrop-filter: blur(10px);
}

body.theme-light .brand__name { color: #0f2e5f; }
body.theme-light .brand__sub { color: rgba(15, 46, 95, 0.65); }

body.theme-light .nav__links a {
  color: rgba(15, 46, 95, 0.75);
}
body.theme-light .nav__links a:hover {
  background: rgba(15, 46, 95, 0.06);
  color: #0f2e5f;
}

body.theme-light .btn--primary {
  background: linear-gradient(180deg, #ff8a1d, #dd6f00);
  color: #111;
  border: 1px solid rgba(221, 111, 0, 0.35);
  box-shadow: 0 12px 30px rgba(221, 111, 0, 0.22);
}

body.theme-light .btn--ghost {
  background: transparent;
  border: 1px solid rgba(15, 46, 95, 0.22);
  color: #0f2e5f;
}

.hero.hero--light {
  padding: 64px 0;
}

body.theme-light .hero.hero--light h1 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  color: #0f2e5f;
}

body.theme-light .lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: rgba(11, 25, 51, 0.85);
}

body.theme-light .hero__micro {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(11, 25, 51, 0.60);
}

/* Placeholder sections (temporary scaffolding) */
body.theme-light .section.placeholder {
  padding: 44px 0;
  background: #ffffff;
  border-top: 1px solid rgba(15, 46, 95, 0.10);
}

body.theme-light .section.placeholder h2 {
  margin: 0 0 8px;
  color: #0f2e5f;
}
body.theme-light .section.placeholder p {
  margin: 0;
  color: rgba(11, 25, 51, 0.72);
}

/* ===== Navy Gradient Nav Bar ===== */

body.theme-light .nav {
  background: linear-gradient(
    180deg,
    #14386f 0%,
    #0f2e5f 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  backdrop-filter: none;
}

body.theme-light .brand__name {
  color: #ffffff;
}

body.theme-light .brand__sub {
  color: rgba(255,255,255,0.75);
}

body.theme-light .nav__links a {
  color: rgba(255,255,255,0.85);
}

body.theme-light .nav__links a:hover {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
}

body.theme-light .btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff;
}

body.theme-light .btn--ghost:hover {
  background: rgba(255,255,255,0.18);
}

body.theme-light .btn--primary {
  background: linear-gradient(180deg, #ff8a1d, #dd6f00);
  color: #111;
  border: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* Secondary button for light backgrounds */
body.theme-light .btn--secondary {
  background: #0f2e5f;
  color: #ffffff;
  border: 1px solid #0f2e5f;
  box-shadow: 0 6px 16px rgba(15, 46, 95, 0.18);
}

body.theme-light .btn--secondary:hover {
  background: #14386f;
  border-color: #14386f;
}
.hero.hero--light {
  background: #ffffff;
  padding: 72px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}
.section.placeholder {
  background: #f6f7fb;
}

/* Stylized orange scribble underline */
.scribble {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.scribble::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 24 Q25 10 45 24 T85 24 T125 24 T165 24 T195 24' stroke='%23dd6f00' stroke-width='8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
/* Clean underline for emphasis sentence */
.lead.emphasis {
  font-weight: 600;
  display: inline-block;
  position: relative;
  margin-bottom: 22px;
}

.lead.emphasis::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: #dd6f00;
  border-radius: 2px;
}
/* ===== Story Section (light, breathable) ===== */
body.theme-light .story-section {
  background: #f6f7fb;
  border-top: 1px solid rgba(15, 46, 95, 0.10);
  padding: 56px 0;
}

body.theme-light .story-head h2 {
  margin: 0 0 10px;
  color: #0f2e5f;
  font-size: 26px;
  letter-spacing: -0.3px;
}

body.theme-light .story-sub {
  margin: 0;
  color: rgba(11, 25, 51, 0.72);
  line-height: 1.65;
  max-width: 68ch;
}

body.theme-light .story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

body.theme-light .story-block,
body.theme-light .story-quote {
  background: #ffffff;
  border: 1px solid rgba(15, 46, 95, 0.12);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

body.theme-light .story-block h3 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: rgba(15, 46, 95, 0.78);
}

body.theme-light .story-block p {
  margin: 0;
  color: rgba(11, 25, 51, 0.80);
  line-height: 1.7;
}

body.theme-light .story-quote {
  grid-column: 1 / -1;
  border-left: 4px solid #dd6f00;
}

body.theme-light .quote {
  margin: 0;
  font-weight: 700;
  color: #0f2e5f;
  font-size: 18px;
  line-height: 1.5;
}

body.theme-light .quote-sub {
  margin: 6px 0 0;
  color: rgba(11, 25, 51, 0.72);
  line-height: 1.65;
}

body.theme-light .story-close {
  margin-top: 18px;
}

body.theme-light .story-close p {
  margin: 0 0 14px;
  color: rgba(11, 25, 51, 0.82);
  line-height: 1.7;
  max-width: 72ch;
  font-weight: 600;
}

/* responsive */
@media (max-width: 900px) {
  body.theme-light .story-grid {
    grid-template-columns: 1fr;
  }
  body.theme-light .story-quote {
    grid-column: auto;
  }
}
/* ===== Story as "book page" ===== */
body.theme-light .story-book {
  /* parchment */
  background: #f3ead7;
  border-top: 1px solid rgba(15, 46, 95, 0.10);
  padding: 60px 0;
}

body.theme-light .story-book__inner {
  display: block;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

body.theme-light .story-book__art svg {
  width: 100%;
  height: auto;
  display: block;
}

body.theme-light .story-book__art {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

body.theme-light .story-book__art img {
  width: 100%;              /* was 100% */
  max-width: 420px;        /* cap size */
  height: auto;
  display: block;
  border-radius: 14px;
  opacity: 0.92;

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);

  /* soften it slightly */
  filter: saturate(0.90) contrast(0.98);
}

body.theme-light .story-book__art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.05);
}

body.theme-light .story-book__caption {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(11, 25, 51, 0.60);
}

/* the "page" */
body.theme-light .story-book__page {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 860px;       /* controls book width */
  margin: 0 auto;         /* centers the section */
  padding: 0 24px;        /* inner gutter like a page */
}

body.theme-light .story-book__header h2 {
  margin: 0 0 8px;
  color: #0f2e5f;
  font-size: 26px;
  letter-spacing: -0.3px;
}

body.theme-light .story-book__sub {
  margin: 0 0 16px;
  color: rgba(11, 25, 51, 0.70);
  line-height: 1.6;
  font-size: 16px;
}

/* book-like text styling (only inside story section) */
body.theme-light .story-book__text {
  max-width: 100%;
}

body.theme-light .story-book__text p {
  margin: 0 0 22px;
  color: rgba(11, 25, 51, 0.82);
  font-size: 18px;
  line-height: 2.05;

  
}

body.theme-light .story-book__text em {
  font-style: italic;
  font-weight: 600;
}

body.theme-light .story-book__text blockquote {
  margin: 26px 0 26px;
  padding: 0;

  background: none;
  border: none;

  font-size: 19px;
  line-height: 2;
  font-weight: 600;
  color: rgba(11, 25, 51, 0.95);

  position: relative;
}



body.theme-light .story-book__text blockquote span {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  color: rgba(11, 25, 51, 0.70);
}

body.theme-light .story-book__close {
  font-weight: 700;
  color: rgba(11, 25, 51, 0.86);
}

/* Responsive: stack art above page */
@media (max-width: 980px) {
  body.theme-light .story-book__inner {
    grid-template-columns: 1fr;
  }
}
/* ===== Plan Section (Clean White) ===== */

body.theme-light .plan-section {
  background: #ffffff;
  padding: 70px 0;
}

body.theme-light .plan-header h2 {
  margin: 0 0 10px;
  color: #0f2e5f;
  font-size: 28px;
  letter-spacing: -0.4px;
}

body.theme-light .plan-intro {
  margin: 0 0 6px;
  color: rgba(11, 25, 51, 0.80);
  font-size: 18px;
  line-height: 1.65;
  max-width: 60ch;
}

body.theme-light .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

body.theme-light .plan-card {
  border: 1px solid rgba(15, 46, 95, 0.12);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

body.theme-light .plan-card h3 {
  margin: 0 0 10px;
  color: #0f2e5f;
  font-size: 18px;
}

body.theme-light .plan-card p {
  margin: 0 0 10px;
  color: rgba(11, 25, 51, 0.82);
  line-height: 1.7;
}

body.theme-light .plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 25, 51, 0.75);
  line-height: 1.7;
}

body.theme-light .plan-close {
  margin-top: 40px;
}

body.theme-light .plan-close p {
  font-weight: 700;
  color: #0f2e5f;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1000px) {
  body.theme-light .plan-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Centered Plan Layout ===== */

body.theme-light .plan-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;  
}

body.theme-light .plan-title {
  margin: 0 0 16px;
  padding-bottom: 30px;
}

body.theme-light .plan-intro {
  margin: 0 auto 6px;
  max-width: 60ch;
  padding-bottom: 30px;
}

/* Center closing statement + CTAs */
body.theme-light .plan-close {
  margin-top: 40px;
  text-align: center;
}

body.theme-light .plan-close p {
  font-weight: 700;
  color: #0f2e5f;
  margin-bottom: 18px;
}

/* Center CTA row */
body.theme-light .plan-close .cta-row {
  justify-content: center;
}
/* Clean orange underline accent */
.underline-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.underline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: #dd6f00;
  border-radius: 3px;
}

/* ===== Get Involved Section ===== */

body.theme-light .involved-section {
  background: #f6f7fb;
  padding: 70px 0;
  border-top: 1px solid rgba(15, 46, 95, 0.08);
}

body.theme-light .involved-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

body.theme-light .involved-header h2 {
  margin: 0 0 12px;
  color: #0f2e5f;
  font-size: 26px;
}

body.theme-light .involved-header p {
  margin: 0;
  color: rgba(11, 25, 51, 0.80);
  line-height: 1.65;
}

body.theme-light .involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.theme-light .involved-card {
  background: #ffffff;
  border: 1px solid rgba(15, 46, 95, 0.12);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

body.theme-light .involved-card h3 {
  margin: 0 0 12px;
  color: #0f2e5f;
}

body.theme-light .involved-card p {
  margin: 0 0 18px;
  color: rgba(11, 25, 51, 0.78);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1000px) {
  body.theme-light .involved-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== About Section (Navy) ===== */

.about-section {
  background: linear-gradient(
    180deg,
    #14386f 0%,
    #0f2e5f 100%
  );
  padding: 80px 0;
  color: #ffffff;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.about-photo .photo-placeholder {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255,255,255,0.7);
}

.about-content h2 {
  margin-top: 0;
  color: #ffffff;
  font-size: 28px;
}

.about-content p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-close {
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
}

/* Light underline for dark backgrounds */
.underline-accent--light {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.underline-accent--light::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: #ff8a1d;
  border-radius: 3px;
}

@media (max-width: 1000px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
}
.about-credibility {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.about-credibility div {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255,255,255,0.90);
}

/* ===== Footer ===== */

.footer {
  background: linear-gradient(180deg, #14386f 0%, #0f2e5f 100%);
  color: #ffffff;
  padding-top: 0;
}

/* Orange divider */
.footer-divider {
  height: 6px;
  background: #dd6f00;
  width: 100%;
}

/* Two-column layout */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 42px 0 30px;
}

.footer-brand {
  font-weight: 800;
  font-size: 18px;
}

.footer-sub {
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.footer-contact {
  margin-top: 12px;
  font-size: 14px;
}

.footer-contact a {
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Legal single line */
.footer-legal {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* Ghost button for dark background */
.btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff;
}

.btn--ghost-light:hover {
  background: rgba(255,255,255,0.14);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-actions {
    justify-content: center;
    margin-top: 18px;
  }
}

/* Polaroid wrapper */
.story-book__art {
  display: flex;
  justify-content: center;
  padding-top: 44px;
}

.polaroid {
  background: #ffffff;
  padding: 12px 10px 46px 10px; /* extra bottom space */
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0,0,0,0.08);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
  width: min(300px, 75%);
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.06)
}

/* Slight interactive realism */
.polaroid:hover {
  transform: rotate(-1deg);
}

.polaroid-frame {
  width: 100%;
  aspect-ratio: 4 / 3;    /* shorter than portrait, more "photo" */
  overflow: hidden;
  border-radius: 6px;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* move the crop focus upward to keep faces centered */
  object-position: center 25%;

  display: block;
}

/* Ensure predictable sizing everywhere */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Polaroid crop box is the source of truth */
.polaroid-frame {
  width: 100%;
  aspect-ratio: 1 / 1;     /* square */
  overflow: hidden;
  border-radius: 6px;

  /* Remove any layout quirks */
  display: block;
  line-height: 0;          /* kills baseline/descender gaps */
  font-size: 0;            /* same idea */
}

/* Force the image to fill the crop box */
.polaroid-frame img {
  display: block;          /* IMPORTANT: removes inline image spacing */
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 25%;
}
/* Float polaroid so text wraps around it */
.polaroid--float {
  float: right;
  margin: 12px 50px 25px 50px;   /* top right bottom left */
  width: min(200px, 30%);
  transform: rotate(-4deg);
}

/* Ensure the story text clears the float before CTAs */
.story-book__text .cta-row {
  clear: both;
  margin-top: 18px;
}

/* Also clear for the closing line if desired */
.story-book__close {
  clear: both;
}
@media (max-width: 800px) {
  .polaroid--float {
    float: none;
    margin: 0 auto 22px;
    width: min(320px, 90%);
    transform: rotate(-2deg);
  }
}
.story-book__text::after {
  content: "";
  display: block;
  clear: both;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
  position: relative;
  width: min(640px, calc(100% - 32px));
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: rgba(15, 46, 95, 0.08);
  color: #0f2e5f;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
}

.modal__close:hover {
  background: rgba(15, 46, 95, 0.14);
}

.modal h2 {
  margin: 0 0 8px;
  color: #0f2e5f;
  font-size: 24px;
}

.modal__sub {
  margin: 0 0 18px;
  color: rgba(11, 25, 51, 0.76);
  line-height: 1.6;
}

/* ===== Form ===== */
.form__row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form label {
  font-weight: 600;
  color: rgba(11, 25, 51, 0.85);
  font-size: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: #ffffff;
  color: #111111;

  border: 1px solid rgba(15, 46, 95, 0.18);
  border-radius: 12px;

  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.4;

  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(0,0,0,0.45);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: #dd6f00;
  box-shadow: 0 0 0 3px rgba(221, 111, 0, 0.18);
}

.form__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.form__fineprint {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(11, 25, 51, 0.70);
}

.form__fineprint a {
  color: #0f2e5f;
  text-decoration: underline;
}

.form__status {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(11, 25, 51, 0.80);
}

/* prevent background scroll when modal open */
body.modal-open {
  overflow: hidden;
}

.modal .btn {
  padding: 12px 22px;
  border-radius: 12px;     /* not pill-shaped */
  font-weight: 600;
  min-width: 110px;
  height: auto;
}

.form__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
}

.modal .btn {
  height: auto !important;
}

.modal .btn--secondary {
  background: #f3f5f8;
  color: #0f2e5f;
  border: 1px solid rgba(15, 46, 95, 0.15);
}

/* ===== Success Animation ===== */
.success {
  text-align: center;
  padding: 18px 6px 6px;
}

.success__icon {
  width: 72px;
  height: 72px;
  margin: 6px auto 12px;
}

.success__title {
  margin: 0 0 6px;
  color: #0f2e5f;
  font-size: 20px;
}

.success__text {
  margin: 0;
  color: rgba(11, 25, 51, 0.76);
  line-height: 1.6;
}

/* SVG animation */
.success svg {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto;
}

.success__circle {
  stroke: rgba(221, 111, 0, 0.85);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: success-stroke 500ms ease forwards;
}

.success__check {
  stroke: #0f2e5f;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: success-stroke 420ms 220ms ease forwards;
}

@keyframes success-stroke {
  to { stroke-dashoffset: 0; }
}

/* Fade transitions between form and success */
.form.is-hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0;
}

.success.is-visible {
  animation: success-fade 260ms ease forwards;
}

@keyframes success-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.input--hidden {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.modal__dialog--small {
  width: min(520px, calc(100% - 32px));
}

.form__actions--center {
  justify-content: center;
}

/* ===== Social Links ===== */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.social-links a {
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Under video */
.hero__social {
  margin-top: 14px;
}


.social-links--hero a {
  color: #0f2e5f;
}

.social-links--hero a:hover {
  color: #dd6f00;
}

/* Footer */
.footer-social {
  margin-top: 16px;
}

.footer-social__label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
}

.social-links--footer a {
  color: rgba(255,255,255,0.88);
}

.social-links--footer a:hover {
  color: #ff8a1d;
}

/* ===== Social Icons ===== */

.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);

  transition: all 0.2s ease;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icons a:hover {
  color: #dd6f00;
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.hero__social .social-icons a {
  width: 40px;
  height: 40px;
}

.hero__social svg {
  width: 20px;
  height: 20px;
}

.hero__social {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.hero__social .social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero__social .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: white;
  color: #0f2e5f;

  box-shadow: 0 6px 14px rgba(0,0,0,0.12);

  transition: all 0.2s ease;
}

.hero__social .social-icons a:hover {
  transform: translateY(-3px);
  color: #dd6f00;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.hero__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero__socialLabel {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(11,25,51,0.65);
  margin-bottom: 8px;
}

.hero__social {
  margin-top: 16px;

  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center horizontally */
  gap: 10px;                /* spacing between label and icons */
}

.hero__socialLabel {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(11,25,51,0.65);
}

.hero__social .social-icons {
  display: flex;
  gap: 14px;
}

.hero__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.hero__video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 800px) {
  .hero__social {
    margin-top: 12px;
  }

  .hero__social .social-icons a {
    width: 34px;
    height: 34px;
  }

  .hero__social svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 800px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__media {
    width: 100%;
  }
}

.hero__media {
  width: 100%;
}

.hero__video-wrap {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 18px 18px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.hero__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 0;
  background: #000;
}

.hero__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero__social {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__socialLabel {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(11, 25, 51, 0.65);
}

.hero__social .social-icons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.hero__social .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f2e5f;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.hero__social .social-icons a:hover {
  transform: translateY(-3px);
  color: #dd6f00;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.hero__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 800px) {
  .hero__video-wrap {
    padding: 16px 16px 20px;
    border-radius: 22px;
  }

  .hero__social .social-icons a {
    width: 38px;
    height: 38px;
  }

  .hero__social svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 700px) {
  .modal__dialog {
    width: calc(100% - 24px);
    margin: 20px auto;
    padding: 18px 16px 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 20px;
  }

  .modal h2 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .modal__sub {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  /* Force all rows to stack */
  .form__grid,
  .form__two-col,
  .form__row-group {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* If you're using a generic row wrapper */
  .form__row {
    width: 100%;
  }

  .form input,
  .form select,
  .form textarea {
    width: 100%;
    font-size: 16px; /* prevents iPhone zoom */
  }

  .form textarea {
    min-height: 140px;
  }

  /* Stack action buttons */
  .form__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    justify-content: stretch;
    margin-top: 16px;
  }

  .modal .btn {
    width: 100%;
    min-width: 0;
  }

  .form__fineprint {
    font-size: 13px;
    line-height: 1.5;
  }

  .modal__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
}