/* Design D — Approachable. First person, sage and warm cream, rounded cards,
   DM Sans with DM Serif Display for the big lines. A people-first leader. */

:root {
  --sage: #4f6f5b;
  --sage-dark: #3b5546;
  --sage-soft: #e4ece5;
  --clay: #c0603f;
  --bg: #f7f4ee;
  --card: #ffffff;
  --line: #e6e0d4;
  --text: #24302a;
  --muted: #5f6b64;

  --gutter: 1.25rem;
  --measure: 72rem;
  --gap: clamp(3.5rem, 2rem + 3vw, 5.5rem);
  --radius: 24px;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --display: 'DM Serif Display', Georgia, serif;
}

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

html { scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--sans);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 400; }
a { color: var(--sage-dark); text-decoration-style: dotted; text-underline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }

.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 { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; padding: .5rem 1rem; background: var(--sage); color: #fff; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* --- bar ------------------------------------------------------------------ */

.bar { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .2s; }
.bar.is-stuck { box-shadow: 0 8px 20px -14px rgb(36 48 42 / .4); }

.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }

/* One easing for every hover; the reduced-motion rule at the bottom zeroes it. */
.bar-home, .mono, .bar-nav a, .btn {
  transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out,
              box-shadow .2s ease-out, transform .2s ease-out;
}

.bar-home { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; text-decoration: none; }
.bar-home:hover { color: var(--sage-dark); }
.mono {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--sage); color: #fff; font-size: .8125rem; letter-spacing: .04em;
}
.bar-home:hover .mono { background: var(--sage-dark); }

.bar-nav { display: flex; align-items: center; gap: 1.25rem; }
.bar-nav a { color: var(--text); font-weight: 500; text-decoration: none; white-space: nowrap; }
.bar-nav a:hover { color: var(--sage); }
.bar-nav .pill { padding: .45rem 1.1rem; border-radius: 999px; background: var(--clay); color: #fff; }
.bar-nav .pill:hover { background: #a54f32; color: #fff; }

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

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }

.btn {
  display: inline-flex; align-items: center; min-height: 3rem;
  padding: .65rem 1.4rem; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line); color: var(--text);
  font-weight: 700; text-decoration: none;
}
/* Buttons lift 1px with a soft shadow; only colour changes under reduced motion. */
.btn:hover { border-color: var(--sage); transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgb(36 48 42 / .35); }
.btn:active { transform: none; box-shadow: none; }
.btn-primary { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--sage-dark); }
.btn-light:hover { background: var(--sage-soft); border-color: var(--sage-soft); }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .1); }

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

.hero { padding-block: clamp(1rem, 3vw, 2.5rem) var(--gap); }

.hero-card {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.hi { margin: 0 0 .75rem; color: var(--clay); font-weight: 700; font-size: 1.25rem; }

h1 { font-size: clamp(2.5rem, 1.25rem + 4vw, 4.25rem); text-wrap: balance; }

.lede { margin: 1.25rem 0 0; max-width: 32em; color: var(--muted); font-size: 1.1875rem; }

.portrait { margin: 0; position: relative; }
.portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.portrait figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: var(--card); color: var(--text); font-size: .875rem; font-weight: 500;
  box-shadow: 0 6px 18px -8px rgb(0 0 0 / .35);
}
/* Each half breaks as a unit — never "Grand / Haven". A class, not inline style: the CSP blocks those. */
.portrait figcaption .nw { white-space: nowrap; }
/* When the photo is too narrow for one line, drop the location rather than
   wrap — the footer still carries it. */
.portrait { container-type: inline-size; }
@container (width < 23rem) {
  .portrait figcaption .sep,
  .portrait figcaption .sep + .nw { display: none; }
}

/* --- sections ------------------------------------------------------------- */

section h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); margin-bottom: 2rem; }

.values { padding-bottom: var(--gap); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.value-grid li { padding: 2rem; background: var(--card); border-radius: var(--radius); }
.icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--sage-soft); color: var(--sage); margin-bottom: 1.25rem; }
.value-grid h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.value-grid p { margin: 0; color: var(--muted); }

.journey { padding-block: var(--gap); background: var(--sage-soft); }
.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid; gap: .5rem 2rem; grid-template-columns: 11rem minmax(0, 1fr);
  padding: 1.75rem 2rem; background: var(--card); border-radius: var(--radius);
}
.steps li:first-child { background: var(--sage); color: #fff; }
.steps li:first-child .org, .steps li:first-child p { color: rgb(255 255 255 / .88); }
.steps li:first-child .when { background: rgb(255 255 255 / .18); color: #fff; }
.steps li:first-child .outcome { color: #fff; }
.when { justify-self: start; align-self: start; margin: .15rem 0 0; padding: .2rem .7rem; border-radius: 999px; background: var(--sage-soft); color: var(--sage-dark); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.steps h3 { font-size: 1.25rem; }
.org { margin: .25rem 0 .75rem; color: var(--muted); font-size: 1rem; font-weight: 500; }
.steps li p:not(.when):not(.org) { margin: 0; max-width: 46em; font-size: 1rem; }
.steps .outcome { margin-top: .6rem !important; color: var(--clay); font-weight: 700; }

.results { padding-bottom: var(--gap); }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.25rem; margin-block: 0; padding: 0; list-style: none; }
.result-grid li { display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem 1.75rem; border-left: 4px solid var(--clay); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
.result-grid strong { font: 400 2.5rem/1 var(--display); color: var(--sage-dark); }
.result-grid span { color: var(--muted); font-size: 1rem; }

.extras { padding-block: var(--gap); }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.25rem; }
.card { padding: 2rem; background: var(--card); border-radius: var(--radius); }
.card h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .35rem .9rem; border-radius: 999px; background: var(--sage-soft); color: var(--sage-dark); font-size: 1rem; font-weight: 500; }
.plain { margin: 0; padding: 0; list-style: none; }
.plain li { display: flex; flex-direction: column; padding-block: .6rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.plain li:last-child { border-bottom: 0; }
.plain strong { color: var(--text); }

.cta { padding-bottom: var(--gap); }
.cta-card { padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: var(--radius); background: var(--sage); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem); margin-bottom: .75rem; }
.cta p { margin: 0 auto; max-width: 32em; color: rgb(255 255 255 / .88); }
.cta .actions { justify-content: center; margin-top: 2rem; }

.foot { padding-bottom: 2.5rem; color: var(--muted); font-size: .9375rem; }
/* Copyright left, studio credit far right; stacks on a phone. */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 2rem; }
.foot p { margin: 0; }
.foot a { color: inherit; text-underline-offset: 3px; transition: color .2s ease-out; }
.foot a:hover { color: var(--sage-dark); }

/* --- narrow --------------------------------------------------------------- */

@media (max-width: 52rem) {
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .portrait { order: -1; max-width: 20rem; }
  .steps li { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
}

@media (max-width: 34rem) {
  .bar-home .mono + * { display: none; }
}

@media (max-width: 26rem) {
  .bar-nav { gap: .875rem; }
  .bar-nav .pill { padding-inline: .875rem; }
}

@media (max-width: 22rem) {
  .bar-nav { gap: .75rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover { transform: none; }
}
