/* Signal & Scale Partners. Brand system per decision D-017 in the second-brain
   decision log: Navy #16294B, Blue #2C5A96, Gold #D89A3C, Periwinkle #5B6CE6;
   Space Grotesk for titles, Inter for body. Mobile first, 16px gutters. */

:root {
  --navy: #16294B;
  --blue: #2C5A96;
  --gold: #D89A3C;
  --peri: #5B6CE6;
  --ink: #16294B;
  --ink-soft: #3E4B66;
  --bg: #FFFFFF;
  --bg-alt: #F4F6FA;
  --line: #DCE2EE;
  --title: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
  --gutter: 16px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.75em; }
h3 { font-size: 1.2rem; }

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.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;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}

/* The wide logo is the square brand PNG trimmed to its artwork (design
   decision 009), so the words are legible at header size. */
.brand { display: block; line-height: 0; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a { color: var(--navy); text-decoration: none; }

/* On phones the logo and "Book a call" take the row; the two anchor links
   are hidden because the sections they point to are a scroll away. */
@media (max-width: 559px) {
  .nav-links a:not(.button) { display: none; }
}
.nav-links a:hover { text-decoration: underline; }

/* Buttons */

.button {
  display: inline-block;
  font-family: var(--title);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  padding: 14px 22px;
  line-height: 1.2;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}

.button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.button-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.button-gold:hover { background: #E4AC58; border-color: #E4AC58; color: var(--navy); }

.button-small { padding: 9px 12px; font-size: 0.9rem; background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nav-links .button-small:hover { background: #E4AC58; border-color: #E4AC58; text-decoration: none; }

.button:focus-visible, a:focus-visible {
  outline: 3px solid var(--peri);
  outline-offset: 2px;
}

/* Sections */

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-band { background: #EEF0FC; }

.hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 72px;
}

.hero h1, .hero h2 { color: #fff; }
.hero h1 { max-width: 20ch; }

.hero-sub {
  font-size: 1.15rem;
  max-width: 60ch;
  color: #F2F5FA;
}

.hero-buyer {
  max-width: 60ch;
  color: #C9D3E6;
  font-size: 1rem;
  margin-bottom: 1.6em;
}

.hero .button { margin-top: 4px; }

.cta { padding: 64px 0; }
.cta p { color: #F2F5FA; max-width: 60ch; }
.cta .button { margin: 6px 0 20px; }
.cta a:not(.button) { color: #fff; }

.lead {
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 62ch;
}

/* Grids */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.col-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.quote-card {
  border-left: 4px solid var(--navy);
  margin: 0;
  font-size: 1rem;
}

.practice { padding: 24px; border-top: 4px solid var(--gold); }
.practice h3 { font-size: 1.5rem; margin-bottom: 0.15em; }
.practice .subtitle { color: var(--blue); font-weight: 600; margin-bottom: 1em; }
.practice ul, .practice ol { padding-left: 1.2em; }

/* Testimonials */

.testimonials { display: grid; grid-template-columns: 1fr; gap: 20px; }

.testimonial { margin: 0; padding: 24px; border-top: 4px solid var(--peri); }
.testimonial p { font-size: 1.02rem; margin-bottom: 1em; }
.testimonial footer { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }

/* How we work */

.stages { display: grid; gap: 20px; margin: 24px 0 32px; }

.stage {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.stage-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage h3 { margin-bottom: 0.2em; }
.stage > div > p { color: var(--ink-soft); }

.stage-rows { list-style: none; padding: 0; margin: 12px 0 0; }
.stage-rows li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: 0.98rem; }

.chip {
  flex: 0 0 auto;
  font-family: var(--title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: #FBEFD9;
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 2px;
  min-width: 58px;
  text-align: center;
}

.expect li { margin-bottom: 0.6em; }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.headshot { margin: 0; max-width: 220px; }
.headshot img { border-radius: 10px; width: 100%; height: auto; }

.person { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 0.6em; }
.person strong { font-family: var(--title); font-size: 1.25rem; color: var(--navy); }
.person .role { color: var(--ink-soft); }
.person .linkedin { font-size: 0.92rem; }

.about-grid h3 { margin-top: 1.4em; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-footer p { margin-bottom: 0.4em; }

/* Larger screens */

@media (min-width: 720px) {
  body { font-size: 18px; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.2rem; }
  .section { padding: 88px 0; }
  .hero { padding: 96px 0 104px; }
  .hero-sub { font-size: 1.3rem; }
  .hero-buyer { font-size: 1.05rem; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .stage { grid-template-columns: 1fr; }
  .stage-num { margin-bottom: 8px; }
  .about-grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .nav-links { gap: 28px; font-size: 0.95rem; }
  .site-header nav { min-height: 84px; }
  .brand img { height: 60px; }
}

@media (min-width: 1000px) {
  h1 { font-size: 3.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
