/* ============================================================
   CHIRISA INVESTMENTS, v2 "ice blue" stylesheet
   Scandinavian restraint, cold navy, glacial blue, frosted silver,
   editorial typography (October 2026 design system). Light site;
   no glow, no blur, no color wash. Plain CSS, no libraries.
   Mockup pass (Oct 2026): labeled image slots while the photography
   is produced, current-page nav underline, phone tile/list blocks.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --off-white: #F4F8FB;
  --white: #FFFFFF;
  --navy: #0B1F36;
  --steel: #2E4F70;
  --slate: #9AA4B2;
  --glacial: #6E9CB8;
  --ice: #AFC9DD;
  --frost: #D7E6EE;
  --font-head: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --gutter: 48px;
  --max: 1440px;
  --header-h: 92px;   /* 18px + the 56px logo + 18px */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* No visible scrollbar on any device; scrolling itself (wheel, trackpad, touch, keys) is unchanged */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(17px - 2pt);
  line-height: 1.7;
  color: var(--steel);
  background: var(--off-white);
  overflow-x: hidden;
  text-align: left;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; color: inherit; }
address { font-style: normal; }
::selection { background: var(--ice); color: var(--navy); }

/* ---------- Type ---------- */
/* 2 Nov 2026: every font size of 15px and up is 2pt smaller (written as calc(size - 2pt)); 14px and under is unchanged */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 300; color: var(--navy); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: calc(clamp(44px, 5.6vw, 78px) - 2pt); margin-bottom: 18px; }
h2 { font-size: calc(clamp(34px, 4vw, 56px) - 2pt); margin-bottom: 21px; }
h3 { font-size: calc(clamp(22px, 2vw, 28px) - 2pt); font-weight: 400; margin-bottom: 9px; text-wrap: balance; }
h4 { font-size: calc(18px - 2pt); font-weight: 500; }
p { max-width: 68ch; }
p + p { margin-top: 12px; }
.lede { font-size: calc(20px - 2pt); font-weight: 300; line-height: 1.6; color: var(--steel); max-width: 60ch; }
.note { font-size: 14px; line-height: 1.6; color: var(--steel); margin-top: 10px; }
.muted { color: var(--steel); }
.on-dark .muted { color: var(--slate); }

/* Eyebrow: 11px, uppercase, 0.2em; Steel Blue on light, Ice on navy */
.eyebrow {
  display: block;
  font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--ice); }
.hero .eyebrow, .page-hero .eyebrow, .tile .eyebrow { color: var(--white); }   /* over photos: white (Ice measured under 4.5:1 on the brighter photos) */

/* Numbers "01": Steel Blue on light surfaces (Glacial measures under 3:1 there); the playbook cards use Ice on navy */
.section-num { font-family: var(--font-head); font-weight: 300; font-size: calc(44px - 2pt); line-height: 1; color: var(--steel); letter-spacing: -0.02em; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(52px, 5.86vw, 80px) 0; }   /* 80px at 1366px and wider, 60px at 1024px; 44px at 900px and below */
.section + .section, .divider-top { border-top: 1px solid var(--frost); }
.section[id], .project[id] { scroll-margin-top: 72px; }   /* anchored blocks (#chirisa-technology-parks, #exited) land below the fixed header */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(31px, 3.9vw, 62px); align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(21px, 2.6vw, 36px); }

/* Dark surfaces */
.on-dark { background: var(--navy); color: var(--ice); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p { color: var(--ice); }
.band-frost { background: var(--frost); }
/* Photo-backed bands (page 3: statements over photography): a cover photo under a navy overlay, the content on top */
.band-photo { position: relative; }
.band-photo .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.band-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(11, 31, 54, var(--band-overlay, 0.82)); }
.band-photo > .wrap { position: relative; z-index: 2; }
#track-record { --band-overlay: 0.67; }   /* light, so the globe shows: the lightest value that keeps the button and footnote at 4.5:1 on the brightest pixel behind them (footnote 4.50:1 at 1440, 4.55:1 at 393); the heading sits on the fade below and the deals on solid cells */
#track-record::after { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0.92) 0%, rgba(11, 31, 54, 0.8) 21.6%, rgba(11, 31, 54, 0) 48%), linear-gradient(0deg, rgba(11, 31, 54, 0.693) 0px, rgba(11, 31, 54, 0.578) 200px, rgba(11, 31, 54, 0) 380px); }   /* a navy fade behind the heading and one at the foot, behind the button and footnote; the foot is the lightest that keeps every line at 4.5:1 from 360 to 1920px (factor 0.77, worst 4.50:1) */
/* Statement band: a headline over photography, the photo kept visible under navy from the left; it takes the section padding like every other section */
.band-statement::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.801) 0%, rgba(11, 31, 54, 0.756) 40%, rgba(11, 31, 54, 0.676) 62%, rgba(11, 31, 54, 0.267) 100%); }   /* platform.jpg, 1280px and wider: the lightest fade that keeps every line at 4.5:1 on the brightest pixel behind it (factor 0.89, worst 4.51:1) */
@media (min-width: 901px) and (max-width: 1099.98px) { .band-statement::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.99) 0%, rgba(11, 31, 54, 0.935) 40%, rgba(11, 31, 54, 0.836) 70%, rgba(11, 31, 54, 0.682) 100%); } }   /* narrow desktops: the third figure's label ends near the right edge, over the bright center of the hall (factor 1.1, worst 4.50:1) */
@media (min-width: 1100px) and (max-width: 1279.98px) { .band-statement::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.918) 0%, rgba(11, 31, 54, 0.867) 40%, rgba(11, 31, 54, 0.775) 70%, rgba(11, 31, 54, 0.459) 100%); } }   /* 1100-1279px (factor 1.02, worst 4.55:1) */
.band-statement .statement { max-width: 760px; margin-bottom: 23px; }   /* the gap under the description and the 2024 paragraph */
.band-statement h2 { color: var(--white); font-size: calc(clamp(38px, 4.4vw, 60px) - 2pt); }
.band-statement .lede { color: var(--white); }   /* white: Ice measured 4.1:1 over the sunrise */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  padding: 17px 28px; border: 1px solid var(--navy); color: var(--navy); background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; cursor: pointer;
}
.btn .arrow { font-weight: 400; font-size: calc(16px - 2pt); line-height: 1; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--steel); border-color: var(--steel); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.on-dark .btn-secondary { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.on-dark .btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Icon button: 40px circle with an arrow, uppercase label beside it; the arrow moves 4px right on hover */
.btn-icon { display: inline-flex; align-items: center; gap: 16px; color: var(--navy); font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.btn-icon .circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: calc(16px - 2pt); font-weight: 400; flex-shrink: 0; transition: background 0.25s ease, color 0.25s ease; }
.btn-icon .circle .glyph { display: inline-block; transition: transform 0.3s ease; }
.btn-icon:hover .circle { background: var(--navy); color: var(--white); }
.on-dark .btn-icon, .hero .btn-icon, .tile .btn-icon { color: var(--white); }
.on-dark .btn-icon:hover .circle, .hero .btn-icon:hover .circle, .tile .btn-icon:hover .circle { background: var(--white); color: var(--navy); }

/* Text link: 1px underline drawing left to right over 0.3s */
.link { position: relative; }
.link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--glacial); transition: right 0.3s ease; }
.link:hover::after { right: 0; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--frost); border-top: 2px solid var(--ice); padding: 36px 32px; }

/* ---------- Image slots: a filled slot holds a cover-cropped photo (centered); an empty one is a labeled Silver Frost block ---------- */
.slot { position: relative; background: var(--frost); overflow: hidden; display: block; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slot::after {
  content: attr(data-slot); position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: 0.12em; color: var(--steel); white-space: nowrap;
}
.slot.filled::after { content: none; }
/* "Conceptual visualization" label: 10px uppercase white at 70%, bottom right of the photo it sits on, never over text */
.conceptual { position: absolute; z-index: 3; font-family: var(--font-body); font-weight: 500; font-size: 10px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); white-space: nowrap; pointer-events: none; }
.slot .conceptual { right: 14px; bottom: 12px; }
/* On the page heroes and the photo bands the label is a direct child of the section (above the overlay) and lines up with the content column */
.page-hero > .conceptual, .band-photo > .conceptual, .page-hero > .slot-tag, .band-photo > .slot-tag { right: max(var(--gutter), calc((100% - var(--max)) / 2)); bottom: 12px; }
/* Home hero: a zero-height row between the copy and the stats, so the label sits just above the stats rule inside the copy's bottom padding */
.hero .hero-note { position: relative; z-index: 2; height: 0; }
.hero .hero-note .conceptual, .hero .hero-note .slot-tag { left: 0; right: auto; bottom: 12px; }
.slot-1x1 { aspect-ratio: 1 / 1; }
.slot-4x5 { aspect-ratio: 4 / 5; }
.slot-16x10 { aspect-ratio: 16 / 10; }
.slot-21x9 { aspect-ratio: 21 / 9; }
.placeholder { color: var(--steel); }
/* Slot tag: the label of a full-bleed slot (home hero, page heroes, photo bands) sits above the overlay where the photo captions sat */
.slot-tag { position: absolute; z-index: 3; font-family: var(--font-body); font-weight: 500; font-size: 10px; line-height: 1; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.7); white-space: nowrap; pointer-events: none; }
.sector .slot::after, .project .slot::after { top: 12px; bottom: auto; }   /* the sector text and the project gradient sit at the foot of the slot, so its label moves to the top */
/* Section head: eyebrow and H2 above a full-width grid (Who we are, Where we invest, the investment lists) */
.section-head { margin-bottom: clamp(31px, 3.9vw, 57px); }
.section-head h2 { margin-bottom: 0; }
.section-head .note { margin-top: 13px; }
/* Prose page (privacy policy): one measure, run-in sub-headings */
.prose { max-width: 72ch; }
.prose h3 { margin: 26px 0 8px; font-size: calc(clamp(20px, 1.6vw, 24px) - 2pt); }
.prose h3:first-child { margin-top: 0; }
.prose .link { color: var(--navy); }

/* ============================================================
   HEADER: transparent over the hero, Off White once scrolled
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 18px max(var(--gutter), calc((100% - var(--max)) / 2));   /* lines up with the 1440px content column on wide screens */
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
/* Scrolled: a translucent navy bar, white logo and links kept, logo 56 to 40px, bar tightened */
.site-header.scrolled { background: rgba(11, 31, 54, 0.85); border-bottom-color: rgba(255, 255, 255, 0.08); padding: 8px max(var(--gutter), calc((100% - var(--max)) / 2)); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 56px; width: auto; transition: height 0.3s ease; }   /* Oct 2026: the Chirisa logo (3.8:1) is sized to the same visible area as the design's original 8.3:1 wordmark at 40px, at every breakpoint */
.site-header.scrolled .logo img { height: 40px; }
.logo .logo-navy { display: none; }

.header-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); position: relative; padding: 6px 0; white-space: nowrap; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--glacial); transition: right 0.3s ease; }
.nav-links a:hover::after { right: 0; }
/* Current page: 1px underline in the link color, 6px below the text (the line sits at the bottom of the 6px padding) */
.nav-links a[aria-current="page"]::after { right: 0; background: currentColor; }

.header-tag { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--font-body); font-weight: 500; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.6; color: var(--white); border-left: 1px solid rgba(255, 255, 255, 0.35); padding-left: 20px; transition: color 0.3s ease, border-color 0.3s ease; }


/* Hamburger (below 900px) */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 30px; height: 30px; flex-shrink: 0; cursor: pointer; padding: 0; z-index: 1002; }
.nav-hamburger span { display: block; width: 100%; height: 1px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
.nav-hamburger.open span { background: var(--navy); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen Off White menu */
.nav-mobile { display: none; position: fixed; inset: 0; z-index: 999; background: var(--off-white); flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 120px var(--gutter) 48px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { position: relative; font-family: var(--font-head); font-weight: 300; font-size: calc(30px - 2pt); color: var(--navy); line-height: 1.1; text-transform: uppercase; }   /* the labels are written in sentence case; shown in capitals, as before */
.nav-mobile a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; }
.nav-mobile .nav-mobile-tag { margin-top: auto; font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); line-height: 1.8; }
body.menu-open .site-header { background: var(--off-white); border-bottom-color: var(--frost); }   /* the open menu is Off White, so the bar matches it */
body.menu-open .site-header .logo .logo-white { display: none; }
body.menu-open .site-header .logo .logo-navy { display: block; }

/* ============================================================
   HERO (home): full-bleed still, navy gradient from the left
   ============================================================ */
/* The hero fills the visible viewport on every device, so the first screen is the hero alone (photo, copy, stats); 100svh keeps phone toolbars from exposing the section below */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--frost); overflow: hidden; color: var(--white); }
.hero .hero-slot { position: absolute; inset: 0; aspect-ratio: auto; transform-origin: center; }
/* Overlay: a navy band under the header row (the nav sits over the brightest part of the photos) and the navy-to-transparent gradient from the left */
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 260px), radial-gradient(ellipse 72% 46% at 26% 46%, rgba(11, 31, 54, 0.85) 0%, rgba(11, 31, 54, 0.6) 50%, rgba(11, 31, 54, 0) 100%), linear-gradient(0deg, rgba(11, 31, 54, 0.8) 0px, rgba(11, 31, 54, 0.7) 150px, rgba(11, 31, 54, 0) 290px), linear-gradient(90deg, rgba(11, 31, 54, 0.55) 0%, rgba(11, 31, 54, 0.38) 30%, rgba(11, 31, 54, 0.14) 55%, rgba(11, 31, 54, 0) 70%); }   /* the photo reads across the frame: a light left fade, a soft pool behind the headline block and a foot under the stats, anchored in pixels from the bottom so it covers the stats row at any screen height. Tuned 31 Oct across 1366-1920px at both ends of the 20s zoom (factor 1): the lightest that keeps every line at 4.5:1 on the brightest pixel behind it (worst 4.51:1) */
@media (min-width: 1280px) and (max-width: 1365.98px) { .hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 260px), radial-gradient(ellipse 72% 46% at 26% 46%, rgba(11, 31, 54, 1) 0%, rgba(11, 31, 54, 0.714) 50%, rgba(11, 31, 54, 0) 100%), linear-gradient(0deg, rgba(11, 31, 54, 0.952) 0px, rgba(11, 31, 54, 0.833) 150px, rgba(11, 31, 54, 0) 290px), linear-gradient(90deg, rgba(11, 31, 54, 0.55) 0%, rgba(11, 31, 54, 0.38) 30%, rgba(11, 31, 54, 0.14) 55%, rgba(11, 31, 54, 0) 70%); } }   /* 1280-1365px, on shorter screens the headline's last line and the founding year sit over the lit quays (factor 1.19, worst 4.54:1) */
@media (min-width: 901px) and (max-width: 1279.98px) { .hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 260px), radial-gradient(ellipse 100% 60% at 38% 46%, rgba(11, 31, 54, 0.818) 0%, rgba(11, 31, 54, 0.563) 50%, rgba(11, 31, 54, 0) 100%), linear-gradient(0deg, rgba(11, 31, 54, 0.818) 0px, rgba(11, 31, 54, 0.716) 150px, rgba(11, 31, 54, 0) 290px), linear-gradient(rgba(11, 31, 54, 0.256), rgba(11, 31, 54, 0.256)); } }   /* narrow desktops, 901-1279px: the headline spans more of the width, so the pool is wider, with a light even tint; 10% deeper on 2 Nov, as the copy sits lower without the stats row (the sub-line was 4.25:1 at 1024) */
.hero .wrap { position: relative; z-index: 2; }
.hero .hero-body { margin-block: auto; padding: calc(var(--header-h) + 40px) 0 56px; }   /* centered in the hero, never closer than 40px to the bar */
.hero-content { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 17px; font-size: calc(clamp(42px, 4.6vw, 66px) - 2pt); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .line-inner { display: block; }
.js .hero h1 { visibility: hidden; }     /* with JS, the headline stays hidden until the intro starts, so it never flashes before it rises */
.hero.is-in h1 { visibility: visible; }
.hero .sub { font-family: var(--font-body); font-weight: 300; font-size: calc(19px - 2pt); line-height: 1.6; color: var(--frost); max-width: 52ch; margin-bottom: 26px; }

/* Page hero (sub pages): shorter, same treatment */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; background: var(--frost); overflow: hidden; color: var(--white); }
.page-hero .hero-slot { position: absolute; inset: 0; aspect-ratio: auto; transform-origin: center; }
/* The page heroes keep the band under the header row (their skies are bright), fade navy from the left (0.8 to 0 at 60%) and carry a soft foot under the sub-line */
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 260px), linear-gradient(180deg, rgba(11, 31, 54, 0) 50%, rgba(11, 31, 54, 0.686) 100%), linear-gradient(90deg, rgba(11, 31, 54, 0.784) 0%, rgba(11, 31, 54, 0) 60%); }   /* the hero still on every page: the lightest foot and left fade that keep the eyebrow, heading and sub-line at 4.5:1 on the brightest pixel behind them across 1280-1920px (factor 0.98, worst 4.50:1) */
@media (min-width: 901px) and (max-width: 1279.98px) { .page-hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 260px), linear-gradient(180deg, rgba(11, 31, 54, 0) 50%, rgba(11, 31, 54, 0.623) 100%), linear-gradient(90deg, rgba(11, 31, 54, 0.712) 0%, rgba(11, 31, 54, 0) 70%); } }   /* narrow desktops: the heading sits over more of the lit quays (factor 0.89, worst 4.51:1) */
.page-hero .wrap { position: relative; z-index: 2; padding: calc(var(--header-h) + 48px) 0 56px; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: calc(clamp(44px, 5vw, 72px) - 2pt); letter-spacing: -0.02em; line-height: 1.02; }
.page-hero .sub { font-weight: 300; font-size: calc(18px - 2pt); color: var(--frost); max-width: 48ch; }
/* Plain page hero (privacy): a Deep Navy band, no photo slot, no overlay */
.page-hero-plain { background: var(--navy); }
.page-hero-plain::before { content: none; }
.page-hero-plain .sub { margin-bottom: 26px; }   /* the 404 page: the line sits 26px above its button, as on Home (the button paragraph's 12px top margin collapses into it) */

/* ============================================================
   HOME SECTIONS
   ============================================================ */
/* Stats row: at the foot of the hero, directly on the photo (no background), a thin rule above and thin dividers between, as v1's row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 32px 0 48px; }
.stat { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-head); font-weight: 300; font-size: calc(34px - 2pt); line-height: 1; color: var(--white); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); }
.js .stat-value:not(.is-counted) { visibility: hidden; }   /* with JS, a figure shows only once its count-up has started */
/* Figures row inside the statement band: the same stats pattern, three across, under the lede */
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.band-statement .stats-2 { max-width: 600px; }
.btn-icon.btn-url { text-transform: none; letter-spacing: 0.04em; font-size: 14px; }   /* a web address keeps its own case */
.band-statement .stats { padding: 18px 0 0; margin: 0 0 26px; max-width: 880px; }

/* Sectors: photo cards with the title and description inside; the photo keeps its color under a navy wash that deepens towards the text */
.sector { position: relative; overflow: hidden; color: var(--white); }
.sector .slot { margin: 0; }
.sector .slot-1x1 { aspect-ratio: 4 / 3; }   /* the card photos: 4:3 on phones and from 1280px; square from 901 to 1279px and 16:9 on tablets (below) */
/* The navy fade follows the text block at every width (0 at 90px above it, then deepening behind the text), so a title never rises above it; the text blocks in a row are the same height (main.js), so the titles and the fades line up */
.sector-content::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: -90px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.63) 90px, rgba(11, 31, 54, 0.95) 100%); }   /* 0.63 at the top of the text: the lightest that keeps every tile line at 4.5:1 on the brightest pixel behind it from 360 to 1920px */
.sector-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 28px 28px; }
@media (min-width: 901px) and (max-width: 1279.98px) { .sector .slot-1x1 { aspect-ratio: 1 / 1; } .sector-content::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.65) 90px, rgba(11, 31, 54, 0.95) 100%); } }   /* narrow desktops: three tiles across are narrow, so the photos stay square and the text stays inside them */
@media (min-width: 601px) and (max-width: 900px) { .sector .slot-1x1 { aspect-ratio: 16 / 9; } }   /* tablets, where the cards stack */
.sector h3 { color: var(--white); margin-bottom: 8px; }
.sector p { font-size: calc(15px - 2pt); color: var(--frost); }

/* 02 Differentiation over an image slot */
.diff { position: relative; }
.diff .slot { width: 100%; }
.diff .slot::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 25%, rgba(11, 31, 54, 0.62) 55%, rgba(11, 31, 54, 0.88) 100%); }
@media (min-width: 901px) and (max-width: 1099.98px) { .diff .slot::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0) 15%, rgba(11, 31, 54, 0.688) 45%, rgba(11, 31, 54, 0.977) 100%); } }   /* narrow desktops: the panel is narrower and its list rises over the bright sky (factor 1.11, worst 4.50:1) */
@media (min-width: 1100px) and (max-width: 1279.98px) { .diff .slot::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0) 15%, rgba(11, 31, 54, 0.502) 45%, rgba(11, 31, 54, 0.713) 100%); } }   /* 1100-1279px (factor 0.81, worst 4.51:1) */
@media (min-width: 601px) and (max-width: 900px) { #who-we-are .diff .slot { aspect-ratio: 4 / 3; } .diff .slot::before { background: linear-gradient(0deg, rgba(11, 31, 54, 0.9) 0, rgba(11, 31, 54, 0.8) 260px, rgba(11, 31, 54, 0) 420px); } }   /* tablets: a 4:3 photo under the same navy fade as phones, so the list stays readable */
.diff-list { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 32px 24px; }
.diff-list .diff-label { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.diff-list li { font-family: var(--font-head); font-weight: 300; font-size: calc(24px - 2pt); color: var(--white); padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.emphasis { font-weight: 500; color: var(--navy); }
/* Above 900px the panel runs exactly as tall as the text column (top level with the label, bottom level with the last line of text):
   the photo fills it, cropped with the sun kept in frame, and the list stays pinned to its foot; 900px and below keep the 4:5 photo */
@media (min-width: 901px) {
  #who-we-are .two-col { align-items: stretch; }
  #who-we-are .diff .slot { position: absolute; inset: 0; aspect-ratio: auto; }
  #who-we-are .diff .slot img { object-position: 75% 25%; }   /* who-we-are.jpg: the sun sits right of center, a quarter down */
  #who-we-are .diff .slot::before { background: linear-gradient(0deg, rgba(11, 31, 54, 0.88) 0, rgba(11, 31, 54, 0.75) 320px, rgba(11, 31, 54, 0) 480px); }   /* anchored to the foot, where the list sits (its label about 300px up), so the label keeps 0.75 navy under it and the sun stays clear */
}

/* 03 Heritage band */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); border-left: 1px solid rgba(255, 255, 255, 0.14); margin: 31px 0 26px; }
.deal { display: grid; grid-template-rows: subgrid; grid-row: span 3; padding: 28px 28px 30px; border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); background: rgba(11, 31, 54, 0.85); }   /* solid navy cells over the photo; each cell's name, figure and year share its row's tracks (subgrid), so all three line up across the row */
.deal-name { font-family: var(--font-head); font-weight: 400; font-size: calc(22px - 2pt); color: var(--white); line-height: 1.2; margin-bottom: 10px; }
.deal-figure { font-family: var(--font-body); font-weight: 400; font-size: calc(15px - 2pt); color: var(--ice); }
.deal-year { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; color: var(--slate); padding-top: 6px; }   /* the last row of the cell, so the years sit at the foot and line up across a row */
.footnote { font-size: 13px; color: var(--steel); margin-top: 18px; max-width: none; }
.on-dark .footnote { color: var(--slate); }

/* 04 Featured portfolio tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { position: relative; display: block; color: var(--white); overflow: hidden; }
.tile .slot { transform-origin: center; }
/* The navy gradient belongs to the text block, so the eyebrow always sits on at least 0.72 navy whatever the tile height; the photo above stays clear */
.tile-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 120px 32px 30px; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.72) 100px, rgba(11, 31, 54, 0.92) 100%); }
.tile .eyebrow { margin-bottom: 14px; }
.tile-title { font-family: var(--font-head); font-weight: 400; font-size: calc(28px - 2pt); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; line-height: 1.1; }
.tile-figure { font-family: var(--font-body); font-weight: 400; font-size: calc(15px - 2pt); color: var(--ice); margin-bottom: 14px; }
.tile p { font-size: calc(15px - 2pt); color: var(--frost); max-width: 46ch; margin-bottom: 20px; }

/* Playbook cards: the photo stays clear, with navy or steel only behind the title and text at the foot */
.playbook { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.play { position: relative; overflow: hidden; padding: 32px 28px 36px; color: var(--white); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; }
.play .play-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.play::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.play .big-num, .play h3, .play p { position: relative; z-index: 2; }
.play { background: var(--navy); }   /* all four cards the same navy (the navy/steel alternation read as two colors) */
.play::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0) 38%, rgba(11, 31, 54, 0.84) 66%, rgba(11, 31, 54, 0.94) 100%); }
.play h3 { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin: 0 0 12px; }
.play p { font-size: calc(15px - 2pt); color: var(--frost); }
.closing { padding: 32px 40px; }
.closing p { font-family: var(--font-head); font-weight: 300; font-size: calc(clamp(18px, 1.5vw, 22px) - 2pt); line-height: 1.5; color: var(--navy); max-width: none; }   /* runs the width of the card */

/* Partner band */
.partner .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 42px; align-items: end; }
.partner p { max-width: 58ch; }
.partner::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.81) 0%, rgba(11, 31, 54, 0.736) 45%, rgba(11, 31, 54, 0.414) 100%); }   /* Oct 2026, the boardroom photo: a left-to-right fade (0.81 / 0.74 at 45% / 0.41); every line reads 4.5:1 or better on the brightest pixel behind it */
.partner p { color: var(--white); }
.partner .cta { justify-self: end; }

/* ============================================================
   SUB PAGES
   ============================================================ */
/* History: three chapters; each a two-column row on desktop, the chapter name holding under the header while its entries scroll;
   Silver Frost hairlines between entries and between chapters; everything stacks on phones */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(26px, 3.25vw, 62px); padding: 42px 0; border-top: 1px solid var(--frost); }
.chapter:first-child { padding-top: 0; border-top: 0; }
.chapter:last-child { padding-bottom: 0; }
.chapter-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.chapter-name { font-family: var(--font-head); font-weight: 400; font-size: calc(36px - 2pt); line-height: 1.15; color: var(--navy); margin: 0; }
.chapter-years { font-family: var(--font-head); font-weight: 300; font-size: calc(20px - 2pt); line-height: 1.4; color: var(--steel); margin-top: 7px; }
.h-entry { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 21px; padding: 21px 0; border-top: 1px solid var(--frost); }
.h-entry:first-child { padding-top: 0; border-top: 0; }
.h-entry:last-child { padding-bottom: 0; }
.h-year { font-family: var(--font-head); font-weight: 300; font-size: calc(36px - 2pt); line-height: 1; color: var(--steel); font-variant-numeric: tabular-nums; }
.h-title { font-family: var(--font-head); font-weight: 400; font-size: calc(24px - 2pt); line-height: 1.2; color: var(--navy); margin: 0 0 7px; }
.h-text { font-size: calc(16px - 2pt); color: var(--steel); max-width: 45ch; }   /* 45ch of Inter keeps every line at or under about 62 characters (measured) */

/* Portfolio, the platform blocks: the photo carries the label, heading and lead line at its foot, in white over a navy fade (the Where we
   invest card pattern); the fact rows and the paragraph follow, beside the photo from 901px (vertically centered) and under it below */
.projects { display: grid; gap: 88px; }
.project { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(26px, 3.25vw, 52px); align-items: center; }
.project .slot { width: 100%; }
.projects-note { margin-top: 48px; }
.project-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }   /* from 901px: photo 1.15fr, details 1fr (no content minimum, so the three photos are the same size) */
.project-photo { position: relative; overflow: hidden; }
.project-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 34px 32px; }
.project-content::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: -140px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.74) 120px, rgba(11, 31, 54, 0.95) 100%); }   /* from 140px above the text */
.project-content .eyebrow, .project-content h2, .project-content .lede { color: var(--white); }
.project-content > :last-child, .project > .reveal:last-child > :last-child { margin-bottom: 0; }
.project > .reveal:last-child > :first-child { margin-top: 0; }   /* the details open on the fact rows, level with the top of their column */
#viatel-technology-group .slot img { object-position: 18% 50%; }   /* investment-2.jpg: the mast stands left of center, kept in frame at every size */
#fifty-two-real-estate .slot img { object-position: 50% 70%; }   /* platform-52.jpg (square): the villas and the distant skyline sit below the middle; the wide crops keep them and drop sky, the phone crop keeps the skyline's towers and the large villa */
#granite .slot img { object-position: 88% 60%; }   /* platform-granite.jpg (square): the camera stands on the right, the tall tower a little left of center; both stay in frame at every size */
.facts { border-top: 1px solid var(--frost); margin: 18px 0 21px; }
.fact { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--frost); font-size: calc(15px - 2pt); }
.fact dt { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); padding-top: 4px; }
.fact dd { color: var(--navy); }
/* Platform website: the domain alone, on its own line at the end of each live platform; 12px in the fact-label color (Ice, the light text
   color, on the dark Chirisa Technology Parks band); the .link underline draws in on hover */
.platform-url { font-size: 12px; }
.platform-url a { color: var(--steel); }
.on-dark .platform-url a { color: var(--ice); }
/* Platform photo shape: 4:5 on phones (below), 16:10 on tablets and from 1280px (the slot's own ratio), 4:3 from 901 to 1279px */
@media (min-width: 901px) and (max-width: 1279.98px) { .project .slot { aspect-ratio: 4 / 3; } }
@media (min-width: 901px) {
  #chirisa-investments .slot img { object-position: 50% 46%; }   /* platform-chirisa.jpg: the processor sits a little above center */
}
/* Investments, Portfolio: the section head sits above the Chirisa Technology Parks band at the standard head-to-content gap (no hairline between them) */
.section.section-lead { padding-bottom: 0; }   /* two classes, so the tablet and phone section padding does not override it */
.section-lead + .section { border-top: 0; }
.band-ctp .band-img { object-position: 70% 55%; }   /* investment-1.jpg: the lit building sits on the right */
/* The Investments band's own overlay: the fade behind the text is the lightest that keeps every line at 4.5:1 on the brightest pixel behind
   it (the second stat label over the building's white wall is the limiting line); the right side, with the lit building, stays at 0.3 */
.band-statement.band-ctp::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.9) 0%, rgba(11, 31, 54, 0.85) 40%, rgba(11, 31, 54, 0.76) 62%, rgba(11, 31, 54, 0.3) 100%); }   /* 1280px and wider: worst line 4.62:1 */
@media (min-width: 901px) and (max-width: 1279.98px) { .band-statement.band-ctp::before { background: linear-gradient(90deg, rgba(11, 31, 54, 1) 0%, rgba(11, 31, 54, 0.994) 40%, rgba(11, 31, 54, 0.889) 62%, rgba(11, 31, 54, 0.3) 100%); } }   /* narrow desktops: the stats sit over more of the building; worst line 4.51:1 */
@media (min-width: 901px) and (max-width: 1099.98px) { .band-statement.band-ctp::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.891) 0%, rgba(11, 31, 54, 0.842) 40%, rgba(11, 31, 54, 0.792) 75%, rgba(11, 31, 54, 0.495) 100%); } }   /* 901-1099px: the second label and the lede reach across the building (factor 0.99, worst 4.55:1) */
@media (max-width: 600px) { .band-statement.band-ctp::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.862) 0%, rgba(11, 31, 54, 0.735) 100%); } }   /* phones, the copy spans the width (factor 0.98, worst 4.51:1 across 360-600px) */
@media (min-width: 601px) and (max-width: 900px) { .band-statement.band-ctp::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.862) 0%, rgba(11, 31, 54, 0.735) 100%); } }   /* tablets (factor 0.98, worst 4.54:1 across 601-900px) */
/* Selected exits: deal tombstones as photo tiles (the How we invest pattern): the photo fills the tile and the text sits inside it at the
   foot over a navy fade; no radius, no shadow, equal height in a row; the deal block sits at the foot */
.tombstones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tombstone { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--navy); padding-top: 50%; }   /* the photo shows clear above the text: a band half the tile's width */
.tombstone .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tomb-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 0 28px 28px; }   /* the How we invest tiles' inset; the text steps below are 8px, with 24px and 16px around the hairline */
.tomb-body::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: -90px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.781) 90px, rgba(11, 31, 54, 0.95) 100%); }   /* 0.781 at the top of the text: the lightest that keeps every exit line (the 14px Ice year sets it) at 4.5:1 on the brightest pixel behind it, tuned at 27 widths from 360 to 1920px */
.tomb-year { font-size: 14px; line-height: 1.2; color: var(--ice); margin-bottom: 8px; }
.tomb-company { font-family: var(--font-head); font-weight: 400; font-size: calc(30px - 2pt); line-height: 1.15; color: var(--white); margin: 0 0 8px; }
.tomb-desc { font-size: calc(15px - 2pt); line-height: 1.6; color: var(--frost); margin-bottom: 24px; }
.tomb-foot { margin-top: auto; border-top: 1px solid rgba(175, 201, 221, 0.3); padding-top: 16px; }   /* the hairline: Ice at 30% */
.tomb-deal { font-size: 13px; line-height: 1.5; color: var(--ice); }
.tomb-party { font-family: var(--font-head); font-weight: 400; font-size: calc(21px - 2pt); line-height: 1.25; color: var(--white); margin-top: 4px; }
.tomb-value { font-family: var(--font-head); font-weight: 300; font-size: calc(60px - 2pt); line-height: 1; letter-spacing: -0.02em; color: var(--ice); margin-top: 16px; font-variant-numeric: tabular-nums; }
@media (min-width: 901px) and (max-width: 999.98px) { .tomb-value { font-size: calc(48px - 2pt); } }   /* the 60px value is 204px wide; three tiles across the narrowest desktops step it down (after the base rule, so it applies) */
.tomb-caption { font-size: 13px; line-height: 1.5; color: var(--frost); margin-top: 8px; }

/* Approach steps: full-width alternating rows */
.steps { border-top: 1px solid var(--frost); }
.step { display: grid; grid-template-columns: 120px 1fr 1.4fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--frost); align-items: start; }
.step:nth-child(even) { background: var(--white); margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }   /* full-bleed band at every width; the text stays in the column */
.step .section-num { font-size: calc(56px - 2pt); }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); margin-top: 12px; }
.step p { font-size: calc(17px - 2pt); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.person { display: block; background: var(--white); border: 1px solid var(--frost); border-top: 2px solid var(--ice); padding: 24px; }   /* page 7 card */
.person .slot { margin-bottom: 20px; }
.person-name { font-family: var(--font-head); font-weight: 400; font-size: calc(22px - 2pt); color: var(--navy); margin-bottom: 4px; }
.person-title { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--steel); }
.bio { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.bio-text { font-size: calc(18px - 2pt); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(31px, 4.55vw, 73px); align-items: start; }
.contact-lines { margin-top: 23px; }
.contact-line { font-size: calc(18px - 2pt); color: var(--navy); max-width: none; }
.contact-line + .contact-line { margin-top: 7px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.form-input, .form-textarea { width: 100%; background: var(--white); border: 1px solid var(--frost); color: var(--navy); font-size: calc(16px - 2pt); padding: 14px 16px; border-radius: 0; transition: border-color 0.25s ease; }
.form-input:focus, .form-textarea:focus { border-color: var(--glacial); }
@media (max-width: 600px), (pointer: coarse) { .form-input, .form-textarea { font-size: 16px; } }   /* 16px on phones, so iOS does not zoom in on focus */
.form-textarea { min-height: 150px; resize: vertical; }
.file-upload-wrapper { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.file-upload-input { display: none; }
.file-upload-btn { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--navy); padding: 11px 20px; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.file-upload-btn:hover { background: var(--navy); color: var(--white); }
.file-upload-name { font-size: 14px; color: var(--steel); }
.file-upload-error { font-size: 13px; color: #B23A3A; display: none; width: 100%; }
.file-upload-error.visible { display: block; }
.form-submit { align-self: flex-start; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note { margin: 0; max-width: 60ch; font-size: 13px; line-height: 1.6; color: var(--steel); }
.form-error { display: none; padding: 12px 16px; background: rgba(178, 58, 58, 0.06); color: #B23A3A; font-size: 14px; }
.form-error.visible { display: block; }
.form-success { display: none; padding: 40px; text-align: center; }
.form-success.visible { display: block; }
.form-success h3 { margin-bottom: 8px; }

/* ============================================================
   FOOTER: Deep Navy
   ============================================================ */
/* Footer: logo, a row of links, the offices line, rule, bottom line */
.footer { background: var(--navy); color: var(--ice); padding: 52px 0 26px; }
.footer-logo { display: inline-block; margin-bottom: 26px; }
.footer-logo img { height: 60px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 13px 31px; margin-bottom: 13px; }
.footer-offices { font-size: 14px; line-height: 1.6; color: var(--ice); margin-bottom: 26px; max-width: none; }
.footer-links a { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); position: relative; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--white); }
.footer-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--glacial); transition: right 0.3s ease; }
.footer-links a:hover::after { right: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: var(--slate); }


/* ============================================================
   MOTION (restrained; nothing here runs when reduced motion is on)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveals: opacity + 24px, 0.7s, once */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  /* Staggered grids and lists: direct children rise 100ms apart */
  .reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
  .reveal-group.visible > * { opacity: 1; transform: translateY(0); }
  /* Image settle: tiles and page heroes enter at scale 1.04 and settle while fading in over 1.2s */
  .tile .slot { opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
  .reveal-group.visible > .tile .slot { opacity: 1; transform: scale(1); }
  .reveal-group.visible > .tile:hover .slot { transform: scale(1.03); transition: transform 0.6s ease; }
  .reveal-group.settled > .tile .slot { transition: transform 0.6s ease, opacity 0.6s ease; transition-delay: 0s; }   /* once settled, hover in and out both take 0.6s */
  .reveal-group.settled > .person { transition: transform 0.4s ease; transition-delay: 0s; }
  .reveal-group.settled > .person:hover { transform: translateY(-4px); }   /* lift, no shadow */
  .btn-icon:hover .circle .glyph { transform: translateX(4px); }
  .page-hero .hero-slot { opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
  .page-hero.is-in .hero-slot { opacity: 1; transform: scale(1); }
  /* Hero: image zoom 1.0 to 1.05 over 20s, once; headline lines rise from behind a clip mask */
  .hero.is-in .hero-slot { animation: hero-zoom 20s ease-out 1 forwards; }
  .hero .intro { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .hero.is-in .intro { opacity: 1; transform: translateY(0); }
  .hero h1 .line-inner { transform: translateY(110%); }
  .hero.is-in h1 .line-inner { animation: line-rise 0.9s var(--ease) forwards; }
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes line-rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Header: the six links stay on one row at every desktop width; the stacked label goes first, then the nav tightens */
@media (max-width: 1240px) { .header-tag { display: none; } }
@media (max-width: 1100px) {
  .playbook { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr; }
  .site-header { gap: 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.1em; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; --header-h: 86px; }
  .site-header { gap: 16px; }
  .nav-links, .header-tag { display: none; }
  .nav-hamburger { display: flex; }
  .logo img { height: 50px; }
  .site-header.scrolled .logo img { height: 36px; }
  .section { padding: 44px 0; }
  .two-col, .three-col, .tiles, .project, .contact-grid, .bio, .partner .wrap, .closing { grid-template-columns: 1fr; }
  .projects { gap: 64px; }
  .footer { padding: 42px 0 21px; }
  .footer-logo img { height: 50px; }
  .footer-links { gap: 10px 18px; }
  .footer-links a { font-size: 12px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 24px 0 40px; }
  .stat { padding: 12px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-top: 0; }
  .stat:nth-child(n+3) { padding-bottom: 0; }
  .stat-label { letter-spacing: 0.08em; font-size: 10px; }
  .deal-grid { grid-template-columns: 1fr 1fr; }
  .playbook { grid-template-columns: 1fr; }
  .play { min-height: 360px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .chapter { grid-template-columns: 1fr; gap: 18px; padding: 31px 0; }
  .chapter-head { position: static; }
  .h-entry { grid-template-columns: 1fr; gap: 7px; padding: 18px 0; }
  .tombstones { grid-template-columns: 1fr; }
  .tomb-value { font-size: calc(60px - 2pt); }
  .stats-2 .stat:nth-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
  .step { grid-template-columns: 1fr; gap: 16px; padding-block: 36px; }
  /* Full-width overlay on small screens: the header band, an even 0.45 tint and navy from the bottom (from 40% on the home hero,
     from 20% on the page heroes, whose eyebrow sits mid-photo) so the text reads over the whole photo */
  .hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 220px), linear-gradient(180deg, rgba(11, 31, 54, 0) 25%, rgba(11, 31, 54, 0.9) 100%), linear-gradient(rgba(11, 31, 54, 0.45), rgba(11, 31, 54, 0.45)); }
  .page-hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 220px), linear-gradient(180deg, rgba(11, 31, 54, 0) 20%, rgba(11, 31, 54, 0.756) 100%), linear-gradient(rgba(11, 31, 54, 0.378), rgba(11, 31, 54, 0.378)); }   /* phones, Dublin hero: the lightest bottom fade and tint (factor 0.84) that keep the heading and eyebrow at 4.5:1 at 393, 375 and 360px */
  .closing { padding: 28px 24px; }
  .band-statement.band-ctp { padding: 66px 0; }   /* the one exception to the section padding (44px): the band keeps its earlier extra depth on tablets and phones, scaled by the same third, so the stat labels stay off the lit building */
  .band-statement::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.792) 0%, rgba(11, 31, 54, 0.675) 100%); }   /* the copy spans the width here: phones 360-600px (factor 0.9, worst 4.52:1) */
  .partner .cta { justify-self: start; }
  .partner::before { background: linear-gradient(rgba(11, 31, 54, 0.816), rgba(11, 31, 54, 0.816)); }   /* tablets and phones: the copy spans the width, so the overlay is flat at 0.816 (white text holds 4.5:1 even over a white pixel); at 900px the heading reached the light right side of the fade (2.98:1) */
  .fact { grid-template-columns: 1fr; gap: 3px; }
  .bio .slot { max-width: 320px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  /* tablets: the hero copy sits higher above the stats row, so the navy foot starts higher */
  .hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 220px), linear-gradient(180deg, rgba(11, 31, 54, 0) 12%, rgba(11, 31, 54, 0.963) 100%), linear-gradient(rgba(11, 31, 54, 0.482), rgba(11, 31, 54, 0.482)); }
}
@media (min-width: 601px) and (max-width: 900px) { .band-statement::before { background: linear-gradient(90deg, rgba(11, 31, 54, 0.774) 0%, rgba(11, 31, 54, 0.66) 100%); } }   /* tablets, 601-900px (factor 0.88, worst 4.52:1) */
@media (max-width: 600px) {
  .hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 220px), linear-gradient(180deg, rgba(11, 31, 54, 0) calc(100% - 240px), rgba(11, 31, 54, 0.702) calc(100% - 185px), rgba(11, 31, 54, 0.702) 100%), linear-gradient(rgba(11, 31, 54, 0.2), rgba(11, 31, 54, 0.2)); }   /* phones: the picture reads under a 0.20 tint, with a foot under the stats (0.70 from 240px above the bottom); with the band below, each the lightest that keeps its lines at 4.5:1 on the brightest pixel behind them at either end of the 20s zoom */
  .hero .hero-content { position: relative; }
  .hero .hero-content::before { content: ''; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -55px; bottom: -80px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.6) 55px, rgba(11, 31, 54, 0.6) calc(100% - 80px), rgba(11, 31, 54, 0) 100%); }   /* the soft band behind the eyebrow, headline, sub-line and button (0.6) travels with the text on every phone height */
  /* Phones: the hero copy and the 2x2 stats fit inside one screen (the user wants the first screen to be the hero alone) */
  .hero h1 { font-size: calc(clamp(34px, 9vw, 42px) - 2pt); margin-bottom: 13px; }
  .hero .sub { font-size: calc(17px - 2pt); margin-bottom: 18px; }
  .hero .hero-body { padding: calc(var(--header-h) + 24px) 0 36px; }
  .stats { padding: 20px 0 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: calc(28px - 2pt); }
  .deal { padding: 18px 14px 18px 16px; }   /* the track record, two tiles across */
  :root { --header-h: 78px; }
  .logo img { height: 42px; }
  .site-header.scrolled .logo img { height: 34px; }
  .nav-mobile a { font-size: calc(26px - 2pt); }
  .nav-hamburger { position: relative; }
  .nav-hamburger::after { content: ''; position: absolute; inset: -7px; }   /* an invisible 44 x 44px tap area around the 30px button, so it looks the same */
  .hero .hero-slot img, .page-hero .hero-slot img { object-position: 40% 50%; }   /* hero.jpg (Dublin at blue hour): on phones the crop keeps the harp bridge and the lit Docklands in view, on every page */
  #work-with-us .band-img { object-position: 70% 60%; }   /* the boardroom photo: the table sits right of center, so the phone crop follows it */
  /* Phones: the tile text leaves the photo for a navy block beneath it (the 16:10 slot cannot hold it here) */
  .tile-content { position: static; background: var(--navy); padding: 24px 20px 28px; }
  /* the differentiation list stays over the foot of the photo on a navy fade, as on desktop: the photo stands 4:5, so the sunrise shows above the list */
  .diff-list { position: absolute; left: 0; right: 0; bottom: 0; background: none; padding: 0 20px 14px; }
  .diff .slot::before { background: linear-gradient(0deg, rgba(11, 31, 54, 0.9) 0, rgba(11, 31, 54, 0.8) 260px, rgba(11, 31, 54, 0) 420px); }
  #who-we-are .diff .slot { aspect-ratio: 4 / 5; }
  #who-we-are .diff .slot img { object-position: 75% 25%; }
  .project .slot { aspect-ratio: 4 / 5; }
  .project-content { padding: 0 22px 24px; }
  .project-content::before { top: -120px; background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.74) 110px, rgba(11, 31, 54, 0.95) 100%); }   /* phones: from 120px above the text */
}
@media (max-width: 600px) and (max-height: 700px) {
  /* short phone screens (an iPhone SE, or any phone with the browser toolbars showing): the hero copy and the 2x2 stats still fit the first screen */
  .hero .hero-body { padding: calc(var(--header-h) + 12px) 0 24px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { margin-bottom: 9px; }
  .hero .sub { margin-bottom: 13px; }
  .hero .stats { padding: 14px 0 20px; }
  .hero .hero-content::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0) 0, rgba(11, 31, 54, 0.6) 55px, rgba(11, 31, 54, 0.6) calc(100% - 80px), rgba(11, 31, 54, 0) 100%); }   /* the text sits a little higher here: the band at 0.6, the lightest that keeps the headline and sub-line at 4.5:1 at either end of the zoom */
}
@media (max-width: 380px) {
  /* narrow phones (360-380px): the 2 x 2 stats stand taller, so the foot under them starts higher and holds 0.711 from 230px above the bottom; the lightest that keeps the figures at 4.5:1 at either end of the zoom, standard and short screens (factor 0.79, worst 4.52:1) */
  .hero::before { background: linear-gradient(180deg, rgba(11, 31, 54, 0.86) 0, rgba(11, 31, 54, 0.84) 64px, rgba(11, 31, 54, 0) 220px), linear-gradient(180deg, rgba(11, 31, 54, 0) calc(100% - 300px), rgba(11, 31, 54, 0.711) calc(100% - 230px), rgba(11, 31, 54, 0.711) 100%), linear-gradient(rgba(11, 31, 54, 0.2), rgba(11, 31, 54, 0.2)); }
}
@media (max-width: 359px) {
  :root { --header-h: 72px; }
  .logo img { height: 36px; }
  .site-header.scrolled .logo img { height: 34px; }
}

/* ============================================================
   HERO LOOP: the 10s video sits inside the hero slot (under the same overlay and copy) and plays on screens 600px and wider when
   motion is allowed; main.js attaches its source there and it fades in once it is playing, so phones, reduced motion, slow
   connections and blocked autoplay keep the still hero.jpg
   ============================================================ */
.hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.hero .hero-video.is-playing { opacity: 1; }
@media (max-width: 599.98px) { .hero .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero .hero-video { display: none; } }
