/* Avyuct AI Labs, Dubai. Site styles, round 2 of the rebuild (22 Nov 2026).
   Light mint and white, serif headlines with one phrase in the green gradient, dark slate sections.
   Three frames, never mixed: .out (stored by the build, dark), .scan (a scan with nothing added, dark, no glow),
   .idea (plans and drawings, mint with a dashed border, never dark).
   Nothing on the site is set under 13 px (0.8125rem). */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #f9fafb;
  --white: #ffffff;
  --mint: #f0f9f3;
  --mint-2: #e2efe5;
  --slate: #2b3f4c;
  --ink: #0f1720;
  --text: #1f2937;
  --muted: #4b5766;
  --line: #e2e6ea;
  --char: #15222a;
  --navy: #0b151b;
  --green: #32a758;
  --lgreen: #83ce40;
  --dgreen: #216935;
  --amber: #e6962f;
  --on-dark: #f3f4f6;
  --on-dark-muted: #b4c1ca;
  --grad: linear-gradient(135deg, var(--dgreen) 0%, var(--lgreen) 100%);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --h-display: clamp(2.75rem, 5.2vw, 4.5rem);
  --h-section: clamp(2rem, 3.6vw, 3rem);
  --h-card: 1.5rem;
  --small: 0.9375rem;
  --tiny: 0.8125rem;
  --wrap: 71.25rem;
  --wide: 82.5rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --pad: clamp(2.75rem, 5vw, 3.75rem);
  --r: 1.5rem;
  --glow: 0 30px 80px rgba(33, 105, 53, 0.2), 0 10px 30px rgba(43, 63, 76, 0.16);
  --shadow: 0 1px 2px rgba(15, 23, 32, 0.04), 0 12px 32px rgba(15, 23, 32, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--h-display); line-height: 1.03; }
h2, .h-section { font-size: var(--h-section); line-height: 1.08; }
h3, .h-card { font-size: var(--h-card); line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
p { text-wrap: pretty; }
strong, b { font-weight: 700; color: var(--ink); }
small { font-size: var(--small); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-dark .grad, .dubai-card .grad, .status-card .grad { background-image: linear-gradient(135deg, var(--green) 0%, var(--lgreen) 100%); }
.mono { font-family: var(--mono); font-size: var(--tiny); letter-spacing: 0.06em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.wide { max-width: var(--wide); }
.section { padding-block: var(--pad); position: relative; }
.bg-white { background: var(--white); }
.bg-page { background: var(--bg); }
.bg-mint { background: var(--mint); }
.bg-dark { background: var(--char); color: var(--on-dark); overflow: hidden; }
.bg-dark h2, .bg-dark h3, .bg-dark strong { color: #fff; }
.bg-white + .bg-white { border-top: 1px solid var(--line); }

.label { display: flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dgreen); margin-bottom: 1rem; }
.bg-dark .label { color: var(--lgreen); }
.label.today::before, .label.next::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.label.today::before { background: var(--green); }
.label.next::before { border: 2px solid var(--green); }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--muted); max-width: 40rem; }
.head { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.head .lead { margin-top: 1rem; }
.head-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.head-2 .lead { margin-top: 0; max-width: 44rem; }
.source { font-size: var(--small); color: var(--muted); }
.more { font-weight: 700; color: var(--dgreen); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; }
.more:hover { text-decoration: underline; }
.bg-dark .more { color: var(--lgreen); }
.pill { display: inline-flex; align-items: center; font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--white); color: var(--dgreen); border: 1px solid #cdebd6; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--ink); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Menu */
.site-header { position: fixed; inset: 1rem 0 auto 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav { pointer-events: auto; max-width: 64rem; margin-inline: auto; height: 4rem; padding: 0 0.4rem 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1); position: relative; transition: height 0.2s ease, background-color 0.2s ease; }
.scrolled .nav { height: 3.5rem; background: rgba(255, 255, 255, 0.96); box-shadow: 0 6px 24px rgba(15, 23, 32, 0.12); }
.nav .brand { display: flex; align-items: center; min-height: 2.75rem; }
.nav .brand img { height: 2.35rem; width: auto; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 1.75rem; white-space: nowrap; }
.nav-links a { font-size: var(--small); font-weight: 700; color: #1e293b; text-decoration: none; padding: 0.75rem 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--dgreen); }
.nav-end { display: flex; align-items: center; gap: 0.4rem; }
.nav .nav-cta { min-height: 3rem; }
.scrolled .nav .nav-cta { min-height: 2.75rem; }
.menu-btn { display: none; width: 3rem; height: 3rem; border: 0; border-radius: 999px; background: rgba(15, 23, 42, 0.08); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1.25rem; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { pointer-events: auto; display: none; max-width: 64rem; margin: 0.6rem auto 0; padding: 1rem 1.25rem 0.75rem; border-radius: 1.5rem; background: rgba(255, 255, 255, 0.98); box-shadow: 0 10px 35px rgba(0, 0, 0, 0.14); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 3rem; font-weight: 700; color: #1e293b; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn)[aria-current="page"] { color: var(--dgreen); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { width: 100%; min-height: 2.75rem; margin-bottom: 0.5rem; }
.mobile-menu.open { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.5rem; border-radius: 999px; font-size: var(--small); font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: #090d16; color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.btn-outline { border-color: var(--slate); color: var(--slate); background: rgba(255, 255, 255, 0.7); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.narrow-only { display: none; }

/* The three frames */
.idea { background: var(--mint); border: 1.5px dashed rgba(43, 63, 76, 0.35); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); }
.bg-mint .idea { background: rgba(255, 255, 255, 0.55); }
.idea .frame-tag { color: var(--slate); padding: 1.25rem 0 0; }

/* Text the software stored or wrote, as live text */
.sr, .ic, .wl { background: #f4f6f8; color: #242930; border-radius: 1rem; font-size: var(--small); line-height: 1.45; }
.sr { padding: 1.1rem 1.2rem; }
.sr-title, .ic-title { font-weight: 700; font-size: 1.0625rem; color: #242930; margin-bottom: 0.6rem; }
.sr dt { font-weight: 600; font-size: var(--tiny); color: #5c6571; margin: 0.8rem 0 0.2rem; }
.sr dd b, .sr dd span { display: block; }
.sr-hit { border-left: 3px solid var(--slate); padding-left: 0.7rem; }
.sr .sr-soft { color: #5c6571; }
.sr-src { margin-top: 0.9rem; font-size: var(--tiny); color: #5c6571; }

.ic { padding: 1.1rem 1.2rem; }
.ic-lede { color: #5c6571; font-size: var(--tiny); margin-bottom: 0.7rem; }
.ic dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; padding: 0.3rem 0; }
.ic dt { font-weight: 700; color: #5c6571; }
.ic-ok { margin-top: 0.8rem; padding: 0.7rem 0.9rem; border: 2px solid var(--green); border-radius: 0.6rem; background: #e3f3e7; }
.ic-ok b { display: block; }
.ic-else { margin-top: 0.8rem; color: #5c6571; font-size: var(--tiny); }
.ic-short .ic-ok { margin-top: 0; }

.wl { overflow: hidden; }
.wl-top { background: #2d3e52; color: #fff; padding: 0.7rem 1rem; }
.wl-title { font-weight: 700; }
.wl-set { color: #c3ccd6; font-size: var(--tiny); }
.wl table { width: 100%; border-collapse: collapse; display: block; }
.wl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wl tbody { display: block; }
.wl tr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.6rem; padding: 0.7rem 1rem; border-top: 1px solid #dfe3e8; background: #fff; }
.wl tr.wl-priority { background: #fef1d6; }
.wl td { padding: 0; font-size: var(--tiny); color: #4a5563; }
.wl td.wl-pat { font-weight: 700; font-size: var(--small); color: #242930; }
.wl td.wl-pri:empty { display: none; }
.wl td.wl-nv { flex-basis: 100%; font-size: var(--small); color: #242930; margin-top: 0.2rem; }
.wl-badge { display: inline-block; background: #ecb549; color: #242930; font-weight: 700; font-size: var(--tiny); letter-spacing: 0.02em; padding: 0.15rem 0.6rem; border-radius: 0.4rem; }
.wl-note { padding: 0.7rem 1rem 0.8rem; font-size: var(--tiny); color: #5c6571; border-top: 1px solid #dfe3e8; background: #eceff3; }

/* Heroes */
.hero { position: relative; background: linear-gradient(180deg, var(--mint) 0%, var(--bg) 100%); padding: 7rem 0 clamp(2.5rem, 5vw, 4rem); }
.hero .label { margin-bottom: 0.9rem; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.22; letter-spacing: -0.01em; color: var(--slate); margin-top: 1rem; text-wrap: balance; }
.event-line a { display: inline-block; padding: 0.65rem 0; font-size: var(--small); font-weight: 600; line-height: 1.4; color: var(--slate); text-decoration: none; text-wrap: balance; }
.event-line a:hover { text-decoration: underline; }

.hero-grid2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-65 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.hero-small { margin-top: 1.25rem; font-size: var(--small); color: var(--muted); }
.hero-small a { font-weight: 700; color: var(--dgreen); display: inline-block; padding: 0.7rem 0; }
.hero-short { padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero-short .lead { margin-top: 1rem; }
.hero-404 { min-height: 70vh; display: flex; align-items: center; }
.place { display: inline-flex; align-items: center; margin-top: 1.4rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid #cbd5e1; font-size: var(--small); font-weight: 700; color: var(--slate); }
.film-card { position: relative; border-radius: var(--r); overflow: hidden; background: #f4f6f9; border: 1px solid rgba(43, 63, 76, 0.12); box-shadow: var(--shadow); }
.film-card video { width: 100%; aspect-ratio: 2 / 1; display: block; }
.film-replay { position: absolute; right: 0.6rem; bottom: 0.6rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(43, 63, 76, 0.25); background: rgba(255, 255, 255, 0.9); font-size: var(--tiny); font-weight: 700; color: var(--slate); cursor: pointer; display: none; }
.js .film-replay { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Chapters on The Model: chips under the menu, a rail at the side on very wide screens */
.chapters { position: sticky; top: 4.9rem; z-index: 40; padding: 0.35rem var(--gutter); background: rgba(249, 250, 251, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.chapters ul { display: flex; gap: 0.4rem; overflow-x: auto; max-width: var(--wide); margin-inline: auto; scrollbar-width: none; }
.chapters ul::-webkit-scrollbar { display: none; }
.chapters a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.9rem; border-radius: 999px; font-size: var(--small); font-weight: 700; color: var(--slate); text-decoration: none; white-space: nowrap; }
.chapters a:hover { background: var(--mint-2); }
.chapters a.on { background: var(--slate); color: #fff; }

/* The seam between today and next */
.seam { background: var(--white); padding-top: clamp(2.5rem, 5vw, 4rem); text-align: center; border-top: 1px solid var(--line); }
.seam .label { justify-content: center; }
.seam .lead { margin: 1rem auto 0; }
.seam-rule { display: flex; align-items: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); padding-inline: var(--gutter); transform: translateY(50%); position: relative; z-index: 1; }
.seam-rule i { flex: 1; height: 1px; background: rgba(43, 63, 76, 0.35); }
.seam-rule .label { margin: 0; background: var(--white); border: 1px solid rgba(43, 63, 76, 0.2); border-radius: 999px; padding: 0.35rem 0.85rem; white-space: nowrap; }
.seam-plain { padding-top: 0; border-top: 0; }
.seam-plain .seam-rule { margin-top: 0; }
.seam + .section { padding-top: calc(var(--pad) + 0.5rem); }

/* Where we are: the ledger */
.arch { position: absolute; right: -14%; top: 42%; transform: translateY(-50%); width: min(50rem, 64vw); opacity: 0.06; pointer-events: none; }
.bg-dark .wrap { position: relative; }
.shelf { margin-top: 2.5rem; }
.shelf ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.shelf-label { text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem; }
.shelf-card { border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 1.1rem; padding: 1.2rem; }
.shelf.on-light .shelf-card { border-color: var(--line); background: var(--white); }
.shelf-card h3 { font-size: 1.25rem; margin-top: 0.4rem; }
.shelf-card p { font-size: var(--small); margin-top: 0.4rem; }
.shelf-card a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; font-size: var(--small); }

/* Closing band */
.closer h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.04; }
.closer .lead { color: var(--on-dark-muted); margin-top: 1.25rem; max-width: 38rem; }
.closer-note { margin-top: 1.1rem; font-size: var(--small); color: var(--on-dark-muted); max-width: 38rem; }

/* The Model */




/* Company */
.saga-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.founder img { width: 15rem; height: 15rem; border-radius: 1.1rem; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.founder figcaption { margin-top: 0.9rem; display: flex; flex-direction: column; line-height: 1.4; }
.founder span { font-family: var(--mono); font-size: var(--tiny); color: var(--on-dark-muted); }
.beats { margin-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.beats li { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 0.2rem 1.25rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.beats .mono { color: var(--lgreen); text-transform: uppercase; letter-spacing: 0.1em; padding-top: 0.35rem; }
.beats h3 { font-size: 1.35rem; }
.beats p { color: var(--on-dark-muted); font-size: var(--small); grid-column: 2; }
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.7rem); line-height: 1.2; color: #fff; margin-top: 1.75rem; }
.saga-after { margin-top: 0.75rem; color: var(--on-dark-muted); max-width: 40rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.duo article { border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.duo-m { background: var(--mint-2); }
.duo-v { background: var(--char); }
.duo h2 { font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dgreen); }
.duo-v h2 { color: var(--lgreen); }
.duo .big { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.duo-v .big { color: #fff; }
.scale { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem; }
.scale strong { font-family: var(--serif); font-weight: 400; font-size: var(--h-card); }
.plist { border-top: 1px solid var(--line); }
.plist li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0.5rem 2rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.plist p { color: var(--muted); max-width: 34rem; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1rem 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.5rem; align-content: start; }
.person img { grid-column: 1 / -1; width: 100%; aspect-ratio: 1; border-radius: 1.1rem; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.3s ease; }
.person:hover img, .person:focus-within img { filter: none; }
.person-id { grid-column: 1; margin-top: 1rem; }
.person h3 { font-size: 1.3rem; }
.person .role { color: var(--dgreen); margin-top: 0.3rem; letter-spacing: 0.02em; }
.person .bio { grid-column: 1 / -1; font-size: var(--small); color: var(--muted); margin-top: 0.7rem; }
.person-in { grid-column: 2; align-self: end; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 0.6rem; color: var(--slate); }
.person-in:hover { background: var(--mint); color: var(--dgreen); }
.shelf.on-light { margin-top: 1.5rem; }
.invite { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid rgba(43, 63, 76, 0.2); padding-top: 1.5rem; }
.invite p { max-width: 44rem; color: var(--ink); font-weight: 600; }
.dubai-sec { padding-top: 0; }
.dubai-card { position: relative; overflow: hidden; background: var(--char); color: var(--on-dark); border-radius: 2rem; padding: clamp(1.75rem, 4vw, 3rem); }
.dubai-card h2 { color: #fff; }
.dubai-card .arch { opacity: 0.07; right: -8%; }
.dubai-grid { position: relative; }
.dubai-grid ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem 2rem; margin-top: 1.5rem; color: #d5dee4; }
.dubai-grid li { padding-left: 1.4rem; position: relative; font-size: 1rem; }
.dubai-grid li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lgreen); }

/* News */
.events-sec { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.event-feature { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3.5vw, 2.75rem); background: var(--mint); border: 1px solid #d7eadc; border-radius: var(--r); }
.event-feature .when { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.event-feature .d { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--ink); }
.event-feature .when .mono, .event-list .date { text-transform: uppercase; letter-spacing: 0.12em; color: var(--dgreen); }
.event-feature .where, .event-list .kind { text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.event-feature h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.5rem 0 0.8rem; }
.event-feature .what p:not(.mono), .event-list p { color: #3b4753; max-width: 40rem; }
.event-feature .btn { margin-top: 1.4rem; }
.event-list { margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.event-list li { display: grid; grid-template-columns: 15rem 1fr; gap: 0.6rem clamp(1.5rem, 4vw, 3.5rem); padding: 1.5rem clamp(0rem, 3.5vw, 2.75rem); border-bottom: 1px solid var(--line); }
.event-list .when { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.3rem; }
.event-list h2 { font-size: var(--h-card); margin-bottom: 0.5rem; }
.event-list .more { margin-top: 0.4rem; }

/* Contact */
.address { margin-top: 1.75rem; }
.address-mail { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 2.75rem); line-height: 1.1; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.address-acts { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.copy-note { min-height: 1.5rem; margin-top: 0.4rem; font-size: var(--small); color: var(--dgreen); font-weight: 700; }
.contact-sec { padding-top: clamp(2rem, 4vw, 3rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reasons { margin-top: 0.75rem; border-top: 1px solid var(--line); }
.reasons li { border-bottom: 1px solid var(--line); }
.reasons a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: 0.4rem 0.75rem; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 0.5rem; }
.reasons a:hover, .reasons a.asked { background: var(--mint); color: var(--dgreen); }
.reason-note { padding: 0 0.75rem 0.9rem; font-size: var(--small); color: var(--muted); max-width: 38rem; }
.mail-note { margin-top: 1rem; font-size: var(--small); color: var(--muted); }
.info { background: var(--mint); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); }
.info dl > div { padding: 0.9rem 0; border-bottom: 1px solid rgba(15, 23, 32, 0.08); font-size: var(--small); color: var(--muted); }
.info dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.info dt { font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.info a { font-weight: 700; color: var(--dgreen); display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; }

/* Privacy */
.legal { max-width: 46rem; }
.legal h2 { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: 0; margin: 2.25rem 0 0.75rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal li + li { margin-top: 0.4rem; }
.legal a { font-weight: 700; color: var(--dgreen); }

/* Footer */
.site-footer { background: var(--bg); padding: clamp(1rem, 2vw, 1.5rem) clamp(0.5rem, 1.5vw, 1.5rem) 1.25rem; }
.closer + .site-footer, .bg-dark + .site-footer { padding-top: clamp(1rem, 2vw, 1.5rem); }
.foot-panel { max-width: 105rem; margin-inline: auto; background: var(--mint-2); border-radius: 2rem; overflow: hidden; color: #111; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 5vw, 4.5rem) 0; }
.foot-notices { display: grid; gap: 0.9rem; padding-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid rgba(43, 63, 76, 0.16); }
.foot-emergency { font-size: var(--small); font-weight: 700; color: var(--ink); border-left: 3px solid var(--amber); padding-left: 0.9rem; }
.foot-status { font-size: var(--small); color: var(--slate); max-width: 62rem; }
.foot-top { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 2rem; padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.foot-tag { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.01em; max-width: 22rem; }
.foot-tag span { display: block; margin-top: 0.8rem; font-family: var(--sans); font-weight: 600; font-size: var(--small); line-height: 1.5; letter-spacing: 0; color: #374151; }
.foot-h { font-family: var(--sans); margin: 0 0 0.5rem; font-size: var(--tiny); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #55606e; }
.foot-top li { font-size: var(--small); color: #374151; padding: 0.2rem 0; }
.foot-top li a { font-weight: 600; text-decoration: none; color: #374151; display: inline-block; padding: 0.4rem 0; margin: -0.4rem 0; }
.foot-top a:hover { color: #000; text-decoration: underline; }
.foot-big { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--dgreen); text-decoration: none; }
.foot-small { display: block; font-size: var(--small); font-weight: 600; color: #55606e; }
.wordmark { font-weight: 900; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: 0.8; letter-spacing: -0.05em; text-align: center; margin-top: clamp(0.75rem, 2vw, 1.5rem); transform: translateY(4%); user-select: none; color: #111; }
.foot-base { max-width: 105rem; margin: 1rem auto 0; padding-inline: 1rem; font-size: var(--tiny); font-weight: 700; color: #4b5563; }

/* ===== Round 2 (22 Nov 2026) ===== */

/* Frames: .out (stored by the build), .scan (a scan with nothing added). Stored images keep a small corner radius so
   the build's own banner and footer text are never clipped. */
.out, .scan { background: var(--navy); color: var(--on-dark); border-radius: var(--r); padding: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.06); position: relative; text-align: left; }
.out { box-shadow: var(--glow); }
.out > img, .scan > img, .sv-view { border-radius: 0.375rem; width: 100%; }
.frame-tag { font-family: var(--mono); font-size: var(--tiny); line-height: 1.5; color: #b9c6ce; padding: 0.6rem 0.35rem 0.2rem; }
.frame-tag .ver, .cap-src .ver { font-family: var(--mono); color: var(--lgreen); margin-right: 0.35rem; white-space: nowrap; }
.idea .frame-tag { color: var(--slate); padding: 1.25rem 0 0; }
.out-text { padding: 0.75rem; }

/* The caption on every scan: who, what, and the one label that says where the picture came from */
.cap { display: grid; gap: 0.45rem; padding: 0.75rem 0.35rem 0.3rem; }
.cap-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; }
.cap-who { font-size: var(--tiny); font-weight: 700; letter-spacing: 0.04em; line-height: 1.4; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap; }
.cap-what { font-size: var(--small); font-weight: 600; line-height: 1.35; color: #fff; }
.cap-said { border-left: 3px solid rgba(255, 255, 255, 0.45); padding-left: 0.7rem; font-size: var(--small); line-height: 1.4; color: #e9eff3; }
.cap-note { font-size: var(--tiny); line-height: 1.45; color: #d3dde3; }
.cap-open { margin: -0.35rem 0; }
.cap-open a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; font-size: var(--tiny); font-weight: 700; color: #fff; text-underline-offset: 3px; }
.cap-src { font-size: var(--tiny); line-height: 1.45; color: #a9b8c1; }
.keep { white-space: nowrap; }
.out-text > .cap-row { padding: 0.1rem 0.2rem 0.65rem; }

/* The series viewer. It swaps whole stored slabs; the green band on the slider shows which slabs carry the ring. */
.sv { --img-h: 34rem; width: min(100%, calc(var(--img-h) * var(--ratio) + 1.5rem)); margin-inline: auto; }
.sv-view { overflow: hidden; aspect-ratio: var(--ar); background: #000; touch-action: pan-y; }
.js .sv-view { cursor: ew-resize; }
.sv-img { width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.sv-plain { padding: 0.6rem 0.35rem 0; font-size: var(--small); line-height: 1.4; color: #fff; }
.sv-bar { display: none; padding: 0.4rem 0.1rem 0; }
.js .sv-bar { display: block; }
.sv-row { display: flex; align-items: center; gap: 0.35rem; }
.sv-row2 { gap: 0.4rem 0.5rem; justify-content: flex-end; flex-wrap: wrap; }
.sv-btn { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.sv-btn:hover, .sv-chip:hover { background: rgba(255, 255, 255, 0.16); }
.sv-count { margin-right: auto; color: #d7e0e6; padding-left: 0.3rem; white-space: nowrap; letter-spacing: 0; }
.sv-chip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.8rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: var(--tiny); font-weight: 700; text-decoration: none; cursor: pointer; }
.sv-track { position: relative; flex: 1; min-width: 0; display: flex; }
.sv-band { position: absolute; top: calc(50% - 18px); height: 4px; min-width: 10px; left: calc(12px + (100% - 24px) * var(--b0)); width: calc((100% - 24px) * (var(--b1) - var(--b0))); border-radius: 2px; background: rgba(131, 206, 64, 0.8); pointer-events: none; }
.sv-range { position: relative; flex: 1; width: 100%; min-width: 0; height: 2.75rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sv-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.28); }
.sv-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.28); }
.sv-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.sv-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.sv-range:focus-visible { outline-offset: 0; }

/* Home: hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 4vw, 4rem); grid-template-areas: ". v" "top v" "more v" "cta v" ". v"; grid-template-rows: 1fr auto auto auto 1fr; }
.hero-home { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.hero-top { grid-area: top; }
.hero-more { grid-area: more; margin-top: 1.1rem; max-width: 31rem; }
.hero-more p { color: #334155; font-size: 1.0625rem; line-height: 1.55; }
.hero-cta { grid-area: cta; display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.hero-viewer { grid-area: v; align-self: center; --img-h: max(17rem, min(31rem, calc(100svh - 27.5rem))); }
.hero-still { width: min(100%, 25.5rem); margin-inline: auto; }

/* Home: where we are today, with the words for families */
.standing-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; align-items: stretch; }
.fam { background: var(--mint); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.fam h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.fam > p { color: var(--text); }
.fam .more { margin-top: 0.35rem; align-self: flex-start; }
.signs { color: var(--text); }
.signs ul { margin-top: 0.5rem; border-top: 1px solid rgba(43, 63, 76, 0.16); }
.signs li { display: flex; align-items: center; min-height: 2.75rem; border-bottom: 1px solid rgba(43, 63, 76, 0.16); }
.signs-call { margin-top: 0.9rem; border-left: 3px solid var(--amber); padding-left: 0.9rem; font-weight: 700; color: var(--ink); }
.status-card { order: -1; position: relative; overflow: hidden; background: var(--char); color: var(--on-dark); border-radius: 1.75rem; padding: clamp(1.25rem, 3vw, 2.5rem); }
.status-card > :not(.arch) { position: relative; }
.status-card .arch { opacity: 0.03; }
.status-card .label { color: var(--lgreen); }
.status-card h2 { color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.status-card h3, .status-card strong { color: #fff; }
.ledger { margin-top: 1.25rem; }
.ledger li { display: grid; grid-template-columns: 1.1rem 9rem minmax(0, 1fr); gap: 0.2rem 1rem; align-items: start; padding: 0.9rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ledger h3 { font-size: 1.25rem; }
.ledger p { color: var(--on-dark-muted); font-size: var(--small); }
.st { display: block; width: 1rem; height: 1rem; border-radius: 50%; margin-top: 0.3rem; }
.st-on { background: var(--lgreen); }
.st-ring { border: 2px solid var(--lgreen); }
.st-dot { border: 2px dotted var(--on-dark-muted); }

/* Home: why we started */
.story .wrap { max-width: 62.5rem; }
.story-h { font-size: var(--h-card); }
.statement { font-family: var(--serif); font-size: clamp(1.5rem, 2.9vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin-top: 0.9rem; }
.story-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 1.4rem; }
.byline { display: flex; align-items: center; gap: 0.9rem; }
.byline img { width: 3.5rem; height: 3.5rem; border-radius: 0.9rem; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.byline p { display: flex; flex-direction: column; line-height: 1.35; }
.byline span { font-family: var(--mono); font-size: var(--tiny); color: var(--muted); }
.signoff { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.5rem; }
.signoff span { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.story-turn { margin-top: 1.6rem; font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.8rem; }
.q { display: flex; flex-direction: column; min-height: 6.5rem; border-radius: 1.25rem; padding: 1.1rem 1.4rem 1.2rem; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.q:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.q-today { background: var(--slate); color: #fff; }
.q-next { background: var(--white); color: var(--ink); border: 1.5px dashed rgba(43, 63, 76, 0.35); }
.q .label { margin-bottom: 0.5rem; }
.q-today .label { color: #cfe9b7; }
.q-today .label.today::before { background: var(--lgreen); }
.q-text { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }

/* Home: the idea, the vision, the doors */
.idea-home { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: center; }
.idea-copy h2, .idea-text h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.idea-copy p, .idea-text p { margin-top: 1rem; }
.idea-copy .label, .idea-text .label { margin-top: 0; }
.cta-row { margin-top: 1.5rem; }
.vision-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.25rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.vision-text p { color: #334155; }
.vision-text p + p { margin-top: 0.5rem; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.door { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.door p { color: var(--muted); }
.door .btn { margin-top: auto; align-self: flex-start; }
.doors-foot { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 2rem; }

/* The Model: the idea and its one illustration (boxes and words only) */
.idea-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: center; }
.flow-line { display: grid; grid-template-columns: auto 2rem minmax(0, 6fr) 2rem minmax(0, 7fr); align-items: center; gap: 0.6rem; }
.flow-box { background: var(--white); border: 1.5px solid var(--slate); border-radius: 0.9rem; padding: 0.9rem 1rem; }
.flow-k { font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.flow-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.flow-chips li { border: 1px solid rgba(43, 63, 76, 0.4); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: var(--tiny); font-weight: 600; color: var(--slate); background: var(--mint); }
.flow-arrow { position: relative; height: 1.5px; background: var(--slate); transform-origin: left center; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 0.5rem; height: 0.5rem; border-top: 1.5px solid var(--slate); border-right: 1.5px solid var(--slate); transform: translateY(-50%) rotate(45deg); }
.js .rv.in .flow-arrow { animation: flowx 0.9s ease 0.2s both; }
@keyframes flowx { from { transform: scaleX(0); } }
@keyframes flowy { from { transform: scaleY(0); } }
.flow-asks { display: grid; gap: 1.1rem; }
.flow-asks .label { margin-bottom: 0.4rem; letter-spacing: 0.1em; }
.flow-asks li { font-size: var(--small); line-height: 1.4; color: var(--ink); padding: 0.15rem 0; }

/* The Model: the demo. Without script the four steps stack; with it they become four tabs over one stage. */
.demo-sec { padding-top: clamp(2rem, 4vw, 3rem); }
.demo-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.25rem; }
.demo-head .lead { margin-top: 0.8rem; max-width: 56rem; }
.play-ico { width: 0; height: 0; border-left: 0.7rem solid currentColor; border-block: 0.45rem solid transparent; }
[aria-pressed="true"] > .play-ico { width: 0.7rem; height: 0.9rem; border: 0; border-inline: 0.25rem solid currentColor; }
.demo-tabs { display: none; }
.js .demo-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.75rem; }
.dtab { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 0.7rem; align-content: start; align-items: center; text-align: left; min-height: 3.5rem; padding: 0.8rem 1rem 0.95rem; border: 1px solid var(--line); border-top: 3px solid #cfd6dc; border-radius: 1rem; background: var(--bg); cursor: pointer; }
.dtab[aria-selected="true"] { background: var(--white); border-top-color: var(--green); box-shadow: var(--shadow); }
.dstep-n { width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--slate); display: grid; place-items: center; color: var(--slate); letter-spacing: 0; }
.dtab[aria-selected="true"] .dstep-n { border-color: var(--green); color: var(--dgreen); }
.dtab-h { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.dtab-p { grid-column: 1 / -1; font-size: var(--small); line-height: 1.45; color: var(--muted); }
.dtab.run::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform-origin: left center; animation: dprog var(--dwell, 4s) linear forwards; }
@keyframes dprog { from { transform: scaleX(0); } to { transform: none; } }
@keyframes dfade { from { opacity: 0; } to { opacity: 1; } }
.demo-steps { display: grid; gap: 2rem; }
.dstep-text { position: relative; padding-left: 2.6rem; }
.dstep-text .dstep-n { position: absolute; left: 0; top: 0; }
.dstep-text p { margin-top: 0.35rem; color: var(--muted); max-width: 34rem; }
.dstep-fig { margin-top: 1rem; }
html:not(.js) .fig-1, html:not(.js) .fig-3 { max-width: 34rem; margin-inline: auto; }
html:not(.js) .fig-4 { max-width: 58rem; margin-inline: auto; }
html:not(.js) .fig-2 .sv { width: fit-content; max-width: 100%; margin-inline: auto; }
.part { position: relative; border-radius: var(--r); }
.part-n { display: none; }
.fig-1 .out-text { padding: 0.5rem; }
.ic-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.3rem 0.9rem; padding: 0.55rem 0.8rem; }
.ic-strip .ic-title { margin: 0; font-size: var(--small); }
.ic-strip .ic-ok { margin: 0; padding: 0.35rem 0.7rem; border-width: 1.5px; }
.ic-strip .ic-ok b { display: inline; }
.ic-more a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--small); font-weight: 700; color: var(--dgreen); }
.step-viewer { --img-h: 23rem; margin: 0 auto; }
.slice-note { margin-top: 0.75rem; font-size: var(--small); color: #334155; }
.slice-note.on-out { margin: 0; padding: 0.65rem 0.35rem 0.2rem; color: #d3dde3; }
.js .demo-steps { background: var(--mint); border-radius: 1.75rem; padding: 1.5rem 2rem; min-height: 40rem; gap: 0; }
.js .dstep { display: contents; }
.js .dstep-text, .js .dstep-fig { display: none; margin: 0; }
.js .dstep.on .part { outline: 2px solid var(--green); outline-offset: 4px; }
.js [data-idle] .dstep.on .part { outline: 0; }
.js .fig-4 { animation: dfade 0.25s ease; }
.under-steps { margin-top: 1.25rem; text-align: center; font-size: var(--small); font-weight: 700; color: var(--ink); }

/* The Model: Patient B */
.case-text h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.case-text p:last-child { margin-top: 0.9rem; color: var(--muted); }
.case-viewer { --img-h: 22.5rem; margin: 0; }
.case-result details > .sr { margin-top: 0; }
.case-check summary, .case-result summary { list-style: none; }
.case-result summary::-webkit-details-marker { display: none; }
.case-result summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; min-height: 2.75rem; padding: 0 0.2rem 0.4rem; font-size: var(--small); font-weight: 700; color: #fff; }
.case-result .sr-title { display: none; }
.case-check summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--white); font-size: var(--small); font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.case-check summary::-webkit-details-marker { display: none; }
.case-check summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--slate); }
.case-check[open] summary::after { content: "\2212"; }
.when-open, .case-check[open] .when-closed { display: none; }
.case-check[open] .when-open { display: inline; }
.case-check .out { margin-top: 0.6rem; }
.evidence { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-left: 3px solid var(--slate); border-radius: 0 1rem 1rem 0; padding: 1.1rem 1.5rem; background: var(--white); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0.6rem clamp(2rem, 4vw, 3.5rem); }
.evidence p { color: var(--muted); max-width: 44rem; }

/* The Model: what it gives today, and what it will never say */
.gives-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.gives h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.gives .lead { margin-top: 0.8rem; }
.spec { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.spec details { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.spec details::after { content: ""; display: block; clear: both; }
.spec summary { float: left; width: 9rem; font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.04em; color: var(--dgreen); padding-top: 0.2em; list-style: none; }
.spec summary::-webkit-details-marker { display: none; }
.spec p { margin-left: 10.25rem; font-size: 1rem; }
.never { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 2rem); }
.nevers { margin-top: 1rem; border-top: 1px solid var(--line); }
.nevers li { position: relative; padding: 0.75rem 0 0.75rem 2.4rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.nevers li:last-child { border-bottom: 0; padding-bottom: 0; }
.nevers li::before { content: ""; position: absolute; left: 0; top: 0.9rem; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--slate); background: linear-gradient(45deg, transparent 44%, var(--slate) 44%, var(--slate) 56%, transparent 56%); }
.nevers small { display: block; font-family: var(--sans); font-size: var(--small); color: var(--muted); margin-top: 0.25rem; }

/* The Model: next, three steps in order */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.25rem; }
.steps3 li { border-top: 2px solid var(--green); padding-top: 0.9rem; }
.steps3-k { font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dgreen); margin-bottom: 0.4rem; }
.steps3 h3 { font-size: 1.35rem; }
.steps3 details > p { margin-top: 0.5rem; font-size: var(--small); color: #334155; }
.steps3 details > .source { font-size: var(--tiny); color: var(--muted); }
.steps3 summary { list-style: none; }
.steps3 summary::-webkit-details-marker { display: none; }
.steps3-k { display: block; }
.twin-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; margin-top: 1.5rem; font-size: var(--small); color: #334155; }

/* Company, round 2 */
.film-replay { bottom: auto; top: 0.6rem; }
.film-cap { padding: 0.6rem 1rem 0.7rem; font-size: var(--small); color: var(--slate); background: var(--white); }
.horizon { margin-top: 1.25rem; color: var(--slate); max-width: 46rem; }

/* Wide screens: the caption sits beside the scan, so the whole frame is inside one screen */
@media (min-width: 80rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; }
  .hero-viewer { --img-h: max(19rem, min(32rem, calc(100svh - 19.5rem))); }
  .step-viewer { --img-h: 24.75rem; }
  .sv-side { width: auto; display: grid; grid-template-columns: calc(var(--img-h) * var(--ratio)) 12.5rem; grid-template-areas: "view cap" "plain cap" "bar cap"; grid-template-rows: auto auto 1fr; column-gap: 0.9rem; }
  .sv-side .sv-view { grid-area: view; }
  .sv-side .sv-plain { grid-area: plain; }
  .sv-side .sv-bar { grid-area: bar; }
  .sv-side .cap { grid-area: cap; align-content: start; grid-template-rows: auto auto auto 1fr; padding: 0.35rem 0.25rem 0.2rem 0; gap: 0.7rem; }
  .sv-side .cap-src { align-self: end; }
  .status-card { display: flex; flex-direction: column; }
  .ledger { flex: 1; display: grid; grid-template-rows: repeat(3, 1fr); }
  .ledger li { align-content: center; }
}
@media (min-width: 64rem) {
  .hero-model .hero-grid2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero-model { padding-bottom: 2.5rem; }
  .spec summary, .case-result summary { pointer-events: none; }
  .foot-panel { padding-top: 1.75rem; }
  .foot-notices { padding-bottom: 1.5rem; }
  .foot-top { padding-top: 1.5rem; }
}
@media (max-width: 63.99rem) {
  .hero-grid { display: flex; flex-direction: column; }
  .hero-top { order: 1; } .hero-more { order: 2; max-width: 40rem; } .hero-cta { order: 3; } .hero-viewer { order: 4; margin-top: 1.25rem; }
  .hero-viewer { --img-h: 38rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-still { margin-top: 0.5rem; }
  .standing-grid, .idea-home, .idea-grid, .vision-grid, .gives-grid, .evidence, .steps3 { grid-template-columns: 1fr; }
  .status-card { order: 0; }
  .step-viewer, .case-viewer { --img-h: 34rem; }
  .js .demo-tabs { gap: 0.4rem; }
  .dtab { display: flex; justify-content: center; min-height: 2.75rem; padding: 0; border-top-width: 1px; border-radius: 999px; }
  .dtab-h, .dtab-p { display: none; }
  .dtab .dstep-n { border: 0; font-size: var(--small); font-weight: 700; }
  .dtab[aria-selected="true"] { background: var(--slate); border-color: var(--slate); }
  .dtab[aria-selected="true"] .dstep-n { color: #fff; }
  .dtab.run::after { height: 100%; background: rgba(131, 206, 64, 0.35); }
  .js .demo-steps { display: flex; flex-direction: column; justify-content: flex-start; gap: 0.75rem; padding: 1rem 0.75rem 0.75rem; min-height: 43.75rem; }
  .ic-strip { grid-template-columns: 1fr; }
  .demo-play, .demo-play .btn { width: 100%; }
}
@media (max-width: 47.99rem) {
  .hero-home h1 { font-size: 2.5rem; }
  .hero-cta .btn, .door .btn { width: 100%; }
  .ledger li { grid-template-columns: 1.1rem minmax(0, 1fr); }
  .ledger p { grid-column: 2; }
  .ledger li { padding: 0.7rem 0; }
  .statement { font-size: 1.4rem; }
  .door { padding: 1.2rem; gap: 0.75rem; }
  .doors { gap: 0.9rem; }
  .fam { padding: 1.2rem; gap: 0.75rem; }
  .status-card { padding: 1.2rem; }
  .story-turn { margin-top: 1.25rem; }
  .questions, .doors, .twin-notes { grid-template-columns: 1fr; }
  .q { min-height: 0; }
  .spec summary { float: none; width: auto; display: flex; align-items: center; justify-content: space-between; min-height: 2.75rem; padding-top: 0; cursor: pointer; }
  .spec details { padding: 0.2rem 0; }
  .spec details[open] { padding-bottom: 0.75rem; }
  .spec p { margin-left: 0; }
  .spec summary::after, .case-result summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; font-weight: 400; margin-left: auto; }
  .spec summary::after { color: var(--slate); }
  .spec details[open] summary::after, .case-result details[open] summary::after { content: "\2212"; }
  .case-result summary { cursor: pointer; padding-bottom: 0; }
  .case-result details[open] summary { padding-bottom: 0.4rem; }
  .flow-asks { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .flow-box { padding: 0.7rem 0.9rem; }
  .hero-model h1 { font-size: 2.25rem; }
  .hero-model { padding-bottom: 1.75rem; }
  .evidence h3 { font-size: 1.25rem; }
  .evidence { padding: 1rem 1.1rem; }
  .steps3 { gap: 1.1rem; }
  .gives-grid { gap: 1.5rem; }
  .closer .lead { margin-top: 0.9rem; }
  .closer .actions { margin-top: 1.25rem; }
  .hero-model .hero-sub { font-size: 1.25rem; }
  .flow-line { grid-template-columns: 1fr; }
  .flow-arrow { width: 1.5px; height: 1.25rem; margin-inline: auto; transform-origin: center top; }
  .flow-arrow::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .js .rv.in .flow-arrow { animation-name: flowy; }
  .foot-panel { padding: 1.25rem 1.25rem 0; }
  .foot-notices { gap: 0.6rem; padding-bottom: 1.25rem; }
  .foot-top { padding-top: 1.25rem; }
  .wordmark { display: none; }
  .foot-top { padding-bottom: 1rem; }
  :root { --pad: 2.4rem; }
  .hero { padding-top: 5.75rem; }
  .hero-viewer { margin-top: 1rem; }
  .q { padding: 0.9rem 1.2rem 1rem; }
  .questions { gap: 0.75rem; }
  .idea-home { gap: 1.25rem; }
}

/* ===== Round 3 (22 Nov 2026) ===== */
.hero-more .hm-diff { margin-top: 0.5rem; font-weight: 600; color: var(--slate); }
.hm-phone { display: none; }
.sv-ring { color: var(--lgreen); }
.sv-chip.gone { display: none; }
.sv-simple .sv-chip.gone, .step-viewer .sv-chip.gone { display: inline-flex; visibility: hidden; }
.closer-tight { padding-block: calc(var(--pad) - 1.5rem); }
.demo-sec { padding-bottom: calc(var(--pad) - 1rem); }
.saga-lead { margin-top: 1rem; font-size: 1.0625rem; color: var(--on-dark); }
.js .part-n { display: grid; place-items: center; position: absolute; left: -0.6rem; top: -0.6rem; z-index: 2; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--slate); background: var(--white); color: var(--slate); letter-spacing: 0; }
.js .dstep.on .part-n { background: var(--dgreen); border-color: var(--dgreen); color: #fff; }
.js [data-idle] .dstep.on .part-n { background: var(--white); border-color: var(--slate); color: var(--slate); }

/* Home viewer, simple variant: the plain line sits inside the caption; under the wide layout the frame is one column in reading order */
.sv-simple .sv-plain { padding: 0; }
@media (max-width: 79.99rem) {
  .sv-simple { display: flex; flex-direction: column; }
  .sv-simple .cap { display: contents; }
  .sv-simple .sv-view { order: 0; }
  .sv-simple .sv-plain { order: 1; padding: 0.6rem 0.35rem 0; }
  .sv-simple .sv-bar { order: 2; }
  .sv-simple .cap-row { order: 3; padding: 0.75rem 0.35rem 0; }
  .sv-simple .cap-note { order: 4; padding: 0.45rem 0.35rem 0; }
  .sv-simple .cap-src { order: 5; padding: 0.45rem 0.35rem 0.3rem; }
}
@media (min-width: 80rem) {
  .sv-side.sv-simple .cap, .sv-side.step-viewer .cap { display: flex; flex-direction: column; gap: 0.875rem; }
  .sv-side.sv-simple .sv-plain { font-size: 1.0625rem; line-height: 1.4; }
  .sv-side.sv-simple .cap-note { padding-top: 0.875rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--small); }
  .sv-side.sv-simple .cap-src { margin-top: auto; }
  .sv-side.step-viewer .cap-src { align-self: auto; }
}

/* The Model, demo at desktop width: one view for steps 1 to 3, the worklist for step 4 */
@media (min-width: 64rem) {
  .js .demo-steps { display: grid; grid-template-columns: minmax(0, 39.25rem) minmax(0, 30rem); grid-template-areas: "s s" "v r"; grid-template-rows: auto auto; gap: 1rem 2.5rem; justify-content: center; align-content: center; align-items: start; padding-block: 1rem; min-height: 41rem; }
  .js .demo-steps:not([data-step="4"]) .fig-1 { display: flex; align-items: center; gap: 1.5rem; grid-area: s; }
  .js .fig-1 .part { flex: 1; min-width: 0; }
  .js .fig-1 .ic-more { flex: none; margin: 0; }
  .js .fig-1 .out-text { padding: 0.375rem; }
  .js .fig-1 .ic-strip { padding: 0.3rem 0.8rem; }
  .js .fig-1 .ic-strip .ic-ok { padding: 0.3rem 0.7rem; }
  .js .demo-steps:not([data-step="4"]) .fig-2 { display: block; grid-area: v; }
  .js .demo-steps:not([data-step="4"]) .fig-3 { display: block; grid-area: r; }
  .js .fig-3 .slice-note { margin: 0.75rem 0 0; }
  .js [data-step="4"] .fig-4 { display: block; grid-column: 1 / -1; grid-row: 1 / -1; align-self: center; justify-self: center; width: 100%; max-width: 58rem; }
  .js .fig-3 .sr { padding: 0.85rem 1rem; }
  .js .fig-3 .out-text > .cap-row { padding-bottom: 0.5rem; }
}
@media (max-width: 63.99rem) {
  .js .part-n { display: none; }
}
@media (max-width: 47.99rem) {
  .hm-wide { display: none; }
  .sv-simple .sv-chip.gone { display: none; }
  .signs { border-left: 3px solid var(--amber); padding-left: 0.9rem; font-size: var(--small); }
  .signs p, .signs ul, .signs li { display: inline; margin: 0; padding: 0; border: 0; font-weight: 400; color: var(--text); min-height: 0; }
  .step-viewer .cap-note, .step-viewer .cap-open { display: none; }
  .ic-strip { padding: 0.45rem 0.7rem; gap: 0.2rem; }
  .ic-strip .ic-ok { padding: 0.3rem 0.6rem; font-size: var(--tiny); }
  .js .dstep-text p { display: none; }
  .wl .wl-acc, .wl .wl-study, .wl .wl-status { display: none; }
  .wl-title { font-size: var(--tiny); }
  .foot-big { font-size: 1.0625rem; white-space: nowrap; }
}

/* Round 4: nothing is hidden waiting for a scroll. The class .rv stays in the pages only as the hook for drawings that replay when seen. */

@media (min-width: 90rem) {
  .chapters { position: fixed; right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chapters ul { flex-direction: column; gap: 0; overflow: visible; align-items: flex-end; }
  .chapters a { position: relative; min-height: 2rem; width: 2.2rem; padding: 0; border-radius: 0; justify-content: flex-end; }
  .chapters a:hover, .chapters a.on { background: none; }
  .chapters a::after { content: ""; width: 1.1rem; height: 2px; background: #8b98a5; transition: width 0.25s ease; }
  .chapters a.on::after { width: 2rem; background: var(--green); }
  .chapters a span { display: none; position: absolute; right: 2.7rem; top: 50%; transform: translateY(-50%); background: var(--char); color: #fff; font-size: var(--tiny); padding: 0.25rem 0.7rem; border-radius: 999px; pointer-events: none; }
  .chapters a:hover span, .chapters a:focus-visible span { display: block; }
}
@media (max-width: 89.99rem) {
  html:has(.chapters) { scroll-padding-top: 9.75rem; }
}
@media (max-width: 63.99rem) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { padding-right: 0.5rem; }
  .hero { padding-top: 6.25rem; }
  .wide-only { display: none; }
  .narrow-only { display: inline-flex; }
  .head-2, .hero-grid2, .hero-65, .saga-grid, .contact-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .founder img { width: 9rem; height: 9rem; }
  .founder { display: flex; align-items: center; gap: 1rem; }
  .founder figcaption { margin-top: 0; }
}
@media (max-width: 47.99rem) {
  .duo, .dubai-grid ul { grid-template-columns: 1fr; }
  .plist li, .beats li, .event-feature, .event-list li { grid-template-columns: 1fr; }
  .beats .mono { grid-row: auto; padding-top: 0; }
  .beats p { grid-column: 1; }
  .ic dl > div { grid-template-columns: 1fr; gap: 0; }
  .people { grid-template-columns: 1fr; }
  .people { gap: 0; border-top: 1px solid rgba(43, 63, 76, 0.2); }
  .person { grid-template-columns: 3.5rem minmax(0, 1fr) auto; column-gap: 0.9rem; align-items: center; padding: 1rem 0; background: none; border: 0; border-bottom: 1px solid rgba(43, 63, 76, 0.2); border-radius: 0; }
  .person img { grid-column: 1; border-radius: 0.75rem; }
  .person-id { grid-column: 2; margin-top: 0; }
  .person h3 { font-size: 1.125rem; }
  .person-in { grid-column: 3; align-self: center; background: var(--white); }
  .person .bio { margin-top: 0.6rem; }
  .invite p { font-size: 1rem; font-weight: 400; }
  .film-card video { aspect-ratio: auto; height: 150px; object-fit: contain; }
  .js .film-replay { display: none; }
  .founder img { width: 3.5rem; height: 3.5rem; border-radius: 0.9rem; }
  .address-acts .btn, .invite .btn { width: 100%; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .foot-top > .foot-tag { grid-column: 1 / -1; }
  .foot-top > div:nth-child(2) { grid-row: span 2; }
  .foot-top > div:last-child { grid-column: 2; align-self: start; }
  .foot-top li { padding: 0; }
  .foot-top li a { padding: 0.65rem 0; margin: 0; }
  .foot-top li:not(:has(a)) { padding: 0.65rem 0; }
  .seam-rule { gap: 0.5rem; }
  .seam-rule .label { letter-spacing: 0.06em; padding-inline: 0.6rem; }
  .arch { opacity: 0.05; width: 120vw; right: -40%; }
}

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

/* ===== Round 4 (22 Nov 2026) ===== */

/* Home hero: the phone first screen ends on the scan and the sentence that explains the ring */
@media (max-width: 47.99rem) {
  .hero-home .label { display: none; }
  .hero-home .hero-sub { font-size: 1.125rem; line-height: 1.25; margin-top: 0.75rem; }
  .hero-more { margin-top: 0.625rem; }
  .hm-phone { display: block; }
  .hero-more .hm-phone, .hero-more .hm-diff { font-size: 0.9375rem; line-height: 1.5; }
  .hero-more .hm-diff { margin-top: 0.375rem; }
  .hero-cta { margin-top: 0.75rem; }
  .hero-home .hero-viewer { margin-top: 0.8rem; }
  .sv-simple .sv-plain { font-size: 0.875rem; line-height: 1.43; padding: 0.6rem 0.375rem 0; }
}

/* Home, the idea: Patient B's stored slab alone, the caption beside it on wide screens */
.slab-side { width: 100%; max-width: 26rem; margin: 0 auto; }
@media (max-width: 47.99rem) { .slab-side { max-width: none; } }
@media (min-width: 80rem) {
  .slab-side { max-width: none; width: fit-content; margin: 0 0 0 auto; display: grid; grid-template-columns: 380px 230px; column-gap: 0.9rem; align-items: start; }
  .slab-side .cap { align-content: start; gap: 0.7rem; padding: 0.35rem 0.25rem 0.2rem 0; }
}

/* Home, the vision drawing: two bars and words. Wide screens only. It rests fully drawn. */
.twinfig { position: relative; margin-top: 2.5rem; padding: 1.75rem 2.5rem; }
.idea.twinfig .frame-tag { position: absolute; top: 0.6rem; right: 1.25rem; padding: 0; }
.tf-row { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; align-items: end; }
.tf-row + .tf-row { margin-top: 1.1rem; }
.tf-row .flow-k { line-height: 36px; }
.tf-track { position: relative; margin-right: 1.25rem; }
.tf-a .tf-bar { display: flex; align-items: center; gap: 0.4rem; width: 30%; height: 36px; padding: 0 0.25rem; background: rgba(43, 63, 76, 0.1); border: 1.5px solid rgba(43, 63, 76, 0.4); border-right: 3px solid var(--slate); border-radius: 18px 0 0 18px; }
.tf-a li, .tf-pins li { display: flex; align-items: center; height: 28px; padding: 0 0.65rem; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; line-height: 1; color: var(--ink); white-space: nowrap; }
.tf-b .tf-track { padding-top: 38px; }
.tf-b .tf-bar { display: block; position: relative; width: 100%; height: 36px; background: #dcf0e2; border: 1.5px solid var(--green); border-right: 0; border-radius: 18px 0 0 18px; }
.tf-b .tf-bar::after { content: ""; position: absolute; right: -12.75px; top: 50%; width: 25.5px; height: 25.5px; margin-top: -12.75px; transform: rotate(45deg); background: #dcf0e2; border-top: 1.5px solid var(--green); border-right: 1.5px solid var(--green); }
.tf-pins { position: absolute; inset: 0; }
.tf-pins li { position: absolute; top: 0; left: calc(var(--x) * 1%); }
.tf-pins li::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 10px; background: var(--green); }
.tf-pins li.tf-end { left: auto; right: 0.3rem; top: 42px; background: var(--dgreen); border-color: var(--dgreen); color: #fff; }
.tf-pins li.tf-end::after { display: none; }
.js .twinfig.draw .tf-b .tf-bar { animation: tfgrow 1s ease both; }
.js .twinfig.draw .tf-pins li { animation: dfade 0.25s ease both; animation-delay: calc(var(--x) * 9ms); }
@keyframes tfgrow { from { width: 30%; } to { width: 100%; } }
@media (max-width: 63.99rem) {
  .twinfig { padding: 1.75rem 1.25rem 1.5rem; }
  .tf-row { grid-template-columns: 7.5rem minmax(0, 1fr); }
}
@media (max-width: 47.99rem) { .twinfig { display: none; } }

/* Home, the doors: two full rows on wide screens */
@media (min-width: 64rem) {
  .doors { grid-template-columns: 1fr; gap: 1rem; }
  .door { display: grid; grid-template-columns: 16rem minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: start; padding: 1.5rem 2rem; }
  .door p { max-width: 34rem; }
  .door .btn { margin-top: 0; align-self: start; }
}

/* The Model hero: the glossary as one closed row */
.gloss-row { grid-column: 1 / -1; }
.gloss-row .hero-small { float: left; margin: 0 1rem 0 0; line-height: 2.75rem; }
.gloss summary { display: flex; width: fit-content; list-style: none; cursor: pointer; border-radius: 999px; }
.gloss summary::-webkit-details-marker { display: none; }
.gloss-pill { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--mint-2); border: 1px solid #cdebd6; font-size: var(--small); font-weight: 700; color: var(--ink); }
.gloss-pill::before { content: "+"; font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--dgreen); }
.gloss[open] .gloss-pill::before { content: "\2212"; }
.gloss-list { clear: both; padding-top: 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.5rem; }
.gloss-list > div { border-top: 1px solid rgba(43, 63, 76, 0.16); padding: 0.7rem 0; }
.gloss-list dt { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.gloss-list dd { font-size: var(--small); color: var(--muted); margin-top: 0.25rem; }
@media (max-width: 63.99rem) { .gloss-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 47.99rem) {
  .gloss-row .hero-small { float: none; margin: 0; line-height: 1.6; }
  .gloss summary { margin-top: 0.6rem; }
  .gloss-list { display: block; padding-top: 0.25rem; }
  .gloss-list > div { border: 0; padding: 0; margin-top: 0.75rem; font-size: 0.9375rem; }
  .gloss-list dt, .gloss-list dd { display: inline; font-family: var(--sans); font-size: 0.9375rem; margin: 0; }
  .gloss-list dt { font-weight: 700; }
  .gloss-list dd { color: var(--text); }
}

/* The Model, demo under 64 rem: each part carries its own number and title, so the ringed slab is never under "The scan arrives" */
.sr-thumb { display: none; }
.wl { display: flex; flex-direction: column; }
.wl-more summary { list-style: none; display: flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1rem; border-top: 1px solid #dfe3e8; background: #fff; font-size: var(--small); font-weight: 700; color: #242930; cursor: pointer; }
.wl-more summary::-webkit-details-marker { display: none; }
.wl-more summary span + span::before { content: "\00b7"; margin-right: 0.6rem; color: #5c6571; }
.wl-more summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 400; color: #4a5563; }
.wl-more[open] summary::after { content: "\2212"; }
.wl-more[open] + .wl-rep { border-top: 0; padding-top: 0; }
@media (min-width: 48rem) { .wl-more[open] > summary { display: none; } }
@media (max-width: 63.99rem) {
  .js .demo-steps:is([data-step="1"], [data-step="2"]) :is(#dstep-1, #dstep-2) .dstep-text, .js [data-step="3"] #dstep-3 .dstep-text, .js [data-step="4"] #dstep-4 .dstep-text { display: block; }
  .js .demo-steps:is([data-step="1"], [data-step="2"]) :is(.fig-1, .fig-2), .js [data-step="3"] .fig-3 { display: block; }
  .js [data-step="4"] .fig-4 { display: flex; flex-direction: column; flex: 1; }
  .js .fig-4 > .out-text { flex: 1; display: flex; flex-direction: column; }
  .js .fig-4 .wl { flex: 1; }
  .js .fig-4 .wl-more { margin-top: auto; }
  .js .dstep-text { padding-left: 2.35rem; min-height: 1.75rem; }
  .js .dstep-text h3 { font-size: 1.125rem; line-height: 1.75rem; }
  .js .dstep.on .dstep-text .dstep-n { background: var(--dgreen); border-color: var(--dgreen); color: #fff; }
  .js [data-idle] .dstep.on .dstep-text .dstep-n { background: none; border-color: var(--slate); color: var(--slate); }
  .js .sr-thumb { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.75rem; align-items: center; padding: 0 0.2rem 0.65rem; }
  .js .sr-thumb a { display: block; border-radius: 0.25rem; }
  .js .sr-thumb img { width: 120px; border-radius: 0.25rem; }
  .js .fig-3 .out-text > .cap-row { display: none; }
}
@media (max-width: 47.99rem) {
  .js .demo-steps { min-height: 52.5rem; }
  .ic-more { display: none; }
}

/* The Model, Patient B: what went in, then what was stored. No arrow. */
.case-grid { display: grid; gap: 1.1rem clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.case-left, .case-mid { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.case-mid figure { margin: 0; }
.case-mid .scan { box-shadow: 0 15px 40px rgba(33, 105, 53, 0.1), 0 6px 18px rgba(43, 63, 76, 0.1); }
.case-strip { padding: 0.5rem; }
.case-strip .ic-strip { grid-template-columns: 1fr; }
@media (min-width: 80rem) {
  .case-grid { grid-template-columns: minmax(0, 1fr) 18.5rem 22rem; }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .case-grid { grid-template-columns: minmax(0, 1fr) 22rem; }
  .case-left { grid-column: 1; grid-row: 1; }
  .case-mid { grid-column: 1; grid-row: 2; max-width: 18.5rem; }
  .case-viewer { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 63.99rem) {
  .case-grid { display: flex; flex-direction: column; align-items: stretch; }
  .case-left, .case-mid { display: contents; }
  .case-text { order: 1; } .case-mid .slice { order: 2; } .case-viewer { order: 3; } .case-result { order: 4; } .case-check { order: 5; }
  .case-strip { display: none; }
  .case-mid .slice { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.75rem; align-items: center; }
  .case-mid .slice .cap { padding: 0; }
  .case-mid .slice .cap-what { font-size: var(--tiny); }
}

/* The Model, Next: the source runs across the foot of the frame on wide screens; on a phone each step is a row that opens */
@media (min-width: 64rem) {
  .steps3 { position: relative; padding-bottom: calc(clamp(1.25rem, 3vw, 2.25rem) + 2.25rem); }
  .steps3 details > .source { position: absolute; left: clamp(1.25rem, 3vw, 2.25rem); right: clamp(1.25rem, 3vw, 2.25rem); bottom: clamp(1.25rem, 3vw, 2.25rem); margin: 0; }
}
@media (min-width: 48rem) { .steps3 summary { pointer-events: none; } }
@media (max-width: 47.99rem) {
  .steps3 { gap: 0; padding-block: 0.25rem; }
  .steps3 li { padding-top: 0; }
  .steps3 li:first-child { border-top: 0; }
  .steps3 summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; align-content: center; min-height: 4rem; padding: 0.6rem 0; cursor: pointer; }
  .steps3 summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.4rem; color: var(--slate); }
  .steps3 details[open] summary::after { content: "\2212"; }
  .steps3 .steps3-k { margin-bottom: 0.15rem; }
  .steps3 details > p:first-of-type { margin-top: 0; }
  .steps3 details[open] { padding-bottom: 0.9rem; }
}

/* ===== Version B (23 Nov 2026) =====
   Dark bands carry the idea and the future; light bands carry the people and today's stored output.
   Stored pictures (.out) are never cropped, covered, faded or filtered. Drawings carry the word "Illustration".
   The dashed .preview frame marks a plan, not output. */
:root {
  --night: #070d11;
  --deep: #0f1c23;
  --slate-glow: #1c3340;
  --on-dark-faint: #8fa3ad;
  --hair-dark: rgba(255, 255, 255, 0.12);
  --card-dark: rgba(255, 255, 255, 0.05);
  --grad-light: linear-gradient(120deg, #32a758 0%, #83ce40 100%);
  --btn-ink: #06110a;
  --halo: 0 0 120px rgba(50, 167, 88, 0.18);
  --band-hero: radial-gradient(90rem 60rem at 72% 46%, var(--slate-glow) 0%, var(--deep) 42%, var(--night) 78%);
  --band-idea: radial-gradient(60rem 40rem at 28% 50%, #17303a 0%, var(--deep) 55%, var(--night) 100%);
  --band-vision: radial-gradient(50rem 36rem at 74% 40%, #101d25 0%, var(--night) 70%);
  --band-doors: linear-gradient(180deg, var(--slate) 0%, var(--char) 100%);
}
.band-night, .band-deep, .band-vision, .band-doors, .closer { position: relative; overflow: hidden; color: var(--on-dark-muted); }
.band-night { background: var(--night) var(--band-hero); }
.band-deep { background: var(--deep) var(--band-idea); }
.band-vision { background: var(--night) var(--band-vision); }
.band-doors, .bg-dark.closer { background: var(--char) var(--band-doors); }
:is(.band-night, .band-deep, .band-vision, .band-doors) :is(h1, h2, h3, strong) { color: #fff; }
:is(.band-night, .band-deep, .band-vision, .band-doors, .closer) .grad { background-image: var(--grad-light); }
:is(.band-night, .band-deep, .band-vision, .band-doors) .label { color: var(--lgreen); }
:is(.band-night, .band-deep, .band-vision, .band-doors, .closer) :focus-visible { outline: 2px solid var(--lgreen); outline-offset: 2px; }
:is(.band-night, .band-deep, .band-vision, .band-doors) > .wrap { position: relative; }

/* The main button on a dark band: one per band */
.btn-light { min-height: 3.5rem; padding: 0 1.75rem; background: var(--grad-light); color: var(--btn-ink); font-size: 1rem; }
.btn-light:hover { box-shadow: 0 10px 40px rgba(131, 206, 64, 0.35); }

/* Portraits are shown as they are: no grey filter */
.founder img, .person img, .byline img { filter: none; }
.duo-sup { color: var(--on-dark-muted); }

/* The artery tree (an illustration) */
.tree-box { position: relative; }
.tree-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tree-box::before { content: ""; position: absolute; inset: 0; background: center / contain no-repeat; pointer-events: none; }
.tree-box.live::before { display: none; }
.tree-tag { position: absolute; max-width: 17rem; font-size: var(--tiny); line-height: 1.45; color: var(--on-dark-faint); }
.tree-tag span { font-family: var(--mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 0.2rem; }
@keyframes posterlate { to { opacity: 1; } }

/* Home, hero */
.hb { padding: 6rem 0 2.125rem; }
.hb .label { letter-spacing: 0.2em; margin-bottom: 0; }
.hb h1 { font-size: 3.5rem; line-height: 1; margin: 1.1rem 0 1.25rem; }
.hb h1 .grad { display: block; }
.hb-text { position: relative; z-index: 2; }
.hb-sub { font-family: var(--serif); font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; color: #e6ece9; text-wrap: balance; }
.hb-one { font-size: 1.03125rem; line-height: 1.55; margin-top: 0.9rem; }
.hb-cta { margin-top: 1.4rem; }
.hb-cta .btn { width: 100%; min-height: 3.25rem; }
.hb-tree { position: relative; z-index: 1; height: 21.25rem; margin-top: -0.75rem; }
.hb-tree .tree-box { position: absolute; inset: 0; }
.hb-tree .tree-box::before { background-image: url("../img/tree-poster-390.webp"); }
.hb-tree .tree-tag { left: 1.5rem; bottom: 1.6rem; max-width: 13.5rem; }
.hb-proof-wrap { position: relative; z-index: 2; margin-top: -1.25rem; }
.out.hb-proof { display: grid; grid-template-columns: 8.25rem minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.625rem; border-radius: 1.125rem; border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); text-decoration: none; transition: border-color 0.2s ease; }
.out.hb-proof:hover, .out.hb-proof:focus-visible { border-color: rgba(131, 206, 64, 0.5); }
.hb-proof-cap { display: grid; gap: 0.6rem; justify-items: start; }
.hb-proof .cap-src { color: var(--on-dark-muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .hb-tree .tree-box::before { opacity: 0; animation: posterlate 0.4s ease 3s forwards; }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .hb-tree { height: 26rem; }
  .out.hb-proof { max-width: 30rem; margin-left: auto; }
  .hb-cta .btn { width: auto; }
}
@media (min-width: 64rem) {
  .hb { padding: 0; height: min(900px, max(760px, calc(100svh - 60px))); }
  .hb-text { width: min(32.5rem, 42vw); padding-top: 14.5rem; }
  .hb h1 { font-size: clamp(3.25rem, 6.7vw, 6rem); line-height: 0.98; margin: 1.375rem 0 1.625rem; }
  .hb-sub { font-size: 1.75rem; line-height: 1.2; }
  .hb-one { font-size: 1.125rem; line-height: 1.6; max-width: 28.75rem; margin-top: 1.125rem; }
  .hb-cta { margin-top: 1.875rem; }
  .hb-cta .btn { width: auto; min-height: 3.5rem; }
  .hb-tree { position: absolute; left: 36%; right: 0; top: 0; bottom: 0; height: auto; margin: 0; }
  .hb-tree .tree-box { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
  .hb-tree .tree-box::before { background-image: url("../img/tree-poster-1440.webp"); }
  .hb-tree .tree-tag { left: 14%; bottom: 2rem; }
  .hb > .hb-proof-wrap { position: absolute; inset: 0; margin: 0 auto; pointer-events: none; }
  .out.hb-proof { position: absolute; right: var(--gutter); bottom: 3.5rem; width: 19rem; pointer-events: auto; }
}

/* Home, why we started */
.home-b.section { padding-block: clamp(2.5rem, 3.7vw, 3.25rem); }
.sb-grid { display: grid; grid-template-columns: 18.75rem minmax(0, 47.5rem); gap: 5rem; align-items: start; }
.sb-side > img { width: 13.75rem; height: 13.75rem; border-radius: 1.75rem; box-shadow: var(--shadow); object-fit: cover; }
.sb-clarity { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.sb-clarity img { flex: none; width: 1.5rem; height: 1.5rem; box-shadow: none; border-radius: 0; }
.sb h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.sb-state { font-family: var(--serif); font-size: 2.125rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin-top: 1.25rem; }
.sb-turn { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.sb-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; }
.sb-q { border-radius: 1.5rem; padding: 1.75rem 2rem; color: #fff; }
.sb-q1 { background: var(--slate); }
.sb-q2 { background: linear-gradient(135deg, #1b5a2d, #257a41); }
.sb-qk { font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lgreen); margin-bottom: 0.75rem; }
.sb-q2 .sb-qk { color: #fff; }
.sb-qt { font-family: var(--serif); font-size: 1.625rem; line-height: 1.22; letter-spacing: -0.01em; }
.sb-close { max-width: 38.75rem; margin: 2rem auto 0; text-align: center; font-size: 1.125rem; color: var(--muted); }
.sb-close::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--green); margin: 0 auto 1.1rem; }
@media (max-width: 63.99rem) {
  .sb-grid { display: flex; flex-direction: column; gap: 0; }
  .sb-main { display: contents; }
  .sb-main .label { order: 1; } .sb-main h2 { order: 2; } .sb-side { order: 3; } .sb-state { order: 4; } .sb-turn { order: 5; }
  .sb-side { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.25rem; }
  .sb-side > img { width: 4.5rem; height: 4.5rem; border-radius: 50%; }
  .sb-clarity { margin-top: 0; }
  .sb-state { font-size: 1.5rem; line-height: 1.25; margin-top: 1rem; }
  .sb-turn { font-size: 1.0625rem; }
  .sb-close { text-align: left; margin: 1.75rem 0 0; }
  .sb-close::before { margin-left: 0; }
}
@media (max-width: 47.99rem) {
  .sb-qs { grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.75rem; }
  .sb-q { padding: 1.25rem 1.4rem 1.4rem; }
  .sb-qt { font-size: 1.375rem; }
}

/* Home, the idea: the words, then four pictures of one patient in order. The scan (real), then the arteries, the blood flow and the finding (research). */
.ib-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head body" "seq seq"; gap: 2rem 4rem; align-items: start; }
.ib-head { grid-area: head; }
.ib-body { grid-area: body; }
.ib h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); }
.ib-body p { margin-top: 0.9rem; }
.ib-body p:first-child { margin-top: 0; }
.ib-body .ib-strong { font-family: var(--serif); font-size: 1.375rem; line-height: 1.25; color: #fff; }
.ib-seq { grid-area: seq; margin: 0; --seq-gap: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--seq-gap); }
.ib-row { display: contents; }
.ib-step { display: flex; flex-direction: column; min-width: 0; }
.ib-n { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; font-family: var(--serif); font-size: 1.3125rem; line-height: 1.2; color: #fff; }
.ib-n span { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid rgba(131, 206, 64, 0.6); font-family: var(--mono); font-size: var(--tiny); font-weight: 500; color: var(--lgreen); }
.ib-frame { position: relative; background: var(--navy); border-radius: 1.1rem; padding: 0.5rem; }
.ib-real { border: 1px solid rgba(255, 255, 255, 0.22); }
.ib-plan { border: 1px dashed rgba(131, 206, 64, 0.5); }
.ib-frame img, .ib-seq .ib-frame video { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 0.6rem; background: #000; }
.ib-step + .ib-step .ib-frame::before { content: ""; position: absolute; top: 50%; left: calc(-1px - var(--seq-gap)); width: var(--seq-gap); height: 1.5px; background: rgba(255, 255, 255, 0.4); }   /* the thin connector */
.ib-u { margin-top: 0.7rem; font-size: var(--small); line-height: 1.45; color: var(--on-dark-muted); }
.ib-fixed { margin-top: 0.4rem; font-size: var(--tiny); line-height: 1.45; color: var(--on-dark-faint); }
.ib-fixed-plan { grid-column: 2 / -1; margin-top: 0.9rem; padding-top: 0.6rem; border-top: 1px dashed rgba(131, 206, 64, 0.5); font-family: var(--mono); font-weight: 500; color: var(--lgreen); }
.ib-step .pv-again { align-self: flex-start; margin-top: 0.5rem; }
.ib-cap { grid-column: 1 / -1; margin-top: 1.1rem; font-size: var(--small); color: var(--on-dark); max-width: 52rem; }
@media (max-width: 63.99rem) {
  .ib-grid { display: flex; flex-direction: column; gap: 0; }
  .ib-head { order: 1; } .ib-body { order: 2; margin-top: 1rem; } .ib-seq { order: 3; }
  .ib-seq { margin-top: 1.5rem; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--seq-gap); }
  .ib-step:nth-child(3) .ib-frame::before { display: none; }
  .ib-fixed-plan { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 47.99rem) {
  /* a swipe row: one picture and a part of the next */
  .ib-seq { display: block; --seq-gap: 0.75rem; }
  .ib-row { display: flex; gap: var(--seq-gap); margin-inline: calc(var(--gutter) * -1); padding: 0 1.5rem 0.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem; scrollbar-width: none; }
  .ib-row::-webkit-scrollbar { display: none; }
  .ib-step { flex: 0 0 15rem; scroll-snap-align: start; }
  .ib-step:nth-child(3) .ib-frame::before { display: block; }
  .ib-n { font-size: 1.1875rem; }
  .ib-fixed-plan { margin-top: 0.6rem; }
  .ib-frame .pv-play { width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem; }
}

/* Home, what it does today */
.tb-grid { display: grid; grid-template-columns: 23.75rem minmax(0, 1fr); grid-template-areas: "text row" "after row"; grid-template-rows: auto 1fr; gap: 1.5rem 2.5rem; align-items: start; }
.tb-text { grid-area: text; }
.tb-after { grid-area: after; }
.tb-row { grid-area: row; display: grid; grid-template-columns: repeat(2, minmax(0, 26.875rem)); gap: 1.875rem; align-items: start; justify-content: end; }
.tb h2 { font-size: clamp(1.875rem, 3.1vw, 2.75rem); }
.tb .lead { margin-top: 1rem; }
.tb-after p { color: var(--text); }
.tb-after .btn { margin-top: 1.25rem; }
.tb-card { margin: 0; }
.tb-card .cap { gap: 0.5rem; padding-top: 0.75rem; }
.tb-name { font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1.2; color: #fff; }
.tb-say { font-size: var(--small); line-height: 1.45; color: #e2e9ed; }
.tb-tabs { display: none; }
.tb-tabs button { min-height: 2.75rem; min-width: 4.5rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: none; font-size: var(--small); font-weight: 700; cursor: pointer; }
@media (max-width: 79.99rem) {
  .tb-grid { display: block; }
  .tb-row { margin-top: 1.5rem; justify-content: center; }
  .tb-after { margin-top: 1.5rem; }
}
@media (max-width: 47.99rem) {
  .js .tb-tabs { display: inline-flex; gap: 0.25rem; margin-top: 1.1rem; padding: 3px; border: 1px solid rgba(43, 63, 76, 0.25); border-radius: 999px; background: var(--white); }
  .tb-tabs button { color: var(--slate); }
  .tb-tabs button[aria-pressed="true"] { background: var(--slate); color: #fff; }
  .tb-row { display: flex; justify-content: flex-start; gap: 0.75rem; margin: 0.9rem calc(var(--gutter) * -1) 0; padding: 0 1.5rem 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tb-row::-webkit-scrollbar { display: none; }
  .tb-card { flex: 0 0 19.875rem; scroll-snap-align: start; box-shadow: 0 12px 30px rgba(33, 105, 53, 0.16); }
  .tb-after { margin-top: 0.25rem; }
  .tb-after .btn { width: 100%; padding: 0 1rem; white-space: nowrap; }
}

/* Home, the vision */
.vb-grid { display: grid; grid-template-columns: minmax(0, 31.25rem) minmax(0, 45rem); grid-template-areas: "head film" "body film"; grid-template-rows: auto 1fr; gap: 0 6.25rem; justify-content: space-between; align-items: start; }
.vb-head { grid-area: head; }
.vb-body { grid-area: body; }
.vb-film { grid-area: film; align-self: center; }
.vb h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.vb-sup { font-family: var(--serif); font-size: 1.375rem; line-height: 1.25; color: var(--lgreen); margin-top: 1rem; }
.vb-body p { margin-top: 1rem; }
.preview { margin: 0; background: var(--navy); border: 1px dashed rgba(131, 206, 64, 0.45); border-radius: 1.25rem; padding: 0.625rem; }
.pv-tag { display: flex; align-items: center; min-height: 2.5rem; padding: 0 0.4rem; font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.04em; color: var(--lgreen); }
.pv-view { position: relative; }
.pv-view video { width: 100%; height: auto; aspect-ratio: 960 / 414; border-radius: 0.625rem; background: #000; }
.pv-play { position: absolute; left: 50%; top: 50%; width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; border: 0; border-radius: 50%; background: var(--grad-light); color: var(--btn-ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.pv-play[hidden], .pv-again[hidden] { display: none; }
.pv-play span { width: 0; height: 0; margin-left: 0.3rem; border-left: 1.1rem solid currentColor; border-block: 0.7rem solid transparent; }
.pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.5rem 0.4rem 0.1rem; min-height: 3.25rem; }
.pv-say { font-size: var(--small); line-height: 1.4; color: var(--on-dark-muted); }
.pv-again { flex: none; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; font-size: var(--small); font-weight: 700; cursor: pointer; }
.pv-again:hover { background: rgba(255, 255, 255, 0.08); }
.vb-callback { font-family: var(--serif); font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.01em; color: #fff; max-width: 40rem; margin-top: 2rem; text-wrap: balance; }
@media (max-width: 79.99rem) {
  .vb-grid { display: block; }
  .vb-film { margin-top: 1.5rem; }
  .vb-body { margin-top: 1.5rem; }
  .vb-callback { font-size: 1.5rem; margin-top: 1.25rem; }
}
@media (max-width: 47.99rem) {
  .vb-sup { font-size: 1.1875rem; }
  .pv-foot { flex-wrap: wrap; }
}

/* Home, Dubai and the people. No photograph: the headline, the text and the four faces carry the band. */
.pb-grid { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 30rem); grid-template-areas: "text body" "people people"; gap: 0 5rem; justify-content: space-between; align-items: end; }
.pb-text { grid-area: text; }
.pb-body { grid-area: body; }
.pb-body > p:first-child { color: var(--muted); }
.pb-more { margin-top: 0.4rem; }
.pb-people { grid-area: people; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.75rem; padding-top: 2.75rem; border-top: 1px solid var(--line); text-align: center; }
.pb-people img { width: 8rem; height: 8rem; margin: 0 auto 1rem; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); object-fit: cover; }
.pb-people h3 { font-size: 1.25rem; }
.pb-role { font-family: var(--mono); font-size: var(--tiny); letter-spacing: 0.02em; color: var(--dgreen); margin-top: 0.3rem; }
.pb-line { font-size: var(--small); line-height: 1.4; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 63.99rem) {
  .pb-grid { display: block; }
  .pb-body { margin-top: 1rem; }
  .pb-people { grid-template-columns: 1fr 1fr; margin-top: 1.25rem; padding-top: 1.5rem; }
}
@media (max-width: 47.99rem) {
  .pb-people { grid-template-columns: 1fr; gap: 0; padding-top: 0.75rem; text-align: left; }
  .pb-people li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.9rem; align-items: center; min-height: 5.25rem; padding: 0.4rem 0; }
  .pb-people img { width: 4.5rem; height: 4.5rem; margin: 0; }
  .pb-people h3 { font-size: 1.125rem; }
  .pb-line { margin-top: 0.2rem; }
}

/* Home, three doors */
.db .arch, .closer .arch { right: auto; left: 50%; top: 6rem; transform: translate(-50%, -50%); width: min(22rem, 80vw); opacity: 0.06; }
.db-head { text-align: center; }
.db-head .label { justify-content: center; }
.db h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.db-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.875rem; margin-top: 2.5rem; }
.db-door { display: flex; flex-direction: column; gap: 0.9rem; min-height: 18.75rem; padding: 1.75rem; border-radius: 1.5rem; background: var(--card-dark); border: 1px solid var(--hair-dark); }
.db-door h3 { font-size: 1.625rem; }
.db-door p { font-size: 1rem; }
.db-door .btn { margin-top: auto; align-self: stretch; min-height: 3.25rem; padding: 0 1rem; font-size: var(--small); text-align: center; white-space: nowrap; }
.db-signs { max-width: 47.5rem; margin: 2rem auto 0; text-align: center; font-size: var(--small); color: var(--on-dark); }
.closer .arch { left: auto; right: -8%; top: 50%; transform: translateY(-50%); width: min(40rem, 64vw); }
@media (max-width: 63.99rem) {
  .db-doors { grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.5rem; }
  .db-door { min-height: 0; padding: 1.4rem; }
  .db-door .btn { width: 100%; }
  .db-signs { text-align: left; margin-top: 1.25rem; }
}
@media (max-width: 47.99rem) {
  .home-b { --gutter: 1.5rem; }
  .db-door h3 { font-size: 1.4rem; }
}

/* The Model, hero on the dark band */
.hero.band-night .hero-sub { color: #e6ece9; }
.hero.band-night .hero-small { color: var(--on-dark-muted); }
.hero.band-night .gloss-pill { background: var(--card-dark); border-color: var(--hair-dark); color: #fff; }
.hero.band-night .gloss-pill::before { color: var(--lgreen); }
.hero.band-night .gloss[open] .gloss-list { margin-top: 1rem; padding: 0.5rem 1.25rem; background: var(--char); border-radius: 1rem; }
.hero.band-night .gloss-list > div { border-top-color: var(--hair-dark); }
.hero.band-night .gloss-list dt { color: #fff; }
.hero.band-night .gloss-list dd { color: var(--on-dark-muted); }
.hero.band-night .out { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border-color: rgba(255, 255, 255, 0.14); }
@media (min-width: 90rem) {
  .chapters.on-dark a::after { background: rgba(255, 255, 255, 0.5); }
  .chapters.on-dark a.on::after { background: var(--lgreen); }
}

/* Version B: every link in the menu and the footer is at least 44 px tall to the pointer */
.nav-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; }
.foot-top li a { padding: 0.65rem 0; margin: -0.65rem 0; }

/* Home hero: the next event as a small quiet pill above the label. The link's hit area is 44 px tall; the pill it sits in is slimmer. */
.hb .event-line { display: inline-block; max-width: 100%; margin: 0 0 1rem; border: 1px solid var(--hair-dark); border-radius: 1.1rem; }
.hb .event-line a { display: block; padding: 0.8rem 0.9rem; margin: -0.42rem 0; font-size: 0.875rem; font-weight: 500; line-height: 1.35; color: var(--on-dark-muted); text-decoration: none; }
.hb .event-line a::before { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; margin-right: 0.55rem; border-radius: 50%; background: var(--lgreen); vertical-align: 0.1em; }
.hb .event-line:hover { border-color: rgba(131, 206, 64, 0.5); }
.hb .event-line a:hover { color: #fff; }
@media (max-width: 63.99rem) { .hb:has(.event-line) { padding-top: 5.75rem; } .hb:has(.event-line) .hb-tree { margin-top: -2.75rem; } .hb .event-line { margin-bottom: 0.8rem; } }
@media (min-width: 64rem) { .hb:has(.event-line) .hb-text { padding-top: 11.5rem; } .hb .event-line { border-radius: 999px; white-space: nowrap; margin-bottom: 1.1rem; } }

/* Version B: the footer ends on its links and the copyright line (the large decorative word is gone) */
.foot-panel { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 47.99rem) { .foot-panel { padding-bottom: 0.25rem; } }

/* Home: four facts between the dark hero and the story */
.fb { background: var(--mint); padding-block: 2.75rem 2.25rem; }
.fb-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.fb-list li { border-top: 2px solid var(--green); padding-top: 0.9rem; }
.fb-n { font-family: var(--serif); font-size: clamp(2.5rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.fb-t { margin-top: 0.6rem; font-size: var(--small); line-height: 1.45; color: var(--text); }
.fb-src { margin-top: 1.5rem; font-size: var(--tiny); color: var(--muted); }
@media (max-width: 47.99rem) {
  .fb { padding-block: 1.75rem 1.5rem; }
  .fb-list { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem; }
  .fb-n { font-size: 2.25rem; }
  .fb-src { margin-top: 1.1rem; }
}

/* The hero tree can be turned by hand */
.hb-tree canvas[data-turn] { cursor: grab; touch-action: pan-y; }
.hb-tree canvas.turning { cursor: grabbing; }
.hb-tree canvas:focus-visible { outline: 2px solid var(--lgreen); outline-offset: -4px; border-radius: 1rem; }
.tree-hint { display: none; position: absolute; right: 1.5rem; bottom: 2rem; font-family: var(--mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-faint); transition: opacity 0.6s ease; pointer-events: none; }
.js .tree-hint { display: block; }
.js .tree-hint[hidden] { display: none; }
.tree-hint.gone { opacity: 0; }
@media (min-width: 64rem) { .tree-hint { right: auto; left: 14%; bottom: 4.9rem; } }

/* Phone length (lead's decision 5): when Home is over its limit on a phone, the supporting line of the vision is the first thing left out there */
@media (max-width: 47.99rem) { .vb-sup { display: none; } }
@media (max-width: 47.99rem) { .home-b.section { padding-block: 2rem; } }
@media (max-width: 47.99rem) { .hb { padding-bottom: 1.5rem; } .sb-close { margin-top: 1.25rem; } .sb-qs { margin-top: 1.4rem; } }

/* Phone and tablet: the caption of the hero drawing sits under the drawing, not over its arteries */
@media (max-width: 63.99rem) {
  .hb-tree { height: auto; }
  .hb-tree .tree-box { position: relative; inset: auto; height: 21.25rem; }
  .hb-tree .tree-tag { position: static; max-width: none; padding: 0.25rem var(--gutter, 1.5rem) 0; }
  .hb-tree .tree-hint { bottom: auto; top: 19.25rem; right: var(--gutter, 1.5rem); }
  .hb-proof-wrap { margin-top: 0.9rem; }
}
@media (min-width: 48rem) and (max-width: 63.99rem) { .hb-tree .tree-box { height: 26rem; } .hb-tree .tree-hint { top: 24rem; } }
