:root {
  --navy: #0b2545;
  --navy-dark: #071a34;
  --gold: #c9a44c;
  --gold-light: #e3c98a;
  --ink: #1c2b3a;
  --slate: #5a6b7b;
  --bg-alt: #f4f6f9;
  --white: #ffffff;
  --border: #e3e8ee;
  --radius: 10px;
  --max-width: 1140px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

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

ul { padding-left: 1.2em; margin: 0; }
li { margin-bottom: 0.6em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 780px; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8em;
}
.eyebrow.center { text-align: center; }

.lead {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 640px;
}
.lead.center { margin-left: auto; margin-right: auto; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  height: 38px;
  width: auto;
  display: block;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  display: none;
}

@media (min-width: 640px) {
  .brand-name { display: inline; }
}

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

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    text-align: center;
    margin-top: 12px;
  }
  .nav-toggle { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 110px 24px 90px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 0.5em;
}

.hero-sub {
  color: #cbd6e3;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5em;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark) !important;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: var(--white) !important;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

.btn.full { width: 100%; text-align: center; }

.verse {
  margin: 0 auto;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-light);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.6em;
}
.verse cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: #9fb0c3;
  margin-top: 0.4em;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 90px 0;
}
.section.alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  max-width: 720px;
}
.section h2.center { margin-left: auto; margin-right: auto; }

/* promise */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 2.5em;
}
.promise-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
}
.promise-item h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
}

/* tabs */
.tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3em 0 2.5em;
}

.tab-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s;
  min-width: 190px;
}
.tab-btn span {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--slate);
}
.tab-btn:hover { border-color: var(--gold); }
.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.tab-btn.active span { color: var(--gold-light); }

.tab-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  animation: fadeIn 0.3s ease;
}
.tab-panel.active { display: block; }

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

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.panel-head h3 { margin: 0; }
.duration {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.objective { color: var(--slate); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 1.5em;
}
.two-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.8em;
}
.two-col ul li {
  color: var(--ink);
  font-size: 0.96rem;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
  .tab-panel { padding: 24px 20px; }
}

/* metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 2.5em;
}
.metric-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  border-left: 4px solid var(--gold);
}

/* value */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 2.5em;
  text-align: left;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.value-item h3 {
  font-size: 1.05rem;
  color: var(--navy);
}
.value-item p {
  color: var(--slate);
  font-size: 0.94rem;
  margin: 0;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 2.5em;
  align-items: start;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
  min-height: 1.2em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.info-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1em;
}
.email-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.email-list li {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 0;
}
.email-list a {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}
.email-list a:hover { color: var(--gold); }
.email-list span {
  color: var(--slate);
  font-size: 0.82rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  width: fit-content;
}
.social-link:hover { background: var(--navy-dark); }

/* footer */
.site-footer {
  background: var(--navy-dark);
  color: #b7c3d1;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-mark {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand {
  color: var(--white);
  font-weight: 700;
  margin: 0 0 4px;
}
.footer-legal {
  margin: 0;
  font-size: 0.82rem;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.88rem;
  color: #b7c3d1;
}
.footer-nav a:hover { color: var(--gold); }

/* back to top */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11,37,69,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 90;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* founder / about */
.founder-card {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}
.founder-card h3 {
  margin-bottom: 0.2em;
}
.founder-title {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2em;
}

/* legal pages */
.legal-page {
  padding-top: 60px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.legal-updated {
  color: var(--slate);
  font-size: 0.88rem;
  margin-bottom: 2em;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 1.6em;
}
.legal-page p {
  color: var(--ink);
}
.legal-page a {
  color: var(--gold);
  text-decoration: underline;
}
