:root {
  color-scheme: dark;
  --ink: #080b13;
  --ink-raised: #0c111d;
  --panel: #101725;
  --panel-soft: #131c2c;
  --line: rgba(226, 234, 250, .11);
  --line-strong: rgba(226, 234, 250, .2);
  --text: #f3f5fa;
  --muted: #a2acbd;
  --faint: #758198;
  --blue: #6389ff;
  --blue-bright: #8aa8ff;
  --blue-soft: rgba(85, 125, 255, .12);
  --gold: #e6b74f;
  --green: #79d6a3;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --page-width: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: rgba(99, 137, 255, .52); }
.page-width { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.section-wrap { position: relative; }

.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 15px; transform: translateY(-150%); border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }

.site-header { position: fixed; z-index: 50; top: 18px; left: 0; width: 100%; padding-inline: 24px; transition: top .3s ease; }
.nav-shell { width: min(1120px, 100%); min-height: 68px; margin-inline: auto; padding: 10px 12px 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(237, 242, 255, .12); border-radius: 18px; background: rgba(10, 14, 24, .8); box-shadow: 0 14px 48px rgba(0, 0, 0, .24); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: background .25s ease, border-color .25s ease; }
.site-header.is-scrolled .nav-shell { border-color: rgba(237, 242, 255, .16); background: rgba(8, 11, 19, .95); }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(99, 137, 255, .62); border-radius: 11px; background: linear-gradient(145deg, rgba(99, 137, 255, .23), rgba(99, 137, 255, .04)); color: var(--blue-bright); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: -.08em; }
.brand-mark span { transform: translateX(-1px); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .19em; }
.primary-nav { display: flex; align-items: center; gap: clamp(17px, 2.5vw, 34px); }
.primary-nav a { color: #c4ccda; font-size: 12px; font-weight: 500; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.is-current { color: var(--text); }
.primary-nav .nav-contact { display: inline-flex; align-items: center; gap: 13px; padding: 10px 15px; border: 1px solid rgba(99, 137, 255, .45); border-radius: 11px; background: rgba(99, 137, 255, .1); color: #e4ebff; }
.nav-contact span { color: var(--blue-bright); font-size: 15px; }
.menu-toggle { display: none; }

.hero { min-height: 800px; min-height: min(930px, 100svh); padding-top: 160px; overflow: hidden; background: radial-gradient(ellipse at 75% 47%, rgba(44, 70, 145, .16), transparent 38%), linear-gradient(180deg, #090d17 0%, #080b13 100%); }
.hero::before { position: absolute; top: 0; right: 7%; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(115, 149, 242, .08) 25%, rgba(115, 149, 242, .08) 74%, transparent); content: ""; }
.hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--ink)); content: ""; pointer-events: none; }
.hero-orbit { position: absolute; z-index: 0; border: 1px solid rgba(114, 149, 241, .08); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { top: 14%; right: -4%; width: 580px; height: 580px; }
.hero-orbit-two { top: 20%; right: 1%; width: 450px; height: 450px; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 32px; }
.hero-copy { position: relative; z-index: 2; padding: 0 0 52px 5.3%; }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .19em; line-height: 1.6; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 26px; height: 1px; background: var(--blue); }
.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 11px rgba(99, 137, 255, .9); }
.hero h1 { margin: 27px 0 18px; font-family: var(--font-display); font-size: clamp(66px, 8.2vw, 112px); font-weight: 600; letter-spacing: -.085em; line-height: .91; }
.hero h1 > span:first-of-type { color: #d5def4; }
.hero-period { color: var(--blue); }
.hero-subtitle { max-width: 480px; margin: 25px 0 10px; color: #e0e5ef; font-family: var(--font-display); font-size: clamp(17px, 1.9vw, 21px); font-weight: 500; letter-spacing: -.035em; line-height: 1.4; }
.hero-description { max-width: 490px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 700; letter-spacing: .01em; transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(63, 100, 227, .22); }
.button-primary:hover { background: #7899ff; box-shadow: 0 12px 34px rgba(63, 100, 227, .34); }
.button-primary span { font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #dce4f8; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.text-link span { color: var(--blue-bright); font-size: 15px; transition: transform .2s ease; }
.text-link:hover { color: #fff; }
.text-link:hover span { transform: translate(2px, -2px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--faint); font-size: 10px; letter-spacing: .04em; }
.hero-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { color: var(--blue-bright); font-style: normal; }
.status-dot { width: 6px; height: 6px; display: inline-block; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(121, 214, 163, .48); }
.hero-visual { position: relative; justify-self: center; width: min(100%, 475px); margin: 0 20px 10px 0; padding: 22px 20px 32px; }
.hero-image-frame { position: relative; z-index: 1; width: 100%; max-height: 600px; overflow: hidden; border: 1px solid rgba(181, 199, 245, .2); border-radius: 205px 205px 26px 26px; background: #111a24; box-shadow: 0 28px 100px rgba(0, 0, 0, .42), 0 0 58px rgba(72, 108, 225, .11); }
.hero-image-frame::after { position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 11, 19, .64)); content: ""; pointer-events: none; }
.hero-portrait { width: 100%; height: 590px; object-fit: cover; object-position: center 28%; filter: saturate(.88) contrast(1.03); }
.image-corner { position: absolute; z-index: 2; width: 32px; height: 32px; border-color: var(--blue); border-style: solid; opacity: .9; }
.image-corner-top { top: 14px; left: 14px; border-width: 1px 0 0 1px; border-top-left-radius: 8px; }
.image-corner-bottom { right: 14px; bottom: 14px; border-width: 0 1px 1px 0; border-bottom-right-radius: 8px; }
.hero-image-label { position: absolute; z-index: 3; right: 34px; bottom: 55px; left: 34px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .75); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.label-index { color: var(--blue-bright); }
.hero-side-note { position: absolute; top: 49%; right: -20px; color: var(--faint); font-size: 8px; font-weight: 600; letter-spacing: .24em; writing-mode: vertical-rl; }
.hero-chip { position: absolute; z-index: 4; bottom: 94px; left: -28px; min-width: 190px; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid rgba(219, 228, 250, .14); border-radius: 13px; background: rgba(15, 22, 36, .9); box-shadow: 0 18px 44px rgba(0, 0, 0, .28); backdrop-filter: blur(12px); }
.chip-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-soft); color: var(--blue-bright); font-size: 19px; }
.hero-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.hero-chip strong { font-family: var(--font-display); font-size: 12px; }
.hero-chip small { color: var(--muted); font-size: 10px; }
.hero-bottom { position: absolute; z-index: 3; right: 0; bottom: 36px; left: 0; display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.scroll-rule { width: 66px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.hero-bottom > span:last-child { margin-left: auto; }

.intro-band { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0b0f18; }
.intro-band-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; overflow: hidden; color: #b4bdcc; font-size: 9px; font-weight: 600; letter-spacing: .17em; white-space: nowrap; }
.intro-band-inner i { width: 4px; height: 4px; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px rgba(99, 137, 255, .8); }

.section { padding: 125px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.section-index { color: var(--muted); }
.section-index > span { color: var(--blue-bright); font-family: var(--font-display); font-weight: 700; }
.section-kicker, .toolkit-label { margin: 0; color: var(--faint); font-size: 9px; font-weight: 600; letter-spacing: .17em; }
.about-layout { display: grid; grid-template-columns: 1.08fr .72fr; gap: clamp(44px, 8vw, 112px); padding-top: 54px; }
.about-copy h2, .section-heading h2, .client-copy h2, .support-copy h2, .contact-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5.3vw, 68px); font-weight: 500; letter-spacing: -.07em; line-height: 1.05; }
.about-copy h2 span, .section-heading h2 span, .client-copy h2 span, .support-copy h2 span, .contact-copy h2 span { color: #8496b8; }
.about-copy .large-copy { max-width: 610px; margin: 30px 0 16px; color: #e1e6f0; font-size: 17px; font-weight: 500; line-height: 1.65; }
.about-copy > p:not(.large-copy) { max-width: 600px; margin: 0 0 13px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-link { margin-top: 18px; color: var(--blue-bright); }
.about-aside { align-self: end; }
.identity-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #050608; }
.identity-card img { width: 100%; aspect-ratio: 1 / .92; object-fit: contain; }
.identity-label { position: absolute; right: 0; bottom: 0; left: 0; padding: 11px 14px; background: rgba(7, 9, 13, .88); color: #ccd3e0; font-size: 8px; font-weight: 600; letter-spacing: .15em; }
.identity-label i { color: var(--gold); font-style: normal; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding-top: 16px; }
.stats-row > div { min-height: 72px; display: flex; flex-direction: column; justify-content: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .018); }
.stats-row strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.05; }
.stats-row strong span { color: var(--blue-bright); font-size: .72em; }
.stats-row div > span { margin-top: 5px; color: var(--faint); font-size: 9px; line-height: 1.25; }

.services-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #0b101b 0%, #0b1019 55%, #0e1522 100%); }
.section-heading-wide { align-items: end; }
.section-heading-wide .section-index { margin: 0 0 20px; }
.section-heading h2 { font-size: clamp(40px, 5vw, 62px); }
.section-intro { max-width: 360px; margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 42px; margin-top: 40px; }
.service-card { min-height: 145px; display: grid; grid-template-columns: 40px 1fr 20px; align-items: start; gap: 20px; padding: 27px 3px 24px; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease), border-color .25s ease; }
.service-card:hover { padding-right: 8px; padding-left: 8px; border-color: rgba(99, 137, 255, .42); }
.service-number { padding-top: 3px; color: var(--blue-bright); font-family: var(--font-display); font-size: 11px; letter-spacing: .08em; }
.service-card h3 { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -.04em; }
.service-card p { max-width: 390px; margin: 7px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.service-detail { color: var(--faint); font-size: 9px; letter-spacing: .03em; }
.service-arrow { padding-top: 2px; color: var(--faint); font-size: 15px; transition: color .2s ease, transform .2s ease; }
.service-card:hover .service-arrow { color: var(--blue-bright); transform: translate(2px, -2px); }
.toolkit-line { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 36px; color: #c0c8d7; font-size: 10px; }
.toolkit-line > span:not(:first-child) { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.toolkit-label { margin-right: 7px; }

.projects-section { padding-bottom: 84px; }
.project-list { margin-top: 42px; border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 48px 178px 1fr 22px; align-items: start; gap: 20px; padding: 24px 0 23px; border-bottom: 1px solid var(--line); transition: border-color .2s ease, padding .2s var(--ease); }
.project-row:hover { padding-inline: 8px; border-color: rgba(99, 137, 255, .4); }
.project-no { color: var(--blue-bright); font-family: var(--font-display); font-size: 11px; }
.project-type { padding-top: 3px; color: var(--faint); font-size: 9px; font-weight: 600; letter-spacing: .1em; }
.project-main h3 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -.04em; line-height: 1.4; }
.project-main h3 span { color: #adb7c8; }
.project-main p { max-width: 660px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.project-mark { color: var(--faint); font-size: 15px; }
.project-row:hover .project-mark { color: var(--blue-bright); }

.work-section { padding-top: 100px; background: #0b1019; border-top: 1px solid var(--line); }
.work-heading { padding-bottom: 28px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 28px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-button:hover { color: var(--text); border-color: var(--line-strong); }
.filter-button.is-active { border-color: rgba(99, 137, 255, .45); background: var(--blue-soft); color: #dce5ff; }
.filter-button span { margin-left: 6px; color: var(--blue-bright); font-size: 9px; }
.work-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--faint); font-size: 9px; white-space: nowrap; }
.work-note .status-dot { width: 5px; height: 5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 26px 18px; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; }
.gallery-item[hidden] { display: none; }
.gallery-frame { position: relative; display: block; overflow: hidden; border: 1px solid rgba(230, 236, 248, .1); border-radius: 12px; background: #151a24; isolation: isolate; }
.gallery-frame-photo { aspect-ratio: 4 / 5; }
.gallery-frame-poster { aspect-ratio: 4 / 5; padding: 8px; background: #11141b; }
.gallery-frame-square { aspect-ratio: 1 / 1; padding: 0; background: #050608; }
.gallery-frame-landscape { aspect-ratio: 4 / 3; }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .35s ease; }
.gallery-frame-poster img, .gallery-frame-square img { object-fit: contain; }
.gallery-item:hover .gallery-frame img { transform: scale(1.035); }
.gallery-item:focus-visible { outline: none; }
.gallery-item:focus-visible .gallery-frame { outline: 2px solid var(--blue-bright); outline-offset: 4px; }
.gallery-view { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; transform: translateY(5px); border: 1px solid rgba(255,255,255,.19); border-radius: 6px; background: rgba(6, 9, 15, .72); color: #fff; font-size: 9px; opacity: 0; transition: opacity .2s ease, transform .2s ease; backdrop-filter: blur(8px); }
.gallery-item:hover .gallery-view, .gallery-item:focus-visible .gallery-view { transform: translateY(0); opacity: 1; }
.gallery-meta { display: flex; flex-direction: column; gap: 3px; padding: 10px 2px 0; }
.gallery-kind { color: var(--blue-bright); font-size: 8px; font-weight: 600; letter-spacing: .15em; }
.gallery-title { color: #dfe4ed; font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: -.02em; }
.gallery-caption { margin: 25px 0 0; color: var(--faint); font-size: 10px; }

.client-section { padding: 85px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(108deg, #171f31 0%, #111827 53%, #111925 100%); }
.client-panel { position: relative; display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 38px; }
.client-symbol { position: relative; width: 110px; height: 110px; display: grid; place-items: center; border: 1px solid rgba(99, 137, 255, .28); border-radius: 50%; background: rgba(99, 137, 255, .06); color: var(--blue-bright); font-family: var(--font-display); font-size: 38px; }
.client-symbol::before, .client-symbol::after { position: absolute; inset: 10px; border: 1px solid rgba(99, 137, 255, .13); border-radius: 50%; content: ""; }
.client-symbol::after { inset: -10px; opacity: .55; }
.client-symbol i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 13px var(--blue); }
.client-symbol i:nth-of-type(1) { top: 4px; left: 54px; }
.client-symbol i:nth-of-type(2) { top: 51px; right: 0; }
.client-symbol i:nth-of-type(3) { bottom: 13px; left: 7px; }
.client-copy .section-index { margin-bottom: 17px; }
.client-copy h2 { font-size: clamp(37px, 4vw, 51px); }
.client-copy > p:not(.eyebrow) { max-width: 530px; margin: 16px 0 21px; color: #b7c0d0; font-size: 12px; line-height: 1.8; }
.button-light { background: #e9eeff; color: #101827; }
.button-light:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.19); }
.client-footnote { align-self: end; display: flex; align-items: center; gap: 9px; margin: 0 0 4px; color: #b4bed0; font-size: 9px; }
.client-footnote .status-dot { width: 5px; height: 5px; }

.support-section { padding-bottom: 130px; }
.support-layout { display: grid; grid-template-columns: 1fr .78fr; align-items: start; gap: clamp(45px, 8vw, 112px); }
.support-copy .section-index { margin-bottom: 20px; }
.support-copy h2 { font-size: clamp(42px, 5.5vw, 67px); }
.support-copy > p:not(.eyebrow, .support-note) { max-width: 520px; margin: 20px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.amount-picker { margin: 0 0 20px; }
.amount-label { display: block; margin-bottom: 11px; color: var(--faint); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.amount-label span { color: #6f798c; font-weight: 400; letter-spacing: .03em; }
.amount-options { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-options button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.025); color: #c6cedb; cursor: pointer; font-size: 10px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.amount-options button:hover, .amount-options button.is-selected { border-color: rgba(99,137,255,.6); background: var(--blue-soft); color: #edf1ff; }
.custom-amount { display: flex; flex-direction: column; gap: 6px; max-width: 180px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.custom-amount[hidden] { display: none; }
.custom-amount input { min-height: 38px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--ink-raised); color: var(--text); }
.support-whatsapp { color: var(--blue-bright); }
.support-note { min-height: 20px; margin: 8px 0 0; color: var(--faint); font-size: 10px; }
.mpesa-card { position: relative; padding: 28px; overflow: hidden; border: 1px solid rgba(226, 234, 250, .13); border-radius: 20px; background: linear-gradient(150deg, #141e2d, #101722 70%); box-shadow: 0 24px 70px rgba(0,0,0,.14); }
.mpesa-card::before { position: absolute; top: -100px; right: -90px; width: 230px; height: 230px; border: 1px solid rgba(230,183,79,.11); border-radius: 50%; box-shadow: 0 0 0 20px rgba(230,183,79,.025), 0 0 0 45px rgba(230,183,79,.018); content: ""; pointer-events: none; }
.mpesa-card-top { position: relative; display: flex; align-items: center; gap: 12px; }
.mpesa-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: rgba(230,183,79,.12); color: var(--gold); font-family: var(--font-display); font-weight: 700; }
.mpesa-label { color: #c2cad8; font-size: 8px; font-weight: 600; letter-spacing: .14em; }
.mpesa-label span { color: var(--gold); }
.mpesa-card h3 { margin: 19px 0 1px; font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -.05em; }
.mpesa-lead { margin: 0; color: var(--muted); font-size: 11px; }
.mpesa-recipient { display: flex; flex-direction: column; align-items: flex-start; margin-top: 23px; padding: 16px 0 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mpesa-recipient > span:not(.copy-feedback) { margin: 3px 0 1px; color: var(--faint); font-size: 9px; letter-spacing: .04em; }
.mpesa-recipient > strong { margin-bottom: 7px; font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.mpesa-recipient > strong:nth-of-type(2) { font-size: 13px; }
.copy-number { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 0; border: 0; background: transparent; color: var(--blue-bright); cursor: pointer; font-size: 10px; }
.copy-number:hover { color: #fff; }
.copy-number span { font-size: 13px; }
.copy-feedback { min-height: 14px; color: var(--green); font-size: 9px; }
.mpesa-steps { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.mpesa-steps li { display: flex; align-items: baseline; gap: 10px; color: #bdc6d4; font-size: 10px; line-height: 1.55; }
.mpesa-steps li > span { flex: none; color: var(--gold); font-family: var(--font-display); font-size: 8px; }
.mpesa-steps strong { color: #eff2f7; font-weight: 600; }
.mpesa-disclaimer { margin: 17px 0 0; color: var(--faint); font-size: 9px; line-height: 1.6; }

.contact-section { padding: 120px 0 130px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 12% 46%, rgba(37, 64, 142, .12), transparent 37%), #0b1019; }
.contact-layout { display: grid; grid-template-columns: .85fr 1fr; align-items: start; gap: clamp(50px, 9vw, 130px); }
.contact-copy .section-index { margin-bottom: 20px; }
.contact-copy h2 { font-size: clamp(48px, 6.3vw, 78px); }
.contact-intro { max-width: 420px; margin: 20px 0 29px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.contact-whatsapp { display: flex; align-items: center; gap: 13px; max-width: 365px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-whatsapp-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(99,137,255,.37); border-radius: 11px; background: var(--blue-soft); color: var(--blue-bright); }
.contact-whatsapp > span:nth-child(2) { display: flex; flex-direction: column; }
.contact-whatsapp small { color: var(--faint); font-size: 8px; font-weight: 600; letter-spacing: .16em; }
.contact-whatsapp strong { margin-top: 2px; font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.contact-arrow { margin-left: auto; color: var(--blue-bright); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; max-width: 430px; margin-top: 27px; }
.contact-details > * { display: flex; flex-direction: column; gap: 4px; }
.detail-label { color: var(--faint); font-size: 8px; font-weight: 600; letter-spacing: .15em; }
.contact-details strong { color: #d9dfeb; font-size: 11px; font-weight: 500; }
.contact-details a:hover strong { color: var(--blue-bright); }
.contact-details strong .status-dot { margin-right: 5px; width: 5px; height: 5px; }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17, 24, 37, .7); box-shadow: 0 22px 65px rgba(0,0,0,.12); }
.form-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-heading > span { color: var(--blue-bright); font-size: 9px; font-weight: 600; letter-spacing: .13em; white-space: nowrap; }
.form-heading i { color: var(--faint); font-style: normal; }
.form-heading p { max-width: 230px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; text-align: right; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; color: #d6dce7; font-size: 10px; font-weight: 500; }
.contact-form label > span { color: var(--blue-bright); }
.contact-form label > span.optional { margin-left: 4px; color: var(--faint); font-size: 7px; letter-spacing: .12em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(226,234,250,.12); border-radius: 8px; background: rgba(4, 7, 13, .56); color: var(--text); font-size: 11px; font-weight: 400; outline: none; transition: border-color .2s ease, background .2s ease; }
.contact-form input { height: 42px; padding: 0 12px; }
.contact-form textarea { min-height: 102px; padding: 11px 12px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #69758a; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(99,137,255,.72); background: rgba(4, 7, 13, .84); }
.form-submit { width: 100%; margin-top: 3px; cursor: pointer; }
.form-disclaimer { margin: 12px 0 0; color: var(--faint); font-size: 9px; line-height: 1.55; text-align: center; }

.site-footer { border-top: 1px solid var(--line); background: #080b13; }
.footer-main { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.footer-main > p { margin: 0; color: var(--muted); font-family: var(--font-display); font-size: 12px; letter-spacing: -.02em; }
.back-top { justify-self: end; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.back-top:hover { color: var(--blue-bright); }
.back-top span { color: var(--blue-bright); font-size: 14px; }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; }
.footer-bottom i { color: var(--blue-bright); font-style: normal; }

.lightbox { width: min(94vw, 1100px); max-width: none; max-height: 92svh; padding: 28px; overflow: visible; border: 1px solid rgba(226, 234, 250, .17); border-radius: 16px; background: #090d16; color: var(--text); box-shadow: 0 28px 100px rgba(0,0,0,.68); }
.lightbox::backdrop { background: rgba(2, 4, 9, .86); backdrop-filter: blur(9px); }
.lightbox figure { max-height: calc(92svh - 56px); display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(92svh - 112px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: #c0c9d8; font-size: 11px; text-align: center; }
.lightbox-close { position: absolute; top: -15px; right: -15px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: #141c2b; color: #fff; cursor: pointer; font-size: 23px; line-height: 1; }
.toast { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 10px 15px; transform: translateY(12px); border: 1px solid var(--line-strong); border-radius: 9px; background: #131c2a; color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1000px) {
  .page-width { width: min(var(--page-width), calc(100% - 48px)); }
  .hero { min-height: 780px; padding-top: 150px; }
  .hero-content { grid-template-columns: 1fr .88fr; gap: 8px; }
  .hero-copy { padding-left: 1%; }
  .hero h1 { font-size: clamp(62px, 8.7vw, 96px); }
  .hero-visual { width: min(100%, 405px); margin-right: 13px; }
  .hero-portrait { height: 525px; }
  .about-layout { gap: 48px; }
  .client-panel { grid-template-columns: 100px 1fr; gap: 27px; }
  .client-symbol { width: 88px; height: 88px; }
  .client-footnote { grid-column: 2; margin-top: -12px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-layout { gap: 55px; }
  .project-row { grid-template-columns: 38px 145px 1fr 18px; gap: 15px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .page-width { width: min(var(--page-width), calc(100% - 40px)); }
  .site-header { top: 11px; padding-inline: 12px; }
  .nav-shell { min-height: 60px; padding: 8px 10px 8px 14px; border-radius: 15px; }
  .brand-mark { width: 35px; height: 35px; }
  .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.035); cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: #e2e8f2; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px; transform: translateY(-5px); border: 1px solid var(--line); border-radius: 14px; background: rgba(9, 13, 22, .98); box-shadow: 0 20px 40px rgba(0,0,0,.36); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .primary-nav a { padding: 13px 6px; border-bottom: 1px solid rgba(226,234,250,.08); font-size: 13px; }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav .nav-contact { justify-content: space-between; margin: 8px 0 3px; padding: 12px 12px; border: 1px solid rgba(99,137,255,.4); }
  .hero { min-height: auto; padding: 128px 0 75px; }
  .hero::before { right: 12%; }
  .hero-content { grid-template-columns: 1fr; gap: 15px; }
  .hero-copy { padding: 0 0 5px; }
  .hero h1 { margin-top: 22px; font-size: clamp(68px, 17vw, 105px); }
  .hero-subtitle { max-width: 440px; margin-top: 22px; font-size: 18px; }
  .hero-description { max-width: 500px; font-size: 13px; }
  .hero-actions { margin-top: 25px; gap: 17px; }
  .hero-meta { margin-top: 25px; }
  .hero-visual { width: min(88%, 420px); justify-self: center; margin: 26px 0 12px; padding: 12px 14px 22px; }
  .hero-image-frame { border-radius: 180px 180px 20px 20px; }
  .hero-portrait { height: clamp(380px, 110vw, 500px); object-position: center 23%; }
  .hero-image-label { right: 23px; bottom: 38px; left: 23px; }
  .hero-chip { bottom: 68px; left: -19px; min-width: 170px; padding: 10px 12px; }
  .hero-side-note { right: -17px; font-size: 7px; }
  .hero-bottom { bottom: 24px; }
  .intro-band-inner { min-height: 60px; justify-content: flex-start; gap: 17px; overflow-x: auto; scrollbar-width: none; }
  .intro-band-inner::-webkit-scrollbar { display: none; }
  .section { padding: 86px 0; }
  .section-heading { align-items: start; }
  .section-kicker { max-width: 170px; text-align: right; }
  .about-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 37px; }
  .about-copy h2, .section-heading h2, .client-copy h2, .support-copy h2 { font-size: clamp(38px, 9.7vw, 57px); }
  .about-copy .large-copy { margin-top: 22px; font-size: 16px; }
  .about-copy > p:not(.large-copy) { font-size: 12px; }
  .about-aside { display: grid; grid-template-columns: .82fr 1fr; align-items: center; gap: 12px; }
  .identity-card img { aspect-ratio: 1 / 1; }
  .identity-label { padding: 8px 10px; font-size: 7px; }
  .stats-row { grid-template-columns: 1fr; gap: 7px; padding-top: 0; }
  .stats-row > div { min-height: 58px; padding: 8px 10px; }
  .stats-row strong { font-size: 19px; }
  .stats-row div > span { font-size: 8px; }
  .section-heading-wide { align-items: end; gap: 14px; }
  .section-heading-wide .section-index { margin-bottom: 15px; }
  .section-intro { max-width: 260px; font-size: 11px; }
  .services-grid { gap: 0 24px; margin-top: 28px; }
  .service-card { min-height: 137px; grid-template-columns: 27px 1fr 14px; gap: 11px; padding: 22px 0; }
  .service-card h3 { font-size: 16px; }
  .service-card p { font-size: 11px; }
  .service-detail { font-size: 8px; }
  .toolkit-line { gap: 7px; margin-top: 25px; }
  .toolkit-label { width: 100%; }
  .toolkit-line > span:not(:first-child) { padding: 6px 8px; font-size: 9px; }
  .projects-section { padding-bottom: 55px; }
  .project-row { grid-template-columns: 28px 1fr 18px; gap: 9px 12px; padding: 18px 0; }
  .project-no { grid-row: span 2; }
  .project-type { grid-column: 2; grid-row: 1; font-size: 8px; }
  .project-main { grid-column: 2; grid-row: 2; }
  .project-main h3 { font-size: 16px; }
  .project-main h3 span { display: inline; }
  .project-main p { font-size: 11px; }
  .project-mark { grid-column: 3; grid-row: 1 / span 2; }
  .work-section { padding-top: 78px; }
  .work-toolbar { align-items: flex-start; flex-direction: column; margin: 20px 0 22px; }
  .filter-list { gap: 5px; }
  .filter-button { min-height: 32px; padding-inline: 9px; font-size: 9px; }
  .work-note { margin-left: 2px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .gallery-frame { border-radius: 9px; }
  .gallery-frame-poster { padding: 5px; }
  .gallery-meta { padding-top: 8px; }
  .gallery-kind { font-size: 7px; }
  .gallery-title { font-size: 12px; }
  .client-section { padding: 65px 0; }
  .client-panel { grid-template-columns: 72px 1fr; gap: 18px; }
  .client-symbol { width: 65px; height: 65px; font-size: 26px; }
  .client-symbol::before { inset: 7px; }
  .client-symbol::after { inset: -7px; }
  .client-symbol i:nth-of-type(1) { top: -1px; left: 33px; }
  .client-symbol i:nth-of-type(2) { top: 31px; right: -2px; }
  .client-symbol i:nth-of-type(3) { bottom: 5px; left: 4px; }
  .client-copy .section-index { margin-bottom: 13px; font-size: 8px; }
  .client-copy h2 { font-size: clamp(31px, 7.7vw, 44px); }
  .client-copy > p:not(.eyebrow) { font-size: 11px; }
  .client-footnote { grid-column: 2; margin-top: -9px; font-size: 8px; }
  .support-layout { grid-template-columns: 1fr; gap: 35px; }
  .support-copy h2 { font-size: clamp(42px, 10vw, 59px); }
  .support-copy > p:not(.eyebrow, .support-note) { font-size: 12px; }
  .mpesa-card { max-width: 540px; }
  .contact-section { padding: 88px 0 90px; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-copy h2 { font-size: clamp(49px, 12vw, 72px); }
  .contact-intro { font-size: 12px; }
  .contact-form { padding: 23px; }
  .footer-main { grid-template-columns: 1fr auto; min-height: 86px; }
  .footer-main > p { grid-row: 2; grid-column: 1 / -1; margin-top: -12px; padding-bottom: 15px; font-size: 11px; }
  .back-top { grid-column: 2; grid-row: 1; }
  .footer-bottom { min-height: 60px; flex-wrap: wrap; justify-content: space-between; padding-block: 12px; }
}

@media (max-width: 480px) {
  .page-width { width: calc(100% - 36px); }
  .hero { padding-top: 119px; }
  .hero-copy > .eyebrow { gap: 7px; font-size: 8px; letter-spacing: .14em; }
  .eyebrow-line { width: 18px; }
  .hero h1 { font-size: clamp(63px, 17vw, 84px); }
  .hero-subtitle { font-size: 16px; }
  .hero-description { font-size: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .section { padding: 73px 0; }
  .section-heading { gap: 10px; }
  .section-kicker { max-width: 140px; font-size: 7px; letter-spacing: .12em; }
  .about-copy h2, .section-heading h2 { font-size: 39px; }
  .about-aside { grid-template-columns: 1fr; }
  .identity-card { max-width: 330px; }
  .identity-card img { aspect-ratio: 1 / .85; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stats-row > div { min-height: 62px; padding: 8px; }
  .stats-row strong { font-size: 17px; }
  .stats-row div > span { font-size: 7px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 117px; }
  .section-heading-wide { flex-direction: column; align-items: flex-start; }
  .section-heading-wide .section-intro { max-width: 330px; margin-bottom: 0; }
  .project-main h3 { font-size: 15px; }
  .gallery-grid { gap: 18px 10px; }
  .gallery-frame-photo { aspect-ratio: 3 / 4; }
  .filter-list { width: 100%; }
  .filter-button { font-size: 8px; padding-inline: 7px; }
  .client-panel { grid-template-columns: 1fr; }
  .client-symbol { display: none; }
  .client-footnote { grid-column: 1; margin-top: -8px; }
  .mpesa-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading { flex-direction: column; gap: 6px; }
  .form-heading p { text-align: left; }
  .contact-form { padding: 19px; }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .contact-details strong { font-size: 10px; }
  .footer-bottom { font-size: 8px; }
  .footer-bottom > span:last-child { display: none; }
  .lightbox { padding: 14px; }
  .lightbox-close { top: -12px; right: -8px; width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html.reveal-ready .reveal-item { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
html.reveal-ready .reveal-item.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal-item, html.reveal-ready .reveal-item.is-visible { opacity: 1; transform: none; transition: none; }
}

/* Database-backed gallery and private inquiry form states. */
.form-honeypot { position: absolute !important; top: auto !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 18px; margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; }
.form-status:empty { display: none; }
.form-status[data-state="success"] { color: #a9e4c0; }
.form-status[data-state="error"] { color: #ffaaaa; }
.contact-form .form-submit:disabled { cursor: wait; opacity: .65; }
.gallery-item img { color: transparent; }


/* Cinematic finishing: a real identity mark, composed entrances, and quiet editorial movement. */
.brand-mark {
  width: 44px;
  height: 44px;
  padding: 3px;
  overflow: hidden;
  border-color: rgba(230, 183, 79, .5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(24, 20, 12, .95), rgba(5, 7, 12, .96));
  box-shadow: inset 0 0 18px rgba(230, 183, 79, .06), 0 7px 22px rgba(0, 0, 0, .26);
}
.brand-mark img { width: 100%; height: 100%; border-radius: 8px; object-fit: contain; }
.brand-mark span { transform: none; }
.cinema-progress { position: fixed; z-index: 120; inset: 0 auto auto 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--blue), #a6bdff 70%, var(--gold)); box-shadow: 0 0 14px rgba(99, 137, 255, .6); pointer-events: none; will-change: transform; }
.hero-orbit-one { animation: orbit-drift 34s ease-in-out infinite; }
.hero-orbit-two { animation: orbit-drift 42s ease-in-out infinite reverse; }
.hero-copy > .eyebrow, .hero-subtitle, .hero-description, .hero-actions, .hero-meta { animation: cinematic-rise .8s var(--ease) both; }
.hero-copy > .eyebrow { animation-delay: .08s; }
.hero-subtitle { animation-delay: .83s; }
.hero-description { animation-delay: .98s; }
.hero-actions { animation-delay: 1.12s; }
.hero-meta { animation-delay: 1.25s; }
.hero-line { display: block; overflow: hidden; padding-bottom: .045em; }
.hero-line-inner { display: inline-block; animation: title-rise .92s var(--ease) both; animation-delay: calc(.2s + (var(--line-index) * .16s)); }
.hero-line:nth-child(2) .hero-line-inner { color: #d5def4; }
.hero-visual { animation: cinematic-image 1.2s var(--ease) .18s both; }
.hero-chip { animation: cinematic-rise .85s var(--ease) 1.05s both; }
.image-corner { transition: width .45s var(--ease), height .45s var(--ease), opacity .35s ease; }
.hero-visual:hover .image-corner { width: 42px; height: 42px; opacity: 1; }

@keyframes cinematic-rise {
  from { opacity: 0; transform: translate3d(0, 19px, 0); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes title-rise {
  from { opacity: 0; transform: translate3d(0, 108%, 0); filter: blur(5px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes cinematic-image {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.975); clip-path: inset(0 0 12% 0 round 205px 205px 26px 26px); filter: saturate(.68) brightness(.8); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); clip-path: inset(0 0 0 0 round 205px 205px 26px 26px); filter: saturate(1) brightness(1); }
}
@keyframes orbit-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, 9px, 0) scale(1.018); }
}
html.reveal-ready .reveal-item { opacity: 0; transform: translate3d(0, 19px, 0); filter: blur(3px); transition: opacity .78s var(--ease) var(--reveal-delay, 0ms), transform .78s var(--ease) var(--reveal-delay, 0ms), filter .78s var(--ease) var(--reveal-delay, 0ms); }
html.reveal-ready .reveal-item.is-visible { opacity: 1; transform: none; filter: none; }
.gallery-item .gallery-frame img { transition: transform .8s var(--ease), filter .8s var(--ease); }
.gallery-item:hover .gallery-frame img, .gallery-item:focus-visible .gallery-frame img { transform: scale(1.045); filter: saturate(1.06) brightness(1.04); }
@media (max-width: 480px) {
  .brand-mark { width: 36px; height: 36px; padding: 2px; }
  .hero-line-inner { animation-duration: .7s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit-one, .hero-orbit-two, .hero-copy > .eyebrow, .hero-subtitle, .hero-description, .hero-actions, .hero-meta, .hero-line-inner, .hero-visual, .hero-chip { animation: none !important; }
  .hero-copy > .eyebrow, .hero-subtitle, .hero-description, .hero-actions, .hero-meta, .hero-line-inner, .hero-visual, .hero-chip { opacity: 1; transform: none; filter: none; clip-path: none; }
  .cinema-progress { box-shadow: none; }
  .hero-visual:hover .image-corner { width: 32px; height: 32px; }
}


/* Keep the cinematic mask on the portrait frame so the floating label stays intact. */
.hero-visual { animation: cinematic-rise .9s var(--ease) .18s both; }
.hero-image-frame { --hero-round: 205px; animation: cinematic-image 1.2s var(--ease) .24s both; }
@media (max-width: 760px) { .hero-image-frame { --hero-round: 180px; } }
@keyframes cinematic-image {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.975); clip-path: inset(0 0 12% 0 round var(--hero-round) var(--hero-round) 26px 26px); filter: saturate(.68) brightness(.8); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); clip-path: inset(0 0 0 0 round var(--hero-round) var(--hero-round) 26px 26px); filter: saturate(1) brightness(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image-frame { animation: none !important; clip-path: none; opacity: 1; transform: none; filter: none; }
}


.hero-image-link { position: relative; display: block; width: 100%; border-radius: 205px 205px 26px 26px; }
.hero-image-link:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 6px; }
.hero-portrait { transition: transform .8s var(--ease), filter .8s ease; }
.hero-image-link:hover .hero-portrait, .hero-image-link:focus-visible .hero-portrait { transform: scale(1.025); filter: saturate(1.02) contrast(1.03) brightness(1.02); }
.hero-gallery-cue { position: absolute; z-index: 4; top: 22px; right: 22px; min-height: 32px; display: inline-flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(236, 242, 255, .22); border-radius: 999px; background: rgba(9, 13, 22, .82); color: #f3f5fa; font-size: 8px; font-weight: 700; letter-spacing: .15em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s ease, background .25s ease, transform .25s var(--ease); }
.hero-gallery-cue > span { color: var(--blue-bright); font-size: 13px; }
.hero-image-link:hover .hero-gallery-cue, .hero-image-link:focus-visible .hero-gallery-cue { transform: translateY(-2px); border-color: rgba(138, 168, 255, .58); background: rgba(18, 28, 49, .92); }
@media (max-width: 760px) {
  .hero-image-link { border-radius: 180px 180px 20px 20px; }
  .hero-gallery-cue { top: 15px; right: 15px; min-height: 30px; padding-inline: 10px; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portrait, .hero-gallery-cue { transition: none; }
  .hero-image-link:hover .hero-portrait, .hero-image-link:focus-visible .hero-portrait { transform: none; filter: saturate(.88) contrast(1.03); }
  .hero-image-link:hover .hero-gallery-cue, .hero-image-link:focus-visible .hero-gallery-cue { transform: none; }
}


/* Integration with the cinematic layer; keep the base layout and content intact. */
html.cinematic-intro-pending .hero-copy > .eyebrow,
html.cinematic-intro-pending .hero-subtitle,
html.cinematic-intro-pending .hero-description,
html.cinematic-intro-pending .hero-actions,
html.cinematic-intro-pending .hero-meta,
html.cinematic-intro-pending .hero-line-inner,
html.cinematic-intro-pending .hero-visual,
html.cinematic-intro-pending .hero-image-frame,
html.cinematic-intro-pending .hero-chip {
  animation: none !important;
  opacity: 0;
}
html.cinematic-intro-pending .hero-orbit-one,
html.cinematic-intro-pending .hero-orbit-two { animation-play-state: paused; }
.hero-orbit-one,
.hero-orbit-two { translate: 0 var(--parallax-y, 0px); }
.footer-replay {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
  transition: color .2s ease, translate .3s var(--ease);
}
.footer-replay:hover { color: var(--blue-bright); }
.footer-replay span { color: var(--blue-bright); }
@media (max-width: 760px) {
  .footer-replay { justify-self: start; grid-column: 1; grid-row: 3; margin-top: -10px; }
  .footer-bottom { column-gap: 18px; }
}
@media (max-width: 480px) {
  .site-header .brand-copy strong { font-size: 11px; }
  .site-header .brand-copy small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit-one,
  .hero-orbit-two { translate: none !important; }
  .footer-replay { display: none; }
}
