:root {
  --ink: #1a2233;
  --ink-soft: #4a5468;
  --paper: #faf9f6;
  --panel: #f1efe9;
  --line: #e2ddd2;
  --navy: #1d2b4f;
  --navy-deep: #131d38;
  --gold: #b8862f;
  --gold-soft: #eadfc5;
  --max: 1080px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
}

h1, h2, h3, .brand {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }

a { color: var(--navy); }

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

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-size: 1.05rem;
  text-decoration: none;
}

.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s;
}

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

.nav-cta {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
}

.menu-toggle { display: none; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.2;
  margin: 0 0 22px;
  max-width: 780px;
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 34px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(19, 29, 56, 0.35);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 280px; margin: 0 auto; }
}

.btn {
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 3px;
  display: inline-block;
}

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

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--panel); }

/* Sections */
section { padding: 76px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  padding-top: 28px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-deep);
  background: var(--gold-soft);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 16px;
  line-height: 1.25;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 auto; }

.downloads .section-tag {
  color: var(--gold);
  background: rgba(184, 134, 47, 0.16);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-body p { font-size: 1.05rem; }

.credentials {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}

.credentials h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.credentials ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  font-family: "Inter", sans-serif;
  color: var(--ink-soft);
}

.credentials li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.credentials li:last-child { border-bottom: none; }

.credentials strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* Diagram */
.diagram-card {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.diagram-card img {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 8px;
}

.diagram-caption {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px;
}

.service-card .num {
  font-family: "Inter", sans-serif;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}

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

.service-card .for-whom {
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--navy);
}

/* Downloads / lead magnets */
.downloads {
  background: var(--navy-deep);
  color: #eee6d6;
}

.downloads .section-head p { color: #b9c0d4; }
.downloads .section-tag { color: var(--gold); }
.downloads .section-head h2 { color: #fff; }

.download-notice {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 32px;
  max-width: 640px;
}

.download-notice h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.download-notice p {
  color: #b9c0d4;
  font-size: 0.98rem;
  margin: 0 0 20px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
}

.subscribe-form input::placeholder { color: #8a93ab; }

.subscribe-form button {
  font-family: "Inter", sans-serif;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.94rem;
}

.form-note {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: #7d859e;
  margin-top: 10px;
}

/* Case studies */
.case-list { display: flex; flex-direction: column; gap: 0; }

.case-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.case-item:last-child { padding-bottom: 0; }

.case-meta {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.case-meta .org {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.case-item h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.case-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

.case-item a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.case-item a:hover { text-decoration-color: var(--navy); }

.case-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-points li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}

.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.case-points li:last-child { margin-bottom: 0; }

.case-points strong { color: var(--ink); }

/* Writing / articles */
.writing-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.writing-box p { margin: 0; color: var(--ink-soft); max-width: 480px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.contact-row {
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}
.contact-row:last-child { border-bottom: none; }
.contact-row span:first-child { color: var(--ink-soft); }
.contact-row a { color: var(--navy); text-decoration: none; font-weight: 500; }

/* Footer */
footer {
  margin-top: 96px;
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; gap: 8px; }
  .nav-links { display: none; }
}
