/* Kyazanga Discovery and Learning Center: site styles */
:root {
  --navy: #12307a;
  --navy-d: #0b1f52;
  --blue: #1f5fbf;
  --blue-l: #e6efff;
  --sand: #efb877;
  --sand-d: #e0a050;
  --sand-l: #fbf0e2;
  --cream: #fdf9f3;
  --green: #2f7d4f;
  --ink: #1d2433;
  --text: #3a4256;
  --mute: #5b6378;
  --line: #e4e8f1;
  --field: #9aa5bd;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(18, 48, 122, .08);
  --shadow-lg: 0 24px 60px rgba(18, 48, 122, .16);
  --head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, .h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.focus-grid, .app-feats, .steps, .ways, .chips, .footer-links, .footer-contact, .contact-card ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .section-navy :focus-visible, .cta-band :focus-visible,
.contact-card :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .belief :focus-visible { outline-color: var(--sand); }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: .9em; height: .9em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--head); font-weight: 600; font-size: .98rem; line-height: 1; padding: 1em 1.6em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sand, .btn-sand:hover { color: var(--navy-d); }
.btn-sand { background: var(--sand); box-shadow: 0 8px 20px rgba(224, 160, 80, .3); }
.btn-sand:hover { background: var(--sand-d); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-d); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .8em 1.25em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-family: var(--head); font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.center-link { text-align: center; margin: 40px 0 0; }

/* Top bar and header */
.topbar { background: var(--navy-d); color: #d8e2ff; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--sand); }
.topbar-right { gap: 22px !important; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(18, 48, 122, .08); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--navy); letter-spacing: .02em; }
.brand-text small { font-size: .72rem; color: var(--mute); font-weight: 600; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 14px; font-family: var(--head); font-weight: 500; font-size: .97rem; color: var(--ink); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav ul a:hover { color: var(--blue); background: var(--blue-l); }
.nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--sand-l); }
.btn-app { background: var(--navy); color: #fff; padding: .85em 1.25em; font-size: .93rem; }
.btn-app:hover { background: var(--blue); color: #fff; }
.btn-app .icon:first-child { color: var(--sand); width: 1.3em; height: 1.3em; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* Sections */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; overflow-x: clip; }
.section-tint { background: var(--cream); }
.section-sand { background: var(--sand-l); }
.section-navy { background: var(--navy); color: #d6e0fb; }
.section-navy h2, .section-navy h3 { color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--sand); }
.section-navy .kicker, .hero .kicker, .contact-card .kicker { color: var(--sand); }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head-center .kicker { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--mute); }
.section-navy .lead { color: #d6e0fb; }
.head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.head-split h2 { margin: 0; }

/* Hero */
.hero { position: relative; min-height: min(82vh, 720px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 82, .94) 0%, rgba(11, 31, 82, .8) 42%, rgba(11, 31, 82, .3) 78%, rgba(11, 31, 82, .2) 100%); }
.hero-in { padding: 90px 0 130px; }
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--sand); }
.hero .lead { color: #e1e8fb; font-size: 1.2rem; max-width: 560px; margin-bottom: 32px; }
.focus-bar { position: relative; z-index: 2; margin-top: -56px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.focus-item { display: flex; gap: 16px; align-items: center; padding: 26px 28px; }
.focus-item + .focus-item { border-left: 1px solid var(--line); }
.focus-item .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); }
.focus-item:nth-child(2) .ic { background: var(--sand-l); color: #b8741f; }
.focus-item:nth-child(3) .ic { background: #e3f3e9; color: var(--green); }
.focus-item .ic .icon { width: 27px; height: 27px; }
.focus-item p { margin: 0; color: var(--mute); font-size: .93rem; line-height: 1.45; }
.focus-item strong { display: block; font-family: var(--head); color: var(--navy); font-size: 1.04rem; }

/* Inner page hero */
.page-hero { position: relative; color: #fff; padding: 96px 0 88px; overflow: hidden; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--pos, 50%); z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 82, .92), rgba(11, 31, 82, .58)); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { color: #dbe4fb; font-size: 1.15rem; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--sand); margin-bottom: 14px; font-family: var(--head); font-weight: 600; }
.crumbs a { color: #fff; text-decoration: none; }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.collage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.collage .c1 { grid-row: span 2; }
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 img { aspect-ratio: 3 / 4; }
.collage .c2 img, .collage .c3 img { aspect-ratio: 1 / 1; }
.illus { width: 100%; max-width: 400px; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo-frame { position: relative; isolation: isolate; max-width: 440px; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-frame::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 3px solid var(--sand); border-radius: var(--radius); z-index: -1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.chip { background: #fff; border: 1px solid #d3dcef; color: var(--navy); border-radius: 999px; padding: 7px 16px; font-size: .9rem; font-weight: 600; }
.callout { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 28px; font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.45; position: relative; overflow: hidden; isolation: isolate; margin: 0; }
.callout::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(239, 184, 119, .22); z-index: -1; }

/* Pillars: five cards; tablets centre the last row */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 30px 22px; box-shadow: var(--shadow); border-top: 5px solid var(--c, var(--blue)); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar .ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--cl); color: var(--c); margin: 0 auto 18px; }
.pillar .ic .icon { width: 32px; height: 32px; }
.pillar h3 { font-size: 1.06rem; margin-bottom: 8px; }
.pillar p { font-size: .94rem; color: var(--mute); margin: 0; line-height: 1.55; }

/* Steps */
.steps-art { border-radius: var(--radius); overflow: hidden; background: #e6e6de; margin-bottom: 24px; }
.steps-art img { width: 100%; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { background: #fff; border-radius: var(--radius-sm); padding: 24px 20px; box-shadow: var(--shadow); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.step:last-child { background: var(--sand); }
.step:last-child .n { background: #fff; color: var(--navy); }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { font-size: .93rem; margin: 0; line-height: 1.55; }
.step:last-child p { color: var(--navy-d); }

/* Sign Educator band */
.app-feats { display: grid; gap: 14px; margin: 26px 0 22px; }
.app-feats li { display: flex; gap: 14px; align-items: baseline; padding-left: 16px; border-left: 3px solid var(--sand); }
.app-feats b { font-family: var(--head); color: #fff; min-width: 54px; }
.app-feats span { color: #c8d5f6; }
.app-status { font-size: .92rem; color: var(--sand); font-weight: 600; margin-bottom: 28px; }
.devices { position: relative; padding: 0 30px 40px 0; }
.device { position: relative; z-index: 1; background: #10162a; border-radius: 22px; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.device img { border-radius: 14px; width: 100%; }
.device-phone { position: absolute; z-index: 2; right: 0; bottom: 0; width: 30%; border-radius: 26px; padding: 7px; }
.device-phone img { border-radius: 20px; }
.devices .glow { position: absolute; inset: 10% 10% 0 0; background: radial-gradient(circle, rgba(239, 184, 119, .35), transparent 65%); filter: blur(20px); }
.caption-note { font-size: .82rem; color: #a9b9e6; font-style: italic; margin: 14px 0 0; padding-right: 34%; }

/* Belief band */
.belief { position: relative; padding: clamp(90px, 11vw, 140px) 0; color: #fff; isolation: isolate; overflow: hidden; text-align: center; }
.belief img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.belief::before { content: ""; position: absolute; inset: 0; background: rgba(11, 31, 82, .85); z-index: -1; }
.belief .icon { width: 50px; height: 50px; color: var(--sand); margin: 0 auto 18px; }
.belief blockquote { margin: 0 auto; max-width: 820px; font-family: var(--head); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; }
.belief p { margin: 18px 0 0; color: var(--sand); font-family: var(--head); font-weight: 600; }

/* Photo strip and gallery */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.strip a { border-radius: var(--radius-sm); overflow: hidden; display: block; }
.strip a:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.strip a:hover img { transform: scale(1.05); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filters button { font-family: var(--head); font-weight: 600; font-size: .92rem; padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid #c9d2e6; background: #fff; color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { columns: 3 300px; column-gap: 16px; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--cream); }
.gallery-grid button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.gallery-grid button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.gallery-grid img { width: 100%; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(11, 31, 82, .85)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.gallery-grid figure:hover figcaption, .gallery-grid figure:focus-within figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 33, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #dbe4fb; margin-top: 14px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox button:focus-visible { outline-color: var(--sand); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 24px; height: 24px; }

/* Get involved */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.way { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.way .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--sand-l); color: #b8741f; display: grid; place-items: center; margin: 0 auto 16px; }
.way .ic .icon { width: 28px; height: 28px; }
.way h3 { font-size: 1.05rem; margin-bottom: 4px; }
.way p { font-size: .94rem; color: var(--mute); margin: 0; }
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--blue) 100%); border-radius: 26px; padding: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: #dbe4fb; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(239, 184, 119, .22); z-index: -1; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: start; }
.contact-card { background: var(--navy); color: #dbe4fb; border-radius: var(--radius); padding: 36px 32px; }
.contact-card .h3 { color: #fff; font-size: 1.5rem; margin-bottom: 2px; }
.contact-card .role { color: var(--sand); font-weight: 600; font-size: .95rem; margin-bottom: 22px; }
.contact-card ul { display: grid; gap: 14px; margin-bottom: 26px; }
.contact-card li { display: flex; gap: 14px; align-items: center; }
.contact-card li .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--sand); }
.contact-card li a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-card li a:hover { text-decoration: underline; }
.form { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-lg); }
.form .h3 { font-size: 1.4rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field label span { color: var(--mute); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--field); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 191, .2); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #b3261e; font-size: .86rem; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 12px; padding: 13px 17px; margin-bottom: 18px; font-size: .95rem; }
.notice-ok { background: #e3f3e9; color: #1f5a37; }
.notice-err { background: #fdecea; color: #8a1c13; }

/* About: leader */
.leader { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.6rem; display: grid; place-items: center; }
.leader .h3 { margin-bottom: 0; }
.leader .role { color: var(--blue); font-weight: 600; margin: 0 0 6px; }
.leader-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; overflow-wrap: anywhere; }

/* Work page */
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; padding: 44px 0; }
.work-row + .work-row { border-top: 1px solid var(--line); }
.work-row:nth-child(even) .work-media { order: 2; }
.work-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-media.illus img { aspect-ratio: auto; object-fit: initial; }
.work-num { display: block; font-family: var(--head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--sand); margin-bottom: 10px; }
.ic-inline { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cl); color: var(--c); margin-bottom: 12px; }
.ic-inline .icon { width: 26px; height: 26px; }
.h-work { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* Footer */
.site-footer { background: var(--navy-d); color: #b9c7ec; font-size: .95rem; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-h { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer a { color: #dbe4fb; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.site-footer .btn-sand, .site-footer .btn-sand:hover { color: var(--navy-d); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #b9c7ec; white-space: normal; }
.brand-badge { background: #fff; border-radius: 12px; padding: 6px 8px; display: inline-flex; }
.brand-badge img { width: 56px; }
.footer-tag { font-family: var(--head); font-style: italic; color: var(--sand); margin-top: 18px; }
.footer-links, .footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--sand); margin-top: 4px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; font-size: .86rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Responsive */
@media (max-width: 1180px) {
  .pillars, .steps { grid-template-columns: repeat(6, 1fr); }
  .pillar, .step { grid-column: span 2; }
  .pillar:nth-child(4), .step:nth-child(4) { grid-column: 2 / span 2; }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 14px; }
  .nav ul a { padding: 10px 10px; }
  .brand-text small { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; padding: 18px 20px 22px; box-shadow: 0 20px 40px rgba(18, 48, 122, .15); max-height: calc(100vh - 90px); overflow: auto; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 16px; font-size: 1.05rem; }
  .btn-app { justify-content: center; }
}
@media (max-width: 1020px) {
  .split, .contact-grid, .work-row { grid-template-columns: minmax(0, 1fr); }
  .work-row:nth-child(even) .work-media { order: 0; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item + .focus-item { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; }
  .devices { max-width: 620px; }
  .leader { grid-template-columns: auto 1fr; }
  .leader .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .topbar { display: none; }
  .header-in { min-height: 74px; }
  .brand img { width: 52px; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero { min-height: auto; }
  .hero-in { padding: 70px 0 100px; }
  .hero .lead { font-size: 1.05rem; }
  .focus-item { padding: 20px; }
  .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .pillar, .step, .pillar:nth-child(4), .step:nth-child(4) { grid-column: auto; }
  .pillar:last-child, .step:last-child { grid-column: 1 / -1; }
  .ways, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .head-split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 150px 150px; }
  .strip a:first-child { grid-column: span 2; grid-row: auto; }
  .collage { grid-template-columns: 1fr 1fr; }
  .collage .c1 { grid-row: auto; grid-column: span 2; }
  .collage .c1 img { aspect-ratio: 4 / 3; }
  .photo-frame::before { inset: 12px -10px -12px 12px; }
  .leader { grid-template-columns: 1fr; padding: 24px; }
  .lightbox { padding: 60px 12px; }
  .footer-base { flex-direction: column; }
  .form, .contact-card { padding: 26px 20px; }
  .caption-note { padding-right: 0; margin-top: 50px; }
}
@media (max-width: 420px) {
  .pillars, .steps { grid-template-columns: 1fr; }
  .pillar:last-child, .step:last-child { grid-column: auto; }
}
