/* ArabesQ Advisory — single-page site
   Palette and type mirror the printed one-pager. */

:root {
  --blue: #17557F;
  --navy: #0F3D5C;
  --blue-tint: #CFE3F1;
  --surface: #F4F7FA;
  --ink: #1E2733;
  --muted: #64707E;
  --border: #CDD5DE;
  --bg: #ffffff;

  --font-head: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --sec-y: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px;
  z-index: 100;
  background: var(--blue); color: #fff;
  padding: 10px 16px; font-size: 15px; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 720px; }

.section { padding: var(--sec-y) 0; }
.section-tint { background: var(--surface); }

.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ---------- top bar + header ---------- */

.topbar {
  height: 5px;
  background: var(--blue);
  position: relative;
  z-index: 60;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark:hover { color: var(--navy); text-decoration: none; }
.wordmark .mark { flex: none; width: 30px; height: 30px; display: block; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.nav-link:hover { color: var(--navy); text-decoration: none; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.1;
  max-width: 21ch;
  margin: 0 0 26px;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 3.1vw, 2.05rem);
  line-height: 1.2;
  max-width: 32ch;
  margin: 0 0 40px;
}

h3 {
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

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

.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 22px;
}

.kicker {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.fineprint {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 20px 0 0;
}

/* ---------- hero ---------- */

.hero { padding-top: 76px; padding-bottom: 84px; }
.hero .lede { max-width: 62ch; }
.hero .lede p { font-size: 1.075rem; color: #37414D; }

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 34px;
}
.btn-row-center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

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

.btn-ghost {
  color: var(--navy);
  border-color: var(--border);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--surface); color: var(--navy); }

.btn-sm { padding: 11px 18px; font-size: 15px; }

/* ---------- grids ---------- */

.grid { display: grid; gap: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.problem-grid .stack {
  border-top: 2px solid var(--blue);
  padding-top: 20px;
}
.problem-grid p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- tiers ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tier {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier-strip {
  height: 34px;
  margin: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.tier-featured { border: 2px solid var(--blue); }
.tier-strip-on {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0;
}

.tier-body { padding: 26px 26px 30px; }

.tier-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 12px;
}
.tier-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.tier-meta {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tier-copy { font-size: 16px; margin: 0; color: #37414D; }

.note {
  margin-top: 34px;
  padding: 22px 24px;
  background: var(--surface);
  border-left: 3px solid var(--blue);
}
.note p { margin: 0; font-size: 16px; max-width: 78ch; }
.note strong { font-weight: 600; }

/* ---------- framework ---------- */

.framework {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.framework li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.fw-step {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.fw-text { font-size: 17px; }

.framework-note {
  margin: 32px 0 0;
  color: var(--muted);
  max-width: 66ch;
  font-size: 16.5px;
}

/* ---------- who I work with ---------- */

.who {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 78ch;
  border-top: 1px solid var(--border);
}
.who li {
  padding: 18px 0 18px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 17px;
}
.who li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 29px;
  width: 10px;
  height: 1px;
  background: var(--blue);
}
.who strong { font-weight: 600; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.photo-box {
  border: 1px dashed var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 5;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.photo-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 10px;
}
.photo-hint {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.about-copy { max-width: 66ch; }
.about-copy h2 { margin-bottom: 26px; }
.signature {
  font-family: var(--font-head);
  font-weight: 700;
  margin-top: 26px;
}

/* ---------- faq ---------- */

.faq { margin: 0; border-top: 1px solid var(--border); }
.faq-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.faq dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq dd {
  margin: 0;
  font-size: 16.5px;
  color: #37414D;
}

/* ---------- closing ---------- */

.section-close {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 92px 0;
}
.section-close h2 {
  max-width: 26ch;
  margin: 0 auto 22px;
}
.close-copy {
  color: #37414D;
  max-width: 58ch;
  margin: 0 auto;
  font-size: 1.05rem;
}
.contact-line {
  margin: 28px 0 0;
  font-size: 16px;
  color: var(--muted);
}
.contact-line .dot { margin: 0 8px; }

/* ---------- footer ---------- */

.site-footer {
  background: #fff;
  border-top: 3px solid var(--blue);
  padding: 40px 0 52px;
}
.site-footer p { margin: 0 0 8px; }
.foot-1 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
}
.foot-2 { font-size: 14.5px; color: var(--muted); }
.foot-3 { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  :root { --sec-y: 68px; }
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .tiers { grid-template-columns: 1fr; gap: 20px; }
  .tier .tier-strip:not(.tier-strip-on) { display: none; }
  .about-grid { grid-template-columns: 240px 1fr; gap: 36px; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .framework li { grid-template-columns: 150px 1fr; gap: 18px; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
  :root { --gutter: 20px; --sec-y: 56px; }

  .nav-link { display: none; }
  .wordmark { font-size: 16.5px; }
  .btn-sm { padding: 10px 14px; font-size: 14px; }

  .hero { padding-top: 52px; padding-bottom: 60px; }
  h1 { max-width: none; margin-bottom: 22px; }
  h2 { max-width: none; margin-bottom: 30px; }

  .btn-row .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .header-nav .btn { width: auto; }

  .framework li { grid-template-columns: 1fr; gap: 6px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .photo-box { max-width: 260px; aspect-ratio: 4 / 5; }
  .who li { font-size: 16.5px; }
  .section-close { padding: 64px 0; }
  .section-close h2 { max-width: none; }
  .contact-line { display: flex; flex-direction: column; gap: 6px; align-items: center; }
  .contact-line .dot { display: none; }
}

.arrow { margin-left: 8px; display: inline-block; }

/* ---------- equitable adoption ---------- */

#equity .lede { margin-bottom: 44px; }
