/* ==========================================================================
   Decision Authority Systems — shared stylesheet
   Reference build for WordPress / Divi. Palette pulled directly from the
   logo file (assets/logo.png):
     --navy      #05070c  (page background)
     --navy-2    #0e1524  (panel / card background, one step up)
     --navy-3    #141c2e  (hover / raised panel)
     --cream     #e8e0d0  (primary text, frame lines)
     --slate     #3a4455  (secondary block colour, borders)
     --orange    #c8843a  (accent, CTA, dividers)
   ========================================================================== */

:root {
  --navy: #05070c;
  --navy-2: #0e1524;
  --navy-3: #141c2e;
  --cream: #e8e0d0;
  --cream-dim: rgba(232, 224, 208, 0.72);
  --cream-faint: rgba(232, 224, 208, 0.45);
  --slate: #3a4455;
  --slate-light: #545f74;
  --orange: #c8843a;
  --orange-light: #dfa564;
  --max: 1120px;
  --radius: 4px;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--cream);
  margin: 0 0 20px;
  line-height: 1.22;
}

h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 21px; letter-spacing: 0.01em; }

.kicker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 18px;
  display: block;
}

.lede {
  font-size: 20px;
  color: var(--cream-dim);
  max-width: 62ch;
}

p { margin: 0 0 18px; color: var(--cream-dim); max-width: 68ch; }
p.tight { max-width: none; }

.section-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--slate-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}

hr.rule {
  border: none;
  border-top: 1px solid rgba(232, 224, 208, 0.12);
  margin: 0;
}

/* ---------- header / nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 224, 208, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 36px; height: 36px; }
.brand-text {
  font-family: var(--sans);
  line-height: 1.15;
}
.brand-text .b1 {
  display: block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.brand-text .b2 {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--orange);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* mobile nav toggle (placeholder — Divi's menu module handles real behaviour) */
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-ctas .btn span.sub { display: none; }
  .nav-ctas { gap: 8px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn .sub {
  font-weight: 400;
  font-size: 11.5px;
  opacity: 0.85;
}

.btn-orange {
  background: var(--orange);
  color: #14100a;
}
.btn-orange:hover { background: var(--orange-light); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(232, 224, 208, 0.35);
}
.btn-outline:hover { border-color: var(--cream); }

.btn-nav {
  padding: 9px 16px;
  font-size: 13px;
}

.cta-pair {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.cta-pair .btn { flex: 1 1 260px; }

/* ---------- layout blocks ---------- */

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.hero { padding: 120px 0 96px; }

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

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

.panel {
  background: var(--navy-2);
  border: 1px solid rgba(232, 224, 208, 0.1);
  border-radius: var(--radius);
  padding: 40px;
}

.panel-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.panel-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--cream-dim);
}
.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.divider-bar {
  height: 3px;
  width: 64px;
  background: var(--orange);
  margin: 0 0 28px;
}

/* mechanism / pillar cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  border-top: 2px solid var(--orange);
  padding-top: 16px;
}
.pillar .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--slate-light);
  margin-bottom: 8px;
}
.pillar h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pillar p { font-size: 15px; }

/* testimonial */
blockquote {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--cream);
  line-height: 1.5;
}
.cite { color: var(--slate-light); font-size: 14px; margin-bottom: 32px; }

/* booking / calendar placeholder */
.booking-placeholder {
  border: 1px dashed rgba(232, 224, 208, 0.35);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    rgba(232, 224, 208, 0.03),
    rgba(232, 224, 208, 0.03) 10px,
    transparent 10px,
    transparent 20px
  );
  color: var(--cream-faint);
  font-size: 14px;
}
.booking-placeholder strong {
  display: block;
  color: var(--cream-dim);
  font-size: 15px;
  margin-bottom: 6px;
}
.booking-placeholder code {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  background: rgba(232, 224, 208, 0.08);
  border-radius: 3px;
  font-size: 12px;
  color: var(--orange-light);
}

/* note callout used for build notes to Ken, not site copy */
.build-note {
  border-left: 3px solid var(--slate-light);
  padding: 14px 18px;
  background: rgba(232, 224, 208, 0.04);
  color: var(--cream-faint);
  font-size: 14px;
  margin: 24px 0;
}
.build-note strong { color: var(--cream-dim); }

/* footer */
footer.site-footer {
  border-top: 1px solid rgba(232, 224, 208, 0.1);
  padding: 56px 0 40px;
  color: var(--cream-faint);
  font-size: 14px;
}
footer.site-footer .foot-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer.site-footer a:hover { color: var(--cream); }
footer .foot-links a { margin-right: 18px; }
footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
footer .foot-brand img { width: 22px; height: 22px; }
footer .copyright { margin-top: 24px; font-size: 12px; color: var(--slate-light); }

/* who-for lists */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}
@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; }
}
.who-grid h3 { margin-bottom: 18px; }
.who-grid.yes h3 { color: var(--orange-light); }

/* final CTA band */
.cta-band {
  background: var(--navy-2);
  border-top: 1px solid rgba(232, 224, 208, 0.1);
  border-bottom: 1px solid rgba(232, 224, 208, 0.1);
  text-align: center;
}
.cta-band h2 { max-width: 720px; margin: 0 auto 8px; }
.cta-band .cta-pair { justify-content: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* small helper */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-copy { max-width: 720px; }
