:root {
  --navy: #0b1f3a;
  --navy-light: #142c4f;
  --ink: #1a2333;
  --muted: #5b6472;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --gold: #b98a3d;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 88px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo svg {
  height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a { color: var(--ink); transition: color .15s; }
.main-nav a:hover { color: var(--gold); }

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

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,31,58,0.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,138,61,0.16) 0%, rgba(185,138,61,0) 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin-bottom: 20px;
}
.hero-subhead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
  max-width: 620px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 14px;
}
.hero-sub-last { margin-bottom: 20px; }
.hero-service-line {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .15s;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-light); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); }

/* Stats */
.stats { background: var(--navy); padding: 44px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  color: #cfd8e6;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat span {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Sections generic */
section { padding: 88px 0; }
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 12px;
}

/* When to Bring Us In */
.when-section { position: relative; overflow: hidden; background: var(--bg-soft); }
.when-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,31,58,0.05) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 0% 100%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 90% at 0% 100%, black 0%, transparent 70%);
  pointer-events: none;
}
.when-section .container { position: relative; z-index: 1; }
.when-list-label { margin-top: 28px; }
.list-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 20px 0 8px;
}
.when-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.when-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: var(--bg);
}
.when-card .service-detail-head { margin-bottom: 12px; }
.when-card h3 {
  font-size: 1.05rem;
}
.when-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 10px;
}
.when-card p:last-child { margin-bottom: 0; }

/* Bullet list (reused across services, AI steps, engagement models) */
.bullet-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 28px;
  margin: 4px 0 16px;
}
.bullet-list li {
  color: var(--ink);
  font-size: 0.93rem;
  padding-left: 16px;
  position: relative;
}
.bullet-list li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Icon badges (services + approach steps) */
.icon-badge {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(185,138,61,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge-dark {
  background: rgba(255,255,255,0.1);
}
.icon-badge-sm {
  width: 34px;
  height: 34px;
  min-width: 34px;
}
.icon-badge-sm svg { width: 18px; height: 18px; }

/* Services (detailed) */
.services { background: var(--bg); }
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}
.service-detail {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  background: var(--bg-soft);
}
.service-detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.service-detail-head .icon-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin-bottom: 0;
}
.service-detail-head .icon-badge svg { width: 22px; height: 22px; }
.service-detail-head h3 { margin-bottom: 0; }
.service-detail h3 {
  font-size: 1.15rem;
}
.service-detail p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 14px;
}
.service-detail p:last-child { margin-bottom: 0; }

/* AI Section (single contained block: intro + engagement steps) */
.ai-section { position: relative; overflow: hidden; background: var(--navy); }
.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 100% 0%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 90% at 100% 0%, black 0%, transparent 70%);
  pointer-events: none;
}
.ai-section .container { position: relative; z-index: 1; }
.ai-bg-graphic {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.ai-bg-graphic-bottom {
  right: -30px;
  bottom: -30px;
  width: 440px;
  height: 440px;
  max-width: 60%;
}
.ai-bg-graphic-top {
  top: -40px;
  right: -20px;
  width: 300px;
  height: 300px;
  max-width: 45%;
  transform: rotate(180deg);
}
.ai-intro { max-width: 720px; margin-bottom: 48px; }
.ai-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ai-eyebrow-row .eyebrow { margin-bottom: 0; }
.ai-intro h2 { color: #fff; }
.ai-intro p { color: #cfd8e6; margin-bottom: 24px; }
.ai-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-points li {
  color: #fff;
  font-weight: 500;
  padding-left: 26px;
  position: relative;
}
.ai-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.ai-process {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}
.ai-process-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.ai-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.process-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
}
.process-num {
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-card p {
  color: #cfd8e6;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.process-card p:last-child { margin-bottom: 0; }
.process-card .bullet-list {
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 4px 0 10px;
}
.process-card .bullet-list li {
  color: #cfd8e6;
  font-size: 0.88rem;
}

/* Approach */
.approach { position: relative; overflow: hidden; background: var(--bg-soft); }
.approach::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,31,58,0.05) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 100% 100%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 90% at 100% 100%, black 0%, transparent 70%);
  pointer-events: none;
}
.approach-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.approach-text h2 { margin-bottom: 16px; }
.approach-text p { color: var(--muted); margin-bottom: 12px; }
.approach-steps { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.approach-steps li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.approach-steps li:last-child { border-bottom: none; padding-bottom: 0; }
.approach-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 52px;
}
.approach-icon-col .icon-badge { margin-bottom: 0; }
.approach-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
}
.approach-step-title {
  font-size: 1rem;
  margin-bottom: 6px;
}
.approach-steps p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* About */
.about { background: var(--bg-soft); }
.about-inner { max-width: 760px; }
.about-inner p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }

/* Selected Experience */
.experience-inner { max-width: 760px; }

/* WFM Playbook */
.playbook { background: var(--bg); }
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.playbook-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.playbook-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.playbook-card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.playbook-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.playbook-card h3 a { color: var(--navy); }
.playbook-card h3 a:hover { color: var(--gold); }
.playbook-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 16px;
  flex-grow: 1;
}
.playbook-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
}
.playbook-link:hover { color: var(--navy); }

/* Credentials */
.credentials { background: var(--bg-soft); }
.credentials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.credentials-subhead {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 28px 0 12px;
}
.credentials-inner > div:last-child .credentials-subhead:first-of-type { margin-top: 0; }
.check-list, .plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.check-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.plain-list li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}
.plain-list li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.platform-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 20px;
}

/* Contact */
.contact {
  background: var(--navy);
  text-align: center;
}
.contact-inner { max-width: 620px; margin: 0 auto; }
.contact h2 { color: #fff; }
.contact .section-lead { color: #cfd8e6; margin: 12px auto 32px; }
.contact .btn-primary { background: var(--gold); }
.contact .btn-primary:hover { background: #a67934; }
.contact-email {
  margin-top: 4px;
  font-size: 0.92rem;
}
.contact-email a { color: #cfd8e6; text-decoration: underline; }
.contact-email a:hover { color: #fff; }
.contact-divider {
  color: #8fa0bb;
  font-size: 0.85rem;
  margin-top: 36px;
}

/* Contact form */
.contact-form {
  text-align: left;
  max-width: 560px;
  margin: 8px auto 0;
}
.hidden-field { position: absolute; left: -9999px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  color: #cfd8e6;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8fa0bb; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.form-field textarea { resize: vertical; }
.contact-form .btn-primary {
  width: 100%;
  border: none;
  cursor: pointer;
}
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: #7fd9a8; }
.form-status.error { color: #e58989; }

/* Article Page */
.article-page { padding: 60px 0 90px; }
.article-container { max-width: 760px; margin: 0 auto; }
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.back-link:hover { color: var(--gold); }
.article-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 8px 0 28px;
}
.article-hero-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 32px;
  display: block;
}
.article-body p {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.7;
}
.article-body h2 {
  font-size: 1.35rem;
  margin: 36px 0 14px;
}
.article-body h3 {
  font-size: 1.12rem;
  margin: 28px 0 10px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 18px 22px;
  color: var(--ink);
}
.article-body li {
  margin-bottom: 10px;
  line-height: 1.65;
  font-size: 1.02rem;
}
.article-source {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.article-source a {
  color: var(--gold);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.footer-inner p {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .approach-inner { grid-template-columns: 1fr; }
  .credentials-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 18px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 70px 0 60px; }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-detail { padding: 24px; }
  .credentials-subhead[style] { margin-top: 0 !important; }
}
