/* Inclutech static site. WCAG 2.2 AA target. Fonts are self-hosted from /assets/fonts. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --indigo: #231344;      /* brand indigo */
  --indigo-2: #33215e;
  --ink: #1c1a24;
  --muted: #4b4858;       /* 8.9:1 on white */
  --accent: #0e7490;      /* link colour, 5.4:1 on white */
  --accent-dark: #0b5c72;
  --cyan: #1ac6fb;        /* logo colours: decorative, or text on indigo only */
  --pink: #f766b3;
  --green: #5ed24a;
  --orange: #ffa412;
  --tint: #f4f2f9;
  --rule: #d9d5e3;
  --field: #6e6a7c;       /* form borders, 5.3:1 on white */
  --error: #b3261e;
  --bg: #ffffff;
  --radius: 14px;
  --header-h: 76px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--indigo); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, li, figcaption { text-wrap: pretty; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }

/* Focus: 3px ring, offset, visible on light and dark (WCAG 2.4.7, 2.4.11, 2.4.13) */
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .site-footer .on-dark :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--indigo); color: #fff; padding: .75rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; outline-color: var(--cyan); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { width: auto; height: 36px; }
.brand-fallback, .brand-fallback-text { display: none; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--indigo); letter-spacing: .02em; }
.brand.img-missing img { display: none; }
.brand.img-missing .brand-fallback { display: inline; }
.footer-brand.img-missing img { display: none; }
.footer-brand.img-missing .brand-fallback-text { display: block; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .6rem .9rem; min-height: 44px; border-radius: 999px; color: var(--indigo); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--tint); }
.site-nav a[aria-current="page"] { background: var(--indigo); color: #fff; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: .5rem 1rem; border: 2px solid var(--indigo); border-radius: 999px; background: #fff; color: var(--indigo); font: 600 1rem var(--font-head); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.brand-rule { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; }
.brand-rule span:nth-child(1) { background: var(--cyan); }
.brand-rule span:nth-child(2) { background: var(--pink); }
.brand-rule span:nth-child(3) { background: var(--green); }
.brand-rule span:nth-child(4) { background: var(--orange); }

@media (max-width: 760px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgb(35 19 68 / .12); }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 12px 16px 20px; }
  .site-nav ul { flex-wrap: wrap; }
  .header-inner { position: relative; flex-wrap: wrap; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--indigo); isolation: isolate; }
/* Option A: the city drifts slowly. Runs only once main.js has added .is-playing (never with reduced motion), with a pause button (WCAG 2.2.2). */
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/brand/hero-city.webp") center 60% / cover no-repeat; transform-origin: 60% 55%; transform: scale(1.02); }
.hero.is-playing .hero-bg { animation: hero-drift 48s ease-in-out infinite alternate; }
.hero.is-paused .hero-bg { animation-play-state: paused; }
@keyframes hero-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-3%, -2%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(35 19 68 / .95) 0%, rgb(35 19 68 / .86) 55%, rgb(35 19 68 / .6) 100%); }
@media (max-width: 760px) { .hero::before { background: rgb(35 19 68 / .9); } }
.hero-pause { position: absolute; right: 16px; bottom: 16px; z-index: 2; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid #fff; background: rgb(35 19 68 / .75); color: #fff; font: 600 .9rem var(--font-body); cursor: pointer; }
.hero-pause:hover { background: #fff; color: var(--indigo); }
@media (max-width: 760px) { .hero-pause { position: static; margin: 0 16px 20px; } }
@media (prefers-reduced-motion: reduce) { .hero.is-playing .hero-bg { animation: none; } }
.hero-inner { position: relative; padding: clamp(64px, 10vw, 128px) 0; max-width: 860px; margin-left: max(16px, (100% - 1160px) / 2); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.hero-lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 42em; color: #ece9f5; }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--cyan); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid var(--indigo); background: var(--indigo); color: #fff; font: 700 1rem var(--font-head); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--indigo-2); color: #fff; }
.btn-light { background: var(--cyan); border-color: var(--cyan); color: var(--indigo); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--indigo); }
.btn-ghost-light { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--indigo); }
.text-link { font-weight: 600; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tint { background: var(--tint); }
.page-head { background: var(--tint); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 22em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 48em; }
.section-cta { margin-top: 32px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stat-list { display: grid; gap: 16px; }
.stat-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--tint); border-left: 6px solid var(--cyan); }
.stat-list li:nth-child(2) { border-left-color: var(--pink); }
.stat-list li:nth-child(3) { border-left-color: var(--green); }
.stat { font: 800 2rem/1 var(--font-head); color: var(--indigo); min-width: 3ch; }
.stat-label { color: var(--ink); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 12px; }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.card-link { color: var(--indigo); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card:hover { border-color: var(--indigo); }
.card:hover .card-link { text-decoration: underline; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }
.card img, .sector img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: linear-gradient(135deg, #e6e1f2, #d5eef7); }
.card-body { padding: 16px 20px; }
.card h3 { margin: 0; }

.sectors { display: grid; gap: clamp(32px, 5vw, 56px); }
.sector { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.sector:nth-child(even) > img { order: 2; }
.sector img { border-radius: var(--radius); }
.sector p { font-size: 1.1rem; }
@media (max-width: 760px) { .sector { grid-template-columns: 1fr; } .sector:nth-child(even) > img { order: 0; } }
.cta-band { text-align: center; }
.cta-band p { color: var(--muted); }

/* Awards */
.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 20px; }
.award { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.ring { position: relative; width: 112px; height: 112px; }
.ring-svg { display: block; width: 112px; height: 112px; fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-cyan { stroke: var(--cyan); } .ring-pink { stroke: var(--pink); } .ring-green { stroke: var(--green); } .ring-orange { stroke: var(--orange); }
@media (forced-colors: active) { .ring-svg path { stroke: CanvasText; } }
.award-year { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: 800 1.35rem var(--font-head); color: var(--indigo); }
.award h3 { font-size: 1rem; margin: 0; }
.award-org { display: block; font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.person { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; align-content: start; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); }
.person .avatar { width: 104px; }
.person-lead .avatar { width: 100%; }
.person-lead { grid-column: 1 / -1; grid-template-columns: 200px 1fr; background: var(--tint); border-color: transparent; }
.avatar { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--indigo); }
.avatar::before { content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 2.4rem var(--font-head); }
.avatar img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.role { font-weight: 600; color: var(--muted); margin-top: -.4em; }
.person h3 { font-size: 1.4rem; margin-bottom: .3em; }
@media (max-width: 560px) { .person-lead { grid-template-columns: 1fr; } .person-lead .avatar { width: 120px; } }

/* Gallery and logos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #e6e1f2; }
.gallery img.portrait { object-position: center 20%; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.logo-grid li { display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 16px; min-height: 100px; }
.logo-grid img { max-height: 70px; width: auto; object-fit: contain; }
.avatar.img-missing img, .award.img-missing img, .logo-grid .img-missing img, .accreditations-wrap.img-missing { display: none; }

/* SDGs */
.sdg-section { border-top: 1px solid var(--rule); }
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 24px 0 32px; }
.sdg { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--rule); border-top: 8px solid var(--sdg); border-radius: 10px; }
.sdg img { width: 75px; height: 75px; border-radius: 4px; }
.sdg-text { display: flex; flex-direction: column; gap: 4px; }
.sdg-3 { --sdg: #4C9F38; } .sdg-5 { --sdg: #FF3A21; } .sdg-9 { --sdg: #FD6925; } .sdg-10 { --sdg: #DD1367; } .sdg-11 { --sdg: #FD9D24; } .sdg-16 { --sdg: #00689D; } .sdg-17 { --sdg: #19486A; } 
.sdg-num { font: 800 1.1rem var(--font-head); color: var(--indigo); }
.sdg-name { font-size: .95rem; color: var(--ink); line-height: 1.35; }
.footer-brand .accreditations { height: auto; width: 295px; max-width: calc(100% - 24px); margin-top: 20px; background: #fff; padding: 8px 12px; border-radius: 8px; box-sizing: content-box; }

/* Forms */
.contact-form { display: grid; gap: 20px; }
.form-note { color: var(--muted); margin: 0; }
.field { display: grid; gap: 6px; }
label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem; min-height: 48px; border: 2px solid var(--field); border-radius: 10px; background: #fff; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-color: var(--indigo); }
[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 600; margin: 0; }
.error::before { content: "Error: "; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:not(:empty) { padding: 14px 16px; border-radius: 10px; background: var(--tint); border-left: 6px solid var(--green); }
.form-status.is-error { border-left-color: var(--error); }
.contact-form .btn { justify-self: start; }
.contact-aside { padding: 24px; background: var(--tint); border-radius: var(--radius); }
.contact-aside h2 { font-size: 1.3rem; }
.contact-aside a { overflow-wrap: anywhere; }

/* Documents and prose */
.doc-list { display: grid; gap: 12px; margin-bottom: 28px; }
.doc-link { display: flex; align-items: center; gap: 8px; padding: 18px 22px; min-height: 56px; border: 2px solid var(--rule); border-radius: var(--radius); font: 700 1.1rem var(--font-head); color: var(--indigo); text-decoration: none; }
.doc-link:hover { border-color: var(--indigo); color: var(--indigo); }
.doc-meta { font: 400 .95rem var(--font-body); color: var(--muted); }
.prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .3em; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.meta { color: var(--muted); font-size: .95rem; }
.report-panel { background: var(--tint); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 1.2em; }
.report-panel p { margin: .25em 0; }

/* Footer */
.site-footer { background: var(--tint); border-top: 4px solid var(--indigo); padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 12px; }
.footer-heading { font-size: 1rem; margin-bottom: .6em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: .3rem 0; min-height: 32px; color: var(--indigo); }
.footer-links a[aria-current="page"] { font-weight: 700; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .btn, .doc-link, .site-nav a[aria-current="page"] { border: 2px solid ButtonText; } }
@media print { .site-header, .site-footer, .skip-link { display: none; } }
/* Draft placeholders: must be replaced before publishing (deploy.sh refuses to upload pages that contain them) */
mark.todo { background: #fff3b0; color: #1c1a24; padding: 0 .2em; border-radius: 3px; outline: 1px dashed #8a6d00; }
