@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
}

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

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-600.woff2") format("woff2");
}

:root {
  --yellow: #ffc907;
  --yellow-dark: #eab600;
  --charcoal: #1c1c1c;
  --ink: #2c2a29;
  --muted: #6b6760;
  --stone: #f7f5f0;
  --stone-deep: #ece8df;
  --border: #dedad0;
  --white: #ffffff;
  --sky: #2e7d9b;
  --serif: "Newsreader", Georgia, "Times New Roman", Times, serif;
  --sans: "Plus Jakarta Sans", "Avenir Next", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  border-radius: 3px;
}

.menu-toggle:hover {
  background: var(--stone);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover {
  color: var(--charcoal);
}

.lang-select {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.header-give {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.header-give:hover {
  background: var(--yellow-dark);
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 18px;
}

.mobile-nav-link {
  padding: 13px 0;
  border-bottom: 1px solid var(--stone-deep);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.mobile-nav-link:hover {
  color: var(--sky);
}

.mobile-drawer-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  background-color: #243036;
  display: flex;
  align-items: center;
  padding: 56px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 22, 24, 0.78) 0%,
    rgba(18, 22, 24, 0.56) 52%,
    rgba(18, 22, 24, 0.32) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  color: var(--white);
  max-width: 560px;
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 4.1vw, 3.2rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-copy p {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}

/* Donation Widget */
.widget {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f0e8;
  border-bottom: 1px solid var(--border);
}

.widget-tab {
  border: none;
  background: transparent;
  padding: 15px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.widget-tab.active {
  background: var(--white);
  color: var(--charcoal);
  border-bottom-color: var(--yellow);
}

.widget-body {
  position: relative;
  padding: 24px 26px 22px;
}

.widget-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.widget-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--charcoal);
}

.currency-select {
  border: 1px solid var(--border);
  background: var(--stone);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.amt-btn {
  position: relative;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  padding: 13px 10px;
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.amt-btn:hover {
  border-color: #9e998e;
}

.amt-btn.active {
  background: #fff9e0;
  border-color: var(--charcoal);
  box-shadow: inset 0 0 0 1px var(--charcoal);
}

.other-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.other-wrap:focus-within {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.08);
}

.other-symbol {
  display: grid;
  place-items: center;
  min-width: 38px;
  background: var(--stone);
  border-right: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.other-input {
  width: 100%;
  border: none;
  padding: 11px 70px 11px 12px;
  font-size: 0.98rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
  outline: none;
}

.other-freq {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.impact-line {
  font-family: var(--serif);
  font-size: 0.89rem;
  color: #4b4842;
  background: var(--stone);
  border-left: 3px solid var(--yellow);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.btn-primary {
  width: 100%;
  border: none;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--yellow-dark);
}

.btn-primary:active {
  transform: translateY(1px);
}

.widget-footnote {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Step 2 — Stripe-style Checkout Polish */
.hidden {
  display: none !important;
}

.step-back {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky);
  cursor: pointer;
}

.express-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 0 14px;
}

.express-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 1px solid #f0b429;
  background: #ffc439;
  color: #003087;
  font-size: 0.94rem;
  font-weight: 800;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.express-btn:hover {
  background: #f7ba2b;
  box-shadow: 0 2px 6px rgba(0, 48, 135, 0.14);
}

.express-btn.paypal {
  background: #ffc439;
  border-color: #f0b429;
  color: #003087;
}

.paypal-wordmark {
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.paypal-wordmark .pal {
  color: #0079c1;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.tls-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2f6f44;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* Connected Card Group (Stripe Elements style) */
.card-group {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card-group:focus-within {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.08);
}

.card-wrap {
  position: relative;
  border-bottom: 1px solid var(--border);
}

.card-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-group-row .field:first-child {
  border-right: 1px solid var(--border);
}

.card-group .field {
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-variant-numeric: tabular-nums;
}

.card-group .field:focus {
  box-shadow: none;
}

.card-wrap .field {
  padding-right: 82px;
}

.card-brand {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  background: var(--stone);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 2px;
  pointer-events: none;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.field-wrap .field-label {
  margin-bottom: 0;
}

.field {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 10px 11px;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.08);
}

.field.is-invalid {
  border-color: #d92d20;
  background: #fffbfa;
}

.field.is-invalid:focus {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.card-group .field.is-invalid {
  background: #fffbfa;
  box-shadow: inset 0 0 0 1px #d92d20;
}

.card-group.is-invalid {
  border-color: #d92d20;
}

.field-stack {
  margin-bottom: 8px;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--ink);
  margin: 8px 0;
  cursor: pointer;
  line-height: 1.4;
}

.check-option input {
  margin-top: 2px;
  accent-color: var(--charcoal);
  cursor: pointer;
}

.dedicate-box {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px;
  margin: 6px 0 12px;
}

.dedicate-box .input-row:last-child,
.dedicate-box .field-stack:last-child {
  margin-bottom: 0;
}

.error-msg {
  font-size: 0.8rem;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Receipt */
.receipt-box {
  padding: 4px 0;
}

.receipt-box h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.receipt-box p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.receipt-table {
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
  font-size: 0.86rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-stone {
  background: var(--stone);
}

/* 100% Model */
.model-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.big-100 {
  font-size: clamp(4.5rem, 9vw, 7.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.big-100 span {
  color: var(--yellow-dark);
}

.allocation-bar {
  height: 14px;
  width: 100%;
  background: var(--yellow);
  border-radius: 2px;
  margin-bottom: 10px;
}

.allocation-caption {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.editorial-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.editorial-h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.editorial-p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #46433e;
  margin-bottom: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}

/* Split Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--stone-deep);
}

.quote-mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.45;
  color: var(--charcoal);
  margin-bottom: 18px;
}

/* Metrics Strip */
.metrics-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
  background: var(--white);
}

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

.metric-cell {
  padding: 8px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.metric-cell:last-child {
  border-right: none;
}

.metric-val {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-lbl {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Field Projects */
.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

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

.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.proj-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--stone-deep);
}

.proj-body {
  padding: 20px;
}

.proj-gps {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: var(--sky);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.proj-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.proj-body p {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.proj-status {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Water Solutions */
.solutions-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  overflow-x: auto;
}

.sol-tab {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.sol-tab.active {
  color: var(--charcoal);
  border-bottom-color: var(--yellow);
}

.sol-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.sol-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--stone-deep);
}

.spec-list {
  margin-top: 20px;
  border-top: 1px solid var(--border);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.spec-item span {
  color: var(--muted);
}

.spec-item strong {
  color: var(--charcoal);
}

/* The Spring Monthly Band */
.spring-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0;
}

.spring-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.spring-band .editorial-h2 {
  color: var(--white);
}

.spring-band .editorial-p {
  color: #cfcbc2;
}

.spring-list {
  list-style: none;
  border-top: 1px solid #353330;
}

.spring-list li {
  padding: 16px 0;
  border-bottom: 1px solid #353330;
  font-size: 0.95rem;
  color: #e8e4dc;
}

.spring-list strong {
  display: block;
  color: var(--yellow);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Editorial FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-plus {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding-bottom: 20px;
  font-family: var(--serif);
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  display: block;
}

.trust-bar {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--yellow-dark);
  display: inline-block;
}

/* Why Water Video & Modals */
.video-poster-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  background: #1c1c1c;
}

.video-poster-wrap:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--yellow);
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 201, 7, 0.94);
  color: var(--charcoal);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.story-stat {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.footnote-btn {
  border: none;
  background: none;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 2px;
  vertical-align: super;
}

.cw-button {
  display: inline-block;
  margin-top: 8px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cw-button:hover {
  background: var(--yellow);
  color: var(--charcoal);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 18, 20, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.modal-dialog.sources-card {
  max-width: 560px;
  background: var(--white);
  color: var(--ink);
  padding: 28px;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.sources-card .modal-close {
  background: var(--stone);
  color: var(--charcoal);
}

.modal-video {
  width: 100%;
  max-height: 80vh;
  display: block;
  background: #000000;
}

.sources-list {
  margin-top: 14px;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.sources-list a {
  color: var(--sky);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: #c8c4bc;
  padding: 60px 0 40px;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #33312f;
}

.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: var(--yellow);
}

.newsletter {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.newsletter input {
  flex: 1;
  border: 1px solid #44413e;
  background: #272523;
  color: var(--white);
  padding: 9px 12px;
  font-size: 0.86rem;
  border-radius: 2px;
}

.newsletter button {
  border: none;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 14px;
  border-radius: 2px;
  cursor: pointer;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #8b867e;
}

/* Office & Legal Registration Section */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.office-card {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.office-card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}

.office-card h3 {
  font-size: 1.06rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.office-addr {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
}

.office-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

.office-meta strong {
  color: var(--charcoal);
}

.footer-org {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #a39e95;
}

@media (max-width: 980px) {
  .hero-grid,
  .model-grid,
  .story-grid,
  .sol-panel,
  .spring-grid,
  .faq-grid,
  .office-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .metric-cell {
    border-right: none;
  }

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

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

  .nav,
  .header-right .lang-select {
    display: none;
  }
}

@media (max-width: 640px) {
  .logo-text {
    display: none;
  }

  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .header-right {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .input-row,
  .express-row,
  .footer-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .story-photo {
    height: 300px;
  }

  .privacy-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Header Sign In */
.header-signin {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.header-signin:hover {
  color: var(--sky);
}

/* Privacy Consent Banner */
.privacy-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
  padding: 18px 0;
}

.privacy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.privacy-copy {
  flex: 1 1 520px;
}

.privacy-copy h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.privacy-copy p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.privacy-copy a {
  color: var(--sky);
  text-decoration: underline;
}

.privacy-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline-sm {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 3px;
  cursor: pointer;
}

.btn-outline-sm:hover {
  border-color: var(--charcoal);
}

.btn-dark-sm {
  border: none;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 3px;
  cursor: pointer;
}

.btn-dark-sm:hover {
  background: #33312f;
}

.privacy-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.privacy-toggle-row strong {
  display: block;
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.privacy-toggle-row span {
  font-size: 0.82rem;
  color: var(--muted);
}

.privacy-toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--charcoal);
  flex-shrink: 0;
}

/* Account Login Page */
.login-shell {
  min-height: calc(100vh - 220px);
  background: var(--stone);
  padding: 64px 20px 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.login-intro {
  max-width: 500px;
  margin-bottom: 28px;
}

.login-intro h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.login-intro p {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.login-panel {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.login-panel h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.login-panel p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.login-panel .small-link {
  font-size: 0.84rem;
  color: var(--sky);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

.email-sparkle {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: block;
}

/* Privacy Policy Page */
.policy-shell {
  padding: 64px 0 88px;
  background: var(--white);
}

.policy-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.policy-wrap h1 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--charcoal);
  margin-bottom: 12px;
}

.policy-wrap h2 {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin: 32px 0 10px;
}

.policy-wrap p {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: #46433e;
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-card {
  margin-top: 28px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}

.btn-primary.is-loading {
  opacity: 0.85;
  cursor: wait;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(28, 28, 28, 0.22);
  border-top-color: var(--charcoal);
  animation: pay-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.pay-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 4px;
}

.pay-loading-overlay.pay-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(3px);
  border-radius: 0;
  padding: 20px;
}

.pay-loading-overlay.hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.checkout-init-overlay {
  z-index: 25;
  background: rgba(255, 255, 255, 0.985);
  transition: opacity 0.28s ease;
}

.checkout-init-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.init-loading-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.init-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid #e2e8f0;
  border-top-color: #1c1c1c;
  animation: pay-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.init-loading-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.01em;
}

.pay-loading-card {
  width: 100%;
  max-width: 318px;
  text-align: center;
  padding: 28px 24px 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.pay-loading-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 11px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.pay-loading-meta:empty {
  display: none;
}

.pay-loading-visual {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: #1c1c1c;
  animation: pay-spin 0.78s linear infinite;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pay-check-icon {
  position: relative;
  color: #16a34a;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.pay-loading-visual.is-success .pay-spinner-ring {
  animation: none;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.pay-loading-visual.is-success .pay-check-icon {
  opacity: 1;
  transform: scale(1);
}

@keyframes pay-spin {
  to {
    transform: rotate(360deg);
  }
}

.pay-loading-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.pay-loading-sub {
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 16px;
}

.pay-loading-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.71rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.01em;
}

.checkout-page {
  min-height: 100vh;
  background: var(--stone);
}

.checkout-main {
  padding: 40px 0 64px;
}

.checkout-shell {
  max-width: 500px;
}

.success-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.success-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #dcfce7;
  color: #166534;
}

.success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.success-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.success-amount-box {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media print {
  .header,
  .success-actions {
    display: none;
  }
  .checkout-page {
    background: #ffffff;
  }
}
