/* Home page. Loaded after site.css with "css: home". Tokens only; no new colours. */

/* links outside running text get a 44px+ target; the underline stays close to the words */
.home-hero__more,
.thing__more .link,
.method .section__more .link {
  display: inline-block; padding-block: 12px;
  background-position: 0 calc(100% - 9px);
}

/* ---------- hero ---------- */
.home-hero { padding-block: clamp(32px, 5vw, 72px) clamp(72px, 9vw, 128px); }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s-6); row-gap: var(--s-2); }
/* drawings have transparent paper: no ground, blend or mask of our own on any of them */
@media (min-width: 768px) {
  .home-hero .hero__text { grid-column: 1 / span 6; }
  .home-hero .hero__art { grid-column: 7 / -1; justify-self: end; width: min(100%, 540px); }
  .home-art-phone { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .home-hero .hero__text { grid-column: 1 / span 7; }
  .home-hero .hero__art { grid-column: 8 / -1; }
}
/* phones: headline, line and button first, then the stat strip, then the drawing (.home-art-phone, after the strip) */
@media (max-width: 767px) {
  .home-hero { padding-bottom: clamp(56px, 14vw, 80px); }
  .home-hero__actions { width: 100%; }
  .home-hero .hero__art { display: none; }
  .home-art-phone { padding-block: clamp(40px, 10vw, 64px) 0; }
  .home-art-phone__art { margin-inline: auto; max-width: 440px; }
}

/* ---------- why now: one statement on a short measure, room around it, then three points on ink rules ---------- */
.why__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1.14; letter-spacing: -0.008em;
  max-width: 17em; text-wrap: balance;
}
.why__points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 80px); row-gap: var(--s-7);
  margin-top: clamp(72px, 9vw, 136px);
}
.why__point { display: grid; gap: var(--s-4); align-content: start; padding-top: var(--s-6); border-top: 1px solid var(--ink); }
.why__name { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.75rem, 2.4vw, 2.125rem); line-height: 1.1; color: var(--bronze); }
.why__point p { color: var(--ink-soft); max-width: 21em; line-height: 1.6; }
@media (max-width: 767px) { .why__points { grid-template-columns: 1fr; row-gap: var(--s-8); } }

/* ---------- mission: the statement large, the goal beside a ruled list ---------- */
.mission__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.625rem); line-height: 1.06; letter-spacing: -0.01em;
  max-width: 17em; text-wrap: balance;
}
.mission__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: var(--s-7);
  margin-top: clamp(48px, 6vw, 88px);
}
.mission__goal { grid-column: 1 / span 6; grid-row: 1; align-self: center; max-width: 32em; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.mission__goal strong { font-weight: 600; color: var(--ink); }
.mission__art { grid-column: 8 / -1; grid-row: 1; align-self: center; width: 100%; max-width: 520px; justify-self: end; }
@media (max-width: 899px) {
  .mission__goal,   .mission__art { justify-self: center; margin-top: 0; }
}
@media (max-width: 559px) {
  }

/* ---------- three things: heading and drawing on ivory, then the one ink band on the page ---------- */
.things__open { padding-block: var(--section-pad) clamp(28px, 3.5vw, 48px); }
.things__open-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: var(--s-6); align-items: end;
}
.things__open-grid > .chapter { grid-column: 1 / -1; margin-bottom: 0; }
.things__title {
  grid-column: 1 / span 5;
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.012em;
  max-width: 11em; text-wrap: balance;
  padding-bottom: clamp(16px, 2.5vw, 40px);
}
.things__art { grid-column: 6 / -1; width: 100%; }
@media (max-width: 899px) {
  .things__title, .things__art { grid-column: 1 / -1; }
  .things__title { padding-bottom: 0; }
}
.things__band { background: var(--ink); color: var(--ivory); padding-block: clamp(72px, 9vw, 136px); }
.things__band :focus-visible { outline-color: var(--bronze-light); }
.thing {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: var(--s-5);
  padding-block: clamp(40px, 5.5vw, 80px);
  border-bottom: 1px solid color-mix(in srgb, var(--gray-light) 45%, transparent);
}
.thing:first-child { padding-top: 0; }
.thing:last-child { border-bottom: 0; padding-bottom: 0; }
.thing__num {
  grid-column: 1 / span 1;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 5.5vw, 5rem); line-height: 0.85;
  color: var(--bronze-light); font-variant-numeric: lining-nums;
}
.thing__name {
  grid-column: 2 / span 5;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; letter-spacing: -0.008em; text-wrap: balance;
}
.thing__body { grid-column: 7 / -1; padding-top: 6px; }
.thing__body > p:first-child { font-size: var(--t-lead); line-height: 1.5; max-width: 30em; text-wrap: pretty; }
.thing__jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); margin-top: var(--s-6); }
.thing__jobs li {
  display: flex; align-items: baseline; gap: var(--s-3);
  padding-block: 14px; border-top: 1px solid color-mix(in srgb, var(--gray-light) 35%, transparent);
  font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.25;
}
.thing__jobs li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--bronze-light); transform: translateY(-6px); }
.thing__more { margin-top: var(--s-4); }
.things .link { color: var(--bronze-light); background-image: linear-gradient(var(--bronze-light), var(--bronze-light)); }
.things .link:hover { color: var(--ivory); }
@media (max-width: 899px) {
  .thing { grid-template-columns: minmax(0, 56px) minmax(0, 1fr); column-gap: var(--s-5); }
  .thing__num { grid-column: 1; }
  .thing__name { grid-column: 2; }
  .thing__body { grid-column: 2; padding-top: 0; }
}
@media (max-width: 559px) {
  .thing { grid-template-columns: minmax(0, 40px) minmax(0, 1fr); column-gap: var(--s-4); }
  .thing__num { font-size: 2.75rem; }
  .thing__body { grid-column: 1 / -1; }
  .thing__jobs { column-gap: var(--s-4); }
  .thing__jobs li { font-size: 1.1875rem; }
}

/* ---------- meet the agents: stays on ivory so the drawings' ground never shows as a box ---------- */
.meet__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: var(--s-4); align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.meet__head .h2 { grid-column: 1 / span 5; }
.meet__head .lead { grid-column: 7 / -1; }
/* five agents: three, then two centred under them (a six-column track, each card two wide). Drawings are transparent: no ground, mask or tile. */
.meet .agents { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
.meet .agent { grid-column: span 2; }
@media (max-width: 899px) { .meet__head .h2, .meet__head .lead { grid-column: 1 / -1; } }
/* two across; an odd last card sits centred under the pair, the same width as the others */
@media (max-width: 1099px) {
  .meet .agents { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 32px); }
  .meet .agent:nth-child(4) { grid-column: auto / span 2; }
  .meet .agent:last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@media (max-width: 559px) {
  .meet .agents { column-gap: var(--s-4); row-gap: var(--s-7); }
  .meet .agent__art { max-width: none; margin-bottom: var(--s-3); }
  .meet .agent__name { font-size: 1.25rem; padding-top: var(--s-3); }
  .meet .agent__job { font-size: var(--t-small); line-height: 1.5; margin-top: var(--s-2); }
}

/* ---------- what changes: an editorial list, before in gray, after in ink ---------- */
.changes__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 32px); }
.changes__grid > .chapter { grid-column: 1 / -1; }
.changes__title { grid-column: 1 / span 4; align-self: start; }
.changes__list { grid-column: 5 / -1; border-top: 1px solid color-mix(in srgb, var(--gray-text) 60%, transparent); }
.change {
  display: grid; grid-template-columns: 28px minmax(0, 10rem) minmax(0, 1fr);
  column-gap: var(--s-5); row-gap: var(--s-2); align-items: start;
  padding-block: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid color-mix(in srgb, var(--gray-text) 60%, transparent);
}
.change .ico { margin-top: 2px; }
.change__name { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.change__line { display: grid; gap: 6px; }
.change__from { color: var(--gray-text); font-size: var(--t-small); line-height: 1.45; }
.change__to { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; color: var(--ink); text-wrap: pretty; }
/* the list ends on a short open row: no icon, no name, in the "after" column */
.change--more p {
  grid-column: 2 / -1;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; color: var(--bronze-text);
}
/* the closing line, with the growth drawing beside it */
.changes__close {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: subgrid; align-items: center;
  margin-top: clamp(48px, 6vw, 88px);
}
.changes__close { padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.changes__art { grid-column: 1 / span 4; width: min(100%, 400px); }
.changes__text { grid-column: 6 / -1; display: grid; gap: var(--s-5); align-content: center; }
.changes__closing {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.14; letter-spacing: -0.006em;
  max-width: 18em; text-wrap: balance;
}
.changes__payoff { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-soft); max-width: 36em; text-wrap: pretty; }
@media (max-width: 1099px) {
  .changes__title { grid-column: 1 / -1; margin-bottom: clamp(32px, 4vw, 48px); max-width: 16em; }
  .changes__list { grid-column: 1 / -1; }
  .changes__art { grid-column: 1 / span 5; }
  .changes__text { grid-column: 6 / -1; }
}
@media (max-width: 559px) {
  .change { grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--s-4); }
  .change__line { grid-column: 2; }
  .changes__close { grid-template-columns: 1fr; row-gap: var(--s-6); }
  .changes__text { grid-column: 1; grid-row: 1; }
  .changes__art { grid-column: 1; grid-row: 2; justify-self: center; width: min(100%, 360px); }
}

/* ---------- 90-day method: one rule across, three stops on it ---------- */
.method__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: var(--s-3); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.method__head .h2 { grid-column: 1 / span 6; }
.method__lead {
  grid-column: 7 / -1;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.25; color: var(--bronze);
}
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 64px); row-gap: var(--s-7);
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--ink); }
.timeline__step { position: relative; display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-7); }
.timeline__step::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--bronze); background: var(--ivory);
}
.timeline__step:last-child::before { background: var(--bronze); }
.timeline__days { font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-text); }
.timeline__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; }
.timeline__step > p:last-child { color: var(--ink-soft); max-width: 24em; }
@media (max-width: 899px) {
  .method__head .h2, .method__lead { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .timeline { grid-template-columns: 1fr; row-gap: var(--s-7); }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .timeline__step { padding-top: 0; padding-left: 44px; }
  .timeline__step::before { top: 1px; }
}

/* ---------- experience: one wrapping row of marks on parchment ---------- */
/* Each logo file has its own transparent margin. Per logo (inline custom properties, px at --k 1): --h is the image height that
   brings the visible mark to a common visual height, and the negative margins let the empty margin overlap, so the gaps fall
   between marks, not between files. Nothing is cropped (overflow stays visible) and no file is recoloured or blended. */
.exp__title { max-width: 18em; }
/* experience row: a slow marquee of single-colour ink marks. Pauses on hover, focus and the Pause button;
   with reduced motion (or no scripting) it is a plain wrapping row. */
.marquee { margin-top: clamp(40px, 5vw, 72px); border-block: 1px solid color-mix(in srgb, var(--gray-text) 60%, transparent); padding-block: clamp(28px, 3vw, 40px) var(--s-4); }
.marquee__viewport { display: flex; flex-wrap: wrap; border-radius: 2px; }
.marquee__track { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 3.5vw, 44px) clamp(40px, 5vw, 72px); margin: 0; padding: 0; }
.marquee__track[aria-hidden="true"] { display: none; }
.marquee__item { flex: none; line-height: 0; }
.marquee__item img { height: var(--h, 44px); width: auto; max-width: none; }
.marquee__pause { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee__viewport { flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
  .js .marquee__track { flex-wrap: nowrap; flex: none; padding-right: clamp(40px, 5vw, 72px); animation: marquee 70s linear infinite; }
  .js .marquee__track[aria-hidden="true"] { display: flex; }
  .js .marquee:hover .marquee__track, .js .marquee:focus-within .marquee__track, .js .marquee.is-paused .marquee__track { animation-play-state: paused; }
  .js .marquee__pause {
    display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s-3); padding: 0 2px;
    background: none; border: 0; cursor: pointer; color: var(--bronze-text); font: 500 var(--t-small)/1 var(--font-body);
    text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 5px;
  }
  .js .marquee__pause:hover { color: var(--ink); }
  @keyframes marquee { to { transform: translateX(-100%); } }
}
.exp__more { margin-top: clamp(24px, 3vw, 40px); }
.exp__more .link { display: inline-block; padding-block: 12px; background-position: 0 calc(100% - 9px); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* agents: a gentle tilt and lift on the drawing, alternating direction (transform only) */
  .meet .agent__art img { transition: transform 420ms var(--ease-out); }
  .meet .agent:hover .agent__art img,
  .meet .agent:focus-within .agent__art img { transform: translateY(-6px) rotate(-2.5deg); }
  .meet .agent:nth-child(even):hover .agent__art img,
  .meet .agent:nth-child(even):focus-within .agent__art img { transform: translateY(-6px) rotate(2.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .meet .agent:hover .agent__art img { transform: none; }
}

/* ---------- Phase F ---------- */
.method__who { margin-top: clamp(32px, 4vw, 56px); padding-top: var(--s-5); border-top: var(--rule); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.3; max-width: 30em; text-wrap: pretty; }

/* ---------- Phase G ---------- */
.placeholder--agent { aspect-ratio: 1; justify-content: center; align-items: center; text-align: center; background: transparent; }
.timeline--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline--compact .timeline__step { padding-top: var(--s-6); gap: var(--s-2); }
.timeline--compact .timeline__days, .timeline--compact .timeline__name { display: block; }
.timeline--compact .timeline__name { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
@media (max-width: 767px) { .timeline--compact { grid-template-columns: 1fr; row-gap: var(--s-5); } .timeline--compact .timeline__step { padding-top: 0; } }

/* Phase I: who it is for and the pricing signal, just above the closing ask */
.home-who { padding-top: clamp(56px, 7vw, 96px); }
.home-who__line { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.3; max-width: 30em; text-wrap: pretty; }
.home-who + .cta { padding-top: var(--s-7); }
