/* ============================================================
   Lara Kehler — Systems Strategist & Business Coach
   Design system + page styles
   ============================================================ */

/* ---------- Fonts ---------- */
/* Display: Archivo (variable width + weight) stands in for HeliosExt-Bold
   Body:    DM Sans (variable) stands in for TT Hoves
   Both are self-hosted — see assets/css/fonts.css. No third-party requests. */
@import url('fonts.css');

/* ---------- Tokens ---------- */
:root {
  --cream:        #F5F1EB;   /* page ground */
  --cream-card:   #FDF6EF;   /* cards, and the colophon strip */
  --white:        #FFFFFF;
  --navy:         #31425F;   /* dark sections, and all body copy */
  --navy-deep:    #27354D;   /* navy button hover */
  --slate:        #66748D;   /* the What I build band — see the contrast note below */
  --teal:         #2BCCB7;
  --magenta:      #DA55A7;
  --magenta-deep: #C8459A;   /* magenta button hover */
  --blue:         #0A66C2;
  --yellow:       #FCED2D;

  /* A text-only variant of the brand magenta.
     ---------------------------------------------------------
     The brand colours are mixed to sit *behind* white text, and
     they do that well. Used the other way round — as text on
     cream or white — they lose a lot: magenta #DA55A7 on cream
     is 3.3:1 where WCAG AA wants 4.5:1 for body copy, so the
     magenta type keeps the hue and loses some lightness.

     Teal deliberately does NOT do this. Lara wants #2BCCB7 as
     written wherever teal is set in type, and it is: the
     "Clients are saying" heading, "Systems & operations",
     "Pick your path". On cream that measures 1.9:1. It is her
     brand and her call — the point of saying so here is that
     it is a decision, not an oversight, so nobody "corrects"
     it later. See the README's contrast table.

     The slate band moved the same way as the magenta and for the
     same reason: white body copy on the sampled #6A7891 came to
     4.46:1, just under AA, and #66748D brings it to 4.8:1
     without reading as a different colour. */
  --magenta-ink:  #B03A82;   /* 5.2:1 on cream, 4.6:1 on the yellow pills */

  /* The offset-card frame, sampled from the design */
  --card-line:    #0A66C2;
  --card-ring:    #F8E3FF;
  --card-shadow:  #A5F3FF;

  --ink: var(--navy);

  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --wrap:      1024px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --radius:    22px;
  --radius-lg: 30px;

  --nav-h: 60px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* `height: auto` is load-bearing: every <img> carries width/height attributes
   (so the browser can reserve space and avoid layout shift), and those map to a
   presentational `height` that would otherwise beat any `aspect-ratio` set here. */
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.02; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: .7rem 1.1rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 8px; }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }
.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); }

/* Display type scale */
.display-xl {
  font-size: clamp(2.35rem, 5.3vw, 3.1rem);
  font-stretch: 106%; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: .96;
  text-transform: uppercase;
}
.display-lg {
  font-size: clamp(2.1rem, 6.4vw, 3.15rem);
  font-stretch: 112%; font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display-md {
  font-size: clamp(1.75rem, 5.4vw, 2.7rem);
  font-stretch: 110%; font-weight: 800;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
}

.lede  { font-size: clamp(1rem, 2.4vw, 1.08rem); max-width: 46ch; }
.muted { opacity: .92; }

/* Pill labels ("Finding clarity", "Systems Strategist & Business Coach") */
.tag {
  display: inline-block;
  padding: .5rem 1.15rem .55rem;
  border-radius: 999px;
  font-weight: 700; font-size: .88rem; line-height: 1.3;
  margin: 0;
}
.tag--yellow  { background: var(--yellow);  color: var(--navy); }
.tag--magenta { background: var(--magenta); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700; font-size: .95rem;
  line-height: 1;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease,
              color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--pink { background: var(--magenta); color: var(--white); }
.btn--pink:hover { background: var(--magenta-deep); box-shadow: 0 8px 20px rgba(218,85,167,.32); }

.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: #24B8A5; box-shadow: 0 8px 20px rgba(43,204,183,.35); }

.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

.btn--dark { background: var(--navy); color: var(--cream-card); }
.btn--dark:hover { background: var(--navy-deep); }

.btn--sm { padding: .65rem 1.35rem; font-size: .84rem; }
.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.02rem; }

.link-arrow {
  color: var(--magenta-ink); font-weight: 700; font-size: .95rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-arrow:hover { color: var(--magenta); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
}
/* Not a .wrap: the yellow brand block runs to the viewport's left edge while
   its *contents* still line up with the page's column, so the left padding
   absorbs whatever gap the centred wrap would have left. */
.header__inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding-right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}

.brand {
  display: flex; align-items: center; gap: .65rem;
  background: var(--yellow);
  padding: .7rem clamp(1.25rem, 4vw, 2.4rem) .8rem
           max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  border-bottom-right-radius: 28px;
  text-decoration: none;
  flex: 0 0 auto;
  align-self: stretch;
}
.brand__mark { width: 38px; height: auto; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; gap: .12rem; }
.brand__name {
  font-family: var(--font-display);
  font-stretch: 108%; font-weight: 800;
  font-size: 1.28rem; line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand__role {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); line-height: 1.1;
}

.nav {
  display: flex; align-items: center; gap: 1.35rem;
  padding: .95rem 0;
}
.nav__links { display: flex; align-items: center; gap: .55rem; }
.nav__link {
  font-size: .9rem; font-weight: 500;
  color: var(--navy); text-decoration: underline;
  text-underline-offset: 3px;
  padding: .25rem 0;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); font-weight: 700; }
.nav__sep { color: var(--navy); opacity: .5; font-size: .9rem; }

.nav__toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: .5rem;
}
.nav__toggle span {
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--navy); transition: transform .22s ease, opacity .18s ease;
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 800px) {
  .brand__role { display: none; }
  .brand { padding-block: .85rem; }
  .nav__toggle { display: block; }
  .nav__links,
  .nav > .btn { display: none; }

  .nav__panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 14px 26px rgba(0,0,0,.09);
    display: grid; gap: .35rem;
    padding: 1rem var(--gutter) 1.5rem;
    transform-origin: top;
  }
  .nav__panel[hidden] { display: none; }

  /* No scripting: the toggle can't do anything, so drop it and leave the
     panel open — otherwise there is no navigation at all on a phone. */
  html:not(.js) .nav__toggle { display: none; }
  html:not(.js) .nav__panel[hidden] { display: grid; }
  .nav__panel a {
    font-size: 1.05rem; font-weight: 600;
    text-decoration: none; color: var(--navy);
    padding: .7rem .2rem;
    border-bottom: 1px solid rgba(49,66,95,.14);
  }
  .nav__panel a:last-of-type { border-bottom: 0; }
  .nav__panel .btn { margin-top: .6rem; justify-self: start; }
}
@media (min-width: 801px) {
  .nav__panel { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 5.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.19fr 1fr; }
  /* The headline is set flush right in the source layout — its first line is
     the longest, and each line steps in from there. */
  .hero__copy { text-align: right; }
  .hero__body { margin-left: auto; }
  /* The row is a flex container, so the inherited text-align from
     .hero__copy does not reach it — this is what lines the button's
     right edge up with the headline and body above it. */
  .hero__actions { justify-content: flex-end; }
}
.hero__title { color: var(--navy); margin-bottom: 1.5rem; }
/* Archivo ships a real italic, so this is a true cut rather than a slant. */
.hero__title em { font-style: italic; }
.hero__body { margin-bottom: 2.4rem; max-width: 40ch; font-size: .98rem; }
.hero__actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem;
  margin: 0;
}
/* The layout doesn't show the whole photograph: its window covers 79% of the
   source's width and 67% of its height, matched at r=0.98 by correlating the
   PDF's crop against assets/img/hero-lara.jpg. `object-fit: cover` can only
   pan, never zoom — against a box this shape it fits the full width — so the
   image is sized past the frame and positioned instead. The percentages below
   are that measured window; they belong together, so change them together. */
.hero__figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 365 / 459;
  box-shadow: 0 18px 40px rgba(49,66,95,.14);
}
.hero__figure img {
  position: absolute;
  top: -0.9%;
  left: -6.6%;
  width: 126.6%;
  max-width: none;   /* beats the global img { max-width: 100% } */
  height: auto;
}
@media (max-width: 859px) {
  .hero__figure { width: min(100%, 420px); margin-inline: auto; }
}

/* ---------- You're passionate ---------- */
.passion {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.passion .wrap { position: relative; }
.passion__sparkle { width: clamp(58px, 8vw, 78px); margin: 0 auto 1.6rem; }
.passion__title { color: var(--white); margin-bottom: 1.4rem; }
.passion__body { font-size: .95rem; max-width: 52ch; margin-inline: auto; margin-bottom: 2.4rem; }
.passion__pill { margin: 0; }
.passion__pill span {
  display: inline-block;
  background: var(--yellow);
  color: var(--magenta-ink);
  font-weight: 800; font-style: italic;
  font-size: clamp(.95rem, 2.4vw, 1.1rem);
  padding: .5rem 1.4rem .6rem;
  border-radius: 999px;
}
.passion__arrow {
  position: absolute;
  right: clamp(-10px, 4vw, 40px); bottom: -3.2rem;
  width: clamp(110px, 14vw, 170px);
  pointer-events: none;
}
@media (max-width: 720px) { .passion__arrow { display: none; } }

/* ---------- Meet Lara ---------- */
.meet__title { color: var(--navy); margin-bottom: .9rem; }
.meet__tag { margin-bottom: 2.6rem; }

.meet__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.2rem); }
@media (min-width: 840px) { .meet__grid { grid-template-columns: 330px 1fr; } }

.meet__figure img {
  border-radius: var(--radius);
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  box-shadow: 0 16px 34px rgba(49,66,95,.16);
}
.meet__copy { font-size: .94rem; }
.meet__copy > p { margin-bottom: 1.1em; }

/* Speech-bubble pill with a little tail */
.bubble {
  position: relative;
  display: block;
  background: var(--magenta);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.18rem, 2.6vw, 1.24rem);
  line-height: 1.35;
  padding: 1rem 1.3rem 1.1rem;
  border-radius: 18px;
  margin-bottom: 2rem !important;
}
.bubble::after {
  content: '';
  position: absolute; left: 26px; bottom: -9px;
  width: 22px; height: 13px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 22% 100%);
}

.meet__sign {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem; margin-top: 2.2rem;
}
.meet__signature { width: clamp(150px, 24vw, 195px); }
.meet__more { display: flex; align-items: center; gap: .55rem; font-size: .84rem; margin: 0; }

.icon-link {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 6px;
  color: var(--navy);
  transition: transform .16s ease, color .16s ease;
}
.icon-link:hover { transform: translateY(-2px); color: var(--blue); }
.icon-link svg { width: 22px; height: 22px; }
.icon-link--linkedin { color: var(--blue); }

/* ---------- What I build ---------- */
.build { background: var(--slate); }
.build__title { color: var(--white); margin-bottom: .9rem; }
.build__sub   { color: var(--white); font-size: .98rem; margin-bottom: 2.6rem; }
.build__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.35rem; }
@media (min-width: 720px) { .build__grid { grid-template-columns: 1fr 1fr; } }

.build-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.9rem;
  display: grid; gap: .9rem; align-content: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.build-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(49,66,95,.22); }
.build-card__icon { height: 54px; width: auto; }
.build-card h3 {
  font-family: var(--font-body);
  font-size: 1.06rem; font-weight: 700;
}
.build-card p { font-size: .88rem; line-height: 1.5; }
.build-card--blue    h3 { color: var(--blue); }
.build-card--teal    h3 { color: var(--teal); }
.build-card--magenta h3 { color: var(--magenta-ink); }
.build-card--navy    h3 { color: var(--navy); }

.build__note {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2.4rem;
}
.build__note img { width: 30px; flex: 0 0 auto; }
.build__note span {
  background: var(--yellow); color: var(--magenta-ink);
  font-weight: 700; font-size: .92rem; line-height: 1.45;
  padding: .45rem .9rem .55rem;
  border-radius: 10px;
}
/* Positioned against the grid, not the section, so it keeps the layout's
   relationship to the card it points at: the head crosses the AI card's right
   edge and the tail overhangs the grid. Percentages are of the grid box —
   9.9% wide, tail 5.4% past its right edge, top 46.9% down — measured off
   the PDF.

   It is an absolutely positioned child of the grid container, which means it
   is not a grid item and does not claim a fifth cell.

   Hidden below 1060px rather than 980: the tail sits outside the grid, and
   below that width there is no page margin left for it to sit in. */
.build__arrow {
  position: absolute;
  top: 46.9%; right: -5.4%;
  width: 9.9%;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 1059px) { .build__arrow { display: none; } }

/* ---------- Two ways to work together ---------- */
.ways__title { color: var(--navy); margin-bottom: 3rem; }

.way { margin-bottom: clamp(3rem, 7vw, 4.5rem); }
/* The doodle sits above its kicker rather than beside it, and the kicker
   runs on one line — hence no max-width holding it to a measure. */
.way__kicker {
  font-family: var(--font-display);
  font-stretch: 110%; font-weight: 800;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.6rem;
}
.way__doodle { pointer-events: none; margin-bottom: .9rem; }
.way__doodle--loop { width: clamp(90px, 13vw, 130px); }
.way__doodle--fist { width: clamp(60px, 8vw, 84px); }

/* The two entry points, side by side */
.ways__pair { display: grid; grid-template-columns: 1fr; gap: 1.9rem; }
@media (min-width: 760px) { .ways__pair { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }

/* Three sentences now, not one. The layout holds it to about 69% of the
   grid's width, which is also the measure that keeps it readable. */
.way__note { margin: 1.9rem 0 0; font-size: .92rem; max-width: 64ch; }
.way__cta {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem .9rem;
  margin: 1.1rem 0 0; font-size: .92rem;
}

/* The signature offset card — a blue outline with a pale inner ring, and the
   cyan and magenta blocks stepped out behind its bottom-right corner. */
.offer-card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--card-line);
  border-radius: 18px;
  padding: clamp(1.4rem, 3.5vw, 2rem);
  box-shadow:
    inset 0 0 0 3px var(--card-ring),
    5px 5px 0 0 var(--card-shadow),
    9px 9px 0 0 var(--magenta);
  transition: transform .2s ease, box-shadow .2s ease;
}
.offer-card:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 0 0 0 3px var(--card-ring),
    7px 7px 0 0 var(--card-shadow),
    12px 12px 0 0 var(--magenta);
}
.offer-card--sm { max-width: 34rem; }

.offer-card h4 {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 700; color: var(--blue);
  margin-bottom: .8rem;
}
.offer-card p { font-size: .88rem; line-height: 1.55; }

/* Matches the list's own gap, so heading and bullets keep one rhythm —
   the .8rem the paired cards use reads tight against a 1.1rem list. */
.offer-card--sm h4 { margin-bottom: 1.1rem; }
.plain { display: grid; gap: 1.1rem; font-size: .9rem; line-height: 1.55; }

.ways__cta { position: relative; display: flex; justify-content: flex-end; }
.talk-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 2.8rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  width: min(100%, 460px);
}
.talk-card h3 { color: var(--white); text-transform: none; margin-bottom: 1rem; }
.talk-card p { font-size: .94rem; margin-bottom: 1.8rem; }
.ways__arrow {
  position: absolute; top: 2%;
  right: calc(min(100%, 460px) + 1.5rem);
  width: clamp(90px, 11vw, 130px);
  pointer-events: none;
}
@media (max-width: 860px) { .ways__arrow { display: none; } }

/* ---------- How it works ---------- */
.how {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}
.how__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.how::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(39,53,77,.70) 0%, rgba(39,53,77,.42) 38%, rgba(39,53,77,.22) 100%);
}
.how__title {
  color: var(--white); text-align: center; margin-bottom: 2.2rem;
}

.how__panel {
  background: rgba(253,246,239,.94);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 2.8rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1fr; gap: 2.2rem;
}
@media (min-width: 780px) { .how__panel { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.step { text-align: center; display: grid; gap: .55rem; justify-items: center; align-content: start; }
.step img { height: 52px; width: auto; margin-bottom: .4rem; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; }
.step p { font-style: italic; font-size: .9rem; max-width: 24ch; }
.step--blue    h3 { color: var(--blue); }
.step--teal    h3 { color: var(--teal); }
.step--magenta h3 { color: var(--magenta-ink); }

/* ---------- In practice ---------- */
.practice__title { color: var(--magenta); margin-bottom: 1.4rem; }
.practice__intro { font-size: .95rem; margin-bottom: 2.6rem; }
.practice__title em { font-style: italic; }

.practice__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 760px) { .practice__grid { grid-template-columns: 1fr 1fr; } }

.practice-item { display: grid; gap: 1.2rem; align-content: start; }
.practice-item img {
  border-radius: var(--radius);
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
}
.practice-item p { font-size: .9rem; line-height: 1.6; }
.practice-item strong { font-weight: 700; }

/* The flower sits over the left end of the teal bar, as it does in the
   source layout — hence the negative inline-start margin on wide screens. */
.practice__quote {
  display: flex; align-items: center;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}
.practice__flower {
  width: clamp(72px, 11vw, 122px);
  flex: 0 0 auto;
  margin-right: -2.5rem;
  position: relative; z-index: 2;
}
.practice__quote p {
  background: var(--teal);
  color: var(--navy);
  border-radius: 999px;
  padding: 1.15rem clamp(1.5rem, 4vw, 2.5rem) 1.25rem 3.5rem;
  font-family: var(--font-display);
  font-stretch: 100%; font-weight: 700; font-style: italic;
  font-size: clamp(.98rem, 2.2vw, 1.2rem);
  line-height: 1.35;
  text-align: right;
  flex: 1 1 auto;
}
@media (max-width: 620px) {
  .practice__quote { display: block; }
  .practice__flower { margin: 0 0 -1.75rem 1rem; }
  .practice__quote p { border-radius: var(--radius); padding: 2.25rem 1.4rem 1.4rem; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
/* Brand teal, at Lara's direction. On white this is 2.0:1, under the 3:1
   WCAG asks even of display type — the deliberate exception to the
   ink-variant rule above, kept here rather than left to be rediscovered. */
.testimonials__title { color: var(--teal); font-style: italic; text-align: center; margin-bottom: 3rem; }

/* The carousel is an enhancement, not a requirement. Without JS every
   testimonial is simply on the page, stacked, and the arrows and dots — which
   would have nothing to drive — never appear. site.js adds .is-carousel,
   which is what switches on one-at-a-time. */
.carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
}
@media (min-width: 820px) {
  .carousel { grid-template-columns: auto 1fr auto; gap: 1.5rem; }
}

.carousel__track { display: grid; gap: 3rem; }
.carousel.is-carousel .carousel__track { gap: 0; }
.carousel.is-carousel .testimonial { display: none; }
.carousel.is-carousel .testimonial.is-active { display: grid; }

.carousel__arrow {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  color: var(--navy);
  padding: .5rem;
  border-radius: 50%;
  transition: transform .16s ease, color .16s ease;
}
.carousel.is-carousel .carousel__arrow { display: grid; place-items: center; }
.carousel__arrow svg { width: 34px; height: 26px; }
.carousel__arrow:hover { color: var(--blue); transform: scale(1.08); }
.carousel__arrow[disabled] { opacity: .3; cursor: default; transform: none; }
/* Below the slide on narrow screens, where there is no room either side.
   The rows are explicit: auto-placement put the track between the two
   arrows, leaving one above the card and one below it. */
@media (max-width: 819px) {
  .carousel.is-carousel {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 1.5rem;
  }
  .carousel.is-carousel .carousel__track { grid-row: 1; grid-column: 1 / -1; }
  .carousel.is-carousel [data-carousel-prev] { grid-row: 2; grid-column: 1; }
  .carousel.is-carousel [data-carousel-next] { grid-row: 2; grid-column: 2; }
}

.carousel__dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2rem; }
.carousel__dots:empty { display: none; }
.carousel__dot {
  width: 13px; height: 13px; padding: 0;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  cursor: pointer;
  transition: background-color .16s ease, transform .16s ease;
}
.carousel__dot:hover { transform: scale(1.15); }
.carousel__dot[aria-current="true"] { background: var(--navy); }

.testimonial {
  display: grid; grid-template-columns: 1fr; gap: 1.75rem;
  align-items: start;
}
@media (min-width: 620px) { .testimonial { grid-template-columns: 200px 1fr; gap: 2.5rem; } }

/* The colour block: a starburst over the name, standing in for a photograph. */
.testimonial__mark {
  display: grid; align-content: end;
  aspect-ratio: 1 / 1;
  /* Stacked, the block would otherwise be a full-width square and swamp the
     quote it belongs to. */
  width: min(100%, 200px);
  border-radius: 26px;
  padding: 1.2rem;
  margin: 0;
  background-repeat: no-repeat;
  background-position: 50% 26%;
  background-size: 62% auto;
}
.testimonial__mark span {
  font-family: var(--font-display);
  font-stretch: 108%; font-weight: 800;
  font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Three colourways on rotation, keyed off position — so a new testimonial
   picks up the next colour with nothing to set by hand. */
.testimonial:nth-child(3n+1) .testimonial__mark {
  background-color: var(--blue); color: var(--cream-card);
  background-image: url(../art/star-burst-yellow.png);
}
.testimonial:nth-child(3n+2) .testimonial__mark {
  background-color: var(--yellow); color: var(--navy);
  background-image: url(../art/star-burst-cream.png);
}
.testimonial:nth-child(3n+3) .testimonial__mark {
  background-color: var(--magenta); color: var(--cream-card);
  background-image: url(../art/star-burst-cream.png);
}

.testimonial__name {
  font-family: var(--font-body);
  font-weight: 700; font-size: 1.06rem; line-height: 1.35;
  margin-bottom: 1.25rem;
}
.testimonial__name span { display: block; font-weight: 500; }
.testimonial blockquote { margin: 0; font-size: .96rem; line-height: 1.65; }

/* ---------- Let's talk ---------- */
.talk { background: var(--navy); color: var(--white); text-align: center; overflow: hidden; }
.talk__title { color: var(--white); text-transform: none; margin-bottom: 1.1rem; }
.talk__text { font-size: 1rem; margin-bottom: 2rem; }
.talk__arrow {
  position: absolute;
  top: 26%; left: 27%;
  width: clamp(105px, 12vw, 150px);
  z-index: 2; pointer-events: none;
}
@media (max-width: 860px) { .talk__arrow { display: none; } }

.socials { display: flex; justify-content: center; gap: .85rem; margin-top: 2.2rem; }
.social-circle {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .16s ease, filter .16s ease;
}
.social-circle:hover { transform: translateY(-3px); filter: brightness(1.08); }
.social-circle svg { width: 22px; height: 22px; }
.social-circle--yellow { background: var(--yellow); color: var(--navy); }
.social-circle--blue   { background: var(--blue);   color: var(--white); }
.social-circle--teal   { background: var(--teal);   color: var(--navy); }

/* Pill-shaped section headings (Questions page) */
.pill-title {
  display: inline-block;
  padding: .6rem 1.7rem .75rem;
  border-radius: 999px;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.pill-title--magenta { background: var(--magenta); }
.pill-title--dark    { background: var(--navy); }

/* ---------- Footer ---------- */
.footer {
  background: var(--teal);
  color: var(--navy);
  padding-block: clamp(3rem, 7vw, 4.25rem);
}

.footer__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 3.5rem); }
@media (min-width: 880px) { .footer__grid { grid-template-columns: 1.4fr 1fr; } }

.footer__title {
  font-family: var(--font-display);
  font-stretch: 110%; font-weight: 800;
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  /* The source layout sets this in cream, which is 1.9:1 on the teal — below
     the 3:1 WCAG asks even for large text. Navy keeps the same weight on the
     page and reads at 5:1. See README → "Two colours that did not survive". */
  color: var(--navy);
}
.footer__cta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  margin-bottom: 2.2rem;
}
.footer__meta { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 560px) { .footer__meta { grid-template-columns: auto 1fr; gap: 2.5rem; } }

.footer__email { font-size: .86rem; line-height: 1.7; margin-bottom: 1rem; }
.footer__email a { text-underline-offset: 3px; }
.footer__id { font-size: .86rem; line-height: 1.75; }
.footer__id strong { font-weight: 700; }

.footer__substack {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .88rem;
  text-decoration: none;
}
.footer__substack:hover { text-decoration: underline; }
.footer__substack svg { width: 18px; height: 18px; }

/* The column is sized to the form and pushed right as a block, rather than
   end-aligning each child: the heart and signature are narrower than the
   input, so `justify-items: end` hung them off its right edge instead of
   centring them over it. */
.footer__side { display: grid; justify-items: center; }
@media (min-width: 880px) {
  .footer__side { justify-self: end; width: min(100%, 22rem); }
}
.footer__heart { width: clamp(72px, 10vw, 96px); }
.footer__signature { width: clamp(150px, 22vw, 190px); margin-bottom: 1.6rem; }

/* --- Email signup --- */
.signup { width: 100%; max-width: 22rem; }
.signup__row { display: grid; gap: .65rem; justify-items: stretch; }

.signup input[type="email"] {
  font-family: var(--font-body); font-size: .95rem;
  padding: .8rem 1.15rem;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--white); color: var(--navy);
  width: 100%; min-width: 0;
}
.signup input[type="email"]::placeholder { color: #8b8b8b; }
.signup input[type="email"]:focus-visible { outline-color: var(--navy); }
.signup button { justify-self: center; }

.signup__notice {
  font-size: .8rem; line-height: 1.5;
  margin: .9rem 0 0;
  text-align: center;
}
.signup__fineprint {
  font-size: .72rem; line-height: 1.6;
  max-width: 22rem; margin: 1rem 0 0;
  opacity: .9;
}
.signup__fineprint a { text-underline-offset: 2px; }

.signup__msg {
  margin-top: 1rem; font-size: .86rem; font-weight: 600;
  padding: .7rem 1rem; border-radius: 12px;
  background: var(--white); color: var(--navy);
  text-align: center;
}
.signup__msg[hidden] { display: none; }
.signup__msg--error { background: #3A1226; color: #FFD9EF; }

.signup button[disabled] { opacity: .6; cursor: progress; }

/* Honeypot — clipped rather than pushed off-canvas, so it can never
   contribute to the document's scroll width. */
.hp {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* --- Colophon --- */
.colophon {
  background: var(--cream-card);
  color: var(--navy);
  text-align: center;
  padding: 1.6rem var(--gutter);
  font-size: .72rem; line-height: 1.7;
}
.colophon p { max-width: 68ch; margin-inline: auto; }
.colophon .copy { margin-top: .5rem; }

/* ============================================================
   Questions (FAQ) page
   ============================================================ */
.faq { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.faq__intro { font-style: italic; font-size: 1rem; margin-bottom: 2.5rem; }
.faq__list { display: grid; gap: .8rem; max-width: 780px; }

.faq-item {
  border: 2px solid rgba(49,66,95,.18);
  border-radius: 16px;
  background: var(--cream-card);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: var(--blue); box-shadow: 4px 4px 0 0 var(--teal); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.35rem;
  font-weight: 700; font-size: .98rem; color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 1.35rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-item__body { padding: 0 1.35rem 1.3rem; font-size: .92rem; line-height: 1.65; }

/* ============================================================
   Work / case studies page
   ============================================================ */
.work-hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); }
.work-hero__lede { font-size: clamp(1rem, 2.6vw, 1.1rem); max-width: 52ch; margin-top: 1.5rem; }

.cases { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }

.case {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .case { grid-template-columns: 1fr 1fr; }
  .case:nth-child(even) .case__figure { order: 2; }
}
.case__figure img {
  border-radius: var(--radius);
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.case__tag {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--teal); color: var(--navy);
  margin-bottom: 1rem;
}
.case__title {
  font-family: var(--font-display);
  font-stretch: 108%; font-weight: 800;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  color: var(--navy);
  margin-bottom: 1rem; line-height: 1.15;
}
.case__body p { font-size: .95rem; }
.case__result {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 2px solid rgba(49,66,95,.2);
  font-weight: 700; color: var(--blue); font-size: .92rem;
}

.work-note {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.work-note h2 {
  font-family: var(--font-display);
  font-stretch: 108%; font-weight: 800;
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  color: var(--navy); margin-bottom: .75rem;
}
.work-note p { color: var(--navy); max-width: 54ch; margin-inline: auto; margin-bottom: 1.6rem; }

/* ============================================================
   Thanks / confirmed pages (Brevo's redirect targets)
   ============================================================ */
.thanks { text-align: center; }
.thanks .wrap { max-width: 660px; }
.thanks__star { width: 58px; margin: 0 auto 1.5rem; }
.thanks__title { color: var(--navy); margin-bottom: 1.5rem; }
.thanks__lede { font-size: clamp(1rem, 2.6vw, 1.1rem); margin-bottom: 1.5rem; }
.thanks__note { font-size: .92rem; margin-bottom: 2.5rem; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* ---------- Reveal on scroll ----------
   Content is visible by default and is only hidden once JS has armed the
   animation (adding .js-reveal to <html>). If the script never runs, fails,
   or misses an element, the section still shows — an animation must never be
   able to make copy permanently invisible. */
.reveal.is-visible {
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.8,.3,1);
}
.js-reveal .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .reveal.is-visible { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .talk__arrow, .socials, .signup, .reveal { break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}
