/* Insights (/blog), third pass (13 Oct 2026): typography only. White text on the brand's black, hairlines for
   structure, sand for the one accent, the site's own scale (apple.css; keynote.css in the package) for everything
   else. No pictures, no plates, no gradients. Nothing here moves except a hover and the page's usual entrance. */

/* ---------- material ---------- */
.ins { --ins-w: 1068px; --read-w: 700px; --margin-w: 200px; --ink-text: rgba(241, 239, 231, 0.88); }
.ins .gnav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, 0.88); }
.ins .gnav .links a[aria-current="page"] { color: var(--bone); }
.ins-mono { font-family: var(--text); font-size: 12px; font-weight: 500; letter-spacing: 0.01em; text-transform: none; }
.ins-cat { color: var(--sand); }
.ins-cat a, a.ins-cat { color: inherit; }
.ins-cat a:hover, a.ins-cat:hover { color: var(--bone); }
.ins-dek { font-size: 17px; line-height: 1.5; color: var(--grey-light); max-width: 36em; }
.ins-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; line-height: 1.5; color: var(--grey-2); }
.ins-meta .who { color: var(--bone); font-weight: 500; }
.ins-meta .sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 10px 3px; opacity: 0.7; }

/* ---------- hero ---------- */
.ins-hero { padding: clamp(72px, 10vw, 136px) 0 clamp(28px, 4vw, 44px); }
.ins-hero .wrap { max-width: var(--ins-w); }
.ins-hero .mega { max-width: 11em; font-size: clamp(42px, 6.6vw, 84px); }
.ins-hero .lede { margin-top: 22px; max-width: 30em; }

/* the landing page's hero, after the stage component the user supplied (13 Oct): centred, a faint grid fading
   out from the top, the crest of a vast dark disc rising at the bottom with a lit rim, the title in a soft
   gradient of bone, the booking pill. Translated to the site's own material: no purple, no white, the rim in
   sand and bone, the pill the site's pill. Only opacity and transform move, once, on arrival. */
.ins-hero--stage { position: relative; overflow: hidden; overflow: clip; text-align: center; padding: clamp(96px, 13vw, 176px) 0 clamp(170px, 22vw, 250px); background: linear-gradient(to bottom, #000 0%, #000 60%, rgba(184, 163, 126, 0.14) 100%); }
.ins-hero--stage .wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.ins-hero--stage .mega { max-width: 11em; margin: 0 auto; background: linear-gradient(to bottom right, var(--bone) 35%, rgba(241, 239, 231, 0.56)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: ins-rise 900ms var(--ease) 80ms both; }
.ins-hero--stage .lede { margin: 22px auto 0; max-width: 32em; animation: ins-rise 900ms var(--ease) 220ms both; }
.ins-hero--stage .pill { margin-top: 34px; animation: ins-rise 900ms var(--ease) 360ms both; }
.ins-hero-grid { position: absolute; inset: 0 0 auto; height: 600px; opacity: 0.8; pointer-events: none;
  background-image: linear-gradient(to right, rgba(241, 239, 231, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(241, 239, 231, 0.05) 1px, transparent 1px); background-size: 6rem 5rem;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%); mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%); }
@keyframes ins-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- the index: tabs, the lead, the ledger ---------- */
.ins-index { padding: 0 0 clamp(72px, 9vw, 120px); }
.ins-index .wrap { max-width: var(--ins-w); }
.ins-tabs ul { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 0; margin: 0; border-bottom: 1px solid var(--line-dark); }
.ins-tabs ul::-webkit-scrollbar { display: none; }
.ins-tabs a { display: block; padding: 10px 14px; border-radius: 980px; font-size: 14px; font-weight: 500; color: var(--grey-light); white-space: nowrap; transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.ins-tabs a:hover { color: var(--bone); background: rgba(241, 239, 231, 0.05); }
.ins-tabs a[aria-current="page"] { color: var(--ink); background: var(--bone); }
.ins-tabs a:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }

/* the lead: the newest article set large, the title on the left, the standfirst and the facts on the right */
.ins-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(40px, 5.5vw, 72px) 0 clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--line-dark); }
.ins-lead .ins-cat { margin-bottom: 18px; }
.ins-lead h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(36px, 5vw, 66px); text-wrap: balance; }
.ins-lead h2 a:hover, .ins-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.ins-lead-side { display: grid; gap: 16px; align-content: end; min-width: 0; }
.ins-lead-side .ins-dek { font-size: clamp(17px, 1.6vw, 19px); }
.ins-lead-side .more { font-size: 16px; }

/* the ledger: the date and the subject in the margin, the article beside them */
.ins-row { display: grid; grid-template-columns: var(--margin-w) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); padding: clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line-dark); }
.ins-row-margin { display: grid; gap: 8px; align-content: start; padding-top: 4px; font-size: 14px; line-height: 1.4; color: var(--grey-2); }
.ins-row-main { display: grid; gap: 12px; min-width: 0; }
.ins-row h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; font-size: clamp(24px, 2.6vw, 34px); text-wrap: balance; max-width: 22em; }
.ins-row .ins-dek { font-size: 16.5px; }
.ins-feed .ins-row:last-child { border-bottom: 0; }

/* nothing published yet */
.ins-empty { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(40px, 5.5vw, 72px) 0 clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--line-dark); }
.ins-empty-title { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(32px, 4.4vw, 56px); text-wrap: balance; color: var(--bone); }
.ins-empty .body a { color: var(--sand); }
.ins-empty .body a:hover { color: var(--bone); }

/* ---------- article: header ---------- */
.art-head { padding: clamp(64px, 9vw, 120px) 0 clamp(36px, 4.5vw, 56px); }
.art-head .wrap { max-width: var(--ins-w); }
.art-head > .wrap > * { max-width: 820px; }
.ins-crumb ol { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; padding: 0; margin: 0 0 22px; color: var(--grey-2); }
.ins-crumb li + li::before { content: "/"; margin: 0 10px; color: var(--grey); }
.ins-crumb a { color: var(--sand); }
.ins-crumb a:hover { color: var(--bone); }
.art-head h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.03; font-size: clamp(36px, 5vw, 64px); text-wrap: balance; }
.art-head .lede { margin-top: 20px; max-width: 30em; font-size: clamp(18px, 1.7vw, 21px); }
.ins-meta--head { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); }

/* ---------- article: the reading column, with the contents beside it ---------- */
.art-body { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.art-body .wrap { max-width: var(--ins-w); display: grid; grid-template-columns: var(--margin-w) minmax(0, var(--read-w)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.art-toc { position: sticky; top: calc(var(--nav-h) + 28px); }
.art-toc summary { list-style: none; cursor: default; }
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc .ins-mono { color: var(--grey-2); margin-bottom: 14px; }
.art-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-dark); }
.art-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 1.35; color: var(--grey-2); transition: color 200ms var(--ease), border-color 200ms var(--ease); }
.art-toc li a:hover { color: var(--bone); }
.art-toc li a.is-here { color: var(--bone); border-left-color: var(--sand); }

.art { font-size: 18px; line-height: 1.7; color: var(--ink-text); }
.art > * + * { margin-top: 1.15em; }
.art > :first-child { margin-top: 0; }
.art h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; font-size: clamp(26px, 2.6vw, 32px); color: var(--bone); margin-top: 2.1em; text-wrap: balance; }
.art h3 { font-family: var(--display); font-weight: 600; letter-spacing: normal; line-height: 1.25; font-size: clamp(20px, 1.9vw, 23px); color: var(--bone); margin-top: 1.7em; }
.art h4 { font-weight: 600; font-size: 18px; color: var(--bone); margin-top: 1.5em; }
.art h2 + *, .art h3 + *, .art h4 + * { margin-top: 0.7em; }
.art p { max-width: none; }
.art a { color: var(--sand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art a:hover { color: var(--bone); }
.art strong { color: var(--bone); font-weight: 600; }
.art ul, .art ol { padding-left: 1.3em; }
.art li + li { margin-top: 0.5em; }
.art li::marker { color: var(--sand); }
.art hr { border: 0; border-top: 1px solid var(--line-dark); margin: 2.2em 0; }
.art figure { margin: 1.8em 0; }
.art figure img { width: 100%; height: auto; }
.art figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--grey-2); }
.art .tbl { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.art table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; min-width: 520px; }
.art th, .art td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-dark); }
.art th { font-family: var(--display); font-weight: 600; color: var(--bone); }
.art tr:last-child td { border-bottom: 0; }
.art blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--sand); font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2vw, 25px); line-height: 1.3; letter-spacing: normal; color: var(--bone); }
.art blockquote footer { margin-top: 12px; font: 500 14px/1.4 var(--text); color: var(--grey-2); letter-spacing: 0; }
.art .note { margin: 2em 0; padding: 20px 0 20px 24px; border-left: 1px solid var(--line-dark); color: var(--bone); font-size: 16.5px; }
.art .note .ins-mono { display: block; color: var(--sand); margin-bottom: 8px; }
.art .note p { margin: 0; }
.art .faq dt { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--bone); margin-top: 1.3em; }
.art .faq dd { margin: 0.4em 0 0; }
.art .sources { margin-top: 2.6em; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.art .sources h2 { margin-top: 0; font-size: 20px; }
.art .sources ol { font-size: 15px; color: var(--grey-2); }
.art .sources li + li { margin-top: 0.5em; }
.art code { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 0.9em; color: var(--bone); }

/* ---------- article: the next step and related articles ---------- */
.art-cta { padding: 0 0 clamp(48px, 6vw, 80px); }
.art-cta .wrap { max-width: var(--ins-w); }
.art-cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: clamp(28px, 3.6vw, 44px) 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--bone); }
.art-cta-box h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; font-size: clamp(24px, 2.6vw, 32px); text-wrap: balance; }
.art-cta-box .body { color: var(--grey-light); margin-top: 10px; max-width: 32em; }
.art-related { padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 8vw, 110px); }
.art-related .wrap { max-width: var(--ins-w); }
.ins-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; margin-bottom: 8px; }
.ins-sec-head .h3 { font-size: clamp(24px, 2.6vw, 30px); }
.ins-feed--related .ins-row { padding: 22px 0; }
.ins-feed--related .ins-row h3 { font-size: clamp(20px, 2vw, 26px); }
.ins-feed--related .ins-row .ins-meta { display: none; }
.ins-foot { background: #000; color: var(--grey-2); }
.ins-foot .rule { border-top-color: var(--line-dark); }
.ins-foot a:hover { color: var(--bone); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .ins { --margin-w: 170px; }
}
@media (max-width: 900px) {
  .ins-lead, .ins-empty { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
  .art-body .wrap { grid-template-columns: minmax(0, var(--read-w)); }
  .art-toc { position: static; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 14px 0; }
  .art-toc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .art-toc summary .ins-mono { margin: 0; }
  .art-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--grey-2); border-bottom: 1.5px solid var(--grey-2); transform: rotate(45deg); transition: transform 200ms var(--ease); }
  .art-toc[open] summary::after { transform: rotate(225deg); }
  .art-toc ol { margin-top: 12px; }
  .art-body .wrap { gap: 28px; }
  .art-cta-box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ins-hero { padding-top: 56px; }
  .ins-hero--stage { padding: 72px 0 150px; }
  .ins-hero--stage .pill { margin-top: 26px; }
  .ins-hero-grid { background-size: 4.5rem 4rem; }
  .ins-hero .mega { font-size: clamp(38px, 11vw, 48px); }
  .ins-lead h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .ins-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .ins-row-margin { grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; padding-top: 0; }
  .ins-row h3 { font-size: clamp(22px, 6.4vw, 28px); }
  .art-head h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .ins-meta--head { display: grid; gap: 4px; }
  .ins-meta--head .sep { display: none; }
  .art { font-size: 17px; line-height: 1.64; }
  .art h2 { font-size: 24px; }
  .art h3 { font-size: 19.5px; }
  .art blockquote { font-size: 19px; padding-left: 16px; }
  .art table { font-size: 14.5px; min-width: 460px; }
  .art th, .art td { padding: 10px 12px 10px 0; }
  .art .note { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ins-tabs a, .art-toc li a { transition: none; }
  .ins-hero--stage .mega, .ins-hero--stage .lede, .ins-hero--stage .pill { animation: none; }
}

/* ---------- the double helix as a liquid sculpture (insights-liquid.js, 20 and 21 Oct 2026) ----------
   The sculpture crosses the whole stage: a still of the helix (a transparent WebP, baked diagonally, from the left
   edge up to the top right with its middle magnified) covers the stage behind the words, which sit in front of it on a
   soft dark pool so they stay readable over the chrome. Where the browser has WebGL2 the same picture is rebuilt
   from GPU-simulated particles on a canvas that covers the stage; it arrives liquid, settles into the solid object,
   and turns liquid again under the pointer. The still goes hidden while the canvas carries the helix, so the object
   is drawn once, not twice. Without WebGL2 (or with reduced motion, or ?liquid=off) the still stays, motionless. */
/* the stage fills the screen below the nav (the sphere that closed the old hero is gone; the stage is plain black) */
.ins-hero--stage { touch-action: pan-y; display: grid; align-items: center; background: #000; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding: clamp(96px, 12vh, 150px) 0; }
.ins-sculpt { position: absolute; inset: 0; margin: 0; z-index: 1; animation: ins-rise 900ms var(--ease) both; }
.ins-sculpt picture { display: block; width: 100%; height: 100%; }
.ins-sculpt img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: opacity 500ms var(--ease); }
.ins-hero--stage .wrap { z-index: 3; }
.ins-hero--stage .mega { font-size: clamp(38px, 5.6vw, 72px); }
/* legibility over the chrome: a soft dark ground held close to the words (the helix around them is untouched),
   and a dark halo hugging the letters for the moments a bright strand passes right behind them */
.ins-hero--stage .wrap::before { content: ""; position: absolute; z-index: -1; inset: -40px -60px; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.56) 45%, rgba(0, 0, 0, 0.24) 75%, rgba(0, 0, 0, 0) 100%); }
.ins-hero--stage .lede { text-shadow: 0 0 2px rgba(0, 0, 0, 0.56), 0 0 10px rgba(0, 0, 0, 0.56), 0 0 28px rgba(0, 0, 0, 0.56); }
/* the headline is filled with a gradient clipped to its letters, so its halo is a filter (a text-shadow would show through the letters) */
.ins-hero--stage .mega { filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.56)) drop-shadow(0 0 26px rgba(0, 0, 0, 0.56)); }
.ins-liquid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; pointer-events: none; opacity: 0; transition: opacity 500ms var(--ease); }
/* the footage the engine reads: in the page, out of sight */
.ins-footage { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.ins-hero--stage[data-liquid="on"] .ins-liquid { opacity: 1; }
/* while the particles are being built and once they are on screen, the still shows nothing: the canvas carries the
   helix. If the engine gives up, the attribute changes and the still returns */
.ins-hero--stage[data-liquid="loading"] .ins-sculpt img, .ins-hero--stage[data-liquid="on"] .ins-sculpt img { opacity: 0; }
/* phones: a steeper diagonal baked for a tall stage (the picture element swaps the source at 720px) */
@media (max-width: 720px) { .ins-hero--stage { padding: 88px 0; } .ins-hero--stage .wrap::before { inset: -30px -16px; } }
@media (prefers-reduced-motion: reduce) { .ins-liquid { display: none; } .ins-sculpt { animation: none; } }

/* ===== AI slop audit fixes (preview, 4 Nov 2026) ===== */
/* 19: solid headline, no gradient fill; 14: no grid texture behind it */
h1.mega, #ins-title { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; color: var(--bone) !important; }
.ins-hero-grid { display: none !important; }
/* 11: no code-style breadcrumb; the header already says Insights */
.ins-crumb { display: none !important; }
