/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #1a2238;
  background: #fafaf7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --ink: #0F2D5C;
  --ink-soft: #3a4d75;
  --muted: #6b7a95;
  --accent: #1E8BC3;
  --accent-dark: #0F6FA8;
  --accent-soft: #e8f3fb;
  --cream: #eef4fb;
  --bg: #f7faff;
  --line: #dde6f1;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15,45,92,0.06);
  --shadow-md: 0 12px 40px rgba(15,45,92,0.10);
  --shadow-lg: 0 24px 60px rgba(15,45,92,0.16);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
}
.section {
  padding: 110px 0;
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 500;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 12px;
  font-weight: 600;
}
h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 600;
}
p { margin: 0 0 16px; color: var(--ink-soft); }
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
}
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 18px;
}
.eyebrow.light { color: rgba(255,255,255,0.7); }
.accent { color: var(--accent); font-style: italic; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transform: rotate(0deg) translateY(0) scale(1);
  transition:
    transform .35s cubic-bezier(.34, 1.4, .64, 1),
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .35s ease;
  will-change: transform;
}
.btn:hover {
  transform: rotate(-1.2deg) translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(15, 45, 92, 0.18);
}
.btn:active {
  transform: rotate(-0.5deg) translateY(-1px) scale(1.01);
  transition: transform .12s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: background-color .2s ease, color .2s ease; }
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(230, 226, 216, 0.6);
}
.site-header .container { max-width: none; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav a:hover { color: var(--accent-dark); }

/* Burger button (hidden on desktop) */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 9999;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-burger svg {
  width: 22px;
  height: 22px;
  display: block;
}
.nav-burger .icon-close { display: none; }
.nav-burger.is-open .icon-open { display: none; }
.nav-burger.is-open .icon-close { display: block; }

@media (max-width: 1024px) {
  .nav-burger { display: flex !important; }
  .nav-cta-desktop { display: none !important; }
  .nav {
    position: fixed !important;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px;
    overflow-y: auto;
    z-index: 9500;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex !important; }
  .nav > a, .nav .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav > a {
    padding: 18px 4px;
    font-size: 1rem;
    color: var(--ink);
    font-weight: 500;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 90px 0 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(184,134,75,0.10), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(26,34,56,0.04), transparent 50%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 120px;
  align-items: end;
}
.hero-copy { padding-bottom: 90px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.hero-copy h1 { margin-bottom: 24px; }
.hero-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin: 36px 0 56px;
  flex-wrap: wrap;
}
.assessment-logo {
  height: 48px;
  width: auto;
  display: block;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .assessment-logo { height: 38px; }
  .hero-cta { gap: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 500;
}
.hero-meta span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.45;
  min-height: 720px;
}
@media (max-width: 900px) {
  .hero-visual { min-height: 520px; aspect-ratio: 1 / 1.2; }
}
@media (max-width: 600px) {
  .hero-visual { min-height: 420px; }
  .hero-card { padding: 18px 20px; max-width: 80%; }
  .hero-card .card-quote { font-size: 0.98rem; }
}
.hero-photo-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  border-radius: 200px 200px 0 0;
  background: linear-gradient(160deg, #1E8BC3 0%, #0F2D5C 100%);
  box-shadow: var(--shadow-lg);
}
.hero-photo {
  position: absolute;
  bottom: 0;
  right: 4%;
  height: 95%;
  width: auto;
  max-width: 95%;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(15,45,92,0.25));
}
.hero-card {
  position: absolute;
  bottom: 10%;
  left: 18%;
  max-width: 62%;
  background: var(--white);
  padding: 26px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border-left: 4px solid var(--accent);
}
.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 10px;
}
.card-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about-body p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== Services ===== */
.services { background: var(--white); }
.section-head {
  max-width: 860px;
  margin: 0 0 72px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 780px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
  transition: all .3s ease;
}
.card:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-num {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.card p { margin: 0; }

/* ===== Assessment ===== */
.assessment {
  background: var(--cream);
}
.assessment-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 820px) {
  .assessment-grid { grid-template-columns: 1fr; gap: 40px; }
}
.assessment-copy .btn { margin-top: 12px; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  background: var(--white);
  padding: 18px 22px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.checklist li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== Founder ===== */
.founder {
  background: var(--white);
  padding-bottom: 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 820px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
}
.founder-photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}
@media (max-width: 820px) {
  .founder { padding-bottom: 0; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-copy { padding-bottom: 0; order: -1; }
  .founder-photo { aspect-ratio: 5 / 4; max-height: 420px; }
}
.founder-copy { padding-bottom: 120px; }
.founder-role {
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* ===== CTA ===== */
.cta {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; }
.cta .btn-primary {
  background: var(--white);
  color: var(--ink);
}
.cta .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

/* ===== Footer ===== */
.site-footer {
  background: #081a3a;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-tag {
  margin-top: 18px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--white); margin-bottom: 6px; }
.footer-col a, .footer-col span {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 58, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}
.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 48px 40px 36px;
  box-shadow: var(--shadow-lg);
  animation: popIn .3s cubic-bezier(.2,.9,.3,1.2);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
@media (max-width: 600px) {
  .modal-panel { padding: 36px 24px 28px; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all .2s;
}
.modal-close:hover { background: var(--accent-soft); color: var(--ink); }
.modal-logo {
  height: 42px;
  width: auto;
  margin: 0 0 18px;
  display: block;
}
.modal-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.modal-sub {
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-size: 0.97rem;
}
#download-form { display: flex; flex-direction: column; gap: 14px; }
#download-form label { display: flex; flex-direction: column; gap: 6px; }
#download-form span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#download-form input {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  transition: all .2s;
  outline: none;
}
#download-form input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,139,195,0.12);
}
#download-form .btn { margin-top: 8px; width: 100%; }
.modal-fineprint {
  margin: 6px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.modal-success { text-align: center; }
.modal-success .btn { margin-top: 8px; }
.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
