/* ==========================================================================
   Laurenceo · shared design system
   Used unchanged by laurenceo.com and intelligence.laurenceo.com.
   Brand #213547 on a flat #0F0F0F base. Inter throughout (variable, optical sizing).
   Accent system (each colour means one thing, everywhere):
     lavender  AI Governance and Regulation
     rose      Cybersecurity and AI Safety
     sky       Data Protection and Privacy
     mint      Infrastructure and Connectivity
     gold      Insurance, AI and Markets
   #213547 is used only as a fill: primary buttons, feature panels, the
   current-page state of the primary pill, and text selection.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Neutrals */
  --bg: #0F0F0F;
  --surface: #141619;
  --surface-2: #1A1D21;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .12);
  --text: #F4F6F8;
  --text-2: #A4ABB4;
  --text-3: #8A919B;            /* never on #213547 */

  /* Brand */
  --brand: #213547;
  --brand-2: #29425A;
  --brand-rim: rgba(159, 188, 216, .28);
  --accent: #9FBCD8;
  --accent-hover: #B7CDE3;
  --on-brand: #FFFFFF;
  --on-brand-2: #D3E0EC;

  /* Secondary accents */
  --mint: #7FD6BD;
  --sky: #8FC7FF;
  --rose: #F2A7BD;
  --gold: #EBC77E;
  --lavender: #C9B8E6;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-caption: .8125rem;                                   /* 13 */
  --fs-small: .9375rem;                                     /* 15 */
  --fs-body: 1.0625rem;                                     /* 17 */
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);        /* 17 to 20 */
  --fs-card: clamp(1.3125rem, 1.2rem + .45vw, 1.625rem);    /* 21 to 26 */
  --fs-sub: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);        /* 24 to 34 */
  --fs-section: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);    /* 34 to 56 */
  --fs-display: clamp(3.5rem, 1.8rem + 6.6vw, 7rem);        /* 56 to 112 */

  /* Space */
  --gutter: clamp(20px, 4.5vw, 48px);
  --maxw: 1180px;
  --section: clamp(76px, 5vw + 44px, 128px);
  --head-gap: clamp(36px, 3.6vw, 56px);
  --measure: 38rem;             /* about 65 characters of body text */

  /* Shape */
  --r-panel: 32px;
  --r-card: 28px;
  --r-inner: 18px;
  --r-pill: 999px;

  --nav-top: calc(env(safe-area-inset-top, 0px) + 14px);
  --nav-h: 56px;
  --nav-clear: calc(14px + var(--nav-h));
  --hero-gap: clamp(24px, 3.2vw + 12px, 64px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-top) + var(--nav-h) + 24px);
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: -.011em;
  font-optical-sizing: auto;
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--brand); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-small);
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }
.anchor-alias { display: block; height: 0; scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 24px); }

/* ---------- Tones ---------- */
.tone-brand    { --tone: var(--accent);   --tint: rgba(159, 188, 216, .10); --tint-line: rgba(159, 188, 216, .24); }
.tone-lavender { --tone: var(--lavender); --tint: rgba(201, 184, 230, .10); --tint-line: rgba(201, 184, 230, .24); }
.tone-sky      { --tone: var(--sky);      --tint: rgba(143, 199, 255, .10); --tint-line: rgba(143, 199, 255, .24); }
.tone-mint     { --tone: var(--mint);     --tint: rgba(127, 214, 189, .10); --tint-line: rgba(127, 214, 189, .24); }
.tone-rose     { --tone: var(--rose);     --tint: rgba(242, 167, 189, .10); --tint-line: rgba(242, 167, 189, .24); }
.tone-gold     { --tone: var(--gold);     --tint: rgba(235, 199, 126, .10); --tint-line: rgba(235, 199, 126, .24); }

/* The diamond: the logo's shape, the only ornament */
.diamond {
  display: inline-block;
  flex: none;
  width: 7px; height: 7px;
  border-radius: 1.5px;
  background: var(--tone, var(--accent));
  transform: rotate(45deg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 1px 13px 0;
  border: 1px solid var(--tint-line, rgba(159, 188, 216, .24));
  border-radius: var(--r-pill);
  background: var(--tint, rgba(159, 188, 216, .10));
  color: var(--tone, var(--accent));
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.pill .diamond { width: 6px; height: 6px; margin-top: -1px; }
.pill--neutral { --tone: var(--text-2); --tint: rgba(255, 255, 255, .04); --tint-line: var(--line-2); font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--tone, var(--accent));
}
.caption { font-size: var(--fs-caption); font-weight: 500; color: var(--text-3); }
.ico { width: 16px; height: 16px; flex: none; }
.ico--sm { width: 14px; height: 14px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 1px 26px 0; /* nudges Inter's caps to the optical centre */
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); border-color: var(--brand-rim); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-2); border-color: rgba(159, 188, 216, .42); }
.btn--light { background: #FFFFFF; border-color: #FFFFFF; color: #10202E; }
.btn--light:hover { background: #E6EEF6; border-color: #E6EEF6; }
.btn--on-brand { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--on-brand:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34); }
.btn--sm { height: 40px; padding: 1px 18px 0; font-size: .875rem; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico--move { transform: translateX(2px); }
.btn:hover .ico--ext { transform: translate(2px, -2px); }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
  transition: color .2s var(--ease);
}
.link:hover { color: var(--accent-hover); }
.link::after { content: ""; position: absolute; inset: -12px -10px; }
.link .ico { transition: transform .25s var(--ease); }
.link:hover .ico--ext { transform: translate(2px, -2px); }
.link:hover .ico--move { transform: translateX(2px); }
.link--back:hover .ico--move { transform: translateX(-2px); }

/* ---------- Liquid glass ----------
   Clear glass, lightly tinted blue. Light catches the rim evenly at top-left and
   bottom-right, and a soft inner glow gives the pane thickness. In Chromium,
   site.js adds a pixel-accurate edge lens (data-lens) so content bends at the
   rim; other engines keep the same pane with blur only. */
.glass {
  --glass-fx: blur(4px) saturate(185%);
  position: relative;
  isolation: isolate;
  background: rgba(18, 23, 30, .26);
  -webkit-backdrop-filter: var(--glass-fx);
  backdrop-filter: var(--glass-fx);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .055),
    inset 0 1px 1px rgba(255, 255, 255, .09),
    inset 0 -1px 1px rgba(255, 255, 255, .09),
    inset 0 0 22px rgba(255, 255, 255, .035);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .26) 0%,
    rgba(255, 255, 255, .06) 22%,
    rgba(255, 255, 255, .02) 50%,
    rgba(255, 255, 255, .06) 78%,
    rgba(255, 255, 255, .26) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* Lens panes never carry an outer shadow (in Chromium it shifts an SVG backdrop
   filter by the shadow's extent). Depth comes from a wrapper behind them. */
.glass-shadow { position: relative; border-radius: var(--r-pill); }
.glass-shadow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .7), 0 2px 10px rgba(0, 0, 0, .22);
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(22, 27, 34, .92); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(22, 27, 34, .94); }
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0; right: 0;
  z-index: 120;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  width: 100vw;
  height: 100%;
  background: linear-gradient(90deg, #3A6390, #6B93BA 55%, #9FBCD8);
  clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0);
}

/* ---------- Floating navigation ----------
   One capsule built from modules: brand, section links, primary pill, menu.
   site.js shows as many links as fit, in priority order; the rest move to the menu. */
.nav-float {
  position: fixed;
  top: var(--nav-top);
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}
.capsule-wrap { display: inline-flex; max-width: 100%; pointer-events: auto; }
.capsule {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: calc(100vw - 24px);
  height: var(--nav-h);
  padding: 7px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.js .capsule { opacity: 0; transition: opacity .3s var(--ease); }
.js .capsule.is-fit { opacity: 1; }
.capsule__brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 10px;
  height: 42px;
  padding: 0 14px 0 8px;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: -.015em;
  transition: background-color .2s var(--ease);
}
.capsule__brand:hover { background: rgba(255, 255, 255, .07); }
.capsule__brand img { width: 26px; height: 26px; flex: none; }
.capsule__brand.is-compact { padding: 0 8px; }
.capsule__name span { color: var(--text-2); font-weight: 500; }
.capsule__sep { flex: none; width: 1px; height: 22px; margin: 0 6px 0 2px; background: var(--line-2); }
.capsule__links { display: flex; align-items: center; gap: 2px; }
.capsule__link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 1px 14px 0;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(244, 246, 248, .82);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.capsule__link:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.capsule.is-dense .capsule__link { padding: 1px 10px 0; }
.capsule__link[aria-current] { color: var(--tone, var(--text)); background: var(--tint, rgba(255, 255, 255, .11)); box-shadow: inset 0 0 0 1px var(--tint-line, transparent); }
.capsule__cta { flex: none; height: 42px; margin-left: 6px; }
.capsule__cta[aria-current] { box-shadow: inset 0 0 0 1px rgba(159, 188, 216, .5); }
.capsule__cta .cta-short { display: none; }
.capsule.is-tight .capsule__cta { padding-inline: 14px; }
.capsule.is-tight .capsule__cta .cta-long { display: none; }
.capsule.is-tight .capsule__cta .cta-short { display: inline; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px; height: 42px;
  margin-left: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.menu-btn__icon { position: relative; width: 16px; height: 12px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 1.75px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn__icon::before { top: 2px; }
.menu-btn__icon::after { top: 8.25px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 5.1px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 5.1px; transform: rotate(-45deg); }

/* Menu: a glass popover anchored under the capsule's right edge */
.menu-sheet {
  --glass-fx: blur(12px) saturate(190%);
  position: fixed;
  top: calc(var(--nav-top) + var(--nav-h) + 8px);
  right: var(--sheet-right, 12px);
  z-index: 99;
  width: min(300px, calc(100vw - 24px));
  max-height: calc(100vh - var(--nav-top) - var(--nav-h) - 20px);
  max-height: calc(100dvh - var(--nav-top) - var(--nav-h) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 8px;
  border-radius: 26px;
  background: rgba(16, 21, 28, .40);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transform-origin: top right;
  transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s; }
.menu-sheet::-webkit-scrollbar { display: none; }
.menu-sheet ul { display: grid; gap: 2px; }
.menu-sheet li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px 0 16px;
  border-radius: var(--r-inner);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.018em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  transition: background-color .2s var(--ease);
}
.menu-sheet li a:hover { background: rgba(255, 255, 255, .09); }
.menu-sheet li a[aria-current] { background: var(--tint, rgba(255, 255, 255, .09)); color: var(--tone, var(--text)); }
.menu-sheet li a .ico { color: rgba(244, 246, 248, .5); }
.menu-sheet li.menu-sheet__cta a { background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-rim); color: #fff; margin-bottom: 4px; }
.menu-sheet__foot {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.menu-sheet__foot a {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 1px 10px 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.menu-sheet__foot a:hover { background: rgba(255, 255, 255, .11); }
.scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(8, 8, 10, .28);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }

/* Without JavaScript: a fixed breakpoint instead of the fitted capsule */
html:not(.js) .menu-btn { display: none; }
@media (max-width: 959px) {
  html:not(.js) .capsule__links, html:not(.js) .capsule__sep { display: none; }
  html:not(.js) .menu-btn { display: inline-flex; }
}
@media (max-width: 479px) {
  html:not(.js) .capsule__name { display: none; }
  html:not(.js) .capsule__cta .cta-long { display: none; }
  html:not(.js) .capsule__cta .cta-short { display: inline; }
}

/* ---------- Entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
  @keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- Hero ---------- */
.hero { padding-block: calc(var(--nav-clear) + var(--hero-gap)) clamp(52px, 5vw, 80px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero__title {
  margin-top: 20px;
  font-size: var(--fs-display);
  font-weight: 650;
  line-height: .93;
  letter-spacing: -.048em;
}
.hero__tagline {
  margin-top: clamp(20px, 2vw, 28px);
  font-size: var(--fs-sub);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.028em;
  color: var(--accent);
}
.hero__lead {
  max-width: 33em;
  margin-top: 24px;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
main { padding-bottom: var(--section); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  gap: 20px 64px;
  align-items: end;
  margin-bottom: var(--head-gap);
}
.section-head h2 {
  margin-top: 16px;
  font-size: var(--fs-section);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.038em;
}
.section-head > p { max-width: 30em; justify-self: end; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); }
.sub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.sub-head h2, .sub-head h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: 600; letter-spacing: -.025em; }
.block + .block { margin-top: clamp(56px, 6vw, 88px); }

/* Card */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.card--hover { transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.card--hover:hover { border-color: var(--line-2); background: var(--surface-2); }
/* Whole-card link: the title link stretches over the card */
.card__stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__stretch:focus-visible { outline: none; }
.card__stretch:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Feature panel: the brand fill */
.feature {
  position: relative;
  padding: clamp(32px, 5.5vw, 80px);
  border: 1px solid var(--brand-rim);
  border-radius: var(--r-panel);
  background: var(--brand);
  color: var(--on-brand);
}
.feature .eyebrow { color: var(--on-brand-2); }
.feature .eyebrow .diamond { --tone: var(--accent); }
.feature h2 { margin-top: 16px; font-size: var(--fs-section); font-weight: 650; line-height: 1.02; letter-spacing: -.04em; color: #fff; }
.feature p { color: var(--on-brand-2); }
.feature .caption { color: var(--on-brand-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(56px, 6vw, 80px) 48px;
}
.footer__brand .brand-row { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; letter-spacing: -.015em; }
.footer__brand .brand-row img { width: 26px; height: 26px; }
.footer__tagline { margin-top: 18px; font-size: var(--fs-small); font-weight: 500; color: var(--accent); }
.footer__brand p + p { margin-top: 8px; }
.footer__about { max-width: 26em; font-size: var(--fs-small); color: var(--text-3); }
.footer__col h2 { font-size: var(--fs-caption); font-weight: 600; color: var(--text); letter-spacing: -.005em; }
.footer__col ul { display: grid; gap: 12px; margin-top: 18px; }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--text-2); transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__col a .ico { width: 12px; height: 12px; color: var(--text-3); transition: transform .25s var(--ease); }
.footer__col a:hover .ico { transform: translate(2px, -2px); }
.footer__note { max-width: 62em; padding-bottom: 28px; font-size: var(--fs-caption); line-height: 1.6; color: var(--text-3); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: var(--fs-caption);
  color: var(--text-3);
}
.footer__bottom .link { font-size: var(--fs-caption); }

/* ---------- 404 ---------- */
.notfound { padding-block: calc(var(--nav-clear) + var(--hero-gap) + clamp(24px, 4vw, 56px)) 0; }
.notfound h1 { margin-top: 16px; font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem); font-weight: 650; line-height: .98; letter-spacing: -.048em; }
.notfound p { max-width: 32em; margin-top: 20px; font-size: var(--fs-lead); color: var(--text-2); }
.notfound .hero__actions { margin-top: 32px; }

/* ==========================================================================
   Laurenceo.com
   ========================================================================== */

/* Hero stage: the logo on the brand fill, with floating glass labels */
.stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: end;
}
.stage__panel {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-panel);
  background: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.stage__panel picture { display: block; width: 62%; }
.stage__panel img { width: 100%; height: auto; }
.stage__chip, .stage__card { text-shadow: 0 1px 10px rgba(0, 0, 0, .45), 0 0 2px rgba(0, 0, 0, .3); }
.stage__chip {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 1px 14px 0;
  border-radius: var(--r-pill);
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}
.stage__chip .diamond { width: 6px; height: 6px; }
.stage__card {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  padding: 14px 18px;
  border-radius: 20px;
}
.stage__card strong { display: block; font-size: var(--fs-small); font-weight: 600; letter-spacing: -.015em; }
.stage__card small { display: block; margin-top: 1px; font-size: var(--fs-caption); color: rgba(244, 246, 248, .8); }

/* Systems Philosophy */
.philosophy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.philosophy__lead { padding: clamp(28px, 3.6vw, 52px); }
.philosophy__lead p { max-width: var(--measure); font-size: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem); line-height: 1.5; font-weight: 450; letter-spacing: -.02em; color: var(--text); }
.philosophy__lead p + p { margin-top: 16px; }
.philosophy__side { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.6vw, 52px); border-left: 1px solid var(--line); }
.philosophy__side h3 { font-size: var(--fs-caption); font-weight: 600; color: var(--text-2); letter-spacing: -.005em; }
.principles { display: grid; gap: 18px; margin-top: 20px; }
.principles li { display: grid; grid-template-columns: 7px minmax(0, 1fr); column-gap: 16px; align-items: baseline; }
.principles .diamond { position: relative; top: -.3em; }
.principles strong { font-size: var(--fs-card); font-weight: 600; line-height: 1.2; letter-spacing: -.028em; }

/* Research cards */
.paper-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.paper { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.paper__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.paper h3 { margin-top: clamp(28px, 3vw, 40px); font-size: var(--fs-card); line-height: 1.2; letter-spacing: -.028em; }
.paper p { margin-top: 12px; color: var(--text-2); }
.paper__body { margin-bottom: 28px; }
.paper__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-height: 57px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.byline { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); }
.byline a { position: relative; z-index: 1; color: var(--text); font-weight: 600; }
.byline a:hover { color: var(--accent-hover); }
.paper__read { position: relative; z-index: 1; }
.section-foot { display: flex; justify-content: flex-start; margin-top: 28px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { padding: clamp(24px, 3vw, 36px); }
.pillar h3 { margin-top: clamp(28px, 3vw, 40px); font-size: var(--fs-card); line-height: 1.2; letter-spacing: -.028em; }
.pillar p { margin-top: 12px; color: var(--text-2); }

/* Intelligence feature panel */
.intel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.intel__intro { max-width: 30em; margin-top: 20px; font-size: var(--fs-lead); }
.intel__lens { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; font-size: var(--fs-small); font-weight: 600; color: #fff !important; }
.intel__side { display: grid; gap: 14px; }
.edition-box {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: rgba(8, 14, 20, .28);
}
.edition-box__label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: var(--fs-caption); font-weight: 600; color: var(--on-brand-2); }
.edition-box__date { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.edition-box__lead { font-size: var(--fs-small); line-height: 1.5; color: var(--on-brand-2); }
.edition-box__meta { font-size: var(--fs-caption); font-weight: 500; color: var(--on-brand-2); }
.intel__lens .diamond { position: relative; top: -.18em; }
.intel__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pill--on-brand { --tone: #fff; --tint: rgba(255, 255, 255, .1); --tint-line: rgba(255, 255, 255, .24); height: 26px; padding: 1px 10px 0; }

/* Ecosystem */
.eco { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.eco__item { display: flex; flex-direction: column; min-height: 200px; padding: 26px; }
.eco__icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--tint-line, var(--line-2)); border-radius: 14px; background: var(--tint, rgba(255, 255, 255, .05)); color: var(--tone, var(--text)); }
.eco__icon img { width: 26px; height: 26px; }
.eco__icon svg { width: 20px; height: 20px; }
.eco__item h3 { margin-top: 28px; font-size: var(--fs-body); font-weight: 600; letter-spacing: -.018em; }
.eco__item h3 a { display: inline-flex; align-items: center; gap: 8px; }
.eco__item h3 .ico { color: var(--text-3); transition: transform .25s var(--ease), color .2s var(--ease); }
.eco__item:hover h3 .ico { color: var(--accent); transform: translate(2px, -2px); }
.eco__item p { margin-top: 6px; font-size: var(--fs-small); color: var(--text-2); }

/* Research index */
.papers { overflow: hidden; }
.papers__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: start;
  padding: clamp(24px, 3vw, 36px);
  transition: background-color .25s var(--ease);
}
.papers__row:hover { background: var(--surface-2); }
.papers__row + .papers__row { border-top: 1px solid var(--line); }
.papers__when { padding-top: 4px; font-size: var(--fs-small); font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; }
.papers__row h2 { font-size: var(--fs-card); line-height: 1.2; letter-spacing: -.028em; }
.papers__row p { max-width: 44em; margin-top: 10px; color: var(--text-2); }
.papers__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; }
.papers__go { align-self: center; }

/* Article */
.doc-hero { padding-block: calc(var(--nav-clear) + var(--hero-gap)) clamp(40px, 4vw, 56px); }
.doc-hero__inner { max-width: 880px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-small); font-weight: 500; color: var(--text-3); }
.crumbs a { color: var(--accent); font-weight: 600; }
.crumbs a:hover { color: var(--accent-hover); }
.crumbs .ico { width: 12px; height: 12px; color: var(--text-3); }
.doc-hero h1 { margin-top: 24px; font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem); font-weight: 650; line-height: 1; letter-spacing: -.046em; }
.doc-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-2); }
.doc-hero__meta a { color: var(--text); font-weight: 600; }
.doc-hero__meta a:hover { color: var(--accent-hover); }
.doc-hero__meta .sep { width: 4px; height: 4px; border-radius: 1px; background: var(--text-3); transform: rotate(45deg); }

.article { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(220px, 300px); justify-content: space-between; gap: 48px; align-items: start; }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose .standfirst { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.5; font-weight: 450; letter-spacing: -.02em; color: var(--text); }
.prose p { color: #C9CED4; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 650; line-height: 1.15; letter-spacing: -.032em; color: var(--text); scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 24px); }
.prose h2 + * { margin-top: .8em; }
.prose ul { display: grid; gap: 10px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); }
.prose li { position: relative; padding-left: 24px; color: var(--text); }
.prose li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 6px; height: 6px; border-radius: 1.5px; background: var(--accent); transform: rotate(45deg); }
.toc { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 28px); padding: 24px; }
.toc h2 { font-size: var(--fs-caption); font-weight: 600; color: var(--text-2); }
.toc ol { display: grid; gap: 4px; margin-top: 14px; counter-reset: toc; }
.toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 8px 10px; margin-inline: -10px; border-radius: 12px; font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--text-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--text-3); }
.toc a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 5vw, 64px);
  padding: clamp(24px, 3vw, 32px);
}
.author__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-rim); }
.author__mark img { width: 30px; height: 30px; }
.author h2 { font-size: var(--fs-caption); font-weight: 600; color: var(--text-2); }
.author__name { margin-top: 4px; font-size: var(--fs-card); font-weight: 600; letter-spacing: -.028em; }
.author p:not(.author__name) { margin-top: 10px; color: var(--text-2); }
.author__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .intel { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .intel__side { max-width: 560px; }
  .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1079px) {
  .article { grid-template-columns: minmax(0, var(--measure)); }
  .toc { display: none; }
}
@media (max-width: 959px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stage { justify-self: stretch; max-width: none; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head > p { justify-self: start; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .philosophy { grid-template-columns: minmax(0, 1fr); }
  .philosophy__side { border-left: 0; border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .papers__row { grid-template-columns: minmax(0, 1fr); }
  .papers__when { padding-top: 0; }
  .papers__go { justify-self: start; }
}
@media (min-width: 601px) and (max-width: 959px) {
  .stage__panel { aspect-ratio: 3 / 2; }
  .stage__panel picture { width: auto; height: 62%; }
  .stage__panel picture img { width: auto; height: 100%; }
  .stage__card { left: 50%; right: auto; width: min(420px, calc(100% - 32px)); transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .paper-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .stage__panel { aspect-ratio: 1 / 1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--wide { grid-column: 1 / -1; }
  .intel__buttons { grid-template-columns: minmax(0, 1fr); }
  .eco { grid-template-columns: minmax(0, 1fr); }
  .eco__item { min-height: 0; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stage__card { left: 12px; right: 12px; bottom: 12px; }
  .stage__chip { top: 12px; left: 12px; }
  .sub-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .author { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: var(--fs-body); }
}
@media (max-width: 380px) {
  .hero__title { font-size: min(3.5rem, 16vw); }
  .section-head h2 { font-size: min(2.125rem, 10.5vw); }
  .feature h2 { font-size: min(2.5rem, 12vw); }
  .doc-hero h1 { font-size: min(2.5rem, 11.5vw); }
  .notfound h1 { font-size: min(2.75rem, 12.5vw); }
  .hero__actions .btn { flex-basis: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 319px) {
  .btn { height: auto; min-height: 50px; padding-block: 13px 12px; white-space: normal; text-align: center; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}
