@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0f1d2e;
  --navy-light: #16283d;
  --gold: #b8923f;
  --gold-light: #d8b96a;
  --ink: #1a1a1a;
  --grey: #5c6672;
  --bg-light: #f7f7f5;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1120px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 10px rgba(15,29,46,0.06);
  --shadow-md: 0 10px 30px rgba(15,29,46,0.10);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

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

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy); margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: 2.7rem; line-height: 1.12; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; }
p { margin: 0 0 12px; color: var(--grey); }

a { color: var(--navy); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(184,146,63,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(184,146,63,0.38); }
.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e7e5e0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.brand span { color: var(--gold); margin-left: 4px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--gold); }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(216,185,106,0.16) 0%, rgba(216,185,106,0) 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 760px; position: relative; }
.hero-compact { padding: 64px 0 48px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); }
.hero-sub { color: #cfd6de; font-size: 1.15rem; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; margin: 30px 0 20px; flex-wrap: wrap; }
.hero-note { color: #9fb0c2; font-size: 0.9rem; }

/* Author byline (trust element at key conversion moments) */
.author-byline { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.author-byline img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-byline .byline-name { font-weight: 700; font-size: 0.92rem; }
.author-byline .byline-title { font-size: 0.82rem; }
.author-byline.on-dark .byline-name { color: var(--white); }
.author-byline.on-dark .byline-title { color: #9fb0c2; }
.author-byline.on-light .byline-name { color: var(--navy); }
.author-byline.on-light .byline-title { color: var(--grey); }

/* Trust strip */
.trust-strip { background: var(--bg-light); padding: 32px 0; border-bottom: 1px solid #e7e5e0; }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item { position: relative; padding-top: 14px; }
.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); font-weight: 700; }
.trust-item span { font-size: 0.85rem; color: var(--grey); }

/* Sections */
section { padding: 88px 0; }
.section-lede { max-width: 640px; font-size: 1.08rem; }

h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.guide h2::after, .book h2::after { margin-left: 0; }

.grid { display: grid; gap: 24px; margin-top: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-light);
  border: 1px solid #e7e5e0;
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.card-highlight {
  background: var(--white);
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 18px rgba(184,146,63,0.12);
}
.card-highlight:hover { box-shadow: 0 14px 32px rgba(184,146,63,0.22); }
.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.step-number {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 12px;
}

/* Paths (hub page) */
.path-card { display: flex; flex-direction: column; align-items: flex-start; }
.path-card .btn { margin-top: 12px; }

/* Cross-link between niche pages */
.cross-link {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e7e5e0;
  font-size: 0.95rem;
}

/* Book a call */
.book { background: var(--bg-light); }
.book-inner { max-width: 760px; }
#cal-inline-widget { margin-top: 24px; border: 1px solid #e7e5e0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.book-fallback { font-size: 0.85rem; margin-top: 10px; }

/* Guide */
.guide { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); }
.guide-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.guide h2 { color: var(--white); }
.guide p { color: #cfd6de; }
.guide-form, .contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.guide-form label, .contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 10px;
}
.guide-form input, .guide-form select, .contact-form input,
.contact-form select, .contact-form textarea {
  padding: 11px 14px;
  border: 1px solid #d5d2cb;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.guide-form input:focus, .guide-form select:focus, .contact-form input:focus,
.contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,63,0.15);
}
.guide-form button, .contact-form button { margin-top: 18px; }
.guide-form-alt { color: var(--grey); font-size: 0.85rem; margin: 10px 0 0; }
.guide-form-alt a { color: var(--gold-light); }
.form-error { color: #b3261e; font-size: 0.85rem; margin: 10px 0 0; }
.form-error:empty { display: none; }

/* About */
.about-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-facts { padding-left: 18px; color: var(--grey); }
.about-linkedin { margin-top: 16px; }
.about-linkedin a { color: var(--navy); font-weight: 600; }

/* Contact */
.contact { background: var(--bg-light); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-details { margin-top: 20px; font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #9fb0c2;
  padding: 40px 0;
}
.disclaimer { font-size: 0.78rem; color: #8090a2; max-width: 900px; }
.footer-meta { font-size: 0.8rem; margin-top: 12px; }

/* Blog articles */
.article-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(216,185,106,0.16) 0%, rgba(216,185,106,0) 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0 48px;
}
.article-hero-inner { max-width: 760px; }
.back-link { color: var(--gold-light); font-size: 0.9rem; text-decoration: none; display: inline-block; margin-bottom: 18px; }
.back-link:hover { text-decoration: underline; }
.article-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.article-meta { color: #9fb0c2; font-size: 0.9rem; margin: 0; }

.article-body { padding: 60px 0; }
.article-body-inner { max-width: 700px; margin: 0 auto; }
.article-body-inner h2 { font-size: 1.55rem; margin-top: 44px; }
.article-body-inner h2::after { display: none; }
.article-body-inner h3 { margin-top: 24px; }
.article-body-inner ul, .article-body-inner ol { color: var(--grey); padding-left: 22px; margin: 0 0 16px; }
.article-body-inner li { margin-bottom: 6px; }
.article-disclaimer {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #e7e5e0;
  font-size: 0.8rem;
  color: var(--grey);
}
.article-cta {
  background: var(--bg-light);
  border: 1px solid #e7e5e0;
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 44px;
  text-align: center;
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta .btn { margin: 6px; }

.blog-links { margin: 8px 0 0; padding-left: 18px; }
.blog-links li { margin-bottom: 4px; }

/* Quiz */
.quiz-section { padding: 16px 0 88px; }
.quiz-inner { max-width: 680px; margin: 0 auto; }
.quiz-progress {
  height: 6px;
  background: var(--bg-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 36px;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.3s var(--ease);
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quiz-fade-in 0.25s var(--ease); }
@keyframes quiz-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-step-label { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; margin-bottom: 6px; }
.quiz-step h2 { margin-bottom: 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #e7e5e0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
  background: var(--white);
}
.quiz-option:hover { border-color: var(--gold-light); transform: translateX(2px); }
.quiz-option input { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.quiz-option span { color: var(--ink); font-size: 0.98rem; }
.quiz-option:has(input:checked) { border-color: var(--gold); background: #fdf9f1; }
.quiz-step-error .quiz-options { animation: quiz-shake 0.4s; }
@keyframes quiz-shake {
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.quiz-nav { display: flex; gap: 16px; align-items: center; }
.btn-secondary-outline {
  background: transparent;
  border-color: #d5d2cb;
  color: var(--grey);
}
.btn-secondary-outline:hover { border-color: var(--navy); color: var(--navy); }
.quiz-result h2 { color: var(--navy); }
.quiz-lead-card { margin-top: 32px; }
.quiz-lead-card h3 { margin-bottom: 6px; }
.quiz-lead-form { background: transparent; padding: 0; box-shadow: none; margin-top: 16px; max-width: 420px; }
.quiz-restart {
  display: inline-block;
  margin-top: 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Calculator */
.calc-section { padding: 16px 0 88px; }
.calc-inner { max-width: 760px; margin: 0 auto; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; align-items: start; }
.calc-field { margin-bottom: 22px; }
.calc-field label { display: flex; justify-content: space-between; font-weight: 600; color: var(--navy); font-size: 0.92rem; margin-bottom: 8px; }
.calc-field output { color: var(--gold); font-weight: 700; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--gold); }
.calc-field input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5d2cb;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.95rem;
  font-family: inherit;
}
.calc-result {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: sticky;
  top: 100px;
}
.calc-result-label { color: #9fb0c2; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; }
.calc-result-value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.calc-result-sub { color: #cfd6de; font-size: 0.85rem; margin-bottom: 0; }
.calc-disclaimer {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--bg-light);
  border: 1px solid #e7e5e0;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--grey);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid #e7e5e0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
  }
  .site-header.nav-open .main-nav { max-height: 320px; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid #e7e5e0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .guide-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  section { padding: 64px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
