/* L5 Vantage, Inc. Site styles, bright edition (25 November 2026).
   Brand: L5 identity L5-BRD-2026-001 v4 and colour system L5-CLR-2026-001. The colours are unchanged:
   ink #0B0B0B, paper #FAFAF8, deep teal #0B6F78 on light grounds, bright teal #3FD0C4 as the highlight,
   body grey #454545 for secondary text and rules #CFD6D6. The page is light, in the register of an
   education software company, and the footer stays ink. Controls are at least 44px and no text is below 16px. */

@font-face { font-family: "Libre Caslon Display"; src: url("../fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #0B0B0B;
  --ink-2: #141818;
  --ink-3: #1B2222;
  --text: #16191A;
  --text-2: #454545;
  --text-3: #5E6666;
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --mist: #EEF3F2;
  --mist-2: #E2EBEA;
  --rule: #DDE3E2;
  --rule-strong: #CFD6D6;
  --teal: #0B6F78;
  --teal-bright: #3FD0C4;
  --teal-wash: #E3F6F4;
  --error: #B3261E;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --section: clamp(88px, 10vw, 144px);
  --radius: 10px;
  --radius-l: 18px;
  --shadow: 0 1px 2px rgba(11, 40, 42, 0.06), 0 12px 32px -12px rgba(11, 40, 42, 0.14);
  --shadow-l: 0 2px 4px rgba(11, 40, 42, 0.05), 0 40px 80px -32px rgba(11, 40, 42, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.reduced) { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
@media (min-width: 1100px) { body { font-size: 19px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:where(p) { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--teal-bright); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
main:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Type */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.04; text-wrap: balance; color: var(--ink); }
.d-xxl { font-size: clamp(46px, 7.4vw, 116px); line-height: 0.99; }
.d-xl { font-size: clamp(40px, 5vw, 76px); }
.d-l { font-size: clamp(34px, 3.7vw, 56px); line-height: 1.08; }
.d-m { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.14; }
.serif { font-family: var(--serif); }
p, li { text-wrap: pretty; }
.italic { font-style: italic; }
.label { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--teal); margin: 0 0 18px; display: block; }
.label-teal { color: var(--teal); }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: var(--text-2); max-width: 46ch; }
.muted { color: var(--text-2); }
.small-note { font-size: 16px; color: var(--text-3); }
.tm { font-family: var(--sans); font-weight: 500; font-size: 0.5em; letter-spacing: 0; line-height: 0; vertical-align: 0.7em; margin-left: 0.04em; }
/* In headings the mark is 0.3 of the heading size, raised so its top meets the cap line. */
.display .tm, h1 .tm, h2 .tm, h3 .tm, .product-name .tm, .figure-num .tm { font-size: 0.3em; vertical-align: 1.6em; margin-left: 0.06em; }
.display .tm, .product-name .tm { font-size: 0.3em; top: 0.16em; }
h2 .tm, h3 .tm, .product-kicker .tm, .footer-statement .tm { font-size: 0.4em; top: 0.12em; }
.mega-title .tm, .btn .tm, .site-nav .tm, .footer-cols .tm { font-size: 0.58em; top: 0.04em; }
strong { font-weight: 600; color: var(--ink); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; white-space: nowrap; transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.btn-sm { min-height: 44px; padding: 0 16px; }
.btn .icon-arrow { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.chip { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--teal-bright); color: var(--ink); margin-right: -8px; }
.btn-sm .chip { width: 24px; height: 24px; margin-right: -4px; }
.chip .icon-arrow { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: var(--white); padding-right: 14px; }
.btn-primary:hover { background: #222929; box-shadow: var(--shadow); }
.btn-quiet { background: var(--mist-2); color: var(--ink); }
.btn-quiet:hover { background: #D6E2E0; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--rule); padding-right: 14px; }
.btn-light:not(:has(.chip)) { padding-right: 22px; }
.btn-light:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(11, 111, 120, 0.3); padding-bottom: 2px; transition: border-color 0.25s var(--ease); }
.text-link:hover { border-color: var(--teal); }
.text-link:hover .icon-arrow { transform: translateX(3px); }
.text-link .icon-arrow { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }

/* Announcement bar */
.announce { background: var(--mist); border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--text); }
.announce-inner { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 6px; }
.announce-tag { flex: none; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink); background: var(--teal-bright); border-radius: 6px; padding: 2px 10px; }
.announce p { margin: 0; }
.announce a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; color: var(--teal); font-weight: 500; text-decoration: none; white-space: nowrap; }
.announce a .icon-arrow { width: 16px; height: 16px; }
@media (max-width: 760px) { .announce-inner { flex-wrap: wrap; gap: 4px 12px; padding-block: 10px; } .announce a { margin-left: 0; min-height: 32px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 248, 0.86); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.site-header.is-scrolled, .site-header.is-open, .site-header.has-mega { border-bottom-color: var(--rule); background: rgba(250, 250, 248, 0.96); }
/* A backdrop filter makes the header the containing block of the fixed phone menu, so it is removed while the menu is open. */
.site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
/* The company logo is the approved PNG lockup, ink on transparent on light grounds (standard L5V-BRD-2026-001); it is never typed. */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { display: block; height: 34px; width: auto; }
.site-nav { margin-left: clamp(8px, 2vw, 32px); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.site-nav a, .nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.site-nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--mist); color: var(--ink); }
.site-nav a[aria-current="page"], .nav-trigger[data-current] { color: var(--teal); }
.icon-chevron { transition: transform 0.3s var(--ease); }
.nav-trigger[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle-bars { display: grid; gap: 6px; width: 20px; }
.menu-toggle-bars span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Products panel */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(11, 40, 42, 0.25); }
.mega-inner { display: grid; gap: 0; padding-block: 12px 28px; }
.mega-group { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.mega-label { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--text-3); margin: 0 0 12px; }
.mega-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 24px; }
.mega-grid-plain { grid-template-columns: repeat(4, 1fr); }
.mega-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; margin-inline: -14px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color 0.2s var(--ease); }
.mega-link:hover { background: var(--white); box-shadow: var(--shadow); }
.mega-link-plain { min-height: 48px; justify-content: center; }
.mega-title { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 19px; font-weight: 500; line-height: 1.3; }
.mega-meta { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--teal); }
.mega-desc { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.mega-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; }
.mega-actions .btn { min-height: 56px; }
@media (max-width: 1180px) { .header-actions .btn-quiet { display: none; } }
@media (max-width: 1020px) {
  .site-nav, .header-actions, .mega { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Phone menu */
.mobile-nav { position: fixed; inset: 76px 0 0 0; background: var(--paper); overflow-y: auto; padding: 24px 0 48px; border-top: 1px solid var(--rule); }
.mobile-nav ul { list-style: none; }
.mobile-nav > .container > ul { border-top: 1px solid var(--rule); }
.mobile-nav > .container > ul > li { border-bottom: 1px solid var(--rule); }
.mobile-nav > .container > ul > li > a { display: flex; align-items: center; min-height: 68px; font-family: var(--display); font-size: 34px; text-decoration: none; color: var(--ink); }
.mobile-nav a[aria-current="page"] { color: var(--teal); }
.mobile-sub { display: grid; gap: 0; padding: 0 0 18px; margin-top: -6px; }
.mobile-sub a { display: flex; align-items: center; min-height: 44px; font-size: 18px; color: var(--text-2); text-decoration: none; }
.mobile-sub-meta { font-family: var(--sans); font-size: 16px; color: var(--teal); margin-left: 8px; }
.mobile-nav-actions { display: grid; gap: 10px; margin-top: 28px; }
.mobile-nav-foot { margin-top: 24px; color: var(--text-2); font-size: 17px; }

/* Sections */
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(64px, 7vw, 104px); }
.section-rule { border-top: 1px solid var(--rule); }
.section-mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(44px, 5vw, 76px); align-items: end; }
.section-head > .display { grid-column: 1 / span 7; }
.section-head > .lead, .section-head > .section-aside { grid-column: 8 / span 5; margin: 0; }
.section-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.section-head.center { display: block; text-align: center; max-width: 860px; margin-inline: auto; }
.section-head.center .label { margin-bottom: 18px; }
.section-head.center .display { margin-bottom: 22px; }
.section-head.center .lead { margin-inline: auto; max-width: 58ch; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head > .display, .section-head > .lead, .section-head > .section-aside { grid-column: auto; }
}

/* Home hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 72px); overflow: hidden; }
.hero-center .hero-copy { text-align: center; max-width: 1080px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.d-hero { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.014em; }
.hero h1 { margin: 18px 0 22px; max-width: 24ch; }
.hero .lead { max-width: 64ch; margin: 0 auto; }
.hero .btn-row { justify-content: center; margin-top: 28px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(48px, 5vw, 72px) auto 0; max-width: 1120px; }
:where(.hero-meta p) { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; position: relative; text-align: left; }
@media (max-width: 900px) { .hero-meta { grid-template-columns: 1fr; } }
.hero-grid-bg, .hero-orb, .hero-scan { display: none; }




/* Product frame */
.frame-stage { isolation: isolate; perspective: 1800px; margin-top: clamp(48px, 6vw, 80px); position: relative; }
.frame { border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius-l); overflow: hidden; transform-origin: 50% 0%; will-change: transform; box-shadow: var(--shadow-l); }
.frame img { width: 100%; }
.frame-caption { margin-top: 18px; font-size: 16px; color: var(--text-3); text-align: center; }

/* Product features */
.features { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(28px, 4vw, 56px); background: var(--mist); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 56px); overflow: hidden; position: relative; }
.feature-alt { background: var(--white); border: 1px solid var(--rule); }
.feature-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow-l); transform: translateX(clamp(0px, 2vw, 24px)); }
.feature-shot img { width: 100%; transition: transform 0.9s var(--ease); transform-origin: 0 0; }
.feature:hover .feature-shot img { transform: scale(1.025); }
.feature-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .feature-shot { transform: none; } }
.product-name { font-family: var(--display); font-size: clamp(60px, 6vw, 96px); line-height: 0.9; margin: 0 0 16px; color: var(--ink); }
.product-kicker { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.32; margin: 0 0 16px; color: var(--ink); }
:where(.feature-body p) { color: var(--text-2); }
.ticks { list-style: none; display: grid; gap: 12px; margin: 6px 0 26px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%230B0B0B' stroke-width='1.6'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Legacy product cards (kept for pages that still use them) */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius-l); display: flex; flex-direction: column; overflow: hidden; min-height: 100%; box-shadow: var(--shadow); }
.product-body { padding: clamp(28px, 3.4vw, 44px); flex: 1; display: flex; flex-direction: column; }
:where(.product p) { color: var(--text-2); }
.product-shot { margin: 0 0 0 clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); border-top-left-radius: var(--radius); overflow: hidden; }
.product-shot img { width: 100%; }
.product-foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.figure { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 30px 26px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.figure-num { font-family: var(--display); font-size: clamp(44px, 4.4vw, 68px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; margin: 0; }
.figure-num small { font-size: 0.42em; margin-left: 4px; color: var(--teal); font-family: var(--sans); letter-spacing: 0; }
:where(.figure p) { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.5; }
.figure .src { font-family: var(--sans); font-size: 16px; color: var(--teal); letter-spacing: 0; margin-top: auto; text-decoration: none; border-top: 1px solid var(--rule); padding-top: 14px; }
.figure .src:hover { text-decoration: underline; }
@media (max-width: 1000px) { .figures { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .figures { grid-template-columns: 1fr; } }

/* Spotlight cards: a soft teal light follows the pointer */
.spot { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 208, 196, 0.14), transparent 50%); opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* Steps */
.steps { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.steps-aside { position: sticky; top: 140px; align-self: start; }
.steps-index { display: flex; align-items: flex-start; gap: 28px; }
.steps-rail { width: 3px; height: 220px; background: var(--rule); border-radius: 3px; position: relative; flex: none; overflow: hidden; }
.steps-rail span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--teal-bright); transform-origin: top; transform: scaleY(0.12); }
.steps-num { font-family: var(--display); font-size: clamp(110px, 13vw, 200px); line-height: 0.8; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; position: relative; height: 0.8em; overflow: hidden; }
.steps-num span { display: block; }
.steps-word { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 34px); color: var(--teal); margin-top: 22px; min-height: 1.2em; }
.steps-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.step { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.step h3 { font-family: var(--display); font-size: clamp(38px, 3.8vw, 58px); line-height: 1; margin-bottom: 22px; display: flex; align-items: baseline; gap: 18px; }
.step h3 small { font-family: var(--sans); font-size: 16px; color: var(--text-3); letter-spacing: 0; }
.step-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step-cols > div { padding: 20px 22px 6px; border-radius: var(--radius); background: var(--mist); }
.step-cols > div + div { background: #F6F8F8; }
.step-cols h4 { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--teal); margin-bottom: 10px; }
.step-cols > div + div h4 { color: var(--text-3); }
:where(.step-cols p) { color: var(--text-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps-aside { position: static; }
  .steps-index { display: none; }
  .step-cols { grid-template-columns: 1fr; }
}

/* Three-column principles */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio-item { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 30px 28px 18px; box-shadow: var(--shadow); overflow: hidden; }
.trio-item::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--teal-bright); transform-origin: left; transform: scaleX(var(--draw, 1)); transition: transform 1.2s var(--ease); }
.trio-item h3 { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.25; margin-bottom: 14px; }
:where(.trio-item p) { color: var(--text-2); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }

/* Rows (buyers, ledger) */
.rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.row { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 26px 26px 18px; }
.row h3 { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; margin-bottom: 10px; }
:where(.row p) { margin: 0 0 8px; color: var(--text-2); }
@media (max-width: 1000px) { .rows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rows { grid-template-columns: 1fr; } }

.ledger { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 0 clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.ledger-row { display: grid; grid-template-columns: 3fr 3fr 6fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ledger-row:last-child { border-bottom: 0; }
.ledger-org { font-weight: 600; font-size: 19px; margin: 0; color: var(--ink); }
.ledger-org span { display: block; font-family: var(--sans); font-weight: 400; font-size: 16px; color: var(--text-3); margin-top: 6px; }
.ledger-amt { font-family: var(--display); font-size: clamp(36px, 3.4vw, 52px); line-height: 1; margin: 0; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.ledger-amt small { display: block; font-family: var(--sans); font-size: 16px; color: var(--text-3); margin-top: 10px; letter-spacing: 0; }
:where(.ledger-text p) { color: var(--text-2); margin-bottom: 10px; }
.ledger-text a { font-family: var(--sans); font-size: 16px; color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(11, 111, 120, 0.3); }
.ledger-text a:hover { border-color: var(--teal); }
@media (max-width: 900px) { .ledger-row { grid-template-columns: 1fr; gap: 12px; } }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.monogram { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: 36px; color: var(--ink); position: relative; background: linear-gradient(145deg, var(--teal-wash), var(--mist-2)); border: 1px solid var(--rule); }
.person h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.person .role { font-family: var(--sans); font-size: 16px; color: var(--teal); line-height: 1.45; margin: -6px 0 0; }
:where(.person p) { color: var(--text-2); margin: 0; }
@media (max-width: 1100px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }

.bio { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 4vw, 52px); margin-bottom: 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.bio-side { display: flex; flex-direction: column; gap: 18px; }
.bio-side .monogram { width: 132px; height: 132px; font-size: 52px; }
.bio h2 { font-family: var(--display); font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; margin-bottom: 10px; }
.bio .role { font-family: var(--sans); font-size: 16px; color: var(--teal); margin-bottom: 22px; }
:where(.bio p) { color: var(--text-2); max-width: 66ch; }
@media (max-width: 800px) { .bio { grid-template-columns: 1fr; } }

/* Investor band: a bright teal panel with a photograph beside it, never under the text */
.band-section { padding-block: clamp(56px, 6vw, 88px); }
.section + .band-section, .section-tight + .band-section { padding-top: 0; }
.band { display: grid; grid-template-columns: 7fr 5fr; align-items: stretch; background: var(--teal-bright); border-radius: var(--radius-l); overflow: hidden; isolation: isolate; }
.band-copy { padding: clamp(36px, 5vw, 72px); }
.band .label { color: var(--ink); }
.band h2 { max-width: 16ch; margin-bottom: 20px; }
.band .lead { color: #10302F; }
.band-media { position: relative; min-height: 320px; overflow: hidden; }
.band-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } .band-media { min-height: 260px; } }

/* Media figure in page */
.media { position: relative; overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 16 / 8; }
.media-caption { margin-top: 14px; font-size: 16px; color: var(--text-3); }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-2.top { align-items: start; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }

/* Lists of rules */
.rulelist { list-style: none; counter-reset: r; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 6px clamp(18px, 2.4vw, 30px); box-shadow: var(--shadow); }
.rulelist li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--text-2); }
.rulelist li:last-child { border-bottom: 0; }
.rulelist li::before { content: counter(r, decimal); font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--teal); padding-top: 3px; }
.rulelist strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 18px; }
.chips li { background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 10px 18px; font-size: 16px; color: var(--ink); font-weight: 500; }

.notice { border: 1px solid var(--rule); border-left: 4px solid var(--teal-bright); border-radius: var(--radius); padding: 26px 28px; background: var(--white); box-shadow: var(--shadow); }
:where(.notice p):last-child { margin-bottom: 0; }
:where(.notice p) { color: var(--text-2); }
.notice strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }

/* Page hero for inner pages */
.page-hero { isolation: isolate; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-hero h1 { margin-bottom: 24px; max-width: 18ch; }
.page-hero .lead { max-width: 58ch; }

/* Timeline */
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.tl-item { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 0 0 56px 48px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); }
.tl-item.is-upcoming::before { background: var(--teal-bright); border-color: var(--teal-bright); box-shadow: 0 0 0 6px rgba(63, 208, 196, 0.2); }
.tl-date { font-family: var(--sans); font-size: 16px; color: var(--teal); letter-spacing: 0; padding-top: 2px; }
.tl-item h2 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; margin-bottom: 12px; }
:where(.tl-item p) { color: var(--text-2); max-width: 62ch; }
.tl-tag { display: inline-block; font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--teal-bright); border-radius: 6px; padding: 2px 10px; margin-bottom: 12px; }
@media (max-width: 760px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }

/* Contact and demonstration cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; box-shadow: var(--shadow); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.contact-card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
.contact-card h2 { font-family: var(--serif); font-size: 26px; line-height: 1.25; }
:where(.contact-card p) { color: var(--text-2); margin: 0; }
.contact-addr { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--rule); }
.contact-addr a { font-family: var(--sans); font-size: 17px; color: var(--ink); text-decoration: none; word-break: break-all; }
.contact-addr a:hover { color: var(--teal); }
.copy-btn { flex: none; min-width: 44px; min-height: 44px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--text-2); transition: color 0.3s, border-color 0.3s; }
.copy-btn:hover { color: var(--teal); border-color: var(--teal); }
.copy-btn[data-copied="true"] { color: var(--teal); border-color: var(--teal); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { min-height: 0; } }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-wrap.form-only { grid-template-columns: minmax(0, 860px); }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form { border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius-l); padding: clamp(24px, 3.6vw, 48px); display: grid; gap: 22px; box-shadow: var(--shadow-l); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 16px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 16px; color: var(--text-3); margin: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); font-size: 17px; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%23454545' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 208, 196, 0.3); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 16px; margin: 0; min-height: 0; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; color: var(--text-2); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--teal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 17px; margin: 0; }
.form-status[data-state="error"] { color: var(--error); }
.form-success { display: none; text-align: left; }
.form.is-sent .form-body { display: none; }
.form.is-sent .form-success { display: block; }
.form-success .check-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-bright); display: grid; place-items: center; margin-bottom: 24px; color: var(--ink); }
.form-success h2 { font-family: var(--display); font-size: clamp(32px, 3vw, 44px); margin-bottom: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.steps-mini { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--rule); margin-top: 36px; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--text-2); }
.steps-mini li::before { content: counter(s, decimal); font-family: var(--sans); color: var(--teal); font-size: 16px; padding-top: 3px; }
.steps-mini strong { display: block; font-weight: 600; margin-bottom: 4px; }

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
:where(.prose p), .prose li { color: var(--text); }
.prose ul { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal); }

/* Sources */
.sources { list-style: none; counter-reset: src; border-top: 1px solid var(--rule); }
.sources li { counter-increment: src; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--text-2); }
.sources li::before { content: counter(src); font-family: var(--sans); font-size: 16px; color: var(--teal); padding-top: 2px; }
.sources a { color: var(--ink); text-decoration-color: var(--rule-strong); }
.sources a:hover { color: var(--teal); }

/* Footer: ink, as the closing band of the page */
.site-footer { background: var(--ink); color: #E6ECEC; padding-top: clamp(72px, 8vw, 112px); overflow: hidden; position: relative; }
.site-footer .label { color: #9FB0B0; }
.footer-top { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.footer-statement { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.38; color: var(--white); max-width: 30ch; margin-bottom: 32px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr 0.9fr; gap: 28px; }
.footer-head { font-family: var(--sans); font-size: 16px; letter-spacing: 0; color: var(--teal-bright); margin-bottom: 16px; }
.footer-cols ul { list-style: none; display: grid; gap: 2px; }
.footer-cols a { display: inline-flex; min-height: 40px; align-items: center; color: #D2DBDB; text-decoration: none; font-size: 17px; transition: color 0.25s; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--teal-bright); }
.footer-wordmark { margin: clamp(56px, 7vw, 104px) 0 0; user-select: none; }
.footer-wordmark img { display: block; width: min(100%, 760px); height: auto; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; padding: 28px 0 36px; border-top: 1px solid #2A3333; margin-top: 28px; }
:where(.footer-base p) { margin: 0; font-size: 16px; color: #9FB0B0; }
.powered { display: flex; align-items: center; gap: 14px; }
.powered img { height: 22px; width: auto; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* Reveal */
html.js:not(.reduced) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); filter: blur(4px); }
html.js:not(.reduced) [data-stagger]:not(.is-in) > * { opacity: 0; transform: translateY(20px); }

.not-found { min-height: 70vh; display: grid; align-content: center; }
.not-found .d-xxl { color: transparent; -webkit-text-stroke: 1px var(--rule-strong); font-size: clamp(120px, 24vw, 340px); line-height: 0.8; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ------------------------------------------------------------------------------------------
   The L5 site design language, applied 26 November 2026: the l5.app palette (ink, paper, deep
   teal, bright teal, with amber and violet accents), square corners, a dark header, full-width
   photography, the product in motion and few words.
   ------------------------------------------------------------------------------------------ */
:root { --radius: 0px; --radius-l: 0px; --shadow: none; --amber: oklch(0.82 0.125 60); --violet: oklch(0.82 0.125 300); --amber-deep: #8A5A00; --violet-deep: #5B4AB0; }

/* Header on ink */
.site-header { background: rgba(11, 11, 11, 0.94); border-bottom: 1px solid rgba(250, 250, 248, 0.1); }
.site-header.is-scrolled, .site-header.has-mega { background: rgba(11, 11, 11, 0.97); border-bottom-color: rgba(250, 250, 248, 0.12); }
.site-header.is-open { background: var(--ink); }
.site-nav a, .nav-trigger { color: #FAFAF8; }
.site-nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: rgba(250, 250, 248, 0.08); color: #FFFFFF; }
.site-nav a[aria-current="page"], .nav-trigger[data-current] { color: var(--teal-bright); }
.menu-toggle { background: transparent; border-color: rgba(250, 250, 248, 0.4); }
.menu-toggle-bars span { background: #FAFAF8; }
.mobile-nav { background: var(--ink); color: #FAFAF8; border-top-color: rgba(250, 250, 248, 0.12); }
.mobile-nav > .container > ul { border-top-color: rgba(250, 250, 248, 0.14); }
.mobile-nav > .container > ul > li { border-bottom-color: rgba(250, 250, 248, 0.14); }
.mobile-nav > .container > ul > li > a { color: #FAFAF8; }
.mobile-nav a[aria-current="page"] { color: var(--teal-bright); }
.mobile-sub a { color: #D5DDDD; }
.mobile-sub-meta { color: var(--teal-bright); }
.mobile-nav-foot { color: #C9D2D2; }
.mobile-nav-foot a { color: var(--teal-bright); }

/* Buttons: bright teal on ink text, square */
.btn-primary { background: var(--teal-bright); color: var(--ink); padding-right: 22px; font-weight: 600; }
.btn-primary:hover { background: #6EDDD3; box-shadow: none; }
.chip { background: transparent; color: inherit; width: auto; height: auto; margin-right: 0; }
.btn-sm .chip { width: auto; height: auto; margin-right: 0; }
.btn-quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #FAFAF8; }
.btn-outline { background: transparent; color: #FAFAF8; border: 1.5px solid rgba(250, 250, 248, 0.7); }
.btn-outline:hover { background: #FAFAF8; color: var(--ink); }
.site-header .btn-quiet, .mobile-nav .btn-quiet { color: #FAFAF8; border-color: rgba(250, 250, 248, 0.5); }
.site-header .btn-quiet:hover, .mobile-nav .btn-quiet:hover { background: rgba(250, 250, 248, 0.1); color: #FFFFFF; }

/* Inner page heads on ink */
.page-hero { background: var(--ink); color: #FAFAF8; border-bottom: 0; }
.page-hero h1 { color: #FAFAF8; }
.page-hero .lead, .page-hero p { color: #D5DDDD; }
.page-hero .label { color: var(--teal-bright); }
.page-hero .text-link { color: var(--teal-bright); border-bottom-color: rgba(63, 208, 196, 0.4); }
.page-hero .frame-caption { color: #B9C4C4; }

/* Home hero: full-width photographs of each sector under a dark shade */
.hero-full { position: relative; isolation: isolate; min-height: calc(100svh - 76px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: #FAFAF8; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-frame.is-on { opacity: 1; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
html.js:not(.reduced) .hero-frame.is-on img { animation: hero-drift 9s linear both; }
@keyframes hero-drift { from { transform: scale(1.05); } to { transform: scale(1.13) translate3d(0, -1.2%, 0); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, 0.88) 0%, rgba(11, 11, 11, 0.62) 46%, rgba(11, 11, 11, 0.18) 100%), linear-gradient(0deg, rgba(11, 11, 11, 0.7) 0%, rgba(11, 11, 11, 0) 50%); }
.hero-full-inner { padding-top: clamp(120px, 16vh, 200px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-label { color: var(--teal-bright); }
.hero-full h1 { color: #FAFAF8; font-size: clamp(42px, 6.2vw, 96px); line-height: 0.98; letter-spacing: -0.018em; max-width: 17ch; margin: 0 0 clamp(28px, 4vw, 48px); }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; border-top: 1px solid rgba(250, 250, 248, 0.32); padding-top: 26px; }
.hero-foot .btn-row { margin: 0; }
.hero-sector { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.hero-sector-text { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.hero-sector-group { font-size: 16px; font-weight: 600; color: var(--teal-bright); }
.hero-sector-name { font-family: var(--display); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.08; color: #FAFAF8; transition: opacity 0.5s var(--ease); }
.hero-ticks { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.hero-ticks li { position: relative; width: 26px; height: 3px; background: rgba(250, 250, 248, 0.28); overflow: hidden; }
.hero-ticks span { position: absolute; inset: 0; width: 0; background: var(--teal-bright); }
.hero-ticks li.is-done span { width: 100%; }
.hero-full.is-playing .hero-ticks li.is-on span { animation: tick-fill var(--hero-step, 6s) linear forwards; }
.hero-full:not(.is-playing) .hero-ticks li.is-on span { width: 100%; }
@keyframes tick-fill { to { width: 100%; } }
.hero-pause { font: inherit; font-size: 16px; font-weight: 500; color: #FAFAF8; background: transparent; border: 1px solid rgba(250, 250, 248, 0.45); min-height: 40px; padding: 0 16px; cursor: pointer; }
.hero-pause:hover { background: rgba(250, 250, 248, 0.1); }
@media (max-width: 760px) {
  .hero-full { min-height: calc(100svh - 76px); }
  .hero-scrim { background: linear-gradient(0deg, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.7) 55%, rgba(11, 11, 11, 0.35) 100%); }
  .hero-sector { align-items: flex-start; text-align: left; }
}

/* Statement band in deep teal */
.band-teal { background: var(--teal); color: #FFFFFF; padding-block: clamp(88px, 11vw, 176px); }
.band-teal h2 { color: #FFFFFF; max-width: 20ch; }
.band-teal .lead { color: rgba(255, 255, 255, 0.94); max-width: 60ch; margin-top: clamp(24px, 3vw, 36px); }

/* The product in motion: Find, Fix and File */
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.demo-head h2 { max-width: 18ch; margin: 0; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.demo-tabs { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.demo-tab { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 0 22px; border: 0; border-bottom: 1px solid var(--rule-strong); background: none; font: inherit; color: var(--text-3); text-align: left; cursor: pointer; }
.demo-tab-name { font-family: var(--display); font-size: clamp(32px, 3.2vw, 48px); line-height: 1; color: inherit; }
.demo-tab-line { display: none; font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 36ch; }
.demo-tab[aria-selected="true"] { color: var(--ink); }
.demo-tab[aria-selected="true"] .demo-tab-line { display: block; }
.demo-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.demo-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.demo-bar span { display: block; width: 0; height: 100%; background: var(--teal); }
.demo-tab[aria-selected="true"] .demo-bar span { width: 100%; }
.demo.is-playing .demo-tab[aria-selected="true"] .demo-bar span { width: 0; animation: tick-fill var(--demo-step, 7s) linear forwards; }
.demo-stage { position: relative; }
.demo-panel { margin: 0; border: 1.5px solid var(--ink); background: var(--white); overflow: hidden; }
.demo-panel img { width: 100%; }
html.js:not(.reduced) .demo-panel.is-on { animation: demo-in 0.9s var(--ease) both; }
html.js:not(.reduced) .demo-panel.is-on img { animation: demo-pan 7s ease-in-out both; transform-origin: 30% 20%; }
@keyframes demo-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes demo-pan { from { transform: scale(1); } to { transform: scale(1.06); } }
.demo-stage .frame-caption { text-align: left; }
@media (max-width: 1000px) { .demo-grid { grid-template-columns: 1fr; } }

/* Sectors: square photographs on ink that move sideways as the page scrolls */
.rail { background: var(--ink); color: #FAFAF8; }
.rail-sticky { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); padding-block: clamp(72px, 9vw, 120px); }
.rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.rail-head h2 { color: #FAFAF8; margin: 0; }
.rail-count { font-size: 17px; font-weight: 600; color: var(--teal-bright); font-variant-numeric: tabular-nums; }
.rail-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track li { flex: 0 0 auto; scroll-snap-align: start; }
.rail-card { position: relative; display: block; width: min(380px, 74vw); aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); color: #FFFFFF; text-decoration: none; }
.rail-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.rail-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0) 55%); pointer-events: none; }
.rail-card:hover img, .rail-card:focus-visible img { transform: scale(1.05); }
.rail-card:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
.rail-text { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; }
.rail-bar { width: 44px; height: 4px; background: var(--c, var(--teal-bright)); margin-bottom: 10px; }
.rail-group { font-size: 16px; font-weight: 600; color: var(--c, var(--teal-bright)); }
.rail-name { font-family: var(--display); font-size: clamp(26px, 2.3vw, 36px); line-height: 1.05; color: #FFFFFF; text-wrap: balance; }
.rail-foot .text-link { color: var(--teal-bright); border-bottom-color: rgba(63, 208, 196, 0.4); }
.rail.is-pinned .rail-sticky { position: sticky; top: 76px; height: calc(100vh - 76px); justify-content: center; padding-block: clamp(16px, 3vh, 40px); }
.rail.is-pinned .rail-track { overflow: visible; will-change: transform; }
.rail.is-pinned .rail-card { width: auto; height: min(56vh, 540px); }

/* Figures: numbers over coloured rules, as on l5.app */
.figures .figure { background: transparent; border: 0; border-top: 3px solid var(--teal); border-radius: 0; box-shadow: none; padding: 22px 0 0; }
.figures .figure:nth-child(2) { border-top-color: var(--amber-deep); }
.figures .figure:nth-child(3) { border-top-color: var(--violet-deep); }
.figures .figure:nth-child(4) { border-top-color: var(--ink); }
.figures .figure .src { border-top: 0; padding-top: 0; }

/* Closing call to action over a full-width photograph */
.cta-full { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #FAFAF8; padding-block: clamp(120px, 16vw, 220px); }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, 0.86) 0%, rgba(11, 11, 11, 0.55) 60%, rgba(11, 11, 11, 0.3) 100%); }
.cta-inner .label { color: var(--teal-bright); }
.cta-inner h2 { color: #FAFAF8; max-width: 16ch; }
.cta-inner .lead { color: #E3E9E9; }
.cta-inner .lead { margin-top: 20px; }
