/* ==========================================================================
   PJC Website — Peter Jones Consulting
   Editorial layout · Marketing-led structure · Accordion patterns
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0D1B2A;
  --deep-blue: #1B263B;
  --gold: #C09A3E;
  --gold-hover: #a8872e;
  --hs-orange: #E8622A;
  --slate: #5C7291;
  --white: #FFFFFF;
  --cream: #F5F4F0;
  --border: rgba(119, 141, 169, 0.16);
  --max-w: 1160px;
  --section-py: 120px;
  --section-px: 60px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--slate);
  background: var(--white);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- Typography — bigger, editorial ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  font-size: 72px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 52px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 28px;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 600px;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) 0;
}

.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

/* Section header — centred option */
.section-header {
  margin-bottom: 64px;
}

.section-header--centre {
  text-align: center;
}

.section-header--centre .eyebrow {
  justify-content: center;
}

.section-header--centre .lead {
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--gold {
  position: relative;
  background: var(--gold);
  color: var(--navy);
  border-radius: 100px;
  padding: 14px 56px 14px 24px;
  overflow: hidden;
  transition: padding 0.5s ease, background 0.5s ease;
}

.btn--gold:hover {
  padding: 14px 24px 14px 56px;
  background: var(--gold-hover);
}

.btn--gold .btn__icon {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.5s ease;
}

.btn--gold:hover .btn__icon {
  right: calc(100% - 42px);
}

.btn--gold .btn__icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
  stroke-width: 2;
  fill: none;
  transition: transform 0.5s ease;
}

.btn--gold:hover .btn__icon svg {
  transform: rotate(45deg);
}

.btn--gold-outline {
  position: relative;
  background: var(--white);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 100px;
  padding: 10px 52px 10px 20px;
  overflow: hidden;
  transition: padding 0.5s ease, background 0.5s ease, color 0.5s ease;
}

.btn--gold-outline:hover {
  padding: 10px 20px 10px 52px;
  background: var(--gold);
  color: var(--white);
}

.btn--gold-outline .btn__icon {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.5s ease, background 0.5s ease;
}

.btn--gold-outline:hover .btn__icon {
  right: calc(100% - 34px);
  background: var(--white);
}

.btn--gold-outline .btn__icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
  transition: transform 0.5s ease, stroke 0.5s ease;
}

.btn--gold-outline:hover .btn__icon svg {
  transform: rotate(45deg);
  stroke: var(--gold);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--navy);
}

.text-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--slate);
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--navy);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 80px;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  height: 60px;
  width: auto;
}

.nav__wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.nav__sublabel {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate);
  display: block;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--slate);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--navy);
}

.nav__cta {
  padding: 10px 52px 10px 20px;
}

.nav__cta:hover {
  padding: 10px 20px 10px 52px;
}

/* Nav dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.08);
  padding: 8px;
  min-width: 280px;
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-item {
  display: block;
  padding: 14px 16px;
  transition: background 0.15s ease;
}

.nav__dropdown-item:hover {
  background: var(--cream);
}

.nav__dropdown-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}

.nav__dropdown-desc {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--slate);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav__mobile-overlay.is-active {
  display: flex;
}

.nav__mobile-overlay a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--white);
  transition: color 0.2s;
}

.nav__mobile-overlay a:hover {
  color: var(--gold);
}

.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
}

/* ---------- Hero v2 ---------- */
.hero-v2 {
  background: var(--cream);
  padding: 80px 0 0;
}

.hero-v2__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  text-align: center;
}

.hero-v2__headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 72px;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-v2__headline .hs-orange {
  color: var(--hs-orange);
}

.hero-v2__body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-v2__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-v2__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: end;
}

.hero-v2__photo {
  position: relative;
}

.hero-v2__photo-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
}

.hero-v2__stats {
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.hero-v2__stat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid var(--border);
}

.hero-v2__stat:first-child {
  border-left: none;
}

.hero-v2__stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-v2__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--slate);
  line-height: 1.35;
}

@media (max-width: 991px) {
  .hero-v2__headline { font-size: 48px; }
  .hero-v2__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-v2__photo-img {
    height: 240px;
    max-width: 240px;
    margin: 0 auto;
  }
  .hero-v2__stats {
    padding-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .hero-v2__headline { font-size: 40px; }
  .hero-v2__stats {
    flex-wrap: wrap;
    gap: 20px 0;
  }
  .hero-v2__stat {
    flex: 0 0 50%;
    border-left: none;
    padding: 8px 12px;
  }
  .hero-v2__ctas {
    flex-direction: column;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  padding: 100px 0 120px;
}

.hero__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__headline {
  font-size: 72px;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero__headline .hs-orange {
  color: var(--hs-orange);
}


.hero__body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Hero photo + stat cards */
.hero__visual {
  position: relative;
  height: 520px;
}

.hero__photo {
  position: absolute;
  top: 0;
  left: 40px;
  right: 0;
  bottom: 40px;
  background: var(--navy);
}

.hero__photo-img {
  position: absolute;
  top: 0;
  left: 40px;
  right: 0;
  bottom: 40px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: cover;
}

.stat-card {
  position: absolute;
  padding: 20px 24px;
  z-index: 2;
}

.stat-card--navy {
  background: var(--navy);
}

.stat-card--navy .stat-card__number {
  color: var(--white);
}

.stat-card--navy .stat-card__label {
  color: rgba(255, 255, 255, 0.55);
}

.stat-card--white {
  background: var(--white);
}

.stat-card__number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-card__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--slate);
  line-height: 1.3;
}

.stat-card--1 { top: 20px; right: 0; }
.stat-card--1 .stat-card__number { font-size: 52px; }

.stat-card--2 { top: 20px; right: 180px; }
.stat-card--2 .stat-card__number { font-size: 44px; color: var(--gold); }

.stat-card--3 { bottom: 0; left: 0; }
.stat-card--3 .stat-card__number { font-size: 48px; }

.stat-card--4 { bottom: 0; left: 200px; }
.stat-card--4 .stat-card__number { font-size: 40px; color: var(--navy); }

/* ---------- Logo Carousel / Ticker ---------- */
.ticker {
  background: var(--white);
  padding: 48px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.ticker__header {
  text-align: center;
  margin-bottom: 32px;
}

.ticker__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate);
  margin-bottom: 8px;
}

.ticker__sublabel {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--slate);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tick 42s linear infinite;
}

.ticker__item {
  flex-shrink: 0;
  padding: 0 48px;
  display: flex;
  align-items: center;
}

.ticker__item img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.ticker__item img:hover {
  opacity: 1;
}

/* ---------- Proof Grid (About page) ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.proof-grid__item {
  text-align: center;
  padding: 32px 16px;
  border-left: 1px solid var(--border);
}

.proof-grid__item:first-child {
  border-left: none;
}

.proof-grid__number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 40px;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}

.proof-grid__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.4;
}

@keyframes tick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Partner Strip ---------- */
.partner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.partner__text {
  font-size: 16px;
  line-height: 1.8;
}

.partner__text strong {
  font-weight: 500;
  color: var(--navy);
}

.partner__badges {
  display: flex;
  gap: 24px;
}

.badge-slot {
  border: 1px dashed rgba(119, 141, 169, 0.35);
  padding: 24px 32px;
  text-align: center;
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--slate);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-img {
  height: 210px;
  width: auto;
}

/* ---------- Outcome Cards (What I Do) ---------- */
.outcome__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.outcome__intro {
  max-width: 640px;
  position: sticky;
  top: 120px;
}

.outcome__intro h2 {
  margin-bottom: 20px;
}

.outcome__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.outcome-card {
  background: var(--white);
  padding: 48px 40px;
  transition: background 0.25s ease;
  cursor: default;
}

.outcome-card:hover {
  background: var(--cream);
}

.outcome-card__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.outcome-card__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.outcome-card__body {
  font-size: 15px;
  line-height: 1.72;
}

/* ---------- Accordion Cards (Services / Engagements) ---------- */
.accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.accordion-card {
  background: var(--white);
  cursor: pointer;
  transition: background 0.25s ease;
  overflow: hidden;
}

.section--cream .accordion-card {
  background: var(--cream);
}

.accordion-card:hover {
  background: var(--cream);
}

.section--cream .accordion-card:hover {
  background: var(--white);
}

.accordion-card.is-open {
  background: var(--cream);
}

.section--cream .accordion-card.is-open {
  background: var(--white);
}

.accordion-card__header {
  padding: 48px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.accordion-card__tag {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}

.accordion-card__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.2;
}

.accordion-card__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: var(--slate);
  transition: transform 0.3s ease;
}

.accordion-card.is-open .accordion-card__toggle {
  transform: rotate(45deg);
}

.accordion-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-card__body-inner {
  padding: 0 40px 48px;
}

.accordion-card__body-inner p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 480px;
}

.accordion-card__note {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  font-style: italic;
  color: var(--gold);
  margin-top: 16px;
}

.accordion-card__ghost {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 80px;
  color: rgba(13, 27, 42, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Full-width accordion (for services journey) */
.accordion-list {
  border-top: 1px solid var(--border);
}

.accordion-row {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.25s ease;
}

.accordion-row:hover {
  background: var(--cream);
}

.section--cream .accordion-row:hover {
  background: var(--white);
}

.accordion-row.is-open {
  background: var(--cream);
}

.section--cream .accordion-row.is-open {
  background: var(--white);
}

.accordion-row__header {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}

.accordion-row__number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.accordion-row__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--navy);
}

.accordion-row__toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: var(--slate);
  transition: transform 0.3s ease;
}

.accordion-row.is-open .accordion-row__toggle {
  transform: rotate(45deg);
}

.accordion-row__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-row__body-inner {
  padding: 0 0 32px 84px;
  max-width: 600px;
}

.accordion-row__body-inner p {
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- Track Selector ---------- */
.track-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 0;
}

.track-selector__card {
  display: block;
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.track-selector__card:hover {
  border-color: rgba(119, 141, 169, 0.35);
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.06);
}

.track-selector__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 8px;
}

.track-selector__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.track-selector__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 20px;
}

.track-selector__arrow {
  display: inline-block;
  font-size: 20px;
  color: var(--gold);
}

/* 3-column accordion grid variant */
.accordion-grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ---------- Also Available ---------- */
.also-available {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  margin-top: 16px;
}

.also-available__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate);
  margin-bottom: 32px;
}

.also-available__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.also-available__item h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}

.also-available__item p {
  font-size: 15px;
  line-height: 1.72;
}

/* ---------- How I Work (Accordion Steps) ---------- */
.steps__intro {
  max-width: 640px;
  margin-bottom: 64px;
}

.steps__intro h2 {
  margin-bottom: 20px;
}

/* ---------- Bowtie Strip ---------- */
.bowtie {
  padding: 48px 0;
}

.bowtie__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.bowtie__text {
  font-size: 16px;
  line-height: 1.8;
}

.bowtie__text strong {
  font-weight: 400;
  color: var(--white);
}

.bowtie__badge {
  border: 1px solid rgba(192, 154, 62, 0.4);
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Engagement Cards ---------- */
.engage__intro {
  max-width: 640px;
  margin-bottom: 64px;
}

.engage__intro h2 {
  margin-bottom: 20px;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.about__photo-col .eyebrow {
  margin-bottom: 16px;
}

.about__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--navy);
}

.about__photo-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about__text h2 {
  margin-bottom: 28px;
  font-size: 44px;
}

.about__text p {
  font-size: 16px;
  line-height: 1.8;
}

/* Cert pills */
.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.pill {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--slate);
}

.pill--hs {
  background: rgba(232, 98, 42, 0.04);
  border-color: rgba(232, 98, 42, 0.25);
  color: var(--hs-orange);
}

/* ---------- Contact CTA ---------- */
.contact__inner {
  max-width: 640px;
}

.contact__inner .eyebrow {
  color: rgba(192, 154, 62, 0.65);
}

.contact__inner .eyebrow::before {
  background: rgba(192, 154, 62, 0.65);
}

.contact__inner h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 52px;
}

.contact__inner h2 .gold {
  color: var(--gold);
}

.contact__inner > p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact__email {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--slate);
  transition: color 0.2s;
}

.contact__email:hover {
  color: var(--white);
}

/* ---------- Card CTAs ---------- */
.outcome-card__cta,
.accordion-card__cta {
  display: inline-block;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--gold);
  transition: color 0.2s;
}

.outcome-card__cta:hover,
.accordion-card__cta:hover {
  color: var(--gold-hover);
}

/* ---------- Contact Form ---------- */
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form__field {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 16px;
  transition: border-color 0.2s;
  border-radius: 6px;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--slate);
  opacity: 0.5;
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23778DA9' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  margin-top: 8px;
}

.contact-form__conditional {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-form__success {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(192, 154, 62, 0.08);
  border: 1px solid rgba(192, 154, 62, 0.25);
  border-radius: 6px;
}

.contact-form__success p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--navy);
}

.contact-form__sidebar-block {
  margin-bottom: 40px;
}

.contact-form__sidebar-block h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-form__sidebar-block p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.contact-form__email-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--gold);
  transition: color 0.2s;
}

.contact-form__email-link:hover {
  color: var(--gold-hover);
}

/* ---------- Meetings Modal ---------- */
.meetings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.meetings-modal.is-open {
  display: flex;
}

.meetings-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 42, 0.6);
  backdrop-filter: blur(4px);
}

.meetings-modal__content {
  position: relative;
  background: var(--white);
  width: 90%;
  max-width: 660px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 6px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(13, 27, 42, 0.2);
  animation: modalIn 0.3s ease;
}

.meetings-modal__content .meetings-iframe-container {
  width: 100%;
  min-height: 580px;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- HubSpot Form Overrides ---------- */
#hubspot-form .hs-form fieldset {
  max-width: 100% !important;
}

#hubspot-form .hs-form-field {
  margin-bottom: 24px;
}

#hubspot-form .hs-form-field > label {
  display: block;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px;
}

#hubspot-form .hs-input {
  width: 100% !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 300;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border) !important;
  padding: 14px 16px !important;
  border-radius: 6px !important;
  transition: border-color 0.2s;
  box-shadow: none !important;
}

#hubspot-form .hs-input:focus {
  outline: none;
  border-color: var(--gold) !important;
}

#hubspot-form select.hs-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C7291' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px !important;
  cursor: pointer;
}

#hubspot-form textarea.hs-input {
  resize: vertical;
  min-height: 120px;
}

#hubspot-form .hs-submit .actions {
  margin-top: 8px;
}

#hubspot-form .hs-button {
  display: inline-block;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--gold) !important;
  color: var(--navy) !important;
}

#hubspot-form .hs-button:hover {
  background: var(--gold-hover) !important;
}

#hubspot-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

#hubspot-form .hs-error-msgs li label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  color: #c0392b !important;
  font-weight: 400 !important;
}

#hubspot-form .hs-form-required {
  color: var(--gold);
  margin-left: 2px;
}

#hubspot-form .submitted-message {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--navy);
  padding: 20px 24px;
  background: rgba(192, 154, 62, 0.08);
  border: 1px solid rgba(192, 154, 62, 0.25);
  border-radius: 6px;
}

/* Two-column layout for name/email row if HubSpot renders fieldsets */
#hubspot-form .hs-form fieldset.form-columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 767px) {
  #hubspot-form .hs-form fieldset.form-columns-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding: 60px 0 0;
  color: rgba(119, 141, 169, 0.55);
}

.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}

.footer__wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.footer__sublabel {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate);
  display: block;
  margin-top: 4px;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 13px;
  line-height: 1.6;
}

.footer__col-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--section-px);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* ---------- Responsive (≤ 991px) ---------- */
@media (max-width: 991px) {
  :root {
    --section-py: 80px;
    --section-px: 24px;
  }

  h1, .hero__headline { font-size: 48px; }
  h2 { font-size: 38px; }
  .contact__inner h2 { font-size: 38px; }
  .about__text h2 { font-size: 36px; }

  /* Nav */
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    position: relative;
    height: auto;
  }

  .hero__photo,
  .hero__photo-img {
    position: relative;
    left: 0;
    width: 100%;
    height: 280px;
    margin-bottom: 24px;
  }

  .stat-card {
    position: static;
  }

  .hero__stats-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Grids → single column */
  .outcome__layout,
  .partner__grid,
  .outcome__grid,
  .accordion-grid,
  .accordion-grid--3,
  .also-available__grid,
  .track-selector {
    grid-template-columns: 1fr;
  }

  /* Nav dropdown — hide on mobile, covered by overlay */
  .nav__dropdown-menu {
    display: none !important;
  }

  /* Accordion rows */
  .accordion-row__header {
    grid-template-columns: 40px 1fr auto;
  }

  .accordion-row__body-inner {
    padding-left: 64px;
  }

  /* Bowtie */
  .bowtie__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photo,
  .about__photo-img {
    aspect-ratio: 4 / 3;
    max-width: 400px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Partner badges */
  .partner__badges {
    flex-direction: column;
  }

  /* Proof grid */
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Contact */
  .contact__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Contact form */
  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 767px) {
  h1, .hero__headline { font-size: 40px; }
  h2 { font-size: 32px; }
  .contact__inner h2 { font-size: 32px; }

  .accordion-card__header {
    padding: 32px 24px;
  }

  .accordion-card__body-inner {
    padding: 0 24px 32px;
  }

  .ticker__item {
    padding: 0 32px;
    font-size: 13px;
  }

  .lead {
    font-size: 17px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}
