/* msr. Investment Management
   Layout and rhythm modelled on a Nordic asset-manager site: square corners,
   large regular-weight type, one dark brand colour doing the work. */

:root {
  --petrol: #2A4550;
  --petrol-700: #223943;
  --petrol-900: #172A31;
  --ink: #1B282D;
  --ink-2: #3F4F55;
  --muted: #66767C;
  --line: #D9E1E3;
  --line-soft: #E8EEEF;
  --mist: #F2F5F6;
  --mist-2: #E6EDEF;
  --white: #FFFFFF;
  --foam: #BFD6DA;
  --chart-port: #00809A;
  --chart-bench: #C07F3A;
  --up: #2E8B57;
  --down: #B5483C;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 64px;
  --maxw: 1440px;
  --header-h: 80px;
  --section-y: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1100px) { :root { --gutter: 40px; --section-y: 88px; } }
@media (max-width: 720px)  { :root { --gutter: 20px; --section-y: 64px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.has-solid-header { padding-top: var(--header-h); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--chart-port); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 200; background: var(--petrol); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--mist { background: var(--mist); }
.section--petrol { background: var(--petrol); color: #fff; }
.section--dark { background: var(--petrol-900); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.split--wide-left { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Type ---------- */
.h-hero { font-size: clamp(42px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.025em; }
.h-page { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.02em; }
.h-2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.18; }
.h-3 { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.25; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); }
.section--petrol .lead, .section--dark .lead { color: rgba(255,255,255,.82); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section--petrol .eyebrow, .section--dark .eyebrow { color: var(--foam); }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 20px; }
.stack-sm > * + * { margin-top: 12px; }
.prose-block p + p { margin-top: 18px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; min-height: 46px;
  font-size: 16px; font-weight: 500; line-height: 22px;
  text-decoration: none; border: 1px solid var(--petrol);
  background: var(--petrol); color: #fff; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--petrol-900); border-color: var(--petrol-900); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--petrol); border-color: #fff; }
.btn--light:hover { background: var(--mist-2); border-color: var(--mist-2); color: var(--petrol-900); }
.btn--ghost { background: transparent; color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--petrol); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.arrow { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: #fff; color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(23,42,49,.06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { height: 26px; width: auto; }
.brand-sub { font-size: 11px; line-height: 1.15; font-weight: 500; letter-spacing: .01em; }
.brand-mark--light { display: none; }
.site-header.is-overlay:not(.is-scrolled) { background: transparent; color: #fff; }
.site-header.is-overlay:not(.is-scrolled) .brand-mark--light { display: block; }
.site-header.is-overlay:not(.is-scrolled) .brand-mark--dark { display: none; }
.site-header.is-overlay:not(.is-scrolled)::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,22,27,.45), rgba(10,22,27,0));
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { border: 1px solid currentColor; padding: 7px 12px; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.site-header.is-overlay:not(.is-scrolled) .nav .nav-cta:hover { background: #fff; color: var(--petrol); border-color: #fff; }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font-size: 15px; font-weight: 500; cursor: pointer; color: inherit; }
.burger { width: 18px; height: 12px; position: relative; }
.burger::before, .burger::after, .burger i { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.burger::before { top: 0; } .burger i { top: 5px; } .burger::after { bottom: 0; }
@media (max-width: 1020px) { .nav { display: none; } .menu-btn { display: inline-flex; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--petrol); color: #fff;
  display: flex; flex-direction: column; padding: 0 var(--gutter) 40px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.mobile-menu .mm-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 24px; }
.mobile-menu nav a { font-size: 30px; line-height: 1.2; padding: 14px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.mobile-menu .mm-foot { margin-top: auto; font-size: 14px; color: var(--foam); }
.close-btn { background: none; border: 0; color: #fff; font-size: 15px; font-weight: 500; display: inline-flex; gap: 10px; align-items: center; cursor: pointer; padding: 8px 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 560px; color: #fff; background: var(--petrol-900); overflow: hidden; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
/* Push the ship (centre of the clip) to the right of the headline on wide screens */
@media (min-width: 900px) and (min-aspect-ratio: 4/3) {
  .hero-media video, .hero-media img { width: 136%; max-width: none; left: 0; right: auto; }
}
.hero-media video.is-ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,22,27,.62) 0%, rgba(10,22,27,.34) 48%, rgba(10,22,27,.12) 100%),
  linear-gradient(0deg, rgba(10,22,27,.35) 0%, rgba(10,22,27,0) 35%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hero-content .h-hero { max-width: none; white-space: nowrap; font-size: clamp(34px, 4.4vw, 64px); }
@media (max-width: 720px) { .hero-content .h-hero { white-space: normal; } }
.hero-content .hero-sub { margin-top: 20px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; color: rgba(255,255,255,.92); }
.hero-content .btn { margin-top: 32px; align-self: flex-start; }
.hero-controls { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; }
.video-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(10,22,27,.25); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-toggle:hover { background: rgba(255,255,255,.15); }
.video-toggle svg { width: 14px; height: 14px; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 28px; z-index: 3; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); display: flex; gap: 10px; align-items: center; }
.hero-scroll span { width: 1px; height: 28px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { top: -100%; } 60%, 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll span::after { animation: none; } }

/* ---------- Section heading row ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head .lead { margin-top: 12px; max-width: 42em; }
@media (max-width: 720px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Rows ("What we do") ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.35fr) auto;
  align-items: center; border-bottom: 1px solid var(--line); padding: 16px 0;
}
.row > :not(.btn) { padding: 0 24px; }
.row > :first-child { padding-left: 0; }
.row > .btn { margin-left: 24px; white-space: nowrap; }
.row-name, .row-desc { border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
.row-desc { color: var(--ink-2); }
.row-thumb { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: var(--petrol-900); }
.row-thumb img, .row-thumb svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.row:hover .row-thumb img, .row:hover .row-thumb svg { transform: scale(1.04); }
.row-name .h-3 { display: flex; flex-direction: column; gap: 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tag--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--chart-bench); margin-right: 6px; vertical-align: 1px; }
@media (max-width: 900px) {
  .row { grid-template-columns: 140px 1fr; row-gap: 12px; padding: 20px 0; }
  .row > :not(.btn) { padding: 0 0 0 20px; }
  .row > :first-child { padding-left: 0; }
  .row > .btn { margin-left: 20px; justify-self: start; }
  .row-thumb { grid-row: span 3; align-self: start; }
  .row-name, .row-desc { border-left: 0; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .row > :not(.btn) { padding: 0; }
  .row > .btn { margin-left: 0; }
  .row-thumb { grid-row: auto; }
}

/* ---------- Cards (insights) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--mist); text-decoration: none; color: inherit; transition: background-color .25s var(--ease); }
.card:hover { background: var(--mist-2); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--petrol-900); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-badge { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92); color: var(--petrol); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 8px; }
.card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.card-title { margin-top: 14px; font-size: 22px; line-height: 1.28; letter-spacing: -0.01em; }
.card-excerpt { margin-top: 10px; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.card[hidden] { display: none; }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--petrol); color: #fff; padding: var(--section-y) 0; }
.newsletter .lead { color: rgba(255,255,255,.85); max-width: 30em; margin-top: 16px; }
.nl-points { margin-top: 28px; display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.nl-points li { display: flex; gap: 12px; align-items: baseline; }
.nl-points li::before { content: ""; width: 14px; height: 1px; background: var(--foam); flex: none; transform: translateY(-4px); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 15px; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 10px 16px; min-height: 44px; border-radius: 0; font-size: 16px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA7AB; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--chart-port); outline-offset: 0; border-color: transparent; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--petrol); flex: none; }
.newsletter .check { color: rgba(255,255,255,.85); }
.newsletter .check a { color: #fff; }
.form-status { font-size: 15px; min-height: 1.5em; }
.newsletter .form-status { color: var(--foam); }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-900); color: #fff; padding: 80px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { margin-top: 20px; color: rgba(255,255,255,.7); max-width: 22em; font-size: 14px; }
.foot-col h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--foam); margin-bottom: 14px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { text-decoration: none; color: rgba(255,255,255,.88); }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-col address { font-style: normal; color: rgba(255,255,255,.88); line-height: 1.7; }
.foot-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.7); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.foot-links a { color: rgba(255,255,255,.88); }
.icon-circle { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--petrol-900); display: inline-grid; place-items: center; }
.icon-circle svg { width: 14px; height: 14px; }

/* ---------- Page heads ---------- */
.pagehead { padding: 72px 0 56px; }
.pagehead-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
.pagehead-grid .aside { font-size: 19px; line-height: 1.45; color: var(--ink-2); padding-bottom: 6px; }
@media (max-width: 900px) { .pagehead-grid { grid-template-columns: 1fr; gap: 20px; } }
.pagehead--petrol { background: var(--petrol); color: #fff; padding: calc(var(--header-h) + 88px) 0 72px; }
.pagehead--petrol .lead { color: rgba(255,255,255,.85); margin-top: 16px; max-width: 40em; }

/* ---------- Photo with overlay card ---------- */
.photo-card { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card .wrap { position: relative; }
.overlay-card { background: rgba(42,69,80,.94); color: #fff; padding: 48px; max-width: 560px; }
.overlay-card .h-2 { margin-bottom: 20px; }
.overlay-card p { color: rgba(255,255,255,.88); }
.overlay-card p + p { margin-top: 16px; }
@media (max-width: 720px) { .photo-card { min-height: 0; padding: 200px 0 0; align-items: flex-end; } .photo-card .wrap { padding: 0; } .overlay-card { padding: 32px 20px; max-width: none; } }

/* ---------- Number tiles (rolling digits) ---------- */
.tiles-band { position: relative; padding: 96px 0; overflow: hidden; }
.tiles-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tiles-band::after { content: ""; position: absolute; inset: 0; background: rgba(10,22,27,.35); }
.tiles-band .wrap { position: relative; z-index: 1; }
.tiles-band .h-2 { color: #fff; margin-bottom: 32px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: #fff; padding: 28px 28px 32px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.tile--accent { background: var(--foam); }
.tile--petrol { background: var(--petrol); color: #fff; }
.tile-value { font-size: clamp(38px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.02em; font-weight: 500; display: flex; align-items: flex-end; gap: 6px; }
.tile-value small { font-size: .5em; font-weight: 500; letter-spacing: 0; padding-bottom: .12em; }
.tile-label { margin-top: 20px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.tile--petrol .tile-label { color: rgba(255,255,255,.82); }
.tile-src { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.roll { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; font-variant-numeric: tabular-nums; }
.roll-digit { display: inline-block; height: 1em; overflow: hidden; }
.roll-strip { display: flex; flex-direction: column; transition: transform 1.6s var(--ease); }
.roll-strip span { height: 1em; line-height: 1; }

/* ---------- Letter (CEO-letter pattern) ---------- */
.letter { display: grid; grid-template-columns: 1fr 1.15fr; }
.letter-media { position: relative; min-height: 520px; background: var(--petrol-900); overflow: hidden; }
.letter-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.letter-body { background: var(--petrol); color: #fff; padding: 64px; }
.letter-body .h-2 { margin-bottom: 24px; }
.letter-body p { color: rgba(255,255,255,.88); }
.letter-body p + p { margin-top: 16px; }
.letter-sign { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; }
.letter-sign span { display: block; color: var(--foam); font-size: 13px; }
@media (max-width: 900px) { .letter { grid-template-columns: 1fr; } .letter-media { min-height: 300px; } .letter-body { padding: 40px 24px; } }

/* ---------- Placeholder portrait ---------- */
.portrait { position: relative; background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-900) 100%); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: .02em; }
.portrait-note { position: absolute; left: 12px; bottom: 12px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.group-photo { aspect-ratio: 21 / 9; }
@media (max-width: 720px) { .group-photo { aspect-ratio: 4 / 3; } }

/* ---------- Why tiles ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why-item { background: var(--petrol); color: #fff; padding: 36px 32px 40px; }
.why-item svg { width: 32px; height: 32px; color: var(--foam); margin-bottom: 28px; }
.why-item h3 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.why-item p { color: rgba(255,255,255,.82); font-size: 16px; }

/* ---------- Team cards ---------- */
.team-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width: 900px) { .team-cards { grid-template-columns: 1fr; } }
.team-card .portrait { aspect-ratio: 4 / 5; }
.team-card h3 { margin-top: 20px; font-size: 22px; }
.team-card .role { font-size: 15px; color: var(--muted); margin-top: 4px; }
.team-card p { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.team-card .link-arrow { margin-top: 16px; font-size: 15px; }

/* ---------- Portfolio (fund page) ---------- */
.fund-hero { position: relative; padding: 120px 0 104px; text-align: center; overflow: hidden; background: var(--mist); }
.fund-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 6) 100%;
  background-position: var(--gutter) 0;
  opacity: .7;
}
.fund-hero .wrap { position: relative; }
.fund-title { font-size: clamp(52px, 9vw, 132px); line-height: .95; letter-spacing: -0.04em; font-weight: 500; }
.fund-hero .lead { max-width: 40em; margin: 28px auto 0; }
.fund-hero .btns { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.accordion { border-top: 1px solid var(--line); margin-top: 24px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 17px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; transition: transform .25s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.accordion .acc-body .link-arrow { margin-top: 12px; font-size: 15px; }
.notice { margin-top: 24px; padding: 16px 20px; background: var(--mist); border-left: 3px solid var(--petrol); font-size: 15px; color: var(--ink-2); }

/* Chart */
.perf-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.seg { display: inline-flex; border: 1px solid var(--petrol); }
.seg button { border: 0; background: #fff; color: var(--petrol); padding: 9px 16px; font-size: 15px; font-weight: 500; cursor: pointer; min-width: 64px; }
.seg button + button { border-left: 1px solid var(--petrol); }
.seg button[aria-pressed="true"] { background: var(--petrol); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; background: #FBF1E6; color: #7A4B1C; border: 1px solid #EBD3B6; }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 18px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: 14px; color: var(--muted); }
.stat dd { margin: 6px 0 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .vs { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(3, minmax(0,1fr)); } .stat:nth-child(4) { border-left: 0; padding-left: 0; } .stat:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); } .stat:nth-child(-n+2) { border-top: 0; } }
.chart-wrap { position: relative; margin-top: 28px; }
.chart-svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart-svg .grid line { stroke: var(--line-soft); stroke-width: 1; shape-rendering: crispEdges; }
.chart-svg .axis text { fill: var(--muted); font-size: 12px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart-svg .baseline { stroke: var(--line); }
.chart-svg .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-svg .line--port { stroke: var(--chart-port); }
.chart-svg .line--bench { stroke: var(--chart-bench); }
.chart-svg .area--port { fill: var(--chart-port); opacity: .08; }
.chart-svg .end-dot { stroke: #fff; stroke-width: 2; }
.chart-svg .end-label { font-size: 13px; font-weight: 600; fill: var(--ink); font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart-svg .cross { stroke: var(--ink-2); stroke-width: 1; opacity: 0; }
.chart-svg .hover-dot { opacity: 0; stroke: #fff; stroke-width: 2; }
.chart-wrap.is-hover .cross, .chart-wrap.is-hover .hover-dot { opacity: 1; }
.tooltip { position: absolute; top: 0; left: 0; pointer-events: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(23,42,49,.12); padding: 10px 12px; font-size: 13px; min-width: 170px; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; z-index: 5; }
.chart-wrap.is-hover .tooltip { opacity: 1; transform: none; }
.tooltip .tt-date { color: var(--muted); margin-bottom: 6px; }
.tooltip .tt-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tooltip .tt-row + .tt-row { margin-top: 4px; }
.tooltip .tt-key { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.tooltip .tt-key i { width: 14px; height: 2px; display: inline-block; }
.tooltip strong { font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 20px; height: 2px; display: inline-block; }
.footnotes { margin-top: 28px; padding: 0 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--muted); list-style: decimal; }
.footnotes li + li { margin-top: 6px; }
.table-toggle { margin-top: 16px; background: none; border: 0; padding: 0; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: right; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { color: var(--muted); font-weight: 600; }
.table-scroll { max-height: 360px; overflow: auto; border-top: 1px solid var(--line); }

/* Structure (core / maritime) */
.struct { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .struct { grid-template-columns: 1fr; } }
.struct-card { background: #fff; padding: 40px; border: 1px solid var(--line); }
.struct-card--petrol { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.struct-card .weight { font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.struct-card .weight small { font-size: .4em; }
.struct-card h3 { margin-top: 20px; font-size: 26px; }
.struct-card p { margin-top: 12px; color: var(--ink-2); }
.struct-card--petrol p { color: rgba(255,255,255,.84); }
.range { margin-top: 32px; }
.range-track { position: relative; height: 8px; background: var(--mist-2); }
.struct-card--petrol .range-track { background: rgba(255,255,255,.14); }
.range-band { position: absolute; top: 0; bottom: 0; background: var(--foam); }
.struct-card:not(.struct-card--petrol) .range-band { background: #BFD2D6; }
.range-now { position: absolute; top: -6px; width: 2px; height: 20px; background: var(--ink); }
.struct-card--petrol .range-now { background: #fff; }
.range-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.struct-card--petrol .range-labels { color: var(--foam); }

/* Exposure bars */
.exposure { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; }
@media (max-width: 1000px) { .exposure { grid-template-columns: 1fr; gap: 40px; } }
.exposure h3 { font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 4px 12px; align-items: center; padding: 7px 0; }
.bars .b-label { font-size: 15px; color: var(--ink-2); }
.bars .b-val { font-size: 15px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bars .b-track { grid-column: 1 / -1; height: 8px; background: var(--mist-2); position: relative; }
.bars .b-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--petrol); width: 0; border-radius: 0 4px 4px 0; transition: width 1.1s var(--ease); }
.bars .is-ship .b-fill { background: var(--chart-port); }

/* Segments grid */
.segments { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .segments { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .segments { grid-template-columns: 1fr; } }
.segment { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.segment svg { width: 40px; height: 40px; color: var(--petrol); }
.segment h3 { margin-top: 20px; font-size: 20px; }
.segment p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* Managers (fund page team) */
.manager { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.manager:first-of-type { border-top: 0; }
.manager .portrait { aspect-ratio: 4 / 3; }
.manager:nth-of-type(even) .portrait { order: 2; }
.manager .eyebrow { margin-bottom: 10px; }
.manager h3 { font-size: 30px; }
.manager .role { color: var(--muted); margin-top: 4px; }
.manager .bio { margin-top: 20px; color: var(--ink-2); }
.manager dl { margin: 24px 0 0; display: grid; gap: 18px; }
.manager dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.manager dd { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.manager dd div + div { margin-top: 2px; }
.manager .link-arrow { margin-top: 24px; font-size: 15px; }
@media (max-width: 900px) { .manager { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; } .manager:nth-of-type(even) .portrait { order: 0; } }

/* Facts tabs + documents */
.facts { display: grid; grid-template-columns: 1fr 2fr; border: 1px solid var(--line); background: #fff; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
.docs { padding: 32px; border-right: 1px solid var(--line); }
@media (max-width: 900px) { .docs { border-right: 0; border-bottom: 1px solid var(--line); } }
.docs h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.docs li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 15px; }
.docs li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--petrol); }
.docs .soon { color: var(--muted); }
.docs a { text-decoration: underline; text-underline-offset: 3px; }
.tabs-area { padding: 32px; }
.tablist { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tablist button { border: 1px solid var(--petrol); background: #fff; color: var(--petrol); padding: 12px 20px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--petrol); color: #fff; }
.kv { width: 100%; border-collapse: collapse; font-size: 15px; }
.kv th, .kv td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.kv th { text-align: left; font-weight: 600; padding-right: 24px; width: 45%; }
.kv td { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }

/* ---------- Philosophy ---------- */
.principles { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.principle .n { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 6px; }
.principle h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
.principle p { color: var(--ink-2); }
@media (max-width: 900px) { .principle { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; } }
ol.process { list-style: none; padding: 0; margin: 0; }
.process { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; counter-reset: step; margin-top: 8px; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px 0 0; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 14px; font-weight: 600; color: var(--foam); font-variant-numeric: tabular-nums; }
.step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.3); }
.step .dot { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.step h3 { margin-top: 14px; font-size: 22px; }
.step p { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.8); }
@media (max-width: 1000px) { .step { padding: 24px 0 28px 28px; } .step::after { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; } .step .dot { top: 28px; left: 0; } }
.quote { position: relative; padding: 112px 0; color: #fff; overflow: hidden; }
.quote > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,42,49,.92) 0%, rgba(23,42,49,.7) 60%, rgba(23,42,49,.45) 100%); }
.quote .wrap { position: relative; z-index: 1; }
.quote blockquote { margin: 0; max-width: 22em; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -0.015em; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 88px; line-height: .6; color: var(--foam); margin-bottom: 20px; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 15px; color: var(--foam); }

/* ---------- Terminal ---------- */
.term-hero { background: var(--petrol-900); color: #fff; padding: calc(var(--header-h) + 88px) 0 0; overflow: hidden; position: relative; }
.term-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 500px at 70% 110%, rgba(0,128,154,.28), transparent 70%); pointer-events: none; }
.term-hero .wrap { position: relative; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--foam); border: 1px solid rgba(191,214,218,.4); padding: 6px 12px; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E0A458; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .status-pill::before { animation: none; } }
.term-hero .h-page { margin-top: 24px; max-width: 14em; }
.term-hero .lead { margin-top: 20px; max-width: 36em; color: rgba(255,255,255,.8); }
.term-stage { margin-top: 64px; position: relative; }
.term-caption { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.55); padding-bottom: 40px; }

.term { --t-bg: #0B171C; --t-panel: #102229; --t-line: #1C343D; --t-text: #CFE0E3; --t-dim: #7E9AA1; --t-accent: #4FC3D0; --t-amber: #E0A458; --t-up: #5BC08A; --t-down: #E06C6C;
  background: var(--t-bg); color: var(--t-text); font-family: var(--mono); font-size: 12px; line-height: 1.45;
  border: 1px solid var(--t-line); box-shadow: 0 40px 120px rgba(0,0,0,.45); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 16px; padding: 8px 14px; border-bottom: 1px solid var(--t-line); background: #0E1D23; }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2B444D; display: block; }
.term-title { color: var(--t-dim); letter-spacing: .04em; }
.term-title b { color: var(--t-text); font-weight: 600; }
.term-clock { margin-left: auto; color: var(--t-dim); font-variant-numeric: tabular-nums; }
.term-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 460px; }
.term-side { border-right: 1px solid var(--t-line); padding: 12px 0; }
.term-side div { padding: 7px 14px; color: var(--t-dim); display: flex; justify-content: space-between; }
.term-side div.on { color: var(--t-text); background: #13272F; box-shadow: inset 2px 0 0 var(--t-accent); }
.term-side kbd { font-family: var(--mono); font-size: 10px; color: #55707A; }
.term-main { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: auto 1fr auto; gap: 1px; background: var(--t-line); }
.t-panel { background: var(--t-panel); padding: 10px 12px; min-width: 0; }
.t-panel h4 { margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t-dim); display: flex; justify-content: space-between; }
.t-idx .t-v { font-size: 18px; color: var(--t-text); font-variant-numeric: tabular-nums; }
.t-idx .t-ch { font-size: 11px; font-variant-numeric: tabular-nums; }
.t-idx svg { width: 100%; height: 34px; margin-top: 6px; }
.t-up { color: var(--t-up); } .t-down { color: var(--t-down); }
.t-map { grid-column: span 3; position: relative; }
.t-map svg { width: 100%; height: auto; }
.t-list { grid-row: span 2; }
.t-list table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.t-list td { padding: 5px 0; border-bottom: 1px solid #16303A; white-space: nowrap; }
.t-list td:last-child, .t-list td:nth-child(2) { text-align: right; }
.t-list td:first-child { color: var(--t-text); overflow: hidden; text-overflow: ellipsis; max-width: 90px; }
.t-bars { grid-column: span 3; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.t-bars svg { width: 100%; height: auto; }
.t-feed div { padding: 3px 0; color: var(--t-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-feed b { color: var(--t-amber); font-weight: 500; margin-right: 8px; }
@media (max-width: 1000px) {
  .term-body { grid-template-columns: 1fr; }
  .term-side { display: none; }
  .term-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .t-map, .t-bars { grid-column: span 2; }
  .t-list { grid-row: auto; grid-column: span 2; }
  .t-bars { grid-template-columns: 1fr; }
}
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { background: #fff; padding: 36px 32px; }
.feature svg { width: 32px; height: 32px; color: var(--chart-port); }
.feature h3 { margin-top: 22px; font-size: 21px; }
.feature p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.feature .tag { margin-top: 18px; }

/* Terminal teaser (home) */
.teaser { background: var(--petrol-900); color: #fff; overflow: hidden; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; padding-top: var(--section-y); padding-bottom: var(--section-y); }
@media (max-width: 1000px) { .teaser-grid { grid-template-columns: 1fr; gap: 48px; } }
.teaser .lead { margin-top: 20px; color: rgba(255,255,255,.8); }
.teaser .btn { margin-top: 32px; }
.teaser .term { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 1000px) { .teaser .term { transform: none; } }
.teaser .term-body { min-height: 360px; grid-template-columns: 1fr; }
.teaser .term-side { display: none; }

/* ---------- Insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; align-items: center; }
.filters .label { font-size: 15px; margin-right: 8px; color: var(--ink-2); }
.chip { border: 1px solid var(--petrol); background: #fff; color: var(--petrol); padding: 9px 16px; font-size: 15px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--petrol); color: #fff; }
.chip:hover:not([aria-pressed="true"]) { background: var(--mist); }
.empty { padding: 48px; background: var(--mist); text-align: center; }
.empty h3 { font-size: 22px; }
.empty p { margin-top: 8px; color: var(--ink-2); }

/* ---------- Article ---------- */
.article-head { padding: 64px 0 40px; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted); }
.article-head h1 { margin-top: 18px; max-width: 18em; }
.article-head .lead { margin-top: 20px; max-width: 38em; }
.article-hero { aspect-ratio: 21 / 8; overflow: hidden; background: var(--petrol-900); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .article-hero { aspect-ratio: 16 / 10; } }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; padding-top: 64px; padding-bottom: var(--section-y); }
@media (max-width: 1000px) { .article-body { grid-template-columns: 1fr; gap: 40px; } }
.prose { max-width: 40em; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; line-height: 1.25; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--petrol); font-size: 22px; line-height: 1.45; color: var(--petrol); }
.prose a { color: var(--petrol); text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { width: 100%; }
.prose .note { font-size: 14px; color: var(--muted); }
.aside-box { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; border-top: 2px solid var(--petrol); padding-top: 20px; }
.aside-box h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.aside-box dl { margin: 16px 0 0; font-size: 15px; }
.aside-box dt { color: var(--muted); font-size: 13px; }
.aside-box dd { margin: 2px 0 14px; }
.pdf-box { margin-top: 20px; padding: 20px; background: var(--mist); }
.pdf-box .btn { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-item svg { width: 24px; height: 24px; color: var(--petrol); margin-top: 3px; }
.contact-item h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item p, .contact-item a { font-size: 19px; margin-top: 4px; }
.contact-form-wrap { background: var(--mist); padding: 40px; }
@media (max-width: 720px) { .contact-form-wrap { padding: 28px 20px; } }

/* Legal */
.legal { max-width: 46em; }
.legal h2 { font-size: 24px; margin-top: 48px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-top: 12px; }
.legal li + li { margin-top: 6px; }
.draft-flag { display: inline-block; margin-bottom: 24px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #FBF1E6; color: #7A4B1C; padding: 6px 10px; }

/* ---------- Important information bar ---------- */
.info-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--petrol); color: #fff; transform: translateY(0); transition: transform .35s var(--ease); }
.info-bar .wrap { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.info-bar svg { width: 30px; height: 30px; flex: none; }
.info-bar p { font-size: 14px; line-height: 1.5; flex: 1; }
.info-bar a { color: #fff; }
.info-bar .btn { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.info-bar.is-min { transform: translateY(110%); }
.info-pill { position: fixed; right: 0; bottom: 0; z-index: 90; background: var(--petrol); color: #fff; border: 0; display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 14px; cursor: pointer; transform: translateY(110%); transition: transform .35s var(--ease); }
.info-pill span { text-decoration: underline; text-underline-offset: 3px; }
.info-pill svg { width: 22px; height: 22px; }
.info-pill.is-shown { transform: none; }
.info-short { display: none; }
@media (max-width: 720px) {
  .info-bar .wrap { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .info-bar svg { display: none; }
  .info-bar p { font-size: 13px; }
  .info-long { display: none; }
  .info-short { display: inline; }
  .info-pill { padding: 10px 14px; font-size: 13px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .roll-strip { transition: none; } .bars .b-fill { transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.nf { min-height: 70vh; display: flex; align-items: center; }

/* Numbers: a plainer grotesk than Manrope's display figures */
.stat dd, .chart-svg .axis text, .chart-svg .end-label, .tooltip, .bars .b-val, .kv td, .data-table, .struct-card .weight, .tile-value, .card-meta time { font-family: var(--num); }
.stat dd { font-weight: 500; }

/* Terminal page: what it gives us */
.gives { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 64px; border-top: 1px solid var(--line); }
.give { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
.give .n { grid-row: span 2; font-family: var(--num); font-size: 15px; font-weight: 500; color: var(--muted); padding-top: 4px; }
.give h3 { font-size: 24px; line-height: 1.25; }
.give p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 900px) { .gives { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }
