@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  --violet: #8B5CF6;
  --plum: #2A1745;
  --light-violet: #A78BFA;
  --bg: #0d0a12;
  --primary: #f4f1ea;
  --muted: #b8b6b0;
  --faint: #8A8882;
  --card: #1c1528;
  --bubble: #2b2040;
  --line: rgba(138, 136, 130, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--primary);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--primary);
}

a { color: inherit; }

.eyebrow {
  color: var(--violet);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* ---------- header / nav ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 34px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; line-height: 0; }
.logo svg { height: 30px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}
.main-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 19px;
}
.main-nav a:hover { color: var(--light-violet); }
.btn-pill {
  border: 1.5px solid var(--violet);
  color: var(--light-violet) !important;
  border-radius: 999px;
  padding: 9px 26px;
  white-space: nowrap;
}
.btn-pill:hover { background: rgba(139, 92, 246, 0.14); }

/* Hamburger toggle: hidden on desktop, shown at mobile widths. */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  padding: 13px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--light-violet);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Animate to an X when the menu is open. */
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) 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(-10px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 190px; }
.hero-home { min-height: 1000px; }
.hero-audit { min-height: 560px; }
.hero-audit .wrap { padding-top: 150px; }
/* about/contact heroes size to their content (no min-height) so the page
   content follows quickly after the short headline + lede */

.hero h1 {
  font-size: 88px;
  max-width: 1050px;
  margin-bottom: 34px;
}
.hero .lede {
  font-size: 26px;
  color: var(--muted);
  max-width: 940px;
  margin-bottom: 48px;
  line-height: 1.55;
}

/* ---------- buttons ---------- */
.btn-solid {
  display: inline-block;
  background: var(--violet);
  color: #0d0a12;
  font-weight: 500;
  font-size: 21px;
  border: none;
  border-radius: 999px;
  padding: 17px 42px;
  text-decoration: none;
  cursor: pointer;
}
.btn-solid:hover { background: var(--light-violet); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  font-weight: 500;
  font-size: 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 32px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-ghost:hover { border-color: var(--violet); }

/* ---------- sections ---------- */
.section { padding-top: 110px; padding-bottom: 110px; }
.band {
  background: var(--plum);
}
.band h2, .band h3 { color: var(--primary); }

.split-lede { max-width: 940px; }
h2.section-title {
  font-size: 58px;
  margin-bottom: 30px;
  max-width: 900px;
}
.section-body {
  font-size: 23px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- home phases ---------- */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 84px;
}
.phase-icon { height: 58px; width: auto; margin-bottom: 26px; }
.phase-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 27px;
  color: var(--violet);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.phase-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 29px;
  color: var(--primary);
  margin-bottom: 6px;
}
.phase-week {
  font-size: 20px;
  color: var(--faint);
}
.text-link {
  display: inline-block;
  margin-top: 64px;
  color: var(--light-violet);
  font-size: 23px;
  font-weight: 500;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- testimonial ---------- */
.testimonial {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 130px 0 110px;
}
.quote-mark {
  font-family: 'Poppins', sans-serif;
  font-size: 64px;
  color: var(--violet);
  line-height: 1;
  margin: 34px 0 10px;
}
.testimonial blockquote {
  font-size: 30px;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 36px;
}
.testimonial .attr-name { font-size: 22px; color: var(--primary); font-weight: 500; }
.testimonial .attr-title { font-size: 20px; color: var(--faint); margin-top: 6px; }

/* ---------- audit phases ---------- */
.audit-phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
.audit-phase:first-of-type { border-top: 1px solid var(--line); margin-top: 60px; }
.audit-phase .phase-icon { margin-bottom: 4px; }
.phase-top {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 30px;
}
.phase-top .phase-icon { margin-bottom: 0; }
.phase-kicker {
  color: var(--light-violet);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.audit-phase h3 { font-size: 42px; }
.audit-phase p { font-size: 21px; color: var(--muted); max-width: 960px; }
.audit-phase .output { font-size: 20px; color: var(--muted); }
.audit-phase .output strong { color: var(--primary); font-weight: 500; }

/* ---------- checklists ---------- */
.checklist { list-style: none; margin-top: 44px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 18px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--violet);
  transform: translateY(-50%);
}

/* ---------- Q&A ---------- */
.qa { margin-top: 56px; border-top: 1px solid var(--line); }
.qa-item { padding: 34px 0; border-bottom: 1px solid var(--line); }
.qa-item h3 { font-family: 'Inter', sans-serif; font-size: 23px; font-weight: 500; margin-bottom: 12px; }
.qa-item p { font-size: 20px; color: var(--muted); max-width: 960px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 130px 0 120px; }
.cta-band h2 { font-size: 58px; margin-bottom: 22px; }
.cta-band p { font-size: 23px; color: var(--muted); margin-bottom: 48px; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 56px;
}
.portrait {
  width: 100%;
  max-width: 340px;
  border-radius: 30px;
  display: block;
}
.about-grid h3 { font-size: 40px; margin-bottom: 10px; }
.about-role { font-size: 22px; color: var(--muted); margin-bottom: 34px; }
.about-intro { font-size: 22px; color: var(--muted); margin-bottom: 26px; }
.thesis-body {
  font-size: 23px;
  color: var(--muted);
  max-width: 1000px;
  line-height: 1.65;
  text-wrap: pretty;
}
.thesis-body + .thesis-body { margin-top: 28px; }
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---------- contact ---------- */
.assistant-card {
  background: var(--card);
  border-radius: 26px;
  padding: 52px;
  max-width: 900px;
  margin: 90px auto 0;
}
.assistant-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 23px;
  font-weight: 500;
}
.assistant-head .dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--violet);
  flex: none;
}
.chat-log { display: flex; flex-direction: column; gap: 18px; margin: 30px 0; max-height: 480px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.bubble {
  background: var(--bubble);
  border-radius: 18px;
  padding: 26px 30px;
  font-size: 22px;
  line-height: 1.55;
  max-width: 100%;
}
.bubble.user {
  background: #DDD6FE;
  color: #2A1745;
  align-self: flex-end;
  max-width: 85%;
}
.bubble a { color: var(--light-violet); }
.bubble.user a { color: #6D3FD4; }
.card-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.chat-form { margin-top: 26px; }
.chat-input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 26px;
  color: var(--primary);
  font-size: 20px;
  font-family: 'Inter', sans-serif;
}
.chat-input::placeholder { color: var(--faint); }
.chat-input:focus { outline: none; border-color: var(--violet); }
.email-line { text-align: center; margin-top: 90px; font-size: 24px; }
.email-line a { color: var(--light-violet); text-decoration: none; font-weight: 500; }
.email-line a:hover { text-decoration: underline; }
.callback-line { text-align: center; margin-top: 14px; font-size: 22px; color: var(--faint); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0 60px;
  margin-top: 40px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.copyright { color: var(--faint); font-size: 20px; }
.footer-nav { display: flex; gap: 40px; }
.footer-nav a {
  color: var(--faint);
  text-decoration: none;
  font-size: 20px;
}
.footer-nav a:hover { color: var(--primary); }
.footer-legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-legal .copyright { font-size: 14px; }
.footer-legal a {
  color: var(--faint);
  text-decoration: none;
  font-size: 14px;
}
.footer-legal a:hover { color: var(--primary); }

/* ---------- privacy policy page ---------- */
.policy { max-width: 820px; margin: 0 auto; }
.policy h1 { font-size: 56px; margin-bottom: 18px; }
.policy .effective-date { color: var(--muted); font-size: 19px; margin-bottom: 44px; }
.policy h2 { font-size: 30px; margin: 44px 0 16px; }
.policy h3 { font-size: 22px; margin: 28px 0 10px; }
.policy p { font-size: 19px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.policy ul { margin: 0 0 18px 24px; }
.policy li { font-size: 19px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.policy a { color: var(--light-violet); }

/* ---------- cookie notice ---------- */
.cookie-notice {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--plum);
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.cookie-notice .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-notice p { font-size: 16px; color: var(--primary); }
.cookie-notice a { color: var(--light-violet); }
.cookie-dismiss {
  flex: none;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 22px;
  cursor: pointer;
}
.cookie-dismiss:hover { border-color: var(--violet); }
@media (max-width: 900px) {
  .cookie-notice .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- chat disclosure ---------- */
.chat-disclosure { margin-top: 18px; font-size: 15px; color: var(--faint); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .site-header { padding: 22px 0; }
  /* Hamburger menu replaces the inline nav on mobile. */
  .nav-toggle { display: flex; }
  .site-header .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    background: var(--plum);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    padding: 30px 24px 36px;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { font-size: 20px; }
  .hero h1 { font-size: 52px; }
  .hero .lede { font-size: 20px; }
  .hero-home { min-height: 760px; }
  .hero-home .wrap { padding-bottom: 80px; }
  .hero-audit { min-height: 560px; }
  /* about/contact: no min-height, hero hugs its content */
  .hero .wrap { padding-top: 125px; }
  .hero-audit .wrap { padding-top: 120px; }
  h2.section-title { font-size: 38px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .phases-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonial blockquote { font-size: 23px; }
  .cta-band h2 { font-size: 40px; }
  .assistant-card { padding: 30px 24px; }
  .chat-log { max-height: 360px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .phases-grid { grid-template-columns: 1fr; }
  /* Home phases on phones: icon sits left of the week label (like the
     audit page's phase-top), instead of stacking icon / label / name. */
  .phases-grid > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 22px;
  }
  .phases-grid .phase-icon { margin-bottom: 0; }
  .phases-grid .phase-name { flex-basis: 100%; margin-top: 16px; }
  .hero h1 { font-size: 44px; }
}

/* Google appointment scheduler: hide the holder and Google's injected button
   (the script inserts its button as the holder's next sibling) */
#booking-holder,
#booking-holder + button { display: none !important; }

/* Google scheduler dialog: its iframe uses the --gm3-sys-color-surface theme
   variable for its background. Define it so the dialog renders opaque, with
   a hard fallback in case Google renames the variable. */
:root { --gm3-sys-color-surface: #ffffff; }
.mmGMM { background-color: #ffffff !important; }

/* ---------- long-form article template (B10) ---------- */
.article-hero { padding: 150px 0 60px; }
.article-hero .eyebrow { margin-bottom: 18px; }
.article-hero h1 { font-size: 56px; line-height: 1.12; max-width: 960px; margin-bottom: 22px; }
.article-hero .lede { font-size: 22px; color: var(--muted); max-width: 820px; line-height: 1.55; margin-bottom: 26px; }
.article-byline { font-size: 14px; color: var(--faint); }

.article-body { background: #ffffff; color: #2A1745; padding: 72px 0 84px; }
.article-col { max-width: 760px; }
.article-body h2 { color: #2A1745; font-size: 30px; margin: 48px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { color: #2A1745; font-size: 24px; margin: 36px 0 12px; display: flex; align-items: center; gap: 12px; }
.article-body h3 .item-num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #8B5CF6; color: #ffffff; font-size: 18px; }
.article-body p { font-size: 18px; line-height: 1.75; margin-bottom: 20px; }
.article-body ul { font-size: 18px; line-height: 1.75; margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: #6D3FD4; }
.article-pullquote { border-left: 4px solid #8B5CF6; padding: 4px 0 4px 22px; margin: 32px 0; font-size: 22px; line-height: 1.55; font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; color: #2A1745; }
.article-callout { background: #F4F1EA; border-radius: 14px; padding: 26px 28px; margin: 32px 0; }
.article-callout p:last-child { margin-bottom: 0; }
.article-figure { margin: 32px 0; }
.article-figure img { width: 100%; border-radius: 14px; display: block; }
.article-figure figcaption { font-size: 14px; color: #6B6770; margin-top: 10px; line-height: 1.5; }
@media (max-width: 720px) {
  .article-hero { padding: 110px 0 44px; }
  .article-hero h1 { font-size: 36px; }
  .article-hero .lede { font-size: 18px; }
  .article-body { padding: 48px 0 60px; }
  .article-body h2 { font-size: 24px; }
  .article-body h3 { font-size: 20px; }
  .article-body h3 .item-num { width: 30px; height: 30px; font-size: 15px; }
  .article-body p, .article-body ul { font-size: 17px; }
  .article-pullquote { font-size: 19px; }
}

.article-cta { text-align: center; }
.article-cta h2 { font-size: 58px; margin: 0 auto 30px; max-width: 900px; }
.article-cta p { max-width: 640px; margin: 0 auto 32px; color: var(--muted); }
.article-figure-placeholder { background: #F4F1EA; border: 2px dashed #C9C4D6; border-radius: 14px; padding: 64px 24px; text-align: center; color: #6B6770; font-size: 16px; }

/* ---------- blog index, breadcrumbs, quiet nav link ---------- */
.main-nav .nav-sep { width: 1px; height: 20px; background: #ffffff; margin: 0 -8px; }
.main-nav a.nav-blog { color: #ffffff; font-size: 16px; }
.main-nav a.nav-blog:hover { color: var(--light-violet); }
@media (max-width: 900px) {
  .main-nav .nav-sep { display: none; }
  .main-nav a.nav-blog { font-size: 17px; }
}
.article-crumb a { color: var(--violet); text-decoration: none; }
.article-crumb a:hover { text-decoration: underline; }
.article-crumb .crumb-here { color: var(--faint); }
.article-body .article-back { font-size: 16px; margin: 44px 0 0; }
.blog-entry { padding: 30px 0; border-bottom: 1px solid #E7E2D9; }
.blog-entry:first-child { padding-top: 0; }
.blog-entry:last-child { border-bottom: none; padding-bottom: 0; }
.article-body .blog-entry h2 { margin: 0 0 8px; }
.blog-entry h2 a { color: #2A1745; text-decoration: none; }
.blog-entry h2 a:hover { color: #6D3FD4; }
.article-body .blog-meta { font-size: 14px; color: #6B6770; margin-bottom: 10px; }
.blog-entry p:last-child { margin-bottom: 0; }
