/* Path Unblocked — shared stylesheet */

:root {
  --ink: #173a42;
  --ink-soft: #2a3f43;
  --ink-softer: #565f61;
  --ink-mute: #7d9498;
  --accent: #ee6c3a;
  --accent-dark: #c9552a;
  --cream: #FFFBF4;
  --tan: #F3E3C4;
  --offwhite: #F7F5F1;
  --yellow: #FCD664;
  --teal: #ABDFDB;

  --shadow: 0 8px 30px rgba(23, 58, 66, .12);

  /* mobile (default) */
  --page-max: 1200px;
  --gutter: 28px;
  --header-pad: 16px 28px;
  --mark-size: 28px;
  --logo-size: 22px;
  --hero-min: 600px;
  --hero-outer-pad: 28px 18px;
  --hero-card-pad: 36px 26px;
  --eyebrow-size: 12.5px;
  --h1-size: 30px;
  --h1-script-size: 25px;
  --body-lead: 19.5px;
  --sec-pad: 56px 20px;
  --sec-title: 24px;
  --statement-size: 20px;
  --lead-in-size: 20px;
  --cols2: 1fr;
  --cols3: 1fr;
  --card-pad: 28px 24px;
  --card-title: 22px;
  --card-script: 18px;
  --about-top-pad: 44px 20px 52px;
  --intro-pad: 30px 24px 34px;
  --intro-dir: column;
  --intro-align: flex-start;
  --intro-gap: 20px;
  --photo-size: 118px;
  --name-size: 27px;
  --cta-pad: 68px 20px 72px;
  --cta-title: 24px;
  --footer-dir: column;
  --book-pad: 44px 20px;
  --book-title: 28px;
  --book-script: 24px;
  --cal-min: 475px;
  --cal-max: 360px;
  --book-content-max: 360px;
  --book-align: center;
}

@media (min-width: 768px) {
  :root {
    --gutter: 56px;
    --header-pad: 24px 56px;
    --mark-size: 30px;
    --logo-size: 24px;
    --hero-min: 620px;
    --hero-outer-pad: 48px 36px;
    --hero-card-pad: 48px 50px;
    --eyebrow-size: 14px;
    --h1-size: 40px;
    --h1-script-size: 34px;
    --body-lead: 20.5px;
    --sec-pad: 76px 36px;
    --sec-title: 28px;
    --statement-size: 22px;
    --lead-in-size: 22px;
    --cols2: minmax(0, 1fr) minmax(0, 1fr);
    --cols3: minmax(0, 1fr) minmax(0, 1fr);
    --card-pad: 34px 34px 30px;
    --card-title: 25px;
    --card-script: 20px;
    --about-top-pad: 64px 36px 60px;
    --intro-pad: 42px 44px 46px;
    --intro-dir: row;
    --intro-align: flex-end;
    --intro-gap: 26px;
    --photo-size: 150px;
    --name-size: 34px;
    --cta-pad: 88px 36px 92px;
    --cta-title: 30px;
    --footer-dir: row;
    --book-pad: 58px 36px;
    --book-title: 34px;
    --book-script: 29px;
    --cal-min: 573px;
    --cal-max: 480px;
    --book-content-max: 600px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 88px;
    --header-pad: 30px 88px;
    --mark-size: 32px;
    --logo-size: 25px;
    --hero-min: 690px;
    --hero-outer-pad: 48px;
    --hero-card-pad: 56px 64px;
    --eyebrow-size: 15px;
    --h1-size: 48px;
    --h1-script-size: 40px;
    --body-lead: 21px;
    --sec-pad: 88px 48px;
    --sec-title: 31px;
    --statement-size: 23px;
    --lead-in-size: 23px;
    --cols3: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    --card-pad: 36px 38px 32px;
    --card-title: 27px;
    --card-script: 21px;
    --about-top-pad: 72px 48px 64px;
    --intro-pad: 48px 56px 52px;
    --intro-gap: 30px;
    --photo-size: 172px;
    --name-size: 40px;
    --cta-pad: 100px 48px 104px;
    --cta-title: 34px;
    --book-pad: 44px 52px;
    --book-title: 38px;
    --book-script: 32px;
    --cal-min: 555px;
    --cal-max: 460px;
    --book-content-max: 560px;
    --book-align: left;
  }
}

* { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  font-family: 'Karla', sans-serif;
  color: var(--ink);
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(23, 58, 66, .22); border-radius: 6px; }

.script { font-family: 'Shantell Sans', cursive; font-weight: 600; color: var(--accent); line-height: 1; }
.serif { font-family: 'Lora', serif; font-weight: 600; letter-spacing: -.01em; }

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

/* ---------- header / nav ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-pad);
  border-bottom: 2px solid rgba(23, 58, 66, .28);
  background: var(--cream);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand svg { width: var(--mark-size); height: var(--mark-size); flex: none; }

.brand-name {
  font-family: 'Lora', serif;
  font-size: var(--logo-size);
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name .script { font-size: 1em; }

.nav-wide {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 18px;
  text-decoration: none;
  color: var(--ink);
  text-underline-offset: 4px;
}

.nav-link.active { text-decoration: underline; }

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-wide .btn-cta {
  font-size: 18px;
  padding: 11px 22px;
}

.nav-mobile .btn-cta {
  font-size: 19px;
  padding: 12px 22px;
}

.hero .btn-cta,
.cta-band .btn-cta {
  font-size: 18px;
  padding: 15px 30px;
}

.nav-toggle {
  border: 1px solid rgba(23, 58, 66, .22);
  background: transparent;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex: none;
}

.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 20px 20px;
  background: var(--cream);
  border-bottom: 1px solid rgba(23, 58, 66, .14);
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 19px;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(23, 58, 66, .1);
}

.nav-mobile .btn-cta { margin-top: 14px; }

@media (min-width: 768px) {
  .nav-wide { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- hero ---------- */

.hero {
  background: var(--tan);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: var(--hero-min);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--hero-outer-pad);
}

.hero-card {
  background: rgba(255, 251, 244, .92);
  border-radius: 20px;
  padding: var(--hero-card-pad);
  max-width: 820px;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  font-size: var(--eyebrow-size);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
  background: rgba(238, 108, 58, .12);
  padding: 7px 16px;
  border-radius: 999px;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: var(--h1-size);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 auto 16px;
  text-wrap: balance;
}

.hero h1 .script { font-size: var(--h1-script-size); }

.hero p {
  font-size: var(--body-lead);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 9px auto 30px;
  max-width: 660px;
}

.hero-line { display: block; }
.hero-line-gap { margin-top: .7em; }

/* ---------- generic section ---------- */

.section { padding: var(--sec-pad); }
.section-tan { background: var(--tan); }
.section-offwhite { background: var(--offwhite); color: #21262b; text-align: center; }
.section-yellow { background: var(--yellow); }

.section-title {
  font-family: 'Lora', serif;
  font-size: var(--sec-title);
  font-weight: 600;
  margin: 0 auto 40px;
  max-width: 840px;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
  text-align: center;
}

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

.statements { display: flex; flex-direction: column; gap: 34px; margin-bottom: 56px; }
.statements div { font-size: var(--body-lead); font-weight: 400; color: var(--ink-soft); line-height: 1.65; }

.lead-in { font-size: var(--lead-in-size); font-weight: 700; margin: 0 0 34px; text-align: center; text-wrap: balance; }

.card-grid { display: grid; grid-template-columns: var(--cols2); grid-auto-rows: 1fr; gap: 26px; }

.card {
  background: var(--cream);
  border-radius: 20px;
  padding: 34px 36px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card h3 { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0 0 14px; text-wrap: balance; }
.card .script { font-size: 19px; line-height: 1.35; color: var(--ink-mute); }

/* ---------- partner cards (home) ---------- */

.wide-cards { display: flex; flex-direction: column; gap: 56px; }

.wide-card {
  background: var(--cream);
  border-radius: 20px;
  padding: var(--card-pad);
  box-shadow: var(--shadow);
}

.wide-card h3 {
  font-family: 'Lora', serif;
  font-size: var(--card-title);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 6px;
  color: var(--ink);
}

.wide-card .script {
  font-size: var(--card-script);
  margin-bottom: 20px;
  display: block;
}

.wide-card p { font-size: 19px; line-height: 1.68; color: var(--ink-soft); margin: 0 0 14px; }
.wide-card p:last-child { margin-bottom: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.tag {
  padding: 6px 13px;
  border: 1px solid rgba(23, 58, 66, .28);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- about: intro card ---------- */

.about-top { background: var(--tan); padding: var(--about-top-pad); }

.intro-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: var(--intro-pad);
}

.intro-row {
  display: flex;
  flex-direction: var(--intro-dir);
  align-items: var(--intro-align);
  gap: var(--intro-gap);
  margin-bottom: 44px;
}

.photo {
  width: calc(var(--photo-size) * 383 / 420);
  height: var(--photo-size);
  flex: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tan), var(--yellow));
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--ink);
  font-size: calc(var(--photo-size) * .32);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-name {
  font-family: 'Lora', serif;
  font-size: var(--name-size);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(23, 58, 66, .2);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--ink);
}

.linkedin-badge {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #0A66C2;
  color: #fff;
}

.linkedin-link span:last-child { font-size: 14.5px; }

.story-list { display: flex; flex-direction: column; gap: 38px; }
.story h2 { font-family: 'Lora', serif; font-size: 21px; font-weight: 600; margin: 0 0 10px; color: var(--ink); text-wrap: balance; }
.story p { font-size: 19.5px; line-height: 1.68; color: var(--ink-soft); margin: 0; }

.reasons-block { max-width: 1120px; margin: 72px auto 0; }
.reasons-lead { font-size: 19px; font-weight: 700; text-align: center; margin: 0 0 28px; color: var(--ink); text-wrap: balance; }

.reasons-grid {
  display: grid;
  grid-template-columns: var(--cols3);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
}

.reason-card {
  background: var(--cream);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px 32px;
  height: 100%;
  box-sizing: border-box;
}

.reason-num {
  font-size: 20px;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.reason-card p { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 0; overflow-wrap: break-word; }

@media (min-width: 768px) and (max-width: 1023px) {
  /* Card 3 sits alone on row two — let it size to its content instead of
     inheriting row one's height from the 1fr auto-rows. */
  .reasons-grid { grid-auto-rows: auto; }
  .reasons-grid > :nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}

.reflection {
  font-family: 'Shantell Sans', cursive;
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
  line-height: 1.4;
  text-align: center;
  margin-top: 64px;
}

/* ---------- about: highlights ---------- */

.highlights-wrap { max-width: 860px; margin: 0 auto; }

.highlights-grid {
  display: grid;
  grid-template-columns: var(--cols2);
  grid-auto-rows: 1fr;
  gap: 24px;
}

.highlight-card {
  background: var(--cream);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px 32px;
}

.highlight-eyebrow {
  font-size: var(--eyebrow-size);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.highlight-card p { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---------- CTA + footer ---------- */

.cta-band {
  background: var(--teal);
  padding: var(--cta-pad);
  text-align: center;
  color: var(--ink);
}

.cta-band h2 {
  font-family: 'Lora', serif;
  font-size: var(--cta-title);
  font-weight: 600;
  max-width: 820px;
  margin: 0 auto 34px;
  letter-spacing: -.01em;
  line-height: 1.25;
  text-wrap: balance;
}

.site-footer {
  display: flex;
  flex-direction: var(--footer-dir);
  gap: 6px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  font-size: 14px;
  color: rgba(23, 58, 66, .82);
  border-top: 1px solid rgba(23, 58, 66, .12);
}

@media (min-width: 768px) {
  .site-footer { padding: 18px 56px; }
}

@media (min-width: 1024px) {
  .site-footer { padding: 20px 88px; }
}

.footer-teal { background: var(--teal); }
.footer-cream { background: var(--cream); }

.footer-links { display: flex; gap: 16px; }
.footer-links a { color: rgba(23, 58, 66, .82); }
.footer-links a:hover { color: var(--ink); }

/* ---------- book page ---------- */

.book-split {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.book-left,
.book-right {
  padding: var(--book-pad);
  display: flex;
  flex-direction: column;
}

.book-left {
  background: var(--cream);
  justify-content: flex-start;
}

.book-right {
  background: var(--tan);
  align-items: flex-start;
  justify-content: center;
}

.book-content {
  width: 100%;
  max-width: var(--book-content-max);
  margin: 0 auto;
  text-align: var(--book-align);
}

.book-content h1 {
  font-family: 'Lora', serif;
  font-size: var(--book-title);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.book-content h1 .script { font-size: var(--book-script); }

.book-content p.lead {
  font-size: var(--body-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 34px;
}

.book-email {
  font-size: 18.5px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(23, 58, 66, .18);
  padding-top: 18px;
}

.book-email a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent);
  font-weight: 700;
}

.book-cal-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: var(--cal-max);
  margin: 0 auto;
  height: var(--cal-min);
  padding: 8px;
  display: flex;
  color: var(--ink-mute);
  font-size: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cal-loading {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-size: 14px;
  opacity: 1;
  transition: opacity .35s ease;
  pointer-events: none;
}

.cal-loading.is-fallback {
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  text-align: center;
  line-height: 1.6;
  font-size: 15px;
  color: var(--ink-soft);
  pointer-events: auto;
}

.cal-loading.is-fallback a { font-weight: 700; }

.cal-loading.is-hidden { opacity: 0; }

.book-cal-card .cal-embed-target,
.book-cal-card iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

@media (min-width: 1024px) {
  .book-split { flex-direction: row; }
  .book-left { flex: 1 1 58%; justify-content: center; }
  .book-right { flex: 1 1 42%; align-items: stretch; }
}

/* ---------- keep header + footer content within the page width ---------- */
/* Background and border stay full-bleed; only the contents are centred. */

.site-header,
.site-footer {
  padding-inline: max(var(--gutter), calc((100% - var(--page-max)) / 2));
}

/* ---------- typography: consistent line breaking ---------- */
/* balance = even lines for short headings; pretty = no orphaned last word in prose */

.hero p,
.statements div,
.wide-card p,
.card .script,
.story p,
.reason-card p,
.highlight-card p,
.book-content p.lead,
.reflection {
  text-wrap: pretty;
}

/* ---------- single-column: let cards size to their content ---------- */
/* Equal heights only line cards up when they sit side by side. Stacked in
   one column there is no neighbour to match, so 1fr rows just add padding. */

@media (max-width: 767px) {
  .reasons-grid,
  .highlights-grid {
    grid-auto-rows: auto;
  }
}
