/* Ekpere Abundance site styles */

/* Layout: airy light canvas, floating pill nav, 3D task-board hero; portfolio as a clean card grid that opens into a detail panel. AI Governance switches the accent to green. */
html { color-scheme: light; }
:root {
  --bg: #F2F4F8;
  --surface: #FFFFFF;
  --ink: #0B1730;
  --ink-2: #39465E;
  --muted: #677389;
  --line: #E2E6EE;
  --accent: #FF5C35;
  --accent-deep: #D9431F;
  --accent-soft: #FFE7DF;
  --sky: #E3EBFF;
  --gov: #0E7F66;
  --gov-soft: #DDF2EC;
  --night: #0B1730;
  --night-2: #16264A;

  --f-display: "Archivo", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1160px;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11,23,48,.04), 0 12px 32px -12px rgba(11,23,48,.14);
  --shadow-lg: 0 30px 60px -20px rgba(11,23,48,.28);
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; letter-spacing: -0.025em; text-wrap: balance; margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.gov .kicker { color: var(--gov); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 60ch; }

/* preview strip */
.preview-bar { background: var(--night); color: #C9D3E6; font: 500 13px/1.4 var(--f-body); }
.preview-bar .wrap { padding-block: 8px; display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: center; text-align: center; }
.preview-bar b { color: #fff; }

/* nav */
.nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50; margin-top: 12px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(226,230,238,.9); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: var(--shadow); position: relative; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 14px var(--f-display); letter-spacing: .02em; transform: rotate(-6deg); }
.brand strong { font: 700 16px/1.1 var(--f-display); font-stretch: 105%; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg); }
.nav-links a.gov-link { color: var(--gov); }
.nav-links a.btn { color: #fff; background: var(--ink); }
.nav-links a.btn:hover { background: var(--accent-deep); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--f-body); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(11,23,48,.6); }
.btn-dark:hover { background: var(--accent-deep); }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-gov { background: var(--gov); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.menu-btn { display: none; background: var(--bg); border: 0; color: var(--ink); border-radius: 999px; padding: 10px 16px; font: 600 14px var(--f-body); cursor: pointer; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .nav .btn { margin-top: 6px; }
}

section { scroll-margin-top: 100px; }
.sec { padding-block: 110px; }
.sec-head { display: grid; gap: 16px; margin-bottom: 52px; max-width: 760px; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 56px); }
@media (max-width: 640px) { .sec { padding-block: 72px; } .sec-head { margin-bottom: 36px; } }

/* motion: scroll reveal (only where supported; content is visible otherwise) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: .15; transform: translateY(40px) rotateX(8deg); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { padding-block: 20px 24px; position: relative; min-height: min(calc(100vh - 120px), 760px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; width: 100%; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(38px, min(4.6vw, 7.4vh), 68px); line-height: 1.04; margin: 16px 0 28px; }
.hero h1 .hl { color: var(--accent); position: relative; display: inline; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta b { font: 800 30px/1 var(--f-display); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.hero-meta span { font-size: 14px; color: var(--muted); }

.scene { position: relative; height: min(600px, calc(100vh - 150px)); min-height: 470px; perspective: 1400px; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform: rotateX(8deg) rotateY(-14deg); }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb.a { width: 380px; height: 380px; right: -4%; top: 4%; background: radial-gradient(circle at 35% 35%, #FFB59F, var(--accent) 60%, #E8431D); opacity: .9; transform: translateZ(-160px); }
.orb.b { width: 180px; height: 180px; left: 4%; bottom: 6%; background: radial-gradient(circle at 35% 35%, #fff, var(--sky) 55%, #B9CBFF); transform: translateZ(-80px); }
.ring { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; border: 1.5px dashed rgba(11,23,48,.18); transform: translateZ(-120px) rotateX(70deg); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: translateZ(-120px) rotateX(70deg) rotateZ(360deg); } }
.photo-card { position: absolute; left: 50%; top: 50%; width: min(360px, 68%); aspect-ratio: 3/4; height: auto; max-height: 92%; transform-origin: center; translate: -50% -50%; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateZ(40px); background: var(--surface); border: 6px solid var(--surface); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.task { position: absolute; width: 250px; background: var(--surface); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: grid; gap: 8px; font-size: 14px; transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.task .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.task b { font-weight: 700; font-size: 15px; }
.task .who { color: var(--muted); font-size: 13px; }
.pill { font: 700 11px/1 var(--f-body); letter-spacing: .04em; padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.pill.done { background: #DDF2EC; color: #0B6B55; }
.pill.prog { background: var(--sky); color: #24408C; }
.pill.risk { background: var(--accent-soft); color: #A2300F; }
.bar { height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--ink); animation: grow 3.5s ease-in-out infinite alternate; }
.task.t1 { left: -2%; top: 8%; --z: 120px; }
.task.t2 { right: -4%; top: 42%; --z: 170px; animation-delay: -2s; }
.task.t3 { left: 0; bottom: 6%; --z: 140px; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateZ(var(--z)) translateY(0); } 50% { transform: translateZ(var(--z)) translateY(-14px); } }
@keyframes grow { from { width: 35%; } to { width: 88%; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .scene { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .ring { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .orb.a { width: 220px; height: 220px; }
  .photo-card { width: 64%; }
  .task { width: 190px; padding: 12px 13px; font-size: 13px; }
  .task.t2 { right: 0; }
  .hero { padding-block: 32px 40px; min-height: 0; }
  .scene { height: 500px; min-height: 0; }
}
@media (max-width: 420px) { .task.t1 { left: -4px; } .task.t3 { left: 0; } }

/* tools marquee */
.marquee { overflow: hidden; padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tool { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; background: var(--bg); border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.tool .ic { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 4px; }
.tool .ic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tool .ic.txt { background: var(--ink); color: #fff; font: 700 10px var(--f-body); }
@keyframes slide { to { transform: translateX(-50%); } }

/* about */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.about-grid > * { min-width: 0; }
.about-photo { position: sticky; top: 120px; perspective: 1000px; }
.about-photo .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; max-width: 100%; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .badge { position: absolute; right: -14px; bottom: 30px; background: var(--accent); color: var(--ink); border-radius: 18px; padding: 14px 18px; font: 700 14px/1.3 var(--f-body); box-shadow: var(--shadow-lg); transform: rotate(4deg); }
.about-photo .badge b { display: block; font: 800 28px/1 var(--f-display); }
.about-copy { display: grid; gap: 22px; color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.about-copy p:first-child { font: 700 26px/1.3 var(--f-display); font-stretch: 100%; color: var(--ink); letter-spacing: -0.01em; }
.about-copy a { color: var(--gov); font-weight: 600; }
.wins { margin-top: 26px; display: grid; gap: 12px; }
.wins h3 { font-size: 15px; font-family: var(--f-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-stretch: 100%; }
.wins ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wins li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16px; color: var(--ink-2); }
.wins li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-top: 1px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0,1fr); gap: 48px; } .about-photo { position: relative; top: 0; max-width: 380px; } .about-photo .badge { right: 10px; } }

/* services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; perspective: 1200px; }
.service:nth-child(4) { background: var(--gov); color: #fff; }
.service:nth-child(4) .num { background: rgba(255,255,255,.16); color: #fff; }
.service:nth-child(4) > p, .service:nth-child(4) li { color: #D7F0E8; }
.service:nth-child(4) li::before { background: #fff; opacity: .6; }
.service .svc-link { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: #fff; text-decoration: none; }
.service .svc-link:hover { text-decoration: underline; }
.service { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 14px; row-gap: 6px; align-content: start; }
.service > :not(.num) { grid-column: 2; }
.service .num { grid-row: 1 / span 2; }
.service:hover { box-shadow: var(--shadow-lg); }
.service .num { width: 44px; height: 44px; border-radius: 14px; font-size: 16px !important; display: grid; place-items: center; font: 800 18px var(--f-display); transform: translateZ(30px); }
.service:nth-child(1) .num { background: var(--accent-soft); color: var(--accent-deep); }
.service:nth-child(2) .num { background: var(--sky); color: #24408C; }
.service:nth-child(3) .num { background: var(--gov-soft); color: var(--gov); }
.service h3 { font-size: 21px; transform: translateZ(20px); align-self: end; }
.service > p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.service ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 16px; }
.service li { font-size: 14px; line-height: 1.4; color: var(--ink-2); padding-left: 14px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .25; }
@media (max-width: 900px) { .services { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 520px) { .service ul { grid-template-columns: minmax(0,1fr); } }

/* portfolio grid */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; perspective: 1400px; }
.case-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; text-align: left; border: 0; padding: 0; font: inherit; color: inherit; display: grid; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.case-card:hover { box-shadow: var(--shadow-lg); }
.case-cover { aspect-ratio: 16/9; max-width: 100%; overflow: hidden; background: var(--bg); position: relative; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.case-card:hover .case-cover img { transform: scale(1.06); }
.case-cover .count { position: absolute; right: 14px; bottom: 14px; background: rgba(11,23,48,.82); color: #fff; font: 600 12.5px var(--f-body); padding: 7px 11px; border-radius: 999px; }
.case-info { padding: 24px 26px 28px; display: grid; gap: 10px; }
.case-info .meta { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.case-info h3 { font-size: 23px; line-height: 1.15; font-stretch: 100%; }
.case-info p { color: var(--ink-2); font-size: 15.5px; }
.case-info .more { margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--accent-deep); display: inline-flex; gap: 6px; align-items: center; }
.case-card:first-child { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; }
.case-card:first-child .case-cover { aspect-ratio: auto; min-height: 320px; }
.case-card:first-child .case-info { align-content: center; padding: 40px; }
.case-card:first-child h3 { font-size: 32px; }
@media (max-width: 860px) { .cases { grid-template-columns: minmax(0,1fr); } .case-card:first-child { grid-template-columns: minmax(0,1fr); } .case-card:first-child .case-cover { min-height: 0; aspect-ratio: 16/9; } .case-card:first-child .case-info { padding: 26px; } .case-card:first-child h3 { font-size: 25px; } }

/* case detail panel */
.panel { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: end; background: rgba(11,23,48,.45); backdrop-filter: blur(4px); }
.panel-body { width: min(760px, 100%); height: 100%; overflow-y: auto; background: var(--surface); padding: calc(28px + env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)) 28px; animation: slidein .45s cubic-bezier(.2,.8,.2,1); display: grid; gap: 26px; align-content: start; }
@keyframes slidein { from { transform: translateX(60px); opacity: 0; } }
.panel-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.panel h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; font-stretch: 100%; }
.panel .meta { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.x-btn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); font-size: 22px; cursor: pointer; color: var(--ink); }
.facts-list { display: grid; gap: 20px; margin: 0; }
.facts-list dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts-list dt.out { color: var(--accent-deep); }
.facts-list dd { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.facts-list dd ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 13px/1 var(--f-body); padding: 8px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16/10; max-width: 100%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.watch { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: var(--night); color: #fff; text-decoration: none; font-weight: 600; }
.watch .play { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.watch .play::after { content: ""; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.quote { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: 19px; line-height: 1.55; color: var(--ink); }
.quote cite { font-style: normal; margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--sky); color: #24408C; display: grid; place-items: center; font: 800 15px var(--f-display); flex: 0 0 auto; }
.quote:nth-child(2) .av { background: var(--accent-soft); color: var(--accent-deep); }
.quote:nth-child(3) .av { background: var(--gov-soft); color: var(--gov); }
.quote cite b { display: block; font-weight: 700; }
.quote cite span { font-size: 14px; color: var(--muted); }
.reviews { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.reviews button { padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: var(--shadow); max-width: 100%; }
@media (max-width: 900px) { .quotes, .reviews { grid-template-columns: minmax(0,1fr); } }

/* contact */
.contact-band { background: var(--night); color: #fff; border-radius: 34px; padding: 72px 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; position: relative; overflow: hidden; }
.contact-band > * { min-width: 0; position: relative; }
.contact-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFB59F, var(--accent) 60%, transparent 61%); opacity: .9; }
.contact-band h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 18px; color: #fff; }
.contact-band .kicker { color: var(--accent); }
.contact-band .lede { color: #C9D3E6; margin-bottom: 30px; }
.contact-list { list-style: none; margin: 0; padding: 22px; display: grid; gap: 4px; background: var(--night-2); border-radius: 22px; align-self: end; }
.contact-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8FA0C2; }
.contact-list a, .contact-list .v { color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }
.copy { background: rgba(255,255,255,.1); border: 0; color: #fff; font: 600 12px var(--f-body); padding: 6px 10px; border-radius: 999px; cursor: pointer; margin-left: 8px; }
@media (max-width: 860px) { .contact-band { grid-template-columns: minmax(0,1fr); padding: 48px 24px; border-radius: 26px; } }

footer .wrap { padding-block: 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }

/* ---------- AI governance ---------- */
.gov-hero { padding-block: 80px 40px; }
.crumbs { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--gov); }
.gov-hero h1 { font-size: clamp(42px, 6vw, 80px); margin: 20px 0 34px; max-width: 14ch; }
.gov-hero h1 span { color: var(--gov); }
.gov-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
.gov-intro > * { min-width: 0; }
.gov-intro .copy-block { display: grid; gap: 18px; font-family: var(--f-serif); font-size: 21px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.toc { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 4px; position: relative; overflow: hidden; }
.toc::before { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -60px; border-radius: 50%; background: var(--gov-soft); }
.toc h2 { position: relative; font: 700 13px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gov); margin-bottom: 8px; }
.toc a { position: relative; display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--gov); }
@media (max-width: 860px) { .gov-intro { grid-template-columns: minmax(0,1fr); gap: 32px; } }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { font-size: 22px; font-stretch: 100%; }
.card p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .card-grid { grid-template-columns: minmax(0,1fr); } }
.ph { border: 1.5px dashed rgba(14,127,102,.45); background: var(--gov-soft); border-radius: 14px; padding: 14px 16px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.ph-tag { display: inline-block; font: 700 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gov); background: var(--surface); border-radius: 999px; padding: 5px 9px; margin-bottom: 8px; }
.entry { display: grid; grid-template-columns: 140px minmax(0,1fr) auto; gap: 20px; align-items: start; }
.entry .when { font-weight: 600; color: var(--muted); font-size: 14px; }
.entry h3 { font-size: 20px; color: var(--muted); font-stretch: 100%; margin-bottom: 4px; }
.entry p { color: var(--muted); font-size: 15.5px; }
.kind { font: 700 12px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--gov); background: var(--gov-soft); padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.stack { display: grid; gap: 16px; }
@media (max-width: 700px) { .entry { grid-template-columns: minmax(0,1fr); gap: 8px; } .kind { justify-self: start; } }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cert { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cert .thumb { aspect-ratio: 1.414/1; max-width: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--gov-soft) 0 12px, #EAF7F3 12px 24px); font-size: 14px; font-weight: 600; color: var(--gov); }
.cert .body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.cert h3 { font-size: 20px; font-stretch: 100%; }
.cert-img { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 1.414/1; max-width: 100%; overflow: hidden; background: var(--gov-soft); border-bottom: 1px solid var(--line); }
.cert-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.cert-img:hover img { transform: scale(1.04); }
.cert-note { font-size: 14.5px; color: var(--ink-2); }
.cert dd { overflow-wrap: anywhere; }
.cert dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.cert dt { font-weight: 700; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.9; }
.cert dd { margin: 0; color: var(--ink-2); }
.article-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; text-decoration: none; background: var(--surface); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.article-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-item .date { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.article-item h3 { font-size: 26px; font-stretch: 100%; margin-bottom: 8px; }
.article-item p { font-family: var(--f-serif); color: var(--ink-2); font-size: 18px; }
.article-item .go { width: 52px; height: 52px; border-radius: 50%; background: var(--gov); color: #fff; display: grid; place-items: center; font-size: 22px; }
.empty-slot { padding: 6px 4px; color: var(--muted); font-size: 15px; }
.gov-cta { background: var(--gov); color: #fff; border-radius: 30px; padding: 48px; display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.gov-cta h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; max-width: 20ch; }
.gov-cta .btn-light { box-shadow: none; }

/* article */
.article-wrap { max-width: 760px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.article-head { padding-block: 70px 40px; }
.article-head h1 { font-size: clamp(36px, 5vw, 58px); margin: 18px 0 22px; }
.article-head .excerpt { font-family: var(--f-serif); font-size: 22px; line-height: 1.55; color: var(--ink-2); }
.byline { display: flex; gap: 14px; align-items: center; margin-top: 28px; font-size: 15px; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--ink); }
.prose { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 48px clamp(22px, 5vw, 56px); font-family: var(--f-serif); font-size: 20px; line-height: 1.75; color: #24314A; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-size: 30px; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-family: var(--f-display); font-size: 22px; font-stretch: 100%; margin-top: 1.5em; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--gov); font-style: italic; color: var(--ink-2); }
.prose .ph { font-family: var(--f-body); }
.prose .lead { font-size: 23px; line-height: 1.6; color: var(--ink); }
.prose .lead::first-letter { float: left; font: 800 64px/0.9 var(--f-display); color: var(--gov); margin: 6px 10px 0 0; }
.prose a { color: var(--gov); }
.prose blockquote.pull { border: 0; padding: 26px 0; margin: 1.8em 0; font: 700 clamp(22px, 2.6vw, 28px)/1.35 var(--f-display); font-stretch: 100%; font-style: normal; color: var(--ink); position: relative; border-block: 2px solid var(--gov-soft); }
.prose blockquote.pull::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--gov); margin-bottom: 8px; }
.src { font: 600 11.5px/1 var(--f-body); color: var(--gov); background: var(--gov-soft); padding: 4px 8px; border-radius: 999px; white-space: nowrap; vertical-align: 2px; }
.stat-callout { display: grid; gap: 6px; background: var(--night); color: #fff; border-radius: 20px; padding: 26px 28px; font-family: var(--f-body); }
.stat-callout b { font: 800 clamp(38px, 5vw, 54px)/1 var(--f-display); color: #7FE0C6; }
.stat-callout span { font-size: 15px; color: #C9D3E6; line-height: 1.5; }
.agenda { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.agenda li { counter-increment: step; background: var(--bg); border-radius: 18px; padding: 22px 24px 22px 74px; position: relative; }
.agenda li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--gov); color: #fff; display: grid; place-items: center; font: 800 16px var(--f-display); }
.agenda h3 { margin: 4px 0 8px !important; font-size: 20px; }
.agenda p { font-size: 18px; margin: 0; }
.agenda p + p { margin-top: .7em; }
.prose .closing { font-size: 22px; color: var(--ink); font-weight: 500; }
.prose .origin { font: 500 14px var(--f-body); color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2em; }
.q-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 16px; }
.progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 4px; width: 100%; background: var(--gov); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; }
@media (max-width: 560px) { .agenda li { padding: 20px 18px 20px 62px; } .agenda li::before { left: 16px; } .prose .lead { font-size: 20px; } }
.article-foot { padding-block: 36px 90px; display: grid; gap: 22px; }
.article-foot h2 { font: 700 13px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gov); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,12,26,.94); display: grid; place-items: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(56px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font: 600 22px var(--f-body); cursor: pointer; display: grid; place-items: center; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }
.lb-prev { left: calc(16px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: calc(16px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: calc(28px + env(safe-area-inset-top, 0px)); left: calc(22px + env(safe-area-inset-left, 0px)); font-weight: 600; color: #C9D3E6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
#services .sec-head { display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; max-width: none; }
#services .sec-head h2 { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 900px) {
  .task.t1 { left: 4px; } .task.t3 { left: 4px; } .task.t2 { right: 4px; }
  .hero-meta { gap: 20px; } .hero-meta b { font-size: 26px; } .hero-meta span { font-size: 13px; }
}
[hidden] { display: none !important; }
