/* =========================================================================
   Oliver Amanya Alinaitwe — main stylesheet
   Layout & motion language adapted from the reference build:
   full-height panels, 4-column hairline grid, numbered serif markers,
   blue wipe reveals, marquee subtitles and page transitions.
   ========================================================================= */

:root {
  /* Palette */
  --blue: #358dff;
  --blue-deep: #1f6fe0;
  --ink: #323847;          /* primary text on light */
  --navy: #224765;         /* serif numbers */
  --night: #090b19;        /* darkest surface */
  --slate: #151b26;        /* dark panels */
  --hero-tint: #243145;    /* hero overlay */
  --light: #f3f6fd;        /* light panels */
  --white: #ffffff;
  --grey: #a5a5a5;
  --muted: #6e7488;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(94, 94, 94, 0.18);
  --gold: #c9a45c;         /* faith accent, used sparingly */

  /* Type */
  --font-sans: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;

  /* Grid (mirrors reference 10% 15% 1fr 23%) */
  --col-1: 10%;
  --col-2: 25%;
  --col-3: 77%;

  --header-h: 84px;
  --banner-h: 42px;
  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 992px) and (min-height: 680px) {
  html.snap { scroll-snap-type: y proximity; }
  html.snap .panel { scroll-snap-align: start; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 10000; padding: 10px 16px;
  background: var(--blue); color: #fff; transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Typography primitives ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink);
}
.on-dark .eyebrow, .eyebrow.light { color: rgba(255,255,255,.75); }

.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  padding: 4px 10px;
  border-radius: 2px;
}

.number {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -1px;
  color: var(--navy);
}
.on-dark .number { color: var(--blue); }

.heading-xl {
  font-family: var(--font-sans);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  font-weight: 500;
}
.heading-l {
  font-family: var(--font-sans);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  font-weight: 500;
}
.heading-m {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.3;
  font-weight: 600;
}
.serif { font-family: var(--font-serif); font-weight: 400; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.lead { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.65; }
.muted { color: var(--muted); }
.on-dark { color: #fff; }
.on-dark .muted { color: rgba(255,255,255,.65); }
.accent { color: var(--blue); }

/* ---------- Buttons (reference hero-cta pattern) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 10px;
  font-size: 15px;
  letter-spacing: .4px;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}
.btn__box {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--ink);
  border-radius: 2px;
  transition: transform .5s var(--ease-out), background .3s;
}
.btn__label {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  height: 50px; padding: 0 22px;
  background: var(--blue); color: #fff;
  border-radius: 2px;
}
.btn__label span { display: block; line-height: 50px; white-space: nowrap; transition: transform .5s var(--ease-out); }
.btn__label span::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
}
.btn__label::before {
  content: ""; position: absolute; inset: 0;
  background: var(--blue-deep);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.btn:hover .btn__label::before { transform: scaleX(1); transform-origin: left; }
.btn:hover .btn__label span { transform: translateY(-100%); }
.btn:hover .btn__box { transform: translateX(4px); }
.btn__label span { position: relative; z-index: 1; }
.btn svg { width: 18px; height: 18px; }
.btn--ghost .btn__label { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost .btn__label::before { background: rgba(53,141,255,.12); }
.btn--ghost .btn__box { background: var(--blue); color: #fff; }
.on-light .btn__box, .btn--on-light .btn__box { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid currentColor;
  transition: gap .35s var(--ease-out), color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--blue); }
.link-arrow svg { width: 14px; height: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- Top banner ---------- */
.top-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform .4s var(--ease);
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
  padding: 0 48px; text-align: center;
}
.top-banner a { border-bottom: 1px solid rgba(255,255,255,.6); }
.top-banner__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; background: none; color: #fff; display: grid; place-items: center;
}
.top-banner__close svg { width: 14px; height: 14px; }
.banner-closed .top-banner { display: none; }
.is-scrolled-page .top-banner { transform: translateY(-100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: var(--banner-h); z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: max(var(--col-1), 150px) 1fr max(var(--col-1), 150px);
  align-items: center;
  color: #fff;
  transition: background .4s, top .4s, height .4s, color .4s;
}
.banner-closed .site-header, .site-header.is-scrolled { top: 0; }
.site-header.is-scrolled {
  background: rgba(9, 11, 25, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  height: 70px;
}
.header-light .site-header:not(.is-scrolled) { color: var(--ink); }

.logo {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  justify-self: center;
}
.logo__mark { width: 34px; height: 34px; color: var(--blue); }
.logo__text {
  font-size: 9px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; white-space: nowrap;
}
.is-scrolled .logo__text { display: none; }

.nav { justify-self: center; }
.nav ul { display: flex; gap: clamp(18px, 2.6vw, 44px); }
.nav a {
  position: relative;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 0; opacity: .9;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { opacity: 1; }

.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding-right: 3vw; }
.socials { display: flex; gap: 16px; align-items: center; }
.socials a { width: 18px; height: 18px; display: grid; place-items: center; opacity: .85; transition: opacity .3s, color .3s; }
.socials a:hover { opacity: 1; color: var(--blue); }
.socials svg { width: 17px; height: 17px; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit;
  position: relative;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; right: 18px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night);
  color: #fff;
  display: grid; grid-template-columns: var(--col-1) 1fr;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__rail { border-right: 1px solid var(--line-dark); }
.menu__body { display: flex; flex-direction: column; justify-content: center; padding: 120px 8vw 60px; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(34px, 8vw, 64px); font-weight: 500; letter-spacing: -1px; line-height: 1.2;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out), color .3s;
}
.menu__list a small { font-family: var(--font-serif); font-size: 16px; color: var(--blue); }
.menu__list a:hover { color: var(--blue); }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .3s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .35s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .4s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .45s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .5s; }
.menu-open .menu__list li:nth-child(7) a { transition-delay: .55s; }
.menu__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; opacity: 0; transition: opacity .6s .6s; }
.menu-open .menu__foot { opacity: 1; }

/* ---------- Page transition (reference .transition) ---------- */
.transition {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.transition span {
  background: var(--blue);
  transform: scaleY(1); transform-origin: top;
  transition: transform .7s var(--ease);
}
.transition span:nth-child(2) { transition-delay: .06s; background: #2f84f3; }
.transition span:nth-child(3) { transition-delay: .12s; background: #2a7be8; }
.transition span:nth-child(4) { transition-delay: .18s; background: #2573de; }
.is-loaded .transition span { transform: scaleY(0); }
.is-leaving .transition span { transform: scaleY(1); transform-origin: bottom; }
/* Failsafe: never let the overlay block the page if scripts fail */
.transition { animation: transition-failsafe 0s linear 2.5s forwards; }
.is-leaving .transition { animation: none; visibility: visible; }
@keyframes transition-failsafe { to { visibility: hidden; } }
.no-js .transition { display: none; }

/* ---------- Custom cursor (pointer devices only) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--blue);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, opacity .3s;
  mix-blend-mode: normal; opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  background: rgba(53, 141, 255, .18); box-shadow: inset 0 0 0 1px var(--blue);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Grid lines (reference grid-4 hairlines) ---------- */
.grid-lines { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.grid-lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-dark); transform-origin: top; }
.grid-lines span:nth-child(1) { left: var(--col-1); }
.grid-lines span:nth-child(2) { left: var(--col-2); }
.grid-lines span:nth-child(3) { left: var(--col-3); }
.on-light .grid-lines span, .grid-lines.light span { background: var(--line-light); }
[data-reveal] .grid-lines span, .grid-lines[data-reveal] span { transform: scaleY(0); transition: transform 1.6s var(--ease); }
.is-inview .grid-lines span, .grid-lines.is-inview span { transform: scaleY(1); }

/* Side rail with vertical name (reference .menu-container.side) */
.rail-name {
  position: absolute; left: calc(var(--col-1) / 2); bottom: 6vh; z-index: 3;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700;
  opacity: .7;
}

/* ---------- Panels (full height sections) ---------- */
.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.panel.on-dark { background: var(--slate); }
.panel.on-light { background: var(--light); }
.panel.on-white { background: var(--white); }
.panel.on-night { background: var(--night); }

/* ---------- Hero ---------- */
.hero { display: grid; place-items: center; text-align: center; color: #fff; background: var(--night); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 25%; will-change: transform; }
.hero__tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(36,49,69,.35), rgba(9,11,25,.85) 75%),
    linear-gradient(180deg, rgba(36,49,69,.55), rgba(9,11,25,.6));
}
.grain::after {
  content: ""; position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-4%); }
  60% { transform: translate(-2%,5%); } 80% { transform: translate(5%,-1%); } 100% { transform: translate(0,0); }
}
.hero__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + var(--banner-h) + 30px) 6vw 120px; max-width: 1200px; }
.hero__kicker { margin-bottom: 26px; }
.hero__name {
  font-size: clamp(46px, 8.2vw, 124px);
  line-height: .98;
  letter-spacing: -2px;
  font-weight: 500;
}
.hero__name .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__name .line--serif { font-family: var(--font-serif); font-style: italic; letter-spacing: -1px; }
.split .char { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out); }
.split .space { display: inline-block; width: .26em; }
.split .line { display: block; overflow: hidden; padding-bottom: .08em; }
.is-loaded .split .char, .split.is-inview .char { transform: none; opacity: 1; }

/* Marquee subtitle (reference hero-subhead-container) */
.marquee {
  width: min(38vw, 520px); margin: 22px auto 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee__track span {
  font-size: 10px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; white-space: pre;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.hero__tagline { margin-top: 30px; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 28px); }
.hero__intro { max-width: 640px; margin: 18px auto 0; font-size: clamp(15px, 1.15vw, 17px); color: rgba(255,255,255,.78); }
.hero__actions { margin-top: 34px; justify-content: center; }

.mouse {
  display: block;
  width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 12px;
  margin: 46px auto 0; position: relative;
}
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px;
  background: #fff; border-radius: 2px; animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.hero__corner {
  position: absolute; z-index: 3; bottom: 4%;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__corner--left { left: calc(var(--col-1) + 2vw); display: flex; align-items: center; gap: 12px; }
.hero__corner--left i { display: block; width: 40px; height: 1px; background: currentColor; }
.hero__cta { position: absolute; right: 3%; bottom: 4%; z-index: 4; color: #fff; }

/* Fade/slide reveal on scroll */
[data-reveal="up"] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal="up"].is-inview { opacity: 1; transform: none; }
[data-reveal="fade"] { opacity: 0; transition: opacity 1.2s var(--ease-out); }
[data-reveal="fade"].is-inview { opacity: 1; }
[data-delay="1"] { transition-delay: .12s !important; }
[data-delay="2"] { transition-delay: .24s !important; }
[data-delay="3"] { transition-delay: .36s !important; }
[data-delay="4"] { transition-delay: .48s !important; }
[data-delay="5"] { transition-delay: .6s !important; }

/* Image with blue wipe (reference .img-cover.media) */
.media-wipe { position: relative; overflow: hidden; background: var(--slate); }
.media-wipe img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.media-wipe::after {
  content: ""; position: absolute; inset: 0; z-index: 2; background: var(--blue);
  transform: scaleX(1); transform-origin: right; transition: transform 1.25s var(--ease);
}
.media-wipe.is-inview::after { transform: scaleX(0); }
.media-wipe.is-inview img { transform: scale(1); }

/* ---------- Feature panel (reference newsletter / holdings / fund) ---------- */
.feature { display: grid; grid-template-columns: var(--col-1) 1fr; }
.feature__media {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--col-1); width: 66.6%;
}
.feature__media img { height: 115%; will-change: transform; }
.feature--right .feature__media { left: auto; right: 0; width: 66.6%; }
.feature__card {
  position: relative; z-index: 3;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  width: min(560px, 46vw);
  margin: calc(var(--header-h) + 40px) 5vw 60px;
  background: var(--white);
  padding: clamp(32px, 3.6vw, 56px);
  box-shadow: 0 30px 80px -30px rgba(9, 11, 25, .45);
}
.feature--right .feature__card { justify-self: start; margin-left: 4vw; }
.feature__card, .feature__card .eyebrow { color: var(--ink); }
.feature__card .number { color: var(--navy); }
.feature__card .link-arrow.is-disabled svg { display: none; }
.feature__card .tag { position: absolute; top: 0; left: clamp(32px, 3.6vw, 56px); transform: translateY(-50%); }
.feature__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.feature__card h2 { margin-bottom: 18px; }
.feature__card p { color: #4d5363; }
.feature__card .btn-row { margin-top: 28px; }

/* Section dots (reference right-side pulse nav) */
.dots {
  position: fixed; right: 22px; top: 50%; z-index: 40; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.dots a { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(53,141,255,.35); position: relative; transition: background .3s, transform .3s; }
.dots a.is-active { background: var(--blue); transform: scale(1.35); }
.dots a.is-active::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--blue);
  animation: pulse 2s var(--ease-out) infinite;
}
.dots a span {
  position: absolute; right: 18px; top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--night); color: #fff; padding: 4px 8px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.dots a:hover span { opacity: 1; transform: translate(0, -50%); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Stats / achievements ---------- */
.section-pad { padding: calc(var(--header-h) + 60px) 0 100px; }
.wrap { position: relative; z-index: 3; width: min(1180px, 100% - 12vw); margin-inline: auto; }
.wrap--offset { margin-left: calc(var(--col-2) + 2vw); margin-right: 6vw; width: auto; max-width: 1100px; }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 10px 34px; align-items: end; margin-bottom: 56px; }
.section-head .number { grid-row: span 2; align-self: end; }
.section-head .lead { grid-column: 2; max-width: 640px; margin: 8px 0 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 40px 30px 36px 0; }
.stat + .stat { padding-left: 30px; border-left: 1px solid var(--line-dark); }
.stat__value { font-family: var(--font-serif); font-size: clamp(48px, 5.4vw, 84px); line-height: 1; color: #fff; letter-spacing: -1px; }
.stat__value .accent { color: var(--blue); }
.stat__label { margin-top: 14px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.7); max-width: 240px; }

.exp-list { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; counter-reset: exp; }
.exp-list li {
  counter-increment: exp;
  display: grid; grid-template-columns: 46px 1fr; gap: 12px;
  padding: 22px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.88);
}
.exp-list li::before { content: counter(exp, decimal-leading-zero); font-family: var(--font-serif); color: var(--blue); font-size: 18px; }
.note { margin-top: 36px; font-size: 14px; color: rgba(255,255,255,.55); max-width: 640px; }

/* ---------- Vision ---------- */
.statement { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.15; letter-spacing: -1px; font-weight: 500; max-width: 980px; }
.statement em { font-family: var(--font-serif); font-weight: 400; color: var(--blue); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line-light); }
.pillar { padding: 30px 26px 10px 0; position: relative; }
.pillar + .pillar { padding-left: 26px; border-left: 1px solid var(--line-light); }
.pillar .number { font-size: 22px; margin-bottom: 18px; color: var(--blue); }
.pillar h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: #5a6070; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 46px; max-width: 1000px; }
.two-col p { color: #4d5363; }

/* ---------- Faith ---------- */
.faith { display: grid; place-items: center; text-align: center; color: #fff; background: var(--night); }
.faith__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(201,164,92,.20), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(53,141,255,.16), transparent 70%);
}
.faith__rays {
  position: absolute; left: 50%; top: -20%; width: 140vmax; height: 140vmax; z-index: -1; transform: translateX(-50%);
  background: repeating-conic-gradient(from 180deg at 50% 0%, rgba(255,255,255,.035) 0deg 2deg, transparent 2deg 9deg);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 55%);
          mask-image: radial-gradient(circle at 50% 0%, #000, transparent 55%);
  animation: rays 60s linear infinite;
}
@keyframes rays { to { transform: translateX(-50%) rotate(8deg); } }
.faith__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 60px) 8vw 100px; max-width: 1100px; }
.quote {
  font-family: var(--font-serif); font-size: clamp(30px, 4vw, 60px); line-height: 1.14; letter-spacing: -.5px; margin: 26px 0 30px;
}
.quote__mark { font-family: var(--font-serif); font-size: 90px; line-height: .6; color: var(--gold); display: block; height: 40px; }
.quote-cite { font-family: var(--font-ui); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.faith__text { max-width: 680px; margin: 40px auto 0; color: rgba(255,255,255,.78); font-size: 17px; }
.faith .btn-row { justify-content: center; margin-top: 34px; }
.cross-line { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); margin: 0 auto 26px; }

/* ---------- Contact band / footer (reference footer-01) ---------- */
.contact-band { display: grid; align-items: center; background: var(--blue); color: #fff; }
.contact-band .grid-lines span { background: rgba(255,255,255,.22); }
.contact-band__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) 0 90px; }
.contact-band h2 { font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -2px; font-weight: 500; max-width: 900px; }
.contact-band h2 em { font-family: var(--font-serif); font-weight: 400; }
.enquiry-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 40px; }
.enquiry-tags li { font-family: var(--font-ui); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid rgba(255,255,255,.55); padding: 9px 14px; border-radius: 40px; }
.contact-band .btn__box { background: var(--night); color: #fff; }
.contact-band .btn__label { background: #fff; color: var(--ink); }
.contact-band .btn__label::before { background: var(--light); }

.footer { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.footer .grid-lines span { background: var(--line-dark); }
.footer__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding: 90px 0 50px; }
.footer__title { font-size: 22px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.6); max-width: 360px; font-size: 15px; }
.footer__brand .footer__title { color: #fff; font-size: 22px; max-width: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,.75); transition: color .3s; }
.footer__links a:hover { color: var(--blue); }
.footer__bottom { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0 34px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,.5); }
.footer__giant {
  position: relative; z-index: 2; font-size: clamp(48px, 11.5vw, 190px); line-height: .85; letter-spacing: -4px; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); white-space: nowrap; padding-bottom: 10px; text-align: center;
}
.footer .socials { margin-top: 22px; }

/* ---------- Inner page hero (reference .page-hero / about hero) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--night);
  padding: calc(var(--header-h) + var(--banner-h) + 70px) 0 90px;
  isolation: isolate;
}
.banner-closed .page-hero { padding-top: calc(var(--header-h) + 70px); }
.page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.page-hero h1 { margin: 16px 0 22px; }
.page-hero .lead { color: rgba(255,255,255,.78); max-width: 560px; }
.page-hero__media { aspect-ratio: 1 / 1.05; max-width: 470px; justify-self: end; width: 100%; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; }
.stripes {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--line-dark) calc(12.5% - 1px) 12.5%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
          mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.on-light .stripes, .stripes.light { background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--line-light) calc(12.5% - 1px) 12.5%); }

/* ---------- Story (reference .about-story) ---------- */
.story-intro { display: grid; grid-template-columns: 1.6fr 1fr; min-height: 100vh; }
.story-intro__text { padding: 110px 7vw 110px calc(var(--col-1) + 2vw); }
.story-intro__text h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; font-weight: 600; margin: 18px 0 34px; max-width: 640px; }
.prose { max-width: 660px; font-size: 18px; line-height: 1.78; color: #3d4352; }
.prose p { margin-bottom: 1.35em; }
.prose .pull {
  font-family: var(--font-serif); font-size: clamp(26px, 2.5vw, 36px); line-height: 1.25; color: var(--ink);
  border-left: 2px solid var(--blue); padding: 6px 0 6px 26px; margin: 1.6em 0;
}
.signature { font-family: var(--font-serif); font-style: italic; font-size: 44px; color: var(--ink); margin-top: 20px; line-height: 1; }
.signature small { display: block; margin-top: 8px; font-family: var(--font-ui); font-style: normal; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

.story-aside { position: relative; color: #fff; background: var(--slate); }
.story-aside__bg { position: absolute; inset: 0; }
.story-aside__bg img { width: 100%; height: 100%; object-fit: cover; }
.story-aside__bg::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 25, .78); }
.story-aside__sticky { position: sticky; top: 90px; z-index: 2; padding: 110px 4vw 80px; }
.story-aside h3 { font-family: var(--font-ui); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.story-aside p { color: rgba(255,255,255,.82); font-size: 16px; }
.story-aside .divider { height: 1px; background: var(--line-dark); margin: 40px 0; }
.connect-list li { border-bottom: 1px solid var(--line-dark); }
.connect-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; transition: color .3s, padding .4s var(--ease-out); }
.connect-list a:hover { color: var(--blue); padding-left: 8px; }
.connect-list svg { width: 14px; height: 14px; }

/* Timeline (reference .personal-life / .about-life rows) */
.timeline { position: relative; background: var(--light); padding: 130px 0 120px; }
.timeline__head { margin-bottom: 80px; }
.timeline__rail {
  position: absolute; z-index: 1; top: 300px; bottom: 140px; left: 50%; width: 1px; background: var(--line-light);
}
.timeline__progress { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(0); }
.chapter { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; margin-bottom: 120px; }
.chapter:last-child { margin-bottom: 0; }
.chapter:nth-child(even) .chapter__media { order: 2; }
.chapter__dot {
  position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%;
  background: var(--light); box-shadow: inset 0 0 0 2px var(--blue); transition: background .4s;
}
.chapter.is-inview .chapter__dot { background: var(--blue); }
.chapter__media { aspect-ratio: 4 / 3.3; }
.chapter__card {
  aspect-ratio: 4 / 3.3; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 3vw, 46px); background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.chapter__card .big { font-family: var(--font-serif); font-size: clamp(80px, 11vw, 170px); line-height: .8; color: rgba(255,255,255,.07); position: absolute; right: -10px; bottom: -10px; }
.chapter__card .heading-l { position: relative; max-width: 360px; color: #fff; margin: 0; }
.chapter__card.is-blue { background: var(--blue); }
.chapter__card.is-blue .big { color: rgba(255,255,255,.14); }
.chapter__meta { display: flex; gap: 16px; align-items: baseline; margin-bottom: 16px; }
.chapter__meta .number { font-size: 34px; }
.chapter h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -.6px; font-weight: 600; margin-bottom: 18px; }
.chapter p { font-size: 17px; line-height: 1.72; color: #4d5363; }
.chapter blockquote { margin: 18px 0 0; font-family: var(--font-serif); font-size: 22px; line-height: 1.35; color: var(--ink); border-left: 2px solid var(--blue); padding-left: 20px; }

/* Lessons */
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.lesson { padding: 40px 34px 20px 0; }
.lesson + .lesson { padding-left: 34px; border-left: 1px solid var(--line-light); }
.lesson .number { font-size: 26px; color: var(--blue); margin-bottom: 22px; }
.lesson h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.lesson p { color: #5a6070; font-size: 16px; }

.today { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.today__figure { font-family: var(--font-serif); font-size: clamp(64px, 8vw, 128px); line-height: .9; color: var(--ink); letter-spacing: -2px; }
.today__figure .accent { color: var(--blue); }
.today__cap { margin-top: 14px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ---------- Ventures page ---------- */
.venture { padding: 0; }
.venture__layout { display: grid; grid-template-columns: var(--col-1) 1fr 1fr; min-height: 100vh; }
.venture__media { position: relative; min-height: 60vh; }
.venture__media .media-wipe { position: absolute; inset: 0; }
.venture__body { padding: calc(var(--header-h) + 50px) 5vw 80px; display: flex; flex-direction: column; justify-content: center; }
.venture--flip .venture__media { order: 3; }
.venture--flip .venture__body { order: 2; }
.venture__name { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.06; letter-spacing: -1px; font-weight: 600; margin: 18px 0 8px; }
.venture__sector { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--blue); margin-bottom: 26px; }
.venture__body p { color: #4d5363; }
.venture__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 30px 0 36px; padding-top: 26px; border-top: 1px solid var(--line-light); }
.venture__facts h4 { font-family: var(--font-ui); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.venture__facts li { padding: 6px 0 6px 18px; position: relative; font-size: 15px; line-height: 1.5; }
.venture__facts li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--blue); }
.venture__facts p { font-size: 15px; margin: 0; }
.link-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6vw; padding: 110px 0 120px; }
.enquiry-list li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.enquiry-list .number { font-size: 20px; color: var(--blue); }
.enquiry-list h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.enquiry-list p { margin: 0; font-size: 15px; color: #5a6070; }
.direct { margin-top: 44px; }
.direct li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.direct li span:first-child { font-family: var(--font-ui); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.direct a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; word-break: break-all; text-align: right; }
.direct a:hover { color: var(--blue); border-color: var(--blue); }

.form { background: var(--white); padding: clamp(28px, 3.5vw, 56px); box-shadow: 0 30px 80px -40px rgba(9,11,25,.35); position: relative; }
.form .tag { position: absolute; top: 0; left: clamp(28px, 3.5vw, 56px); transform: translateY(-50%); }
.form h2 { margin-bottom: 30px; }
.field { position: relative; margin-bottom: 26px; }
.field label { display: block; font-family: var(--font-ui); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 0; border-bottom: 1px solid #cfd4de; background: transparent; padding: 10px 0; border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23323847' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form__status { margin-top: 18px; font-size: 14px; min-height: 22px; }
.form__status.is-error { color: #c0392b; }
.form__status.is-ok { color: #1e8a4c; }
.hp { position: absolute; left: -9999px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound .number { font-size: clamp(120px, 20vw, 260px); color: var(--blue); }

/* =========================================================================
   Responsive (reference breakpoints: 991 / 767 / 479)
   ========================================================================= */
@media (max-width: 1180px) {
  .nav ul { gap: 20px; }
  .socials { display: none; }
  .menu .socials, .footer .socials { display: flex; }
}

@media (max-width: 991px) {
  :root { --col-1: 0%; --col-2: 33.33%; --col-3: 66.66%; --header-h: 72px; }
  .site-header { grid-template-columns: auto 1fr auto; padding-left: 5vw; }
  .logo { flex-direction: row; gap: 12px; justify-self: start; }
  .logo__mark { width: 30px; height: 30px; }
  .is-scrolled .logo__text { display: block; }
  .nav { display: none; }
  .burger { display: block; }
  .menu { grid-template-columns: 1fr; }
  .menu__rail { display: none; }
  .rail-name, .dots { display: none; }
  .grid-lines span:nth-child(1) { display: none; }

  .marquee { width: min(70vw, 460px); }
  .hero__cta { position: static; margin-top: 30px; display: inline-flex; }
  .hero__corner--left { left: 5vw; }

  .feature { display: block; padding-bottom: 60px; }
  .feature__media, .feature--right .feature__media { position: relative; left: 0; right: 0; width: 100%; height: 56vh; }
  .feature__media img { height: 100%; }
  .feature__card, .feature--right .feature__card { width: auto; margin: -90px 5vw 0; }
  .feature.panel { min-height: 0; }

  .wrap--offset { margin-left: 6vw; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .exp-list { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar { border-bottom: 1px solid var(--line-light); padding-bottom: 26px; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { justify-self: start; max-width: 520px; }
  .story-intro { grid-template-columns: 1fr; min-height: 0; }
  .story-intro__text { padding: 80px 6vw; }
  .story-aside__sticky { position: relative; top: 0; padding: 70px 6vw; }

  .timeline__rail { left: 6vw; top: 260px; }
  .chapter { grid-template-columns: 1fr; gap: 34px; padding-left: 8vw; margin-bottom: 90px; }
  .chapter:nth-child(even) .chapter__media { order: 0; }
  .chapter__dot { left: calc(6vw - 2px); top: 0; margin-left: -6px; }
  .chapter__dot { left: -2vw; }
  .lessons { grid-template-columns: 1fr; }
  .lesson + .lesson { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .today { grid-template-columns: 1fr; }

  .venture__layout { grid-template-columns: 1fr; min-height: 0; }
  .venture--flip .venture__media { order: 0; }
  .venture__media { min-height: 50vh; }
  .venture__body { padding: 60px 6vw 80px; }

  .contact-grid { grid-template-columns: 1fr; padding: 80px 0; }
}

@media (max-width: 767px) {
  :root { --banner-h: 38px; }
  .top-banner { font-size: 12px; padding: 0 40px; }
  .hero__name { letter-spacing: -1px; }
  .hero__corner--left { display: none; }
  .hero__inner { padding-bottom: 80px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .number { grid-row: auto; }
  .section-head .lead { grid-column: 1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; }
  .venture__facts { grid-template-columns: 1fr; gap: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 70px; }
  .prose { font-size: 17px; }
}

@media (max-width: 479px) {
  .wrap { width: calc(100% - 32px); }
  .wrap--offset { margin-left: 16px; margin-right: 16px; }
  .btn__label { padding: 0 16px; font-size: 14px; }
  .btn__box { width: 46px; height: 46px; }
  .btn__label { height: 46px; }
  .btn__label span { line-height: 46px; }
  .feature__card, .feature--right .feature__card { margin: -70px 16px 0; padding: 34px 22px 28px; }
  .feature__card .tag { left: 22px; }
  .chapter { padding-left: 28px; }
  .timeline__rail { left: 16px; }
  .chapter__dot { left: -18px; }
  .story-intro__text { padding: 64px 16px; }
  .story-aside__sticky { padding: 60px 16px; }
  .stat { padding-right: 0; }
}

/* Reduced motion: keep everything visible and still */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}

/* Banner copy swap */
.banner-short { display: none; }
@media (max-width: 600px) {
  .banner-long { display: none; }
  .banner-short { display: inline; }
}

/* Mobile timeline alignment + lighter stripes */
@media (max-width: 991px) {
  .chapter { padding-left: calc(6vw + 30px); }
  .chapter__dot { left: 6vw; top: 8px; margin: 0 0 0 -6.5px; }
  .stripes { background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-dark) calc(25% - 1px) 25%); }
  .on-light .stripes, .stripes.light { background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-light) calc(25% - 1px) 25%); }
}
@media (max-width: 479px) {
  .chapter { padding-left: 44px; }
  .timeline__rail { left: 16px; }
  .chapter__dot { left: 16px; }
}

/* =========================================================================
   v2: real imagery, split hero, drawer menu, mobile polish
   ========================================================================= */

/* Hero: UK at night blending into the hills of Uganda */
.hero__media--split .hero__img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.hero__img--uk { object-position: 30% 50%; }
.hero__img--ug {
  object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(100deg, transparent 36%, #000 64%);
          mask-image: linear-gradient(100deg, transparent 36%, #000 64%);
}
.hero__tint {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(9,11,25,.42), rgba(9,11,25,.86) 80%),
    linear-gradient(180deg, rgba(20,30,48,.55), rgba(9,11,25,.55));
}
.hero__corner--right { right: calc(100% - var(--col-3) + 2vw); display: flex; align-items: center; gap: 12px; }
.hero__corner--right i { display: block; width: 40px; height: 1px; background: currentColor; }

/* Mobile/tablet drawer menu: slides in from the left, page stays visible on the right */
.menu {
  inset: 0 auto 0 0;
  width: max(250px, min(62vw, 440px));
  grid-template-columns: 1fr;
  clip-path: none;
  transform: translateX(-102%);
  transition: transform .6s var(--ease), visibility 0s linear .6s;
  box-shadow: 30px 0 80px -20px rgba(0,0,0,.6);
  border-right: 1px solid var(--line-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-open .menu { clip-path: none; transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.menu__rail { display: none; }
.menu__body { justify-content: flex-start; padding: calc(var(--header-h) + 40px) 28px 40px; min-height: 100%; }
.menu__list a { font-size: clamp(24px, 6.6vw, 36px); gap: 14px; padding: 6px 0; }
.menu__list a small { font-size: 13px; min-width: 22px; }
.menu__list a[aria-current="page"] { color: var(--blue); }
.menu__list a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); align-self: center; margin-left: 4px; }
.menu__foot { margin-top: auto; padding-top: 40px; flex-direction: column; align-items: flex-start; gap: 18px; }
.menu-scrim {
  position: fixed; inset: 0; z-index: 44; background: rgba(9, 11, 25, .32);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
.menu-open .top-banner { transform: translateY(-100%); }
.menu-open .site-header { top: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .logo__text { display: block; }
.menu-open .dots { opacity: 0; }

/* reCAPTCHA badge sits bottom-right; hide it while the drawer is open */
.menu-open .grecaptcha-badge { visibility: hidden; }

/* Mobile polish */
@media (max-width: 991px) {
  .hero__corner--right { right: 5vw; }

}
@media (max-width: 767px) {
  .hero__img--ug {
    -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 70%);
            mask-image: linear-gradient(180deg, transparent 30%, #000 70%);
  }
  .hero__corner--right { display: none; }
  .hero__actions { flex-direction: column; align-items: center; gap: 14px; }
  .hero__actions .btn { width: min(100%, 280px); }
  .hero__actions .btn__label { flex: 1; justify-content: center; }
  .hero__intro { font-size: 15px; }
  .hero__tagline { font-size: 19px; }
  .mouse { margin-top: 34px; }

  .section-pad { padding: calc(var(--header-h) + 36px) 0 72px; }
  .panel.section-pad { min-height: 0; }
  .feature { padding-bottom: 48px; }
  .feature__media { height: 46vh; min-height: 300px; }
  .feature__card h2 { font-size: 26px; }
  .feature__card .btn-row { gap: 16px; }
  .stat { padding: 28px 0; }
  .stat__value { font-size: 52px; }
  .exp-list { margin-top: 36px; }
  .exp-list li { font-size: 16px; padding: 18px 0; }
  .statement { font-size: 27px; }
  .pillars { margin-top: 40px; }
  .faith__inner { padding: calc(var(--header-h) + 40px) 22px 80px; }
  .quote { font-size: 28px; }
  .contact-band__inner { padding: calc(var(--header-h) + 20px) 0 70px; }
  .contact-band h2 { font-size: 40px; }
  .footer__giant { font-size: 15vw; letter-spacing: -2px; }

  .page-hero { padding-bottom: 64px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero__media { max-width: none; }
  .timeline { padding: 90px 0 80px; }
  .timeline__head { margin-bottom: 50px; }
  .chapter { margin-bottom: 64px; gap: 26px; }
  .chapter h3 { font-size: 24px; }
  .chapter p { font-size: 16px; }
  .chapter__card .big { font-size: 96px; }
  .lessons .lesson { padding-top: 28px; }
  .today__figure { font-size: 64px; }

  .venture__media { min-height: 46vh; }
  .venture__body { padding: 48px 20px 64px; }
  .venture__name { font-size: 30px; }
  .contact-grid { padding: 64px 0 80px; gap: 56px; }
  .form { padding: 34px 22px 28px; }
}


/* =========================================================================
   Brand logo ("oa." script mark + OLIVER ALINAITWE wordmark)
   Drawn as masks so the logo takes the text colour of whatever it sits on.
   ========================================================================= */
.logo__mark, .logo__word, .footer__logo, .menu__logo {
  display: block; background-color: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.logo__mark { width: 66px; height: 30px; color: inherit; -webkit-mask-image: url(/assets/images/logo/oa-mark.png); mask-image: url(/assets/images/logo/oa-mark.png); }
.logo__word { width: 124px; height: 8px; -webkit-mask-image: url(/assets/images/logo/oa-wordmark.png); mask-image: url(/assets/images/logo/oa-wordmark.png); }
.logo { gap: 9px; transition: opacity .3s; }
.logo:hover { opacity: .8; }
.is-scrolled .logo__word { display: none; }
.is-scrolled .logo__mark { width: 58px; height: 27px; }
.footer__logo { width: 250px; height: 82px; color: #fff; margin: 0 0 22px; -webkit-mask-image: url(/assets/images/logo/oa-lockup.png); mask-image: url(/assets/images/logo/oa-lockup.png); }
.menu__logo { width: 150px; height: 49px; color: rgba(255,255,255,.85); -webkit-mask-image: url(/assets/images/logo/oa-lockup.png); mask-image: url(/assets/images/logo/oa-lockup.png); }
@media (max-width: 991px) {
  .logo { gap: 12px; }
  .logo__mark, .is-scrolled .logo__mark { width: 54px; height: 25px; }
  .logo__word, .is-scrolled .logo__word { display: block; width: 112px; height: 7px; }
}
.menu-open .site-header .logo__word { display: block; }


/* ---------- Fresh produce: home mosaic + drifting ribbons ---------- */
.harvest { color: #fff; }
.harvest__head { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 40px; align-items: end; margin-bottom: 34px; position: relative; z-index: 2; }
.harvest__head .heading-l { margin-top: 10px; color: #fff; }
.harvest__head .muted { margin: 0; color: rgba(255,255,255,.72); }
.harvest__grid {
  position: relative; z-index: 2; display: grid; gap: 12px;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(420px, 62vh, 680px);
}
.harvest__tile { margin: 0; min-height: 0; }
.harvest__tile--big { grid-row: span 2; }
.harvest__tile::before {
  content: ""; position: absolute; inset: 40% 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, rgba(9,11,25,.62));
}
.harvest__tile img { display: block; }
.harvest__tile.is-inview:hover img { transform: scale(1.05); }
.harvest__tile:nth-child(2)::after, .harvest__tile:nth-child(2) img { transition-delay: .1s; }
.harvest__tile:nth-child(3)::after, .harvest__tile:nth-child(3) img { transition-delay: .2s; }
.harvest__tile:nth-child(4)::after, .harvest__tile:nth-child(4) img { transition-delay: .3s; }
.harvest__tile:nth-child(5)::after, .harvest__tile:nth-child(5) img { transition-delay: .4s; }
.harvest__tile figcaption, .ribbon__item figcaption {
  position: absolute; left: 16px; bottom: 13px; z-index: 1; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}

.ribbon { overflow: hidden; padding: 56px 0; }
.ribbon--white { background: var(--white); }
.ribbon--light { background: var(--light); padding-top: 0; }
.ribbon__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__item { position: relative; flex: none; width: clamp(280px, 30vw, 460px); aspect-ratio: 4 / 3; margin: 0 12px 0 0; overflow: hidden; background: var(--slate); }
.ribbon__item::before {
  content: ""; position: absolute; inset: 50% 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, rgba(9,11,25,.6));
}
.ribbon__item img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 991px) {
  .harvest__head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .harvest__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 62vw 42vw 42vw; height: auto; gap: 8px; }
  .harvest__tile--big { grid-column: span 2; grid-row: auto; }
  .ribbon { padding: 36px 0; }
  .ribbon--light { padding-top: 0; }
  .ribbon__item { width: 70vw; margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon { overflow-x: auto; }
  .ribbon__track { animation: none; }
  .ribbon__item[aria-hidden="true"] { display: none; }
}
.split .word { display: inline-block; white-space: nowrap; }
