/* ============================================================================
   css/pages/insights.css — INSIGHTS page layer (page-scoped, deletable)
   ----------------------------------------------------------------------------
   The insights page's identity comes from the owner's Tilda page
   (page39732000.html, export 27.09.2026). This layer only expresses what the
   library does not already carry; every other rule comes from css/01–05
   untouched.

   Cited per block: source record ID + the measured value it replaces.
   Style map with the record-by-record inventory:
   docs/style-maps/INSIGHTS-STYLE-MAP.md

   §A hero     (record 642637268)
   §B intro    (record 642637269)
   §C index    (record 642639211 — t924 feed, card anatomy from its own CSS)
   §Z stacking + overlay shadow

   No new radius, shadow, duration or easing. New literals: the source's own
   intro ground #ebf0f3 and the measured hero offsets.
   ============================================================================ */

/* ── stacking ladder (SPEC §11 rule 1) ──────────────────────────────────────
   Hero parks at z1. The intro parks over it (z2) and the article index rides
   up over the intro (z6) — the canonical tail keeps cf 11 / ftr 12 via
   04-composition. */
main > .ed--insights { z-index: 2; }
main > .ix--insights { z-index: 6; }

/* intro park (page-specific, 1 Dec 2026 — owner request: same motion as the
   testimonials / footer). The intro takes the controller's solved offset
   (--park-top = min(0, viewport − height), written by js/motion.js) so a
   580px band on desktop parks flush at top:0 and a 680px band on a short
   phone parks with its foot on the viewport edge. The pin only exists once
   the controller has measured the sheet: without motion.js the band stays in
   normal flow instead of stranding its lower half below the fold.
   Keep this selector at plain-class specificity — the reduced-motion release
   below is written as `main > .ed--insights.is-parked` and must out-specify
   it, exactly as it does for .ed--stand on About. */
.ed--insights.is-parked {
  position: sticky;
  top: var(--park-top, 0px);
}

/* overlay cast shadow (SPEC §11 rule 6) for every sheet this page adds */
main > .ed--insights,
main > .ix--insights { box-shadow: 0 -16px 36px rgba(0, 0, 0, .22); }

@media (prefers-reduced-motion: reduce) {
  main > .ed--insights,
  main > .ix--insights { box-shadow: none; }
  /* the chain releases to a plain scroll: the intro keeps its band and stops
     pinning, so the article grid simply follows it */
  main > .ed--insights.is-parked { position: relative; top: auto; }
}

/* ══ §A  HERO ═══════════════════════════════════════════════════════════════
   Record 642637268: artboard #1a2b2b, height 100vh with min 700 (690 ≤959,
   650 ≤639, 570 ≤479) · carrier artwork consultancy.svg at cover /
   center center · title "Insights" 250px ExtraBold +2px #bac5cb · subscribe
   block 34px/1.1 400 #bac5cb in a 635px column · arrow 28×32, the page's only
   action.

   Tilda positions this composition against the viewport CENTRE and scales its
   artboard with the window (data-artboard-upscale-res-*-value="window"). The
   rebuild keeps that intent in semantic CSS: the band is 100svh, the type is
   fluid across the tablet/mobile ranges, and the two hero anchors are
   percentages of the band. Measured source tops at 844 viewport: 294 / 418 /
   705 (390), ~235 / ~455 / ~734 (768), ~195 / ~492 / ~720 (1024); at 900 with
   width ≥1200: 227 / 524 / 738 → 50%−223 / 50%+74 / 50%+288.
   The homepage's hero-bg, hero-symbol and CTA are NOT used. */
main > .h-hero--insights { background: var(--color-timber, #1a2b2b); height: max(650px, 100svh); }
main > .h-hero--insights .h-hero__inner { height: 100%; }
main > .h-hero--insights .h-hero__art { object-position: center center; }
main > .h-hero--insights .h-hero__symbol { display: none; }
main > .h-hero--insights .h-hero__cta { display: none; }

/* title: loblolly on timber (source pair, 7.84:1) */
main > .h-hero--insights .h-hero__title {
  color: var(--color-loblolly, #bac5cb);
  white-space: nowrap;
  padding: 0;
  display: block;
  font-size: clamp(80px, 25vw, 160px);
  line-height: 1;
  letter-spacing: 1px;
  top: 34.8%;
  left: var(--gutter);
}

/* subscribe block — the source h3: <strong>Subscribe</strong><br>sentence */
main > .h-hero--insights .h-hero__sub {
  top: 49.5%;
  left: var(--gutter);
  right: auto;
  width: min(635px, 59vw);
  max-width: min(635px, 59vw);
  color: var(--color-loblolly, #bac5cb);
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
}
.ix-hero__sub-title {
  margin: 0 0 4px;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: 0;
}
.ix-hero__sub-text {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: 0;
}

/* the arrow is the page's only hero action (source: <a href="#subscribe">).
   It joins the lift group so the fit controller keeps it above the fold on
   short windows; centring comes from left/right, never a transform, because
   --hero-lift owns the transform. */
main > .h-hero--insights .h-hero__actions {
  position: absolute;
  left: 0;
  right: 0;
  top: 83.5%;
  display: block;
  text-align: center;
  transform: translateY(var(--hero-lift, 0px));
}
main > .h-hero--insights .h-hero__actions:focus-visible { outline: 2px solid var(--color-accent, #f0d074); outline-offset: 6px; }
main > .h-hero--insights .h-hero__arrow {
  position: static;
  display: inline-block;
  width: clamp(20px, 6.4vw, 28px);
  height: auto;
  margin: 0 auto;
}

/* ≤479 keeps the 570px floor the source declares for the smallest artboard */
@media (max-width: 479px) {
  main > .h-hero--insights { height: max(570px, 100svh); }
  main > .h-hero--insights .h-hero__sub { font-size: clamp(16px, 5vw, 24px); }
  .ix-hero__sub-title { font-size: clamp(16px, 5vw, 24px); }
}

@media (min-width: 480px) {
  main > .h-hero--insights { height: max(650px, 100svh); }
  main > .h-hero--insights .h-hero__sub {
    font-size: clamp(18px, 3.1vw, 24px);
  }
  .ix-hero__sub-title { font-size: clamp(18px, 3.1vw, 24px); }
}

@media (min-width: 640px) {
  /* 100svh with the source's 690px floor; the artboard grows with the window */
  main > .h-hero--insights { height: max(690px, 100svh); }
  main > .h-hero--insights .h-hero__title {
    font-size: clamp(150px, 23.2vw, 250px);
    top: 27.8%;
  }
  main > .h-hero--insights .h-hero__sub {
    width: min(635px, 56vw);
    max-width: min(635px, 56vw);
    font-size: clamp(20px, 3.1vw, 34px);
    top: 53.9%;
  }
  .ix-hero__sub-title { font-size: clamp(20px, 3.1vw, 34px); }
  main > .h-hero--insights .h-hero__actions { top: 87%; }
}

@media (min-width: 960px) {
  main > .h-hero--insights .h-hero__title { top: 23.1%; }
  main > .h-hero--insights .h-hero__sub { top: 58.3%; }
  main > .h-hero--insights .h-hero__actions { top: 85.3%; }
}

@media (min-width: 1200px) {
  main > .h-hero--insights .h-hero__title {
    font-size: 250px;
    line-height: 250px;
    letter-spacing: 2px;
    top: calc(50% - 223px);
    left: calc(50% - 550px);
  }
  main > .h-hero--insights .h-hero__sub {
    top: calc(50% + 74px);
    left: calc(50% - 550px);
    width: 635px;
    max-width: 635px;
    font-size: 34px;
    line-height: 37px;
    letter-spacing: 1px;
  }
  .ix-hero__sub-title { font-size: 34px; line-height: 37px; }
  main > .h-hero--insights .h-hero__actions { top: calc(50% + 288px); }
}

/* ══ §B  INTRO — "Our insights / blog" ══════════════════════════════════════
   Record 642637269: ground #ebf0f3, pt/pb 30 · "Our insights" 60px and "blog"
   100px, both ExtraBold caps #1a2b2b, stacked at the left of a 1100 measure
   (60px cap line at +60, 100px cap line at +121) · body 20/31 in 683px at
   +56, two paragraphs with two inline links. ≤959 the body stacks under the
   heading; ≥960 they sit side by side (heading 345, gutter 72, body 683). */
.ed--insights { background: #ebf0f3; }          /* source record ground */
.ed--insights .ed__inner {
  max-width: var(--content-box);
  min-height: 680px;                 /* source artboard 620 + pt/pb 30 */
  margin-inline: auto;
  padding: 30px var(--gutter);
}
/* the source anchors the heading 60px and the body 56px into the artboard */
.ix-intro__grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 44px; }

.ix-intro__title {
  margin: 0;
  color: var(--color-timber, #1a2b2b);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
}
/* the source intro artboard zooms with the window (res-320 30/45 · res-480
   40/70 · res-640 50/80 · res-960 80/80), so the two words are fluid below
   1200 and hold their design sizes at desktop */
.ix-intro__title span { display: block; }
.ix-intro__title span:first-child { font-size: clamp(30px, 8.4vw, 55px); line-height: 1; }
.ix-intro__title span:last-child { font-size: clamp(45px, 14.6vw, 120px); line-height: 1; }

.ix-intro__body { color: #000; font-size: 14px; line-height: 22px; max-width: 683px; }
.ix-intro__body p + p { margin-top: 16px; }
.ix-intro__body a {
  color: var(--color-timber, #1a2b2b);
  text-underline-offset: .15em;
}
.ix-intro__body a:focus-visible { outline: 2px solid var(--color-accent, #f0d074); outline-offset: 3px; }

@media (min-width: 480px) {
  .ed--insights .ed__inner { min-height: 660px; }   /* artboard 600 */
  .ix-intro__body { font-size: 16px; line-height: 24px; }
}

@media (min-width: 640px) {
  .ed--insights .ed__inner { min-height: 700px; padding-block: 30px; }   /* artboard 640 */
  .ix-intro__grid { gap: 34px; padding-top: 40px; }
  .ix-intro__title span:first-child { font-size: clamp(50px, 7.8vw, 75px); }
  .ix-intro__title span:last-child { font-size: clamp(80px, 12.5vw, 120px); }
  .ix-intro__body { font-size: 18px; line-height: 28px; }
}

@media (min-width: 960px) {
  .ed--insights .ed__inner { min-height: 580px; }
  .ix-intro__grid { grid-template-columns: 287px 1fr; gap: 53px; padding-top: 56px; }
  .ix-intro__title { margin-top: 4px; }
  .ix-intro__title span:first-child { font-size: clamp(80px, 8.33vw, 100px); }
  .ix-intro__title span:last-child { font-size: clamp(80px, 8.33vw, 100px); }
}

@media (min-width: 1200px) {
  .ix-intro__grid { grid-template-columns: 345px 683px; gap: 72px; }
  .ix-intro__title span:first-child { font-size: 60px; line-height: 60px; }
  .ix-intro__title span:last-child { font-size: 100px; line-height: 100px; }
  .ix-intro__body { font-size: 20px; line-height: 31px; }
}

/* ══ §C  ARTICLE INDEX ══════════════════════════════════════════════════════
   Record 642639211 (t924 feed, pt/pb 135, white ground). The record's own CSS
   carries the card atoms: cover at imageRatio 56 (16:9), tag + date,
   excerpt, all in TLB on #1a2b2b. The export renders only the preloader, so
   the card layout follows the live route's rendering of the same feed
   (tk-article-card) — see the style map §6 D3/D4. */
.ix--insights { background: var(--surface-default); }
main > .ix--insights .ix__inner {
  max-width: var(--content-box);
  margin-inline: auto;
  padding: 72px var(--gutter);
}
.ix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ix-grid > li { display: flex; }

.ix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ix-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ebf0f3;
}
.ix-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.ix-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }

.ix-card__tag {
  margin: 0 0 8px;
  color: var(--text-muted, #6a787b);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ix-card__title {
  margin: 0;
  color: var(--color-timber, #1a2b2b);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}
.ix-card__link { color: inherit; text-decoration: none; }
/* stretched link: one tab stop per card, the whole tile is the target */
.ix-card__link::after { content: ""; position: absolute; inset: 0; }
/* the ring frames the whole tile (the link's box is the title only, and a
   two-line inline outline reads as two boxes) */
.ix-card__link:focus-visible { outline: none; }
.ix-card:focus-within { outline: 2px solid var(--color-accent, #f0d074); outline-offset: 4px; }

.ix-card__excerpt {
  margin: 10px 0 18px;
  color: var(--text-primary, #363f43);
  font-size: 16px;
  line-height: 24px;
}
.ix-card__meta {
  margin: 0 0 18px;
  color: var(--text-muted, #6a787b);
  font-size: 14px;
  line-height: 20px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.ix-card__meta-dot { color: var(--color-loblolly, #bac5cb); }

/* "Read article" is an affordance, not a second action: the card is the
   target, so this never becomes a competing control. */
.ix-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-timber, #1a2b2b);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ix-card__arrow { width: 22px; height: auto; transition: transform .45s ease; }

/* hover / focus states — foreground stays ink, the ground side moves */
.ix-card:hover .ix-card__media img { transform: scale(1.03); }
.ix-card:hover .ix-card__link { text-decoration: underline; text-underline-offset: 4px; }
.ix-card:hover .ix-card__arrow { transform: translateX(4px); }
.ix-card:focus-within .ix-card__link { text-decoration: underline; text-underline-offset: 4px; }

/* Closing control — the index's full stop (page-specific, 1 Dec 2026).
   The twelve cards above all end in a bare "Read article" + arrow, so the link
   to page 2 takes a different body entirely: a square timber plate with the
   label set in two lines and the arrow pinned to the opposite corner. The plate
   is the only filled control in the section, which is what marks the end of the
   list rather than a thirteenth entry. Ground-paired arrows: light on timber at
   rest, dark on gold in the hover/focus state (alpha swap, never a recolour). */
.ix-more {
  position: relative;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  box-sizing: border-box;
  width: 96px;
  height: 96px;
  padding: 14px;
  background: var(--color-timber, #1a2b2b);
  color: var(--color-loblolly, #bac5cb);
  text-decoration: none;
  transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
.ix-more__label {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}
.ix-more__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: auto;
  transition: opacity .2s ease-in-out, transform .2s ease-in-out;
}
.ix-more__arrow--dark { opacity: 0; }
.ix-more:is(:hover, :focus-visible) {
  background: var(--color-accent, #f0d074);
  color: var(--color-timber, #1a2b2b);
}
.ix-more:is(:hover, :focus-visible) .ix-more__arrow--light { opacity: 0; }
.ix-more:is(:hover, :focus-visible) .ix-more__arrow--dark { opacity: 1; }
.ix-more:is(:hover, :focus-visible) .ix-more__arrow { transform: translate(2px, -2px); }
/* the ring is timber, not the canonical gold: this plate turns gold on focus,
   and a gold ring on a gold plate (or on the white sheet) is not a visible
   focus indicator. Timber reads 15:1 on white and 7.8:1 on the gold plate. */
.ix-more:focus-visible { outline: 2px solid var(--color-timber, #1a2b2b); outline-offset: 4px; }

@media (min-width: 640px) {
  .ix-more { width: 120px; height: 120px; padding: 18px; }
  .ix-more__label { font-size: .75rem; }
  .ix-more__arrow { top: 18px; right: 18px; width: 26px; }
}

@media (min-width: 640px) {
  main > .ix--insights .ix__inner { padding-block: 135px; }
  .ix-grid { grid-template-columns: repeat(2, 1fr); }
  .ix-card__title { font-size: 26px; }
}

@media (min-width: 1200px) {
  .ix-card__title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .ix-card__media img,
  .ix-card__arrow,
  .ix-more,
  .ix-more__arrow { transition: none; }
  .ix-card:hover .ix-card__media img { transform: none; }
  .ix-card:hover .ix-card__arrow { transform: none; }
}

/* ══ §D  FOOTER NEWSLETTER STATUS ══════════════════════════════════════════
   js/insights.js writes one line under SUBSCRIBE. Same geometry as the
   canonical .ftr__news-error / .ftr__news-done; ink stays in the furniture's
   own pair (loblolly / paper on timber), no new hue. */
.ftr__news-status { margin: 12px 0 0; font-size: 14px; line-height: 20px; }
.ftr__news-status.is-ok { color: var(--color-loblolly, #bac5cb); }
.ftr__news-status.is-err { color: var(--color-paper, #f1f3f5); }
