/* LaunchPoint — shared styles */

:root {
  color-scheme: light;
  --white: #FFFFFF;
  --ink: #2A2F37;
  --ink-soft: #5E6672;
  --line: #E4E8EE;

  --blue-strip: #DCE7F2;   /* top strip, footer */
  --blue-band: #EEF3F9;    /* section bands */
  --blue-mark: #9DB6D1;    /* logo circle, active bar */
  --blue-ink: #56779A;     /* wordmark, small accents */

  --yellow-band: #FBF6E4;
  --yellow: #F2E3A9;       /* buttons, rules */
  --yellow-ink: #8C7424;

  --font: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(18px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-mark); outline-offset: 3px; }
p { margin: 0; }

h1, h2, h3 { font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.22; }
h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 400; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.stack { display: grid; gap: 1.1rem; }
.stack-lg { display: grid; gap: 1.8rem; }
.muted { color: var(--ink-soft); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 300; line-height: 1.65; color: var(--ink-soft); }
.label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.rule { width: 72px; height: 4px; background: var(--blue-mark); border: 0; margin: 0; }
.rule.yellow { background: var(--yellow); }
.center .rule { margin-inline: auto; }

/* ---------- Header ---------- */
.strip { height: 22px; background: var(--blue-strip); }
.masthead { padding-block: 1.6rem 0; }
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-decoration: none;
}
.logo svg { width: 76px; height: 76px; flex: none; }
.wordmark { display: grid; justify-items: center; gap: 0.35rem; line-height: 1.1; text-align: center; }
.wordmark b { font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 2.4rem); color: var(--blue-ink); letter-spacing: 0.01em; }
.wordmark span { font-size: 0.72rem; letter-spacing: 0.32em; color: var(--ink-soft); }

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 clamp(1rem, 3vw, 2.6rem);
  margin-top: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.nav a {
  position: relative;
  padding: 1rem 0.2rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.nav a::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  right: -0.4rem;
  top: 0;
  height: 4px;
  background: var(--blue-mark);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav a:hover::before { transform: scaleX(0.6); }
.nav a[aria-current="page"]::before { transform: scaleX(1); }

.menu-btn {
  display: none;
  margin: 1rem auto 0;
  font: 400 1rem var(--font);
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  cursor: pointer;
}
@media (max-width: 820px) {
  .logo svg { width: 58px; height: 58px; }
  .menu-btn { display: block; }
  .nav { display: none; flex-direction: column; align-items: center; gap: 0; margin-top: 0.8rem; }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0; }
  .nav a::before { top: auto; bottom: 0.4rem; height: 3px; }
  .masthead { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .nav { border-bottom: 0; }
}

/* ---------- Photos (swap in your own images) ---------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, #FFFFFF 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, var(--blue-strip) 0%, var(--blue-band) 45%, var(--yellow-band) 100%);
  display: grid;
  place-items: center;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .ph {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  padding: 1rem;
  color: var(--blue-ink);
  font-size: 0.9rem;
}
.photo .ph b { font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
.photo .ph code { font-family: ui-monospace, Menlo, monospace; font-size: 0.78rem; opacity: 0.8; }
.photo.has-img .ph { display: none; }

.photo { border-radius: 18px; isolation: isolate; }
.hero-photo, .banner {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(1120px - 2 * var(--gutter));
  margin: clamp(1.4rem, 3vw, 2.2rem) auto 0;
}
.hero-photo { height: clamp(300px, 44vw, 560px); }
.banner { height: clamp(200px, 24vw, 320px); }
.tall { aspect-ratio: 4 / 5; max-width: 100%; }
.wide { aspect-ratio: 4 / 3; max-width: 100%; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4rem, 8vw, 6.5rem); }
.sec-sm { padding-block: clamp(2.8rem, 5vw, 4rem); }
.band-blue { background: var(--blue-band); }
.band-yellow { background: var(--yellow-band); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }

.statement { display: grid; gap: 1.6rem; justify-items: center; text-align: center; max-width: 860px; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.8rem); }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.5vw, 2.2rem); }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 3vw, 2.8rem); }
@media (max-width: 960px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cols-4 { grid-template-columns: 1fr; } }

.item { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.2rem; border-top: 4px solid var(--yellow); }
.item.blue { border-top-color: var(--blue-mark); }
.item p { color: var(--ink-soft); }
.item .num { font-size: 2.2rem; font-weight: 300; line-height: 1; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.item .result { font-size: 0.95rem; }
.item .result b { font-weight: 500; color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: var(--yellow);
  color: var(--ink);
  border: 1px solid #E6D38A;
  border-radius: 6px;
  font: 400 1rem/1.2 var(--font);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: #EDD98F; }
.btn.ghost { background: transparent; border-color: var(--blue-mark); }
.btn.ghost:hover { background: var(--blue-band); }
.more { color: var(--blue-ink); text-decoration: none; border-bottom: 1px solid var(--blue-mark); padding-bottom: 1px; }
.more::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.center .actions { justify-content: center; }

/* ---------- Tiles (services) ---------- */
.tile { display: grid; gap: 1rem; text-decoration: none; align-content: start; }
.tile .photo { aspect-ratio: 3 / 2; max-width: 100%; }
.tile h3 { font-size: 1.6rem; font-weight: 300; }
.tile p { color: var(--ink-soft); }
.tile:hover .more { border-bottom-color: var(--blue-ink); }

/* ---------- Quote ---------- */
.quote { display: grid; gap: 1.2rem; justify-items: center; text-align: center; max-width: 780px; margin-inline: auto; margin-block: 0; }
.quote blockquote { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 300; line-height: 1.5; }
.quote figcaption { color: var(--ink-soft); font-size: 0.95rem; }
.quote-card { display: grid; gap: 1rem; align-content: start; padding: 2rem; background: var(--white); border: 1px solid var(--line); margin: 0; }
.quote-card blockquote { margin: 0; font-size: 1.2rem; font-weight: 300; line-height: 1.55; }
.quote-card figcaption { color: var(--ink-soft); font-size: 0.92rem; }

/* Content the client still needs to supply */
.todo { background: #FFF6D1; color: #6B5716; padding: 0 0.3em; border-radius: 2px; }
.todo-tag {
  justify-self: start;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  border: 1px solid var(--yellow);
  padding: 0.1rem 0.5rem;
}
.quote .todo-tag { justify-self: center; }

/* ---------- Hiring pipeline ---------- */
.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
}
.referral {
  grid-column: 1 / 4;
  grid-row: 1;
  height: 34px;
  border: 1.5px solid var(--yellow-ink);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  position: relative;
  margin-inline: 12%;
}
.referral span {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--yellow-ink);
  white-space: nowrap;
  text-transform: uppercase;
}
.band-blue .referral span { background: var(--blue-band); }
.stage {
  grid-row: 2;
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-mark);
}
.stage small { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.stage b { font-weight: 500; line-height: 1.3; }
.stage span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.stage.wall { border-style: dashed; border-top: 4px solid var(--yellow); }
.stage.wall span { color: var(--yellow-ink); }
@media (max-width: 960px) {
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .stage { grid-row: auto; }
}
@media (max-width: 560px) {
  .pipeline { grid-template-columns: 1fr; }
  .referral { display: none; }
}

/* ---------- Phase detail rows (approach page) ---------- */
.phase-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.phase-row:last-child { border-bottom: 1px solid var(--line); }
.phase-row > .stack { align-content: start; gap: 0.8rem; }
.phase-row .num { font-size: 3rem; font-weight: 300; line-height: 1; color: var(--blue-ink); }
.phase-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.phase-row ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.5rem; }
.phase-row li::marker { color: var(--blue-mark); }
.phase-row .result { margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--yellow-band); border-left: 4px solid var(--yellow); }
.phase-row .meta { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 820px) { .phase-row { grid-template-columns: 1fr; } }

/* ---------- Q&A ---------- */
.qa-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem clamp(2rem, 5vw, 4rem); padding-block: 2rem; border-top: 1px solid var(--line); }
.qa-item:last-child { border-bottom: 1px solid var(--line); }
.qa-item .a { display: grid; gap: 0.9rem; color: var(--ink-soft); }
.qa-item .a strong { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .qa-item { grid-template-columns: 1fr; } }
.see { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.see li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; }
.see b { color: var(--ink); font-weight: 500; }
@media (max-width: 480px) { .see li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- FAQ accordion ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue-ink); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.compare tbody th { font-weight: 400; width: 26%; }
.compare td { color: var(--ink-soft); }
.compare .us { background: var(--yellow-band); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Chips / who ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { padding: 0.45rem 1rem; border: 1px solid var(--blue-mark); background: var(--white); font-size: 0.95rem; }

/* ---------- Contact form ---------- */
form.consult { display: grid; gap: 1.1rem; width: 100%; }
.field textarea { resize: vertical; min-height: 6rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field legend { font-size: 0.9rem; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #CCD5E0;
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue-mark); outline-offset: 0; border-color: var(--blue-mark); }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { padding: 0; margin-bottom: 0.35rem; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg label { position: relative; font-weight: 400; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 0.55rem 1.1rem; border: 1px solid #CCD5E0; cursor: pointer; background: var(--white); }
.seg input:checked + span { background: var(--blue-strip); border-color: var(--blue-mark); }
.seg input:focus-visible + span { outline: 2px solid var(--blue-mark); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.form-status { padding: 0.9rem 1rem; background: var(--yellow-band); border-left: 4px solid var(--yellow); font-size: 0.95rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.5rem; color: var(--ink-soft); }
.steps li::before { counter-increment: s; content: counter(s); font-size: 1.5rem; font-weight: 300; color: var(--blue-ink); line-height: 1.2; }
.steps b { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-strip); padding-block: 3.5rem 2.5rem; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: center; }
.foot-name { font-size: 1.6rem; font-weight: 300; color: var(--blue-ink); line-height: 1.2; }
.foot .fine { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid rgba(86, 119, 154, 0.25); padding-top: 1.4rem; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Gentle fade-in (below the fold only) ---------- */
.fade { transition: opacity 0.9s ease, transform 0.9s ease; }
.fade.waiting { opacity: 0.35; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .fade, .fade.waiting { transition: none; opacity: 1; transform: none; } }

/* ---------- Contact card ---------- */
.email-card {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.stage, .quote-card { border-radius: 10px; }
.chip { border-radius: 999px; }
