/* ==========================================================================
   Pierce Boyd AI Strategy Partners — Brand Stylesheet
   Palette: Executive Black / Bone White / Strategic Teal / Executive Gold / Dust Rose
   Type: Playfair Display (headlines) + Inter (body)
   ========================================================================== */

:root {
  --black: #000000;
  --bone: #F5F3EE;
  --teal: #084C61;
  --teal-light: #0E6E8C;
  --gold: #B5A06A;
  --rose: #E6C9BC;

  --ink: #1A1A18;
  --muted: #5B5A54;
  --border: rgba(0, 0, 0, 0.1);
  --border-dark: rgba(245, 243, 238, 0.15);

  --font-head: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--muted); }

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

img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.on-dark .eyebrow { color: var(--gold); }

.divider-gold {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 28px 0;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-bone { background: var(--bone); }
.section-black { background: var(--black); color: var(--bone); }
.section-black p { color: rgba(245,243,238,0.72); }
.section-black h2, .section-black h3 { color: var(--bone); }

.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--bone);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); }

.btn-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold); color: var(--black); }

.btn-outline-light {
  background: transparent;
  color: var(--bone);
  border-color: rgba(245,243,238,0.4);
}
.btn-outline-light:hover { border-color: var(--bone); background: rgba(245,243,238,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0,0,0,0.25);
}
.btn-outline-dark:hover { border-color: var(--ink); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

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

.brand-chip {
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  width: 190px;
  height: 46px;
  flex-shrink: 0;
}
.brand-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--teal); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
}

.nav-cta { margin-left: 8px; }
.nav-links .btn-primary.nav-cta { white-space: normal; text-align: center; line-height: 1.25; }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.nav-links a.nav-cta.active::after { content: none; }

@media (max-width: 1240px) and (min-width: 901px) {
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn) { font-size: 0.84rem; }
  .nav-cta { padding: 12px 18px; font-size: 0.82rem; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    background: var(--bone);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-cta { margin-left: 0; margin-top: 12px; width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .brand-chip { width: 160px; height: 40px; }
}

/* Hero
   ========================================================================== */
.hero {
  background: var(--black);
  color: var(--bone);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 20% 30%, rgba(8,76,97,0.35), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-inner.hero-grid {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-grid .hero-copy .lede { max-width: none; }
.hero-photo {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(245,243,238,0.15);
  background: #0A0A0A;
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: rgba(245,243,238,0.35);
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1.5;
}
.hero-tagline {
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: 20px;
  max-width: 520px;
}
@media (max-width: 900px) {
  .hero-inner.hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; aspect-ratio: 16/10; }
}
.hero .brand-chip-lg {
  width: 260px;
  margin-bottom: 40px;
}
.hero h1 { color: var(--bone); }
.hero .lede {
  font-size: 1.15rem;
  color: rgba(245,243,238,0.78);
  max-width: 620px;
}
.hero-small {
  background: var(--black);
  color: var(--bone);
  padding: 88px 0 64px;
}
.hero-small h1 { color: var(--bone); }
.hero-small .lede { color: rgba(245,243,238,0.75); max-width: 640px; font-size: 1.05rem; }
.hero .cta-assurance, .hero-small .cta-assurance { color: rgba(245,243,238,0.6); }

/* Cards & Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-top: 3px solid var(--teal);
}
.card h3 { margin-bottom: 12px; }
.card .icon {
  width: 40px; height: 40px;
  color: var(--teal);
  margin-bottom: 20px;
}
.card ul { padding-left: 18px; margin: 16px 0 0; color: var(--muted); }
.card ul li { margin-bottom: 6px; font-size: 0.95rem; }

.card-dark {
  background: #0A0A0A;
  border: 1px solid rgba(245,243,238,0.1);
  border-top: 3px solid var(--gold);
  padding: 32px 28px;
}
.card-dark h3 { color: var(--bone); }
.card-dark p { color: rgba(245,243,238,0.68); }

.stat {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
}
.checklist li:last-child { border-bottom: none; }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.on-dark .checklist li { border-bottom-color: var(--border-dark); color: var(--bone); }
.on-dark .checklist svg { color: var(--gold); }

/* Table (Don't Say / Say Instead) */
.msg-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
}
.msg-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 20px;
  background: var(--black);
  color: var(--bone);
}
.msg-table th:last-child { color: var(--gold); }
.msg-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.msg-table td:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.25); }
.msg-table td:last-child { color: var(--teal); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Pull quote */
.pull-quote {
  background: var(--rose);
  padding: 48px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
}
.pull-quote::before {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--black);
  margin-bottom: 20px;
}

/* Case study cards */
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.case-card .tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  padding: 24px 28px 0;
}
.case-card .body { padding: 12px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.case-card h3 { margin-bottom: 14px; }
.case-card .field { margin-bottom: 14px; }
.case-card .field-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.case-card .field p { margin: 0; color: var(--ink); font-size: 0.95rem; }
.case-card .outcome {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case-card .outcome .stat { font-size: 1.6rem; }

.disclosure-note {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  background: #fff;
  max-width: 720px;
}

/* Values / personality grid */
.trait {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-dark);
}
.trait .word {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--gold);
}
.on-dark .trait { border-bottom-color: var(--border-dark); }

/* Market lists */
.market-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.market-col ul { list-style: none; padding: 0; margin: 0; }
.market-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 1rem;
}

/* Booking embed */
.booking-embed {
  background: #fff;
  border: 1px solid var(--border);
  min-height: 780px;
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cta-assurance {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}
.on-dark .cta-assurance { color: rgba(245,243,238,0.6); }

/* FAQ */
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-item p { margin: 0; }

/* Offer / pricing cards */
.offer-grid { align-items: stretch; }
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.offer-card.featured {
  border-top-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.offer-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.offer-card .offer-num {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.offer-card .price {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--teal);
  font-weight: 700;
  margin: 6px 0 14px;
}
.offer-card .price-unit {
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--muted);
  font-weight: 500;
}
.offer-card p.label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin: 14px 0 10px;
}
.offer-card ul { padding-left: 18px; margin: 0 0 16px; }
.offer-card ul li { margin-bottom: 6px; font-size: 0.92rem; color: var(--muted); }
.offer-card .offer-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.offer-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* Credibility bar */
.credibility-bar {
  background: var(--black);
  padding: 30px 0;
  border-bottom: 1px solid rgba(245,243,238,0.08);
}
.credibility-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.credibility-item {
  flex: 1 1 190px;
  text-align: center;
  padding: 10px 24px;
  border-left: 1px solid rgba(245,243,238,0.14);
  color: rgba(245,243,238,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.credibility-item:first-child { border-left: none; }
@media (max-width: 780px) {
  .credibility-item { border-left: none; border-top: 1px solid rgba(245,243,238,0.14); }
  .credibility-item:first-child { border-top: none; }
}

/* Industry pills (homepage teaser) */
.industry-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-pills span {
  background: #fff;
  border: 1px solid var(--border);
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 20px;
  color: var(--ink);
}

/* Pain-point cards */
.pain-card { border-top-color: var(--rose); }

/* Founder block */
.founder-block {
  display: flex;
  gap: 44px;
  align-items: center;
}
.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0A0A0A;
  border: 1px solid rgba(245,243,238,0.15);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: rgba(245,243,238,0.35);
  font-family: var(--font-head);
  font-size: 0.85rem;
  line-height: 1.4;
}
.founder-copy .credential {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .founder-block { flex-direction: column; text-align: center; }
  .founder-photo { margin: 0 auto; }
}

/* Trust box */
.trust-box {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  padding: 26px 30px;
  margin-top: 24px;
}
.trust-box h3 { font-size: 1.05rem; margin-bottom: 12px; }

/* Callout note (Who this is not for, etc.) */
.callout-note {
  background: var(--rose);
  padding: 24px 28px;
  font-size: 0.95rem;
  color: var(--ink);
  border-left: 3px solid var(--black);
}
.callout-note strong { color: var(--black); }

/* Bio rows (About page) */
.bio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.bio-row .bio-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.bio-row .bio-photo.bio-photo-portrait { aspect-ratio: 630 / 690; }
.bio-row .bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-row.reverse .bio-photo { order: 2; }
@media (max-width: 780px) {
  .bio-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .bio-row.reverse .bio-photo { order: -1; }
}

/* Feature photo (single full-width content image) */
.feature-photo {
  border-radius: 4px;
  overflow: hidden;
  max-height: 460px;
  margin-bottom: 48px;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Enterprise banner */
.enterprise-banner {
  background: var(--black);
  color: var(--bone);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  border-left: 3px solid var(--gold);
}
.enterprise-banner h3 { color: var(--bone); margin-bottom: 6px; }
.enterprise-banner p { color: rgba(245,243,238,0.7); margin: 0; max-width: 480px; }
.enterprise-banner .btn { flex-shrink: 0; }

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: rgba(245,243,238,0.65);
  padding: 72px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand .brand-chip { width: 210px; height: 50px; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 0.92rem; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 {
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a, .footer-col span { display: block; font-size: 0.92rem; padding: 6px 0; color: rgba(245,243,238,0.65); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(245,243,238,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  .footer-top { flex-direction: column; }
  .footer-links { gap: 40px; }
}
