/* ==========================================================================
   TTHC v3 — Home, sections 2 to 8 (everything after the hero).
   Owned by the home builder. Composes base.css components; every rule is
   scoped to a home section class. Colours and type come from tokens only.
   ========================================================================== */

.hm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 20 · Where would you like to start? ---------- */
.sec--start { padding-top: clamp(56px, 6.5vw, 104px); padding-bottom: clamp(40px, 4.5vw, 72px); }
.start__head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.start__head h2 { margin: 0; }
.start__grid {
  list-style: none; display: grid; gap: clamp(14px, 1.7vw, 24px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
}
.start__item { display: flex; min-width: 0; }
.start__item--self { grid-row: span 2; }

.sec--start .choice {
  --field: var(--mint); --art-fill: var(--sage); --art-line: var(--garden); --pad: clamp(26px, 3vw, 44px); --go: 54px;
  position: relative; isolation: isolate; overflow: hidden; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; column-gap: 1.25rem;
  min-height: 292px; padding: var(--pad); border-radius: var(--r-lg);
  background: var(--field); color: var(--ink);
}
.sec--start .choice[data-field="blush"] { --field: var(--blush); --art-fill: var(--rose); --art-line: var(--rose-deep); }
.sec--start .choice[data-field="lilac"] { --field: var(--lilac); --art-fill: var(--lilac-mid); --art-line: var(--lilac-deep); }
.sec--start .choice:hover { box-shadow: var(--shadow-lift); }

.choice__text { grid-column: 1; grid-row: 2; align-self: end; }
.choice__title { margin: 0 0 .5rem; max-width: 13ch; font-size: clamp(1.65rem, 1.25rem + 1.1vw, 2.3rem); line-height: 1.08; letter-spacing: -.012em; font-weight: 350; }
.start__item--self .choice__title { max-width: 10ch; font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.4rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 300; }
.choice__line { margin: 0; max-width: 25ch; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; }
.start__item--self .choice__line { font-size: 1.15rem; max-width: 28ch; }
.choice__nw { white-space: nowrap; }

.choice__go {
  grid-column: -2; grid-row: -2; align-self: end;
  display: grid; place-items: center; width: var(--go); height: var(--go); border-radius: 50%;
  background: var(--white); color: var(--forest); box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s;
}
.choice__go .ico { width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.sec--start .choice:hover .choice__go { background: var(--garden); color: #fff; }
.sec--start .choice:hover .choice__go .ico { transform: translateX(3px); }

/* the botanical line-work: an ink line over a slightly offset watercolour wash.
   One sprig = me; two leaves leaning together = someone I care about; a ring = a group. */
.choice__art {
  position: absolute; z-index: -1; pointer-events: none; overflow: visible;
  top: calc(var(--pad) * .7); right: var(--pad); width: auto; height: calc(100% - var(--pad) * 1.7 - var(--go) - 12px);
  transform-origin: 50% 100%; transition: transform 1.1s var(--ease-out);
}
.start__item--self .choice__art { top: 7%; right: 12%; height: 66%; }
.choice__art .w { fill: var(--art-fill); stroke: none; opacity: .62; }
.choice__art .l, .choice__art .s { fill: none; stroke: var(--art-line); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .62; }
.choice__art .s { vector-effect: non-scaling-stroke; }
.sec--start .choice:hover .choice__art { transform: rotate(-2deg); }

/* tablet: one column; the drawing takes its own column between the words and the arrow */
@media (max-width: 960px) {
  .start__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .start__item--self { grid-row: auto; }
  .sec--start .choice { min-height: 0; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto; align-items: end; }
  .choice__art, .start__item--self .choice__art { position: relative; inset: auto; grid-column: 2; grid-row: 1; align-self: center; height: 150px; margin: -8px 0; }
  .start__item--self .choice__art { height: 210px; }
  .choice__text { grid-row: 1; }
  .choice__go { grid-column: 3; grid-row: 1; }
  .choice__title, .start__item--self .choice__title { max-width: 14ch; }
}
/* phones: the drawing sits small in the top corner, words below, arrow bottom right */
@media (max-width: 560px) {
  .sec--start .choice { --go: 48px; padding: 22px 22px 22px 24px; column-gap: .9rem; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; }
  .choice__art, .start__item--self .choice__art { grid-column: 1 / -1; grid-row: 1; justify-self: end; align-self: start; height: 96px; margin: -4px -2px 4px 0; }
  .start__item--self .choice__art { height: 132px; }
  .choice__text { grid-row: 2; }
  .choice__go { grid-column: 2; grid-row: 2; }
  .choice__title { font-size: 1.6rem; }
  .start__item--self .choice__title { font-size: 2.05rem; }
  .choice__line, .start__item--self .choice__line { font-size: 1.02rem; }
}

/* ---------- 30 · What happens when you get in touch ---------- */
.sec--steps { --col-gap: clamp(28px, 4.5vw, 72px); padding-top: clamp(40px, 5vw, 80px); }
/* the head shares the steps' three-column grid: the photo sits exactly above step 3 */
.steps-home__head {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--col-gap);
  align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px);
}
.steps-home__head h2 { grid-column: 1 / 3; margin: 0; max-width: 15ch; }
.steps-home__room { grid-column: 3; margin: 0; width: 100%; max-width: 400px; }
.steps-home__room .photo { aspect-ratio: 437 / 258; border-radius: 28px; }
.steps-home__room figcaption { margin-top: .75rem; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }

.sec--steps .steps-home { column-gap: var(--col-gap); }
.sec--steps .steps-home h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); }
.sec--steps .steps-home p { max-width: 24em; }

/* a quiet vine that grows from each numeral towards the next, ending in a leaf */
.steps-home__vine { position: absolute; top: 1.8rem; left: 3.3rem; right: 1.8rem; height: 2px; pointer-events: none; }
.steps-home__vine::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--rose), var(--sage));
  transform-origin: 0 50%; transition: transform 1.2s var(--ease-out) .3s;
}
.steps-home__vine::after {
  content: ""; position: absolute; right: -15px; top: 50%; width: 14px; height: 19px; margin-top: -9.5px;
  background: var(--sage);
  -webkit-mask: url(../assets/leaf.svg) center / contain no-repeat; mask: url(../assets/leaf.svg) center / contain no-repeat;
  transform: rotate(90deg); transition: opacity .6s var(--ease-out) 1.2s, transform .8s var(--ease-out) 1.2s;
}
.steps-home > li:nth-child(2) .steps-home__vine::before { transition-delay: .9s; }
.steps-home > li:nth-child(2) .steps-home__vine::after { transition-delay: 1.8s; }
html.js .steps-home:not(.in) .steps-home__vine::before { transform: scaleX(0); }
html.js .steps-home:not(.in) .steps-home__vine::after { opacity: 0; transform: rotate(90deg) scale(.3); }
.steps-home__act { margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 860px) {
  .steps-home__head { grid-template-columns: 1fr; align-items: start; }
  .steps-home__head h2, .steps-home__room { grid-column: 1; }
  .steps-home__room { max-width: 440px; }
  .sec--steps .steps-home { row-gap: 2.4rem; }
  .sec--steps .steps-home > li { padding: 0 0 0 4.1rem; min-height: 4rem; }
  .sec--steps .steps-home > li::before { top: -.4rem; }
  .steps-home__vine { top: 3.9rem; bottom: calc(-2.4rem + 34px); left: 1rem; right: auto; width: 2px; height: auto; }
  .steps-home__vine::before { background: linear-gradient(180deg, var(--rose), var(--sage)); transform-origin: 50% 0; }
  .steps-home__vine::after { right: auto; left: 50%; top: auto; bottom: -18px; margin: 0 0 0 -7px; transform: rotate(180deg); }
  html.js .steps-home:not(.in) .steps-home__vine::before { transform: scaleY(0); }
  html.js .steps-home:not(.in) .steps-home__vine::after { transform: rotate(180deg) scale(.3); }
}

/* ---------- 40 · Led by women who understand ---------- */
.sec--led .led {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "title title" "quote body" "foot foot"; gap: clamp(28px, 3.5vw, 48px) clamp(40px, 7vw, 112px); align-items: start;
}
.led__title { grid-area: title; margin: 0; }
.led__quote { grid-area: quote; padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--lilac-mid); }
.sec--led .led__quote p { font-size: clamp(1.8rem, 1rem + 2.3vw, 2.95rem); line-height: 1.16; letter-spacing: -.018em; text-wrap: balance; }
.led__quote p > span { display: block; }
.led__turn { color: var(--rose-deep); }
.led__body { grid-area: body; padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--lilac-mid); }
.led__body > p { max-width: 28em; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.55; }
.led__foot {
  grid-area: foot; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2.5rem;
  margin-top: clamp(4px, 1vw, 16px); padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--lilac-mid);
}
.led__langs-label { margin: 0 0 .75rem; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac-deep); }
.led__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.led__chips .chip { font-size: 1rem; padding: .45em 1em; gap: .5em; border-color: transparent; min-height: 40px; }
.led__native { font-weight: 400; color: var(--ink-soft); font-size: .98em; }
.led__native:lang(ur), .led__native:lang(pa-Arab), .led__native:lang(phr) { font-size: 1.08em; line-height: 1; }

@media (max-width: 860px) {
  .sec--led .led { grid-template-columns: 1fr; grid-template-areas: "title" "quote" "body" "foot"; }
  .led__body { border-top: 0; padding-top: 0; }
}

/* ---------- 50 · In their words ---------- */
.sec--voices .voices {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(40px, 7vw, 112px); align-items: start;
}
.voices__head h2 { margin-bottom: .9rem; }
.voices__note { margin: 0; max-width: 17em; font-size: 1rem; color: var(--ink-soft); }
.voices__track { display: grid; gap: clamp(36px, 4vw, 56px); }
.sec--voices .voices__slide { margin: 0; }
.sec--voices .voices__slide + .voices__slide { padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.sec--voices .voices__slide blockquote { margin: 0; }
.sec--voices .voices__slide p { text-indent: -.42em; max-width: 27em; }
.sec--voices .voices__slide figcaption { display: flex; align-items: flex-start; gap: .9rem; margin-top: 1.5rem; }
.sec--voices .voices__slide figcaption::before { content: ""; width: 36px; height: 2px; margin-top: .72em; background: var(--rose); flex: none; }
.sec--voices .voices__slide cite { margin: 0; }

/* carousel mode (JS on): all quotes share one cell so the height never jumps */
.voices.is-carousel .voices__track { gap: 0; }
.voices.is-carousel .voices__slide {
  grid-area: 1 / 1; padding-top: 0; border-top: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), visibility 0s linear .55s;
}
.voices.is-carousel .voices__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.voices.is-carousel .voices__track { touch-action: pan-y; }

.voices__controls { display: flex; align-items: center; gap: .9rem; margin-top: clamp(32px, 3.6vw, 48px); }
.voices__controls[hidden] { display: none; }
.voices__btn {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--forest); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .25s, border-color .25s, transform .3s var(--ease-out);
}
.voices__btn .ico { width: 22px; height: 22px; }
.voices__btn:hover { background: var(--mint); border-color: var(--sage); }
.voices__btn:active { transform: scale(.96); }
.voices__count { margin: 0; min-width: 4.2em; text-align: center; font-size: 1rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .sec--voices .voices { grid-template-columns: 1fr; }
  .voices__head h2 { margin-bottom: .5rem; }
}

/* ---------- 60 · Find us in Luton ---------- */
.find__head h2 { margin: 0; }
.find__head .lead { margin: 0; max-width: 25em; color: var(--ink); }
.find__head .lead a { font-weight: 700; white-space: nowrap; }
.find__nw { white-space: nowrap; }

/* ---------- 70 · Stories ---------- */
.sec--latest { padding-bottom: clamp(56px, 6vw, 96px); }
.latest__head .lead { margin: 0; }
.latest__head h2 { margin-bottom: .35rem; }
/* the grid is two columns between 621 and 960px: show two cards so the row stays even */
@media (min-width: 621px) and (max-width: 960px) {
  .sec--latest .story-grid > :nth-child(n + 3) { display: none; }
}
