/* ==========================================================================
   Work With Me (page-id-24), the shorter version (18 Nov 2026, preview only, nothing is live).
   Julia: "way too long and overwhelming ... I think a card section similar to the homepage one would be better".
   So the four services are the homepage's "Ways to work together" cards (mg-ways, styles in site.css), and the rest of
   the page uses the homepage's gd- shapes (design.css). Every section carries the class gd-p-wwm, so every rule below is
   scoped to this page.
   ========================================================================== */

/* ---------- 1. Opening: the homepage hero's frame and columns ----------
   The title is not "hero__title" on purpose: the theme's script turns a hero__title with an <em> into the homepage's
   changing words. Same face, weight and line height as the homepage title, one step smaller because this title runs
   to two sentences. */
.gd-p-wwm.mg-gh h1.gd-page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 4.4vw, 64px); line-height: 1.06;
  letter-spacing: -.01em; margin: 22px 0 0; max-width: 640px; text-wrap: balance; }
.gd-p-wwm.mg-gh h1.gd-page-title em { display: block; font-style: italic; color: var(--accent); }
/* three lines under the title: the homepage's lead, one reading line, the homepage's bold line above the buttons */
.gd-p-wwm.mg-gh p.mg-gh__lead { margin: 28px 0 0; max-width: 560px; }
.gd-p-wwm.mg-gh p.gd-hero-text { font-size: 17px; line-height: 1.7; max-width: 560px; margin: 12px 0 0; }
.gd-p-wwm.mg-gh p.mg-gh__promise { margin-top: 20px; }
/* no caption under the photo (the homepage's caption is not in this page's copy), so the frame closes evenly */
.gd-p-wwm.mg-gh--framed .mg-gh__figure { padding-bottom: 22px; }
/* Julia is on the right of this landscape photo; the portrait frame keeps her face and the client's shoulder */
.gd-p-wwm.mg-gh--framed .mg-gh__photo img { object-position: 80% 30%; }

/* ---------- 2. Find your starting point: short now, so the homepage's split head on Linen, the title on the left and
   her three lines beside it. Its corridor photo moved to the dark section, where the homepage has a photo too (and the
   cards just below already open with the colonnade walker, a near twin of this photo). ---------- */
.gd-wwm-start .gd-split-head { padding-bottom: 0; align-items: start; }
.gd-wwm-start .gd-split-head h2.gd-title { max-width: 620px; }
.gd-wwm-start .gd-split-head__aside p.gd-lead { margin-top: 34px; }
.gd-wwm-start .gd-split-head__aside p.gd-text { margin-top: 16px; }
.gd-wwm-start .gd-split-head__aside p.gd-pull { margin-top: 28px; }

/* ---------- 3. The four services: the homepage's "Ways to work together" cards ----------
   The section head is centred (this page's title has no intro beside it, so the homepage's two-column head would leave
   its right half empty). */
.gd-wwm-ways .mg-ways__head { display: block; text-align: center; }
/* the cards' links name the whole service ("Explore the Career Strategy Session"), longer than the homepage's
   "Explore the programme": the text links' phone size (12px, .06em) and a slightly narrower gap keep each on one line
   in a quarter-width card at 1440; on narrower laptops a long link wraps with its arrow after the last word */
.gd-wwm-ways .mg-ways__grid { column-gap: clamp(20px, 1.8vw, 26px); }
.gd-wwm-ways .mg-way > .text-link a { font-size: 12px; letter-spacing: .06em; white-space: normal; display: inline-block; padding-block: 12px; }
.gd-wwm-ways .mg-way > .text-link a::after { display: inline-block; vertical-align: middle; }
/* the card names a touch under the homepage's 26px, so "Career Strategy Session" fits one line in a quarter-width card at
   1440 and "Session" never sits alone */
:root .gd-wwm-ways .mg-way h3.mg-way__name { font-size: clamp(22px, 1.75vw, 25px); }
/* links from other pages land on the card itself, below the sticky menu */
.gd-wwm-ways .mg-way, .gd-p-wwm #group-coaching { scroll-margin-top: 130px; }
/* The Next Chapter's Paris window photo is wide: keep the notebook and the window in the portrait frame */
.gd-wwm-ways #the-next-chapter .mg-way__photo img.wp-image-17 { object-position: 22% 50%; }   /* the window notebook only (23 Nov: the olive path card is centred, as on Home) */

/* Group coaching (coming soon): a slim row under the cards, on the homepage's fine rule, the words on the left and the
   waitlist on the right, its fields side by side */
.gd-wwm-group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(48px, 6vw, 96px); align-items: start;
  margin-top: clamp(56px, 6vw, 88px) !important; padding-top: clamp(40px, 4vw, 52px); border-top: 1px solid var(--rule); }
.gd-wwm-group .eyebrow { margin-bottom: 14px; }
.mg h3.gd-wwm-group__title { font-family: var(--serif-text); font-weight: 600; font-size: clamp(24px, 2vw, 28px); line-height: 1.2; letter-spacing: 0; }
.mg p.gd-wwm-group__text { margin-top: 14px; font-size: 17px; line-height: 1.7; max-width: 440px; }
.gd-wwm-group form.waitlist-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 0; max-width: 640px; }
.gd-wwm-group form.waitlist-form .field { margin: 0; }
.gd-wwm-group form.waitlist-form p.form-small { margin: 0; }
.gd-wwm-group form.waitlist-form > :not(.field:nth-of-type(1), .field:nth-of-type(2)) { grid-column: 1 / -1; }
.gd-wwm-group form.waitlist-form textarea { min-height: 0; height: 84px; }
.gd-wwm-group form.waitlist-form button[type="submit"] { justify-self: start; }

/* ---------- 4. What makes our work different (the page's one dark section) ----------
   The corridor photo under the title, as the homepage's "Why work with me?" has its desk photo there; in the 4:3 frame
   the walker stays in the middle of the light */
.gd-wwm-diff .gd-why__photo img { object-position: 50% 66%; }
.gd-why__list > p.gd-wwm-diff__lead:first-child { margin-top: 0; }
.gd p.gd-strong.gd-wwm-diff__both { margin-top: 30px; }
/* her two perspectives as numbered points under a fine rule (the homepage list starts without one) */
.gd-wwm-diff__points { margin-top: 26px; }
.gd-wwm-diff .gd-wwm-diff__points .gd-point:first-child { padding-top: 30px; border-top: 1px solid var(--rule); }
.gd-wwm-diff .gd-why__note { margin-top: 26px; }
.gd-wwm-diff .gd-why__note p.gd-strong { margin-top: 18px; }
/* two closing lines that answer each other sit together */
.gd p.gd-strong.gd-wwm-pair + p.gd-strong.gd-wwm-pair { margin-top: 4px; }

/* ---------- 5. The G.L.O.W.T.H. Method: a compact grid of six, three to a row, the gold letters spelling GLOWTH ---------- */
.gd-wwm-method .gd-head { margin-bottom: clamp(44px, 4.5vw, 64px); }
.gd-wwm-glow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(32px, 3.4vw, 56px); }
.gd-wwm-glow__item { padding-top: 28px; border-top: 1px solid var(--rule); }
.gd .gd-wwm-glow__item p.gd-card__num { font-size: 38px; margin-bottom: 18px; }
.gd .gd-wwm-glow__item h3.gd-card__title { font-size: clamp(21px, 1.65vw, 24px); line-height: 1.25; }
.gd .gd-wwm-glow__item p.gd-card__text { margin-top: 10px; max-width: 340px; text-wrap: pretty; }
.gd-wwm-method .gd-centre-close { margin-top: clamp(56px, 6vw, 80px); }
.gd-wwm-method .gd-centre-close p.gd-text { margin-top: 0; text-wrap: balance; }
.gd-wwm-method .gd-centre-close p.gd-end { margin-top: 16px; }

/* ---------- 6. How to get started: four steps side by side under fine rules, then the call button centred ---------- */
.gd-wwm-steps .gd-head { margin-bottom: clamp(44px, 4.5vw, 64px); }
.gd-wwm-steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 2.6vw, 40px); }
.gd-wwm-step { padding-top: 28px; border-top: 1px solid var(--rule); }
.gd .gd-wwm-step p.gd-card__num { margin-bottom: 20px; }
.gd .gd-wwm-step h3.gd-card__title { font-size: clamp(21px, 1.65vw, 24px); line-height: 1.25; }
/* plain wrapping in these narrow columns: "pretty" wrapping left ragged short lines here */
.gd .gd-wwm-step p.gd-card__text { margin-top: 12px; text-wrap: wrap; }
.gd-wwm-steps__cta { margin-top: clamp(48px, 5vw, 64px); }
.gd-wwm-steps__cta .wp-block-buttons { justify-content: center; }
.gd .gd-wwm-steps__cta .wp-block-buttons { margin-top: 0; }

/* ---------- 7. Dr M.W.'s recommendation, on Linen ----------
   Centred, the quote ran to five lines (eight on a phone); her guide keeps centred paragraphs to three lines, so it reads
   from the left: her headline as the title on the left, the quote beside it on a fine gold rule, then the name and role. */
.gd-wwm-quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px clamp(48px, 6vw, 110px); align-items: start; }
.gd p.gd-wwm-quote__headline { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3vw, 44px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; max-width: 520px; }
.gd p.gd-wwm-quote__text { padding-left: 26px; border-left: 1px solid var(--gd-gold); font-family: var(--serif-text); font-style: italic; font-weight: 500;
  font-size: clamp(21px, 1.7vw, 24px); line-height: 1.5; max-width: 640px; text-wrap: pretty; }
.gd p.gd-wwm-quote__name { margin-top: 26px; padding-left: 27px; font-size: 13px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.gd p.gd-wwm-quote__role { margin-top: 6px; padding-left: 27px; font-size: 15px; line-height: 1.5; color: var(--label); text-wrap: balance; }

/* ---------- 8. Questions you might have: the heading stays in view beside the questions ---------- */
.gd-wwm-qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(48px, 6vw, 110px); align-items: start; }
.gd-wwm-qa__head { position: sticky; top: 112px; }
.gd-wwm-qa__list { max-width: 760px; }

/* ---------- 9. The closing call: the homepage's call band, with Julia's desk photo (moved here from the cut
   "What working with me feels like"). The words are short now, so photo and words sit centred on each other. ---------- */
.gd-wwm-close .gd-call__grid { align-items: center; }
.gd-wwm-close .gd-call__photo { position: relative; top: auto; }
.gd-wwm-close .gd-call__photo figure.gd-call__img img { object-position: 54% 40%; }
.gd-wwm-close h2.gd-title.gd-call__title { font-size: clamp(40px, 3.8vw, 54px); line-height: 1.06; }
.gd-wwm-close p.gd-call__beat { margin-top: 28px; }
.gd-wwm-close .gd-call__copy p.gd-call__beat + p.gd-text { margin-top: 18px; }
.gd-wwm-close__ask { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-top: 22px; }
.gd .gd-wwm-close__ask p { margin: 0; }

/* ---------- every page link: a 44px tap target (the theme's text links measure 42px) ---------- */
.gd-p-wwm .text-link a { padding-block: 11px; }

/* ---------- tablets and phones ---------- */
@media (max-width: 900px) {
  .gd-wwm-group, .gd-wwm-qa, .gd-wwm-quote__grid { grid-template-columns: minmax(0, 1fr); }
  .gd-wwm-qa__head { position: static; }
  .gd-wwm-steps__grid, .gd-wwm-glow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gd-p-wwm.mg-gh h1.gd-page-title { font-size: 38px; line-height: 1.08; }
  .gd-wwm-ways .mg-ways__head { text-align: left; }
  /* the four steps on a phone: the number beside the title and line, as the six letters above, so the list stays short */
  .gd-wwm-steps__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gd-wwm-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding-block: 22px; }
  .gd .gd-wwm-step p.gd-card__num { grid-row: span 2; font-size: 26px; margin: 0; }
  .gd .gd-wwm-step p.gd-card__text { grid-column: 2; margin-top: 6px; }
  .gd-wwm-steps__cta { margin-top: 36px; }
  /* Find your starting point: the title and her lines closer together once they stack */
  .gd-wwm-start .gd-split-head__aside p.gd-lead { margin-top: 0; }
  .gd-wwm-method .gd-centre-close p.gd-text { text-wrap: pretty; }
  /* the questions wrap evenly on a phone, so no last word sits alone ("promoted?") */
  .gd-wwm-faq summary { text-wrap: balance; }
  /* the six letters on a phone: the letter beside its name and line, so the grid stays short */
  .gd-wwm-glow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gd-wwm-glow__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding-block: 22px; }
  .gd .gd-wwm-glow__item p.gd-card__num { grid-row: span 2; font-size: 30px; margin: 0; }
  .gd .gd-wwm-glow__item p.gd-card__text { grid-column: 2; margin-top: 4px; }
  /* "G.L.O.W.T.H.™ Method" fits one line at 32px, so "Method" never sits alone */
  .gd-wwm-method h2.gd-title { font-size: 32px; }
  .gd-wwm-method .gd-centre-close { margin-top: 40px; }
  .gd p.gd-wwm-quote__headline { font-size: 30px; }
  .gd p.gd-wwm-quote__text { padding-left: 20px; }
  .gd :is(p.gd-wwm-quote__name, p.gd-wwm-quote__role) { padding-left: 21px; }
  .gd-wwm-group form.waitlist-form { grid-template-columns: minmax(0, 1fr); }
  .gd-wwm-close h2.gd-title.gd-call__title { font-size: 36px; line-height: 1.08; }
  /* the steps read from the left on a phone, so their button lines up with them */
  .gd-wwm-steps__cta .wp-block-buttons { justify-content: flex-start; }
}

/* ---------- round 13 (18 Nov late) ----------
   Julia: "please make the eyebrow of the career strategy session on 2 lines like the 3 other cards, so they all align".
   Its format line now breaks after "60 minutes ·" (a <br> in the markup), and every format line keeps two lines'
   height, so the four service names start on one line at every laptop width. */
.gd-wwm-ways .mg-way p.mg-way__format { min-height: calc(2 * 1.65em); }
/* Julia: "add the group image below the Group Coaching elevate your career alongside intimate cohort..." (#198) */
.gd-wwm-group .gd-wwm-group__photo { margin-top: 28px; max-width: 440px; }
.gd-wwm-group .gd-wwm-group__photo img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
@media (max-width: 900px) {
  .gd-wwm-group .gd-wwm-group__photo { max-width: none; }
}
/* on phones the cards stack one per row, so there is nothing to align: the Career Strategy Session format line reads on
   one line like the others */
@media (max-width: 781px) {
  .gd-wwm-ways .mg-way p.mg-way__format { min-height: 0; }
  .gd-wwm-ways .mg-way p.mg-way__format br { display: none; }
}

/* ---------- 19 Nov 2026, Julia's audit: "Where should you start?", the three ways in, at the foot of Find your starting
   point and just before the coaching cards. Three columns split by fine Trench rules (like the homepage strip); one per
   row on phones. Type follows the title rule: Display SemiBold at 30px and up, Noto Serif Medium under 30px, no serif
   under 20px. ---------- */
.gd-wwm-choose { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--wp--preset--color--trench, #B6A693); }
.gd .gd-wwm-choose h3.gd-wwm-choose__title { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 38px); line-height: 1.15; margin: 0 0 clamp(28px, 3vw, 42px); }
.gd-wwm-choose__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-wwm-choose__item { display: flex; flex-direction: column; padding: 2px clamp(20px, 2.4vw, 36px) 0; border-left: 1px solid var(--wp--preset--color--trench, #B6A693); }
.gd-wwm-choose__item:first-child { padding-left: 0; border-left: 0; }
.gd-wwm-choose__item:last-child { padding-right: 0; }
.gd .gd-wwm-choose p.gd-wwm-choose__q { font-family: var(--serif-text); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.45; color: var(--accent); margin: 0; text-wrap: pretty; }
.gd .gd-wwm-choose h4.gd-wwm-choose__name { font-family: var(--serif-text); font-weight: 500 !important; font-size: clamp(22px, 1.7vw, 25px); line-height: 1.25; margin: 18px 0 0; }
.gd .gd-wwm-choose p.gd-wwm-choose__text { font-size: 15.5px; line-height: 1.65; margin: 10px 0 0; max-width: 360px; text-wrap: pretty; }
.gd-wwm-choose .gd-wwm-choose__link, .gd-wwm-choose__item > .wp-block-buttons { margin-top: auto; padding-top: 20px; }
@media (max-width: 781px) {
  .gd-wwm-choose__grid { grid-template-columns: 1fr; }
  .gd-wwm-choose__item, .gd-wwm-choose__item:first-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--wp--preset--color--trench, #B6A693); }
  .gd-wwm-choose__item:first-child { border-top: 0; padding-top: 0; }
  .gd-wwm-choose__item:last-child { padding-bottom: 0; }
  .gd .gd-wwm-choose p.gd-wwm-choose__text { max-width: none; }
}

/* Work With Me harmony pass (20 Nov 2026, her "Yes, put it live"): Words, order, photos and colours unchanged.
   The same system as Home, About and the programme pages: section titles 56 centred, 48 beside words or a photo;
   chapter titles 38; ONE serif size (24) for serif lines, card, step and service names; no serif under 20;
   gold numbers only on steps (the six G.L.O.W.T.H. letters stay: they spell the method). */

/* 1. Section titles: 56 when centred ("Let's find the right way forward." was 49);
      48 beside words or a photo ("Not every career move needs the same kind of support." was 56; the closing call was 54 on four lines) */
.gd-wwm-ways .mg-ways__head h2 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.06; }
.gd-wwm-start .gd-split-head h2.gd-title { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.08; }
.gd-wwm-close h2.gd-title.gd-call__title { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.08; }

/* 2. Chapter titles inside a section: Display 38, like "Where should you start?" ("Group coaching" was Noto Serif 28) */
.mg h3.gd-wwm-group__title { font-family: var(--serif); font-size: clamp(30px, 2.65vw, 38px); line-height: 1.12; letter-spacing: -.01em; }

/* 3. One serif size (24) for every serif line and every name (were 21.6, 23, 24, 24.5 and 25) */
.gd-p-wwm p:is(.gd-lead, .gd-end, .gd-strong, .gd-pull) { font-size: clamp(20px, 1.65vw, 24px); line-height: 1.45; }
:root .gd-wwm-ways .mg-way h3.mg-way__name,
.gd .gd-wwm-choose h4.gd-wwm-choose__name,
.gd-wwm-diff h3.gd-point__title { font-size: clamp(21px, 1.65vw, 24px); line-height: 1.25; }
/* the four cards' italic lines: 20, her guide's minimum for the serif (were 17) */
.gd-wwm-ways .mg-way p.mg-way__benefit { font-size: 20px; line-height: 1.4; }

/* 4. Gold numbers only on steps: "The practical" and "The personal" are two sides, not steps, so they drop their 01 and 02
      (which were also 28px, under the 30px minimum); the four steps keep theirs */
.gd-wwm-diff p.gd-point__num { display: none; }
.gd-wwm-diff .gd-point { display: block; }

/* 5. The closing call: one title, then "You just need a starting point." as its serif line (24) instead of a second title (36) */
.gd-wwm-close p.gd-call__beat { font-family: var(--serif-text); font-weight: 500; font-size: clamp(20px, 1.65vw, 24px); line-height: 1.45;
  letter-spacing: 0; margin-top: 26px; }

/* Phones: page title 36 and section titles 34, as on the other pages. This block stays LAST */
@media (max-width: 640px) {
  .gd-p-wwm.mg-gh h1.gd-page-title { font-size: 36px; line-height: 1.1; }
  .gd-wwm-ways .mg-ways__head h2 { font-size: 34px; line-height: 1.1; }
  /* small titles and names 22, as on the programme pages (were 21). The Method title keeps 32: at 34 "Method" falls to a third line on its own */
  :root .gd-wwm-ways .mg-way h3.mg-way__name,
  .gd .gd-wwm-choose h4.gd-wwm-choose__name,
  .gd-wwm-diff h3.gd-point__title,
  .gd .gd-wwm-glow__item h3.gd-card__title,
  .gd .gd-wwm-step h3.gd-card__title { font-size: 22px; }
}
