:root {
  --navy: #1E2A5E;
  --navy-deep: #141C42;
  --teal: #1B8A7E;
  --teal-light: #4FBDAE;
  --gold: #E9B84C;
  --gold-light: #F2CB6C;
  --bg: #F7F6F2;
  --ink: #1B2140;
  --ink-soft: #5A5F78;
  --line: rgba(30,42,94,0.12);
  --radius: 2px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
  }
}

/* ===== NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247,246,242,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}

header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(247,246,242,0.92);
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-link-img {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--navy);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 74px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(233,184,76,0.16), transparent 60%),
    radial-gradient(55% 45% at 12% 85%, rgba(27,138,126,0.14), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  margin: 18px 0 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--navy-deep);
  color: #fff;
  padding: 15px 28px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--navy-deep);
  transition: transform .2s ease, background .2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 15px 24px;
  font-size: 14.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--teal);
}

.section {
  padding: 110px 0;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 52px;
}

.manifesto-item .eyebrow {
  margin-bottom: 12px;
  display: block;
}

.manifesto-item p {
  font-size: 15px;
  color: var(--ink-soft);
}

.manifesto-lead {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy-deep);
  line-height: 1.4;
  max-width: 780px;
  margin-bottom: 70px;
}

/* ===== CTA ===== */
.cta {
  background: var(--navy-deep);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 85% 20%, rgba(233,184,76,0.14), transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.66);
  font-size: 15.5px;
  margin-bottom: 34px;
}

.cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
}

.cta-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.cta-form input:focus {
  outline: 1px solid var(--gold);
  background: rgba(255,255,255,0.1);
}

.cta-form button {
  padding: 15px 26px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  font-size: 14.5px;
  cursor: pointer;
  transition: background .2s ease;
}

.cta-form button:hover {
  background: var(--gold-light);
}

/* ===== FOOTER ===== */
footer {
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ink);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* Responsive design changes */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-cols { gap: 36px; }
}