/* The Business Physical — shared styles */

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

:root {
  --ink: #182126;
  --ink-soft: #4b565c;
  --paper: #ffffff;
  --paper-raised: #ffffff;
  --line: #dcd6ca;
  --navy: #142b45;
  --navy-deep: #0c1c2e;
  --slate-blue: #4f7ba8;
  --grade-good: #4f7a5c;
  --grade-good-bg: #e7efe6;
  --grade-mid: #8a7f5c;
  --grade-mid-bg: #f2ede1;
  --grade-risk: #a34a3a;
  --grade-risk-bg: #f5e4de;
  --radius: 3px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy-deep);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }
p.wide { max-width: 74ch; }

a { color: var(--slate-blue); }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-deep);
}

.brand img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--slate-blue);
  margin-top: 2px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--slate-blue);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  border-bottom: none !important;
}

.nav-cta:hover { background: var(--navy-deep); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Sections ---------- */

section { padding: 76px 0; }
section.tight { padding: 52px 0; }

.section-line {
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--slate-blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 10px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 80px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-copy p.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-figure {
  display: flex;
  justify-content: center;
  order: -1;
}

.hero-figure img {
  width: 100%;
  max-width: 260px;
}

/* ---------- Engine quote block ---------- */

.quote-block {
  background: var(--navy);
  color: #eef2f5;
  padding: 40px 44px;
  border-radius: var(--radius);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
}

/* ---------- Who it's for ---------- */

.trade-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trade-tags li {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Stages ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stage {
  border-top: 3px solid var(--slate-blue);
  padding-top: 18px;
}

.stage .stage-label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--slate-blue);
  margin-bottom: 6px;
}

.stage h3 { margin-bottom: 8px; }

/* Simplified numbered stages (flyer style) */

.stages-simple {
  text-align: center;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 640px) {
  .stages-simple {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
}

.stage-simple {
  border-top: none;
  padding-top: 0;
}

.stage-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grade-good-bg);
  color: var(--navy-deep);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.stage-simple h3 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  margin-bottom: 4px;
}

.stage-simple p {
  color: var(--ink-soft);
  margin: 0 auto;
}

/* ---------- Flyer-style CTA banner ---------- */

.cta-banner {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
}

.cta-banner h2 { color: #fff; margin-bottom: 4px; }

.cta-banner .closing-contact {
  margin-top: 20px;
  color: #cfd9e0;
  font-size: 1rem;
}

.cta-banner .closing-contact a {
  color: #fff;
  font-weight: 600;
}

.cta-banner .closing-founder {
  margin-top: 4px;
  color: #8fa2b0;
  font-size: 0.88rem;
}

/* ---------- Grade badges (signature device) ---------- */

.report-strip {
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 30px;
  border-radius: var(--radius);
}

.report-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.report-strip-head h3 { margin: 0; }

.report-strip-head .sample-tag {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
}

.grade-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grade-card {
  padding: 18px 16px;
  border-radius: var(--radius);
  text-align: left;
}

.grade-card .letter {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.grade-card .label {
  font-size: 0.85rem;
  font-weight: 500;
}

.grade-good { background: var(--grade-good-bg); color: var(--grade-good); }
.grade-mid { background: var(--grade-mid-bg); color: var(--grade-mid); }
.grade-risk { background: var(--grade-risk-bg); color: var(--grade-risk); }

.report-strip-foot {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Why it works ---------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 36px;
}

.reasons h3 { font-size: 1.05rem; }

/* ---------- Credibility strip ---------- */

.credibility {
  background: var(--navy-deep);
  color: #e7ebee;
}

.credibility h2 { color: #fff; }
.credibility p { color: #c6d0d8; }

.cred-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 32px;
}

.cred-facts .fact-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  color: #fff;
  display: block;
}

.cred-facts .fact-label {
  color: #a9b7c1;
  font-size: 0.92rem;
}

/* ---------- Closing CTA ---------- */

.closing-cta {
  text-align: center;
}

.closing-cta h2 { margin-bottom: 10px; }

.closing-contact {
  margin-top: 26px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.closing-contact a { color: var(--navy); font-weight: 600; }

/* ---------- FAQ (accordion) ---------- */

.faq-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-left: 4px solid var(--slate-blue);
  border-radius: var(--radius);
  background: var(--paper-raised);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .faq-mascot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 0 0 2px var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item summary:hover .faq-mascot {
  box-shadow: 0 0 0 2px var(--slate-blue);
}

.faq-item[open] .faq-mascot {
  transform: rotate(-10deg) scale(1.08);
  box-shadow: 0 0 0 2px var(--slate-blue);
}

.faq-item[open] summary {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.faq-item summary:hover {
  background: var(--paper);
}

.faq-item .faq-answer {
  padding: 4px 22px 22px;
}

.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-direct {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
}

.contact-direct h3 { margin-bottom: 14px; }

.contact-direct .direct-item {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-direct .direct-item a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

form.tbp-form {
  display: grid;
  gap: 18px;
}

.tbp-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.tbp-form input,
.tbp-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.tbp-form input:focus,
.tbp-form textarea:focus {
  outline: 2px solid var(--slate-blue);
  outline-offset: 1px;
}

.tbp-form textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-success {
  border: 1px solid var(--grade-good);
  background: var(--grade-good-bg);
  color: var(--grade-good);
  padding: 22px;
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-brand img { height: 26px; width: 26px; border-radius: 50%; }

.footer-phone {
  color: var(--ink-soft);
  font-weight: 600;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.footer-phone:hover { color: var(--slate-blue); }

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  nav.main-nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { max-width: 220px; }
  .stages { grid-template-columns: 1fr; gap: 34px; }
  .grade-row { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: 1fr; gap: 28px; }
  .cred-facts { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { flex-direction: column; gap: 6px; }
  .footer-phone { border-left: none; padding-left: 0; }
}

@media (max-width: 560px) {
  .site-header .container {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
  .brand { flex-basis: 100%; justify-content: center; }
  nav.main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    width: 100%;
  }
  nav.main-nav a { font-size: 0.88rem; }
  .credential-badges { gap: 6px; }
  .credential-badges li { padding: 8px 6px; text-align: center; align-items: center; }
  .credential-badges .cred-name { font-size: 0.7rem; line-height: 1.2; }
  .credential-badges .cred-detail { font-size: 0.62rem; line-height: 1.25; margin-top: 3px; }
}

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

/* ---------- Resume-style About page ---------- */

.resume-header h1 {
  margin-bottom: 2px;
}

.resume-header .role {
  font-size: 1.05rem;
  color: var(--slate-blue);
  font-weight: 600;
  margin-bottom: 18px;
}

.resume-block {
  margin-bottom: 34px;
}

.resume-block h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.resume-entry {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.resume-entry .what {
  font-weight: 600;
  color: var(--ink);
}

.resume-entry .detail {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 2px;
}

.resume-entry .when {
  color: var(--ink-soft);
  font-size: 0.9rem;
  white-space: nowrap;
  padding-top: 2px;
}

@media (max-width: 560px) {
  .resume-entry {
    flex-direction: column;
    gap: 2px;
  }
}


/* ---------- About page — polished layout ---------- */

.about-hero {
  padding: 64px 0 8px;
}

.about-hero .eyebrow { margin-bottom: 6px; }

.about-hero h1 { margin-bottom: 4px; }

.about-hero .role {
  font-size: 1.08rem;
  color: var(--slate-blue);
  font-weight: 600;
  margin-bottom: 22px;
}

.about-hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.credential-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.credential-badges li {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 14px 16px;
  border-radius: var(--radius);
}

.credential-badges .cred-name {
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 0.95rem;
}

.credential-badges .cred-detail {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.belief-grid .belief h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.belief-grid .belief p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .belief-grid { grid-template-columns: 1fr; }
}

/* ---------- Report Card page ---------- */

.rc-overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-top: 30px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: var(--radius);
  max-width: 480px;
}

.rc-overall .rc-circle {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.8rem;
}

.rc-overall .rc-detail .rc-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.rc-overall .rc-detail .rc-biz {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.rc-overall .rc-detail .rc-score {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.rc-sample-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.rc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

@media (max-width: 720px) {
  .rc-grid { grid-template-columns: 1fr; }
}

.rc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: var(--radius);
}

.rc-card .rc-badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
}

.rc-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.rc-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Services page (accordion) ---------- */

.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.svc-item {
  border-bottom: 1px solid var(--line);
}

.svc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  -webkit-tap-highlight-color: transparent;
}

.svc-item summary::-webkit-details-marker {
  display: none;
}

.svc-item .svc-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-blue);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
  width: 28px;
}

.svc-item h3 {
  margin: 0;
  font-size: 1.05rem;
  flex: 1 1 auto;
}

.svc-item .svc-mascot {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 0 0 2px var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-item summary:hover .svc-mascot {
  box-shadow: 0 0 0 2px var(--slate-blue);
}

.svc-item[open] .svc-mascot {
  transform: rotate(-10deg) scale(1.08);
  box-shadow: 0 0 0 2px var(--slate-blue);
}

.svc-item .svc-body {
  padding: 0 4px 22px 46px;
}

.svc-item p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.rc-meaning {
  margin-top: 32px;
  padding: 24px 26px;
  background: var(--navy);
  color: #eef2f5;
  border-radius: var(--radius);
  text-align: center;
}

.rc-meaning .rc-label {
  font-size: 0.78rem;
  color: #b9c9d6;
  display: block;
  margin-bottom: 8px;
}

.rc-meaning p {
  margin: 0 auto;
  max-width: 68ch;
  color: #eef2f5;
}

.contact-side { display: grid; gap: 24px; }
.contact-side .side-title { margin: 0; text-align: center; }

.legal { max-width: 780px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 8px 0 0; }
.legal li { margin-bottom: 8px; }
.legal-date { color: var(--ink-soft, #5b6472); font-size: .95rem; margin-bottom: 22px; }
.form-legal { font-size: .88rem; margin-top: 10px; }
