/* KH Pathways: single stylesheet. Brand color is defined once, below. */
:root {
  --teal: #1a525c;          /* sampled from the original logo */
  --teal-dark: #123d45;
  --tint: #eef4f5;
  --text: #1c2326;
  --muted: #4a5a5e;
  --line: #d6e2e4;
  --bg: #ffffff;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 65ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 18px/1.7 var(--font);
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--teal); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem 2rem; padding-block: 1rem;
}
.logo img { height: 52px; width: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 1rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }

/* Type */
h1, h2, h3 { line-height: 1.2; color: var(--text); margin: 0 0 .75rem; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1rem; max-width: var(--measure); }

/* Layout */
main > section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.tint { background: var(--tint); }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .split.photo-left { grid-template-columns: 1fr 1.25fr; }
}
.photo { border-radius: 8px; width: 100%; max-width: 440px; margin-inline: auto; }
.lede { font-size: 1.1rem; }

/* Button: the one primary call to action, same everywhere */
.btn {
  display: inline-block; background: var(--teal); color: #fff;
  font: 600 1.05rem/1.2 var(--font); text-decoration: none;
  padding: 1rem 1.75rem; border-radius: 6px; border: 2px solid var(--teal);
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn:focus-visible { outline-color: var(--text); }

/* Grids and cards */
.grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .grid.two { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; } }
@media (min-width: 60rem) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 8px; padding: 1.5rem; }
.card p:last-child { margin-bottom: 0; }
.q h3 { margin-bottom: .4rem; }
.q p { margin: 0; }

/* Services */
.pkg { display: flex; flex-direction: column; }
.pkg .num { font-size: 2.75rem; line-height: 1; font-weight: 300; color: var(--teal); margin-bottom: .5rem; }
.pkg h2 { font-size: 1.35rem; }
.pkg ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.pkg li { margin-bottom: .4rem; }
.pkg .meta { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); font-weight: 600; margin-bottom: 0; }
.includes { font-weight: 600; margin-bottom: .4rem; }

.contact-line { font-size: 1.15rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--tint); font-size: .95rem; padding-block: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; max-width: none; }

.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal h2:first-of-type { margin-top: 1.5rem; }

@media (max-width: 36rem) {
  body { font-size: 17px; }
  .logo img { height: 44px; }
}
@media (prefers-reduced-motion: no-preference) { .btn { transition: background .15s; } }
.visually-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Visual layer: brand motif, soft section edges, numbered questions */
:root { --tint-strong: #d9e8ea; }
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero::before {
  content: ""; position: absolute; right: -6%; top: 50%; width: min(46rem, 90vw); aspect-ratio: 6 / 5;
  transform: translateY(-50%); background: url(/img/path-motif.svg) center / contain no-repeat; opacity: .13; pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
.hero .lede { font-size: 1.2rem; }
.photo-frame { position: relative; z-index: 0; width: 100%; max-width: 440px; margin-inline: auto; }
.photo-frame::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; background: var(--tint-strong);
  border-radius: 8px; z-index: -1;
}
.photo-frame .photo { max-width: none; }
.wave { position: relative; }
.wave::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: url(/img/wave.svg) bottom / 100% 100% no-repeat; }
.panels { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .panels { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.panel { border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.panel.tinted { background: var(--tint); }
.panel.outlined { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); }
.panel > :last-child { margin-bottom: 0; }
.qlist { counter-reset: q; }
.qlist .q { counter-increment: q; position: relative; background: #fff; border-radius: 8px; border-left: 4px solid var(--teal); padding: 1.25rem 1.5rem 1.25rem 4.25rem; }
.qlist .q::before { content: counter(q); position: absolute; left: 1.25rem; top: 1rem; font-size: 2rem; font-weight: 300; line-height: 1; color: var(--teal); }
.icon { width: 2.25rem; height: 2.25rem; margin-bottom: .75rem; fill: none; stroke: var(--teal); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.closing { background: var(--tint-strong); text-align: center; }
.closing h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.closing p { margin-inline: auto; }
.closing.wave::before { background-image: url(/img/wave-strong.svg); }
@media (min-width: 52rem) { .hero.motif-right::before { right: -14%; width: 38rem; } }
@media (max-width: 51.99rem) { .hero::before { opacity: .08; } }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }

/* Home: background strip and package preview */
.creds { padding-block: clamp(2rem, 5vw, 3rem) !important; }
.creds h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: 1rem; }
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cred-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cred-list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.cred-list li { border-left: 3px solid var(--teal); padding: .1rem 0 .1rem 1rem; line-height: 1.5; }
.mini .num { font-size: 2rem; line-height: 1; font-weight: 300; color: var(--teal); margin-bottom: .4rem; }
.mini h3 { font-size: 1.2rem; }
.mini .meta { font-weight: 600; margin-top: .25rem; }
.more { margin: 1.5rem 0 0; font-weight: 600; }
