/*
Theme Name: Bookkeeper Launch Studio
Theme URI: https://bookkeeperlaunchstudio.com
Author: Jessica Davidson
Description: A custom editorial WordPress theme for Bookkeeper Launch Studio.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bookkeeper-launch-studio
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --navy: #17385f;
  --ink: #263442;
  --teal: #2f7d8c;
  --pale-teal: #e1eeec;
  --gold: #c99a3d;
  --pale-gold: #f1e2bd;
  --line: #ded5c4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid rgba(201, 154, 61, 0.22);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  min-height: 92px;
  padding: 14px clamp(24px, 5.4vw, 86px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  height: auto;
  max-width: 300px;
  width: 100%;
}

nav {
  display: flex;
  gap: 38px;
}

nav a {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--teal);
}

.header-cta {
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 18px;
}

.header-cta:hover {
  background: var(--teal);
  color: white;
}

.hero {
  display: grid;
  min-height: calc(100vh - 92px);
  grid-template-columns: 51% 49%;
}

.hero-copy {
  align-self: center;
  padding: 74px clamp(32px, 5.4vw, 86px);
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.gold-rule {
  align-items: center;
  color: var(--gold);
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.gold-rule::after {
  background: var(--gold);
  content: "";
  height: 1px;
  max-width: 440px;
  width: 80%;
}

h1,
h2 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
}

h1 {
  font-size: clamp(3.25rem, 5.35vw, 5.35rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
  max-width: 760px;
}

h2 {
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.68;
  margin: 28px 0 30px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  gap: 18px;
  justify-content: center;
  min-height: 56px;
  padding: 15px 26px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: white;
}

.button-primary:hover {
  background: var(--teal);
}

.button-secondary {
  border-color: var(--teal);
  color: var(--teal);
}

.button-secondary:hover {
  background: var(--pale-teal);
}

.credential {
  align-items: center;
  border-top: 1px solid var(--pale-gold);
  display: flex;
  gap: 14px;
  margin-top: 35px;
  max-width: 660px;
  padding-top: 22px;
}

.credential-mark {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  flex: 0 0 44px;
  font-family: "Playfair Display", serif;
  height: 44px;
  justify-content: center;
}

.credential p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.hero-image-wrap {
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-note {
  background: rgba(255, 253, 248, 0.94);
  bottom: 38px;
  box-shadow: 0 16px 44px rgba(23, 56, 95, 0.14);
  display: flex;
  flex-direction: column;
  gap: 5px;
  left: 34px;
  padding: 18px 22px;
  position: absolute;
}

.hero-note span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.truth-strip {
  background: var(--navy);
  color: white;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px clamp(32px, 7vw, 112px);
}

.truth-strip p {
  align-items: center;
  display: flex;
  font-size: 0.9rem;
  gap: 14px;
  justify-content: center;
  margin: 0;
}

.truth-strip span {
  color: var(--gold);
  font-weight: 700;
}

.section {
  padding: 116px clamp(28px, 7vw, 112px);
}

.roadmap {
  background: var(--paper);
}

.section-intro {
  margin: 0 auto 56px;
  max-width: 840px;
  text-align: center;
}

.section-intro > p:last-child {
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 24px auto 0;
  max-width: 700px;
}

.roadmap-track {
  align-items: center;
  background: var(--navy);
  border-radius: 9px;
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 22px;
  max-width: 1180px;
  overflow: hidden;
  position: relative;
}

.roadmap-track::before {
  background: var(--gold);
  content: "";
  height: 3px;
  left: 12.5%;
  position: absolute;
  right: 12.5%;
  top: 27px;
}

.roadmap-track span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 46px 16px 16px;
  position: relative;
  text-align: center;
}

.roadmap-track span::before {
  background: var(--gold);
  border: 4px solid var(--navy);
  border-radius: 50%;
  content: "";
  height: 18px;
  left: calc(50% - 9px);
  position: absolute;
  top: 19px;
  width: 18px;
}

.roadmap-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.roadmap-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 300px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.roadmap-card:hover {
  box-shadow: 0 16px 34px rgba(23, 56, 95, 0.09);
  transform: translateY(-3px);
}

.step-number,
.resource-index {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.roadmap-card h3,
.resource-card h3 {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 30px 0 13px;
}

.roadmap-card p,
.resource-card p {
  font-size: 0.94rem;
  line-height: 1.68;
}

.step-label {
  color: var(--teal);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 24px;
}

.fit-section {
  background: var(--teal);
  color: white;
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 100px clamp(28px, 8vw, 128px);
}

.fit-section .eyebrow {
  color: var(--pale-gold);
}

.fit-section h2 {
  color: white;
}

.fit-list {
  display: grid;
  gap: 0;
}

.fit-list p {
  border-bottom: 1px solid rgba(255,255,255,0.24);
  display: grid;
  font-size: 1.05rem;
  gap: 16px;
  grid-template-columns: 26px 1fr;
  line-height: 1.55;
  margin: 0;
  padding: 20px 0;
}

.fit-list span {
  color: var(--pale-gold);
  font-weight: 700;
}

.resources {
  background: var(--cream);
}

.section-heading-row {
  align-items: end;
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.4fr 0.6fr;
  margin-bottom: 52px;
}

.section-heading-row > p {
  line-height: 1.7;
  margin: 0 0 8px;
}

.resource-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.resource-card {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 330px;
  padding: 32px;
  position: relative;
}

.resource-status {
  color: var(--teal);
  float: right;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.resource-card h3 {
  font-size: 1.8rem;
  margin-top: 68px;
}

.about {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.65fr 1.35fr;
}

.about-portrait-wrap {
  margin: auto;
  max-width: 390px;
  position: relative;
  width: 100%;
}

.about-portrait {
  aspect-ratio: 4 / 5;
  border: 8px solid var(--cream);
  box-shadow: 18px 18px 0 var(--pale-gold);
  display: block;
  object-fit: cover;
  object-position: 50% 68%;
  width: 100%;
}

.portrait-caption {
  background: var(--navy);
  color: white;
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 18px 0 0 auto;
  padding: 12px 16px;
  position: static;
  text-transform: uppercase;
  width: max-content;
}

.about-lede {
  color: var(--navy);
  font-size: 1.3rem !important;
  font-weight: 500;
}

.about-copy > p:not(.eyebrow) {
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 760px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.credentials span {
  border: 1px solid var(--pale-gold);
  border-radius: 100px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 15px;
}

.final-cta {
  background: var(--navy);
  color: white;
  padding: 112px 24px;
  text-align: center;
}

.final-cta .eyebrow {
  color: var(--pale-gold);
}

.final-cta h2 {
  color: white;
  margin: auto;
  max-width: 900px;
}

.final-cta > p:not(.eyebrow) {
  color: #d9e0e8;
  line-height: 1.7;
  margin: 24px auto 30px;
  max-width: 720px;
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover {
  background: #dfb65e;
}

footer {
  align-items: center;
  background: var(--cream);
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 30px clamp(28px, 5vw, 80px);
}

footer img {
  max-width: 245px;
  width: 100%;
}

footer p {
  color: #5c6873;
  font-size: 0.78rem;
  margin: 0;
  text-align: center;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 64px;
  }

  .hero-image-wrap {
    min-height: 560px;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading-row,
  .fit-section {
    gap: 48px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 76px;
    padding: 12px 20px;
  }

  .brand img {
    max-width: 215px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy {
    padding: 54px 22px;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-image-wrap {
    min-height: 430px;
  }

  .truth-strip {
    grid-template-columns: 1fr;
  }

  .truth-strip p {
    justify-content: flex-start;
  }

  .section {
    padding: 82px 22px;
  }

  .roadmap-track {
    display: none;
  }

  .roadmap-grid,
  .resource-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .roadmap-card {
    min-height: auto;
  }

  .fit-section {
    padding: 82px 22px;
  }

  .section-heading-row {
    align-items: start;
  }

  .about-portrait-wrap {
    max-width: 245px;
  }

  .about-portrait {
    box-shadow: 12px 12px 0 var(--pale-gold);
    object-position: 50% 68%;
  }

  .portrait-caption {
    font-size: 0.65rem;
    margin-top: 14px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  footer p:last-child {
    text-align: center;
  }
}

.content-shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 100px 24px;
}

.content-shell h1,
.blog-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.blog-hero {
  background: var(--navy);
  color: white;
  padding: 95px 24px;
  text-align: center;
}

.blog-hero h1 {
  color: white;
}

.blog-hero p {
  color: #d9e0e8;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 20px auto 0;
  max-width: 680px;
}

.post-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 80px 24px 110px;
}

.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
}

.post-card time,
.entry-meta {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card h2 {
  font-size: 1.8rem;
  margin: 28px 0 16px;
}

.post-card p,
.entry-content {
  line-height: 1.75;
}

.read-more {
  color: var(--teal);
  font-weight: 700;
  margin-top: auto;
  padding-top: 24px;
}

.entry-content img {
  height: auto;
  max-width: 100%;
}

.pagination {
  grid-column: 1 / -1;
  margin-top: 30px;
  text-align: center;
}

.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

.checklist-signup {
  align-items: center;
  background: var(--pale-teal);
  display: grid;
  gap: clamp(36px, 6vw, 92px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  padding: clamp(68px, 8vw, 118px) clamp(24px, 7vw, 118px);
}

.checklist-signup-copy {
  max-width: 680px;
}

.checklist-signup-copy h2 {
  font-size: clamp(2.35rem, 4vw, 4.15rem);
}

.checklist-signup-copy > p:not(.eyebrow) {
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 24px 0;
  max-width: 610px;
}

.checklist-benefits {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.checklist-benefits span {
  color: var(--ink);
  font-weight: 600;
}

.checklist-benefits span::before {
  color: var(--gold);
  content: "✓";
  margin-right: 10px;
}

.bls-checklist-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 55px rgba(23, 56, 95, 0.12);
  padding: clamp(28px, 4vw, 44px);
}

.bls-checklist-form h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.14;
  margin: 0 0 12px;
}

.bls-checklist-form .form-intro,
.bls-checklist-success p {
  line-height: 1.65;
  margin: 0 0 24px;
}

.bls-checklist-fields {
  display: grid;
  gap: 14px;
}

.bls-checklist-form label {
  color: var(--navy);
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.bls-checklist-form input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.bls-checklist-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 125, 140, 0.14);
  outline: 0;
}

.bls-checklist-form button {
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  margin-top: 18px;
  padding: 14px 18px;
  width: 100%;
}

.bls-checklist-form button:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.bls-checklist-form button.loading {
  cursor: wait;
}

.bls-checklist-form .form-note {
  color: #5f6b74;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 14px 0 0;
  text-align: center;
}

.bls-checklist-success h3 {
  margin-bottom: 12px;
}

.ml-form-embedSubmitLoad {
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  border-top-color: #fff;
  display: inline-block;
  height: 18px;
  width: 18px;
  animation: bls-spin 0.8s linear infinite;
}

@keyframes bls-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .checklist-signup {
    grid-template-columns: 1fr;
  }
}
