/* =========================================================
   Ahmad Al Ghour — "Modern Strategic, light first"
   White #FFFFFF · Soft white #F5F7F5 · Charcoal #101820
   Forest #164E43 · Emerald #40C9A2 · Silver #BCC8CC
   Manrope (display) + Inter (text)
   ========================================================= */
:root {
  --white: #FFFFFF;
  --soft: #F5F7F5;
  --ink: #101820;
  --ink-2: #1A242E;
  --ink-3: #24313C;
  --forest: #164E43;
  --forest-2: #1C5E51;
  --emerald: #40C9A2;
  --emerald-soft: rgba(64, 201, 162, .14);
  --silver: #BCC8CC;
  --muted: #56636C;
  --muted-2: #7A868E;
  --line: rgba(16, 24, 32, .09);
  --line-2: rgba(16, 24, 32, .16);
  --line-dark: rgba(255, 255, 255, .12);
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 32px -12px rgba(16, 24, 32, .14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 32, .04), 0 30px 60px -24px rgba(16, 24, 32, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16.5px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--emerald); color: var(--ink); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .55) 0; }
.bg-soft { background: var(--soft); }
.bg-ink { background: var(--ink); color: #E9EEF0; }
.bg-forest { background: var(--forest); color: #E8F3EF; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even, .split--rev { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } body { font-size: 16px; } }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-2); border-radius: 100px; background: var(--white); font: 600 13px/1 var(--text); color: var(--ink); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-soft); }
.bg-ink .eyebrow, .bg-forest .eyebrow, .dark .eyebrow { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: #fff; }
.h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; }
.h4 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.accent { color: var(--forest); }
.bg-ink .accent, .bg-forest .accent, .dark .accent { color: var(--emerald); }
.lede { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.bg-ink .lede, .bg-forest .lede, .dark .lede { color: rgba(233, 238, 240, .74); }
.muted { color: var(--muted); }
.bg-ink .muted, .bg-forest .muted, .dark .muted { color: rgba(233, 238, 240, .68); }
.small { font-size: 14.5px; line-height: 1.6; }
.label { font: 600 12.5px/1.3 var(--text); color: var(--muted-2); letter-spacing: .01em; }
.bg-ink .label, .bg-forest .label, .dark .label { color: rgba(233, 238, 240, .55); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lede { justify-self: end; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lede { justify-self: center; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }
.prose p, .prose li { max-width: 68ch; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23164E43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.bg-ink .ticks li::before, .bg-forest .ticks li::before, .dark .ticks li::before { background-color: rgba(64, 201, 162, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2340C9A2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 20px; border-radius: 100px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 14.5px/1 var(--text); text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(16, 24, 32, .5); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--emerald { background: var(--emerald); border-color: var(--emerald); color: var(--ink); }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { min-height: 38px; padding: 9px 15px; font-size: 13.5px; }
.bg-ink .btn--ghost, .bg-forest .btn--ghost, .dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.bg-ink .btn--ghost:hover, .bg-forest .btn--ghost:hover, .dark .btn--ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 7px; font: 600 14.5px/1.3 var(--text); color: var(--forest); text-decoration: none; }
.link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link:hover svg, a:hover > .link svg { transform: translateX(3px); }
.link:hover { text-decoration: underline; }
.bg-ink .link, .bg-forest .link, .dark .link { color: var(--emerald); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { font: 800 17px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { color: var(--muted-2); font-weight: 600; }
.dark .brand, .site-footer .brand { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { max-width: 1360px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list a { display: block; padding: 8px 11px; border-radius: 100px; text-decoration: none; font: 500 14px/1 var(--text); color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.nav-list a:hover { color: var(--ink); background: var(--soft); }
.nav-list a[aria-current="page"] { color: var(--ink); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.menu-toggle { display: none; }
@media (max-width: 1300px) { .primary-nav { display: none; } .menu-toggle { display: grid; } }
@media (max-width: 560px) { .header-actions .btn, .header-actions .icon-btn:not(.menu-toggle) { display: none; } .brand-name span { display: none; } }
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--white); display: flex; flex-direction: column; padding: 16px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease); }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav ol { list-style: none; counter-reset: m; }
.mobile-nav li { counter-increment: m; border-bottom: 1px solid var(--line); }
.mobile-nav li a { display: flex; align-items: center; gap: 14px; padding: 14px 2px; text-decoration: none; font: 700 clamp(20px, 5vw, 26px)/1.2 var(--display); letter-spacing: -.02em; }
.mobile-nav li a::before { content: counter(m, decimal-leading-zero); font: 600 12px/1 var(--text); color: var(--muted-2); width: 22px; }
.mobile-nav li a[aria-current="page"] { color: var(--forest); }
.mobile-nav .btn-row { margin-top: 24px; }

/* ---------- Footer / contact ---------- */
.site-footer { background: var(--ink); color: #E9EEF0; padding: clamp(64px, 8vw, 104px) 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(64, 201, 162, .16), transparent); pointer-events: none; }
.footer-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); position: relative; }
.footer-cta .h2 { color: #fff; max-width: 16ch; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 14px; text-decoration: none; transition: border-color .25s, background .25s; }
.contact-item:hover { border-color: var(--emerald); background: rgba(255, 255, 255, .03); }
.contact-item .ci-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(64, 201, 162, .14); color: var(--emerald); flex-shrink: 0; }
.contact-item .ci-icon svg { width: 18px; height: 18px; }
.contact-item b { display: block; font: 600 15px/1.3 var(--text); color: #fff; }
.contact-item span { display: block; font-size: 13px; color: rgba(233, 238, 240, .6); overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0; position: relative; }
.footer-grid h3 { font: 600 13px/1 var(--text); color: rgba(233, 238, 240, .5); margin-bottom: 16px; letter-spacing: .02em; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: rgba(233, 238, 240, .82); text-decoration: none; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-tag { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; color: #fff; margin-top: 18px; }
.footer-tag span { color: var(--emerald); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(233, 238, 240, .5); }
@media (max-width: 860px) { .footer-cta, .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.grid-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); pointer-events: none; opacity: .7; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { font: 600 13px/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 6vw, 78px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero-tag { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.hero-tag span { font: 700 clamp(18px, 1.8vw, 22px)/1 var(--display); padding: 10px 16px; border-radius: 100px; background: var(--soft); border: 1px solid var(--line); letter-spacing: -.01em; }
.hero-tag span:nth-child(2) { background: var(--forest); color: #fff; border-color: var(--forest); }
.hero-tag span:nth-child(3) { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero-sub { font: 600 15px/1.5 var(--text); color: var(--ink); margin-bottom: 14px; }
.hero .lede { margin-bottom: 30px; }
.hero-visual { position: relative; }
.portrait-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); background: var(--soft); }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font: 600 13.5px/1.25 var(--text); animation: float 6s ease-in-out infinite; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.float-chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--emerald-soft); color: var(--forest); font-style: normal; flex-shrink: 0; }
.float-chip i svg { width: 17px; height: 17px; }
.float-chip.c1 { left: -28px; top: 14%; }
.float-chip.c2 { right: -22px; top: 46%; animation-delay: -2s; }
.float-chip.c3 { left: -16px; bottom: 9%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; } .float-chip.c1 { left: -6px; } .float-chip.c2 { right: -6px; } .float-chip.c3 { left: 6px; } }

/* ---------- Metrics ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 22px 22px 20px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.stat-v { font: 800 clamp(32px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.04em; }
.stat-v small { font-size: .45em; color: var(--muted-2); margin-left: 2px; font-weight: 700; letter-spacing: 0; }
.stat-v .em { color: var(--forest); }
.stat-l { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.bg-ink .stat, .dark .stat { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.bg-ink .stat-l, .dark .stat-l { color: rgba(233, 238, 240, .66); }
.bg-ink .stat-v .em, .dark .stat-v .em { color: var(--emerald); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats--3 { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 38s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 220px; height: 128px; padding: 16px 18px 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.logo-tile:hover, .logo-tile:focus-visible { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-tile .lt-img { height: 58px; width: 100%; display: grid; place-items: center; }
.logo-tile img { max-height: 58px; max-width: 170px; width: auto; object-fit: contain; }
.logo-tile .lt-rel { font: 600 12px/1.2 var(--text); color: var(--muted); text-align: center; }
.marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee-track { animation: none; width: auto; }
.marquee.is-static .marquee-group { flex-wrap: wrap; justify-content: center; padding: 0; }
.marquee.is-static .marquee-group[aria-hidden="true"] { display: none; }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--emerald-soft); color: var(--forest); margin-bottom: 18px; }
.card-icon svg { width: 20px; height: 20px; }
.card .h4 { margin-bottom: 6px; }
.bg-soft .card { background: #fff; }
.bg-ink .card, .dark .card { background: var(--ink-2); border-color: var(--line-dark); color: #E9EEF0; }
.bg-ink .card-icon, .dark .card-icon { background: rgba(64, 201, 162, .14); color: var(--emerald); }
.bg-forest .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #E8F3EF; }
.bg-forest .card-icon { background: rgba(64, 201, 162, .2); color: var(--emerald); }
/* spotlight hover */
.spot { isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(64, 201, 162, .14), transparent 45%); pointer-events: none; }
.spot:hover::after { opacity: 1; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 100px; background: var(--soft); border: 1px solid var(--line); font: 600 12.5px/1.2 var(--text); color: var(--ink); }
.tag--em { background: var(--emerald-soft); border-color: transparent; color: var(--forest); }
.tag--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.bg-ink .tag, .bg-forest .tag, .dark .tag { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #E9EEF0; }
.bg-ink .tag--em, .bg-forest .tag--em, .dark .tag--em { background: rgba(64, 201, 162, .18); color: var(--emerald); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }

/* ---------- Pillars bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.pillar { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(24px, 2.8vw, 36px); overflow: hidden; text-decoration: none; min-height: 440px; transition: transform .4s var(--ease), box-shadow .4s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-num { font: 600 13px/1 var(--text); letter-spacing: .02em; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pillar-num::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .18; }
.pillar h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.pillar p { font-size: 15.5px; line-height: 1.6; }
.pillar .link { margin-top: auto; padding-top: 22px; }
.pillar--fyp { grid-column: span 5; background: var(--ink); color: #E9EEF0; }
.pillar--fyp p { color: rgba(233, 238, 240, .72); }
.pillar--fyp .wk-logo { width: 190px; margin: 6px 0 26px; }
.pillar--fyp .orbit { position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(255, 207, 0, .22); pointer-events: none; }
.pillar--fyp .orbit::before { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.pillar--fyp .orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #FFCF00; top: 50%; left: -5px; box-shadow: 0 0 18px #FFCF00; animation: orbit 14s linear infinite; transform-origin: 155px 0; }
@keyframes orbit { to { transform: rotate(360deg); } }
.pillar--exp { grid-column: span 7; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.pillar--exp p { color: var(--muted); }
.exp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 4px; }
.exp-mini { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--soft); display: flex; flex-direction: column; }
.exp-mini .em-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.exp-mini .em-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pillar:hover .exp-mini .em-photo img { transform: scale(1.05); }
.exp-mini .em-body { padding: 14px 16px 16px; }
.exp-mini .em-logo { height: 26px; width: auto; margin-bottom: 10px; }
.exp-mini b { display: block; font: 700 15px/1.3 var(--display); }
.exp-mini ul { list-style: none; margin-top: 8px; display: grid; gap: 3px; }
.exp-mini li { font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; }
.exp-mini li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.pillar--uni { grid-column: span 7; background: var(--forest); color: #E8F3EF; }
.pillar--uni p { color: rgba(232, 243, 239, .76); }
.uni-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 4px; }
.uni-role { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s; }
.pillar:hover .uni-role { background: rgba(255, 255, 255, .1); }
.uni-role .ur-logo { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 6px; flex-shrink: 0; }
.uni-role .ur-logo img { max-height: 36px; max-width: 36px; object-fit: contain; }
.uni-role b { display: block; font: 700 14.5px/1.3 var(--display); color: #fff; }
.uni-role span { font-size: 12.5px; color: rgba(232, 243, 239, .7); }
.pillar--sq { grid-column: span 5; background: #1F6FC4; color: #fff; padding-bottom: 0; }
.pillar--sq p { color: rgba(255, 255, 255, .86); }
.pillar--sq .pillar-num { color: rgba(255, 255, 255, .85); }
.pillar--sq .sq-pill-img { margin: 18px -36px 0; position: relative; }
.pillar--sq .sq-pill-img img { width: 100%; transform: translateY(14px); transition: transform .8s var(--ease); }
.pillar--sq:hover .sq-pill-img img { transform: translateY(0) scale(1.02); }
.pillar--sq .link { color: #fff; padding-top: 16px; margin-top: 0; }
.pillar--sq .sq-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pillar--sq .sq-chips span { font: 700 11.5px/1 var(--text); padding: 6px 10px; border-radius: 100px; letter-spacing: .03em; }
@media (max-width: 1060px) { .pillar--fyp, .pillar--exp, .pillar--uni, .pillar--sq { grid-column: span 12; min-height: 0; } }
@media (max-width: 560px) { .exp-duo, .uni-roles { grid-template-columns: 1fr; } }

/* ---------- Brief section ---------- */
.brief { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.brief-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.brief-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 25%; }
.brief-photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 12px 14px; background: rgba(16, 24, 32, .78); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; font-size: 13px; }
.approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.approach .card { padding: 20px; }
.approach .card b { display: flex; align-items: center; gap: 10px; font: 700 16px/1.3 var(--display); margin-bottom: 6px; letter-spacing: -.01em; }
.approach .card b i { font: 600 12px/1 var(--text); font-style: normal; color: var(--forest); background: var(--emerald-soft); padding: 5px 7px; border-radius: 6px; }
.approach .card p { font-size: 14.5px; color: var(--muted); }
.connect-svg { width: 100%; height: auto; margin: 6px 0 0; }
.connect-svg .path { fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-dasharray: 6 6; }
.connect-svg .node { fill: #fff; stroke: var(--line-2); }
.connect-svg text { font: 600 12.5px var(--text); fill: var(--ink); }
.connect-svg .dot { fill: var(--emerald); }
.draw-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease); }
.is-visible .draw-line, .draw-line.is-visible { stroke-dashoffset: 0; }
@media (max-width: 960px) { .brief { grid-template-columns: 1fr; } .brief-photo { max-width: 420px; aspect-ratio: 4 / 4; } }
@media (max-width: 560px) { .approach { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero .h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 20px; }
.ph-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 960px) { .ph-grid { grid-template-columns: 1fr; } }
.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.meta > div { background: #fff; padding: 16px 18px; }
.meta dt { font: 600 12px/1.3 var(--text); color: var(--muted-2); margin-bottom: 4px; }
.meta dd { margin: 0; font: 600 15px/1.4 var(--text); overflow-wrap: anywhere; }
.dark .meta, .bg-ink .meta { background: var(--line-dark); border-color: var(--line-dark); }
.dark .meta > div, .bg-ink .meta > div { background: var(--ink-2); }
.dark .meta dt, .bg-ink .meta dt { color: rgba(233, 238, 240, .5); }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; list-style: none; }
.jump a { display: inline-block; padding: 8px 13px; border-radius: 100px; border: 1px solid var(--line-2); text-decoration: none; font: 500 13.5px/1 var(--text); color: var(--muted); background: #fff; transition: all .2s; }
.jump a:hover { color: var(--ink); border-color: var(--ink); }
.crumb { font: 500 13.5px/1 var(--text); color: var(--muted-2); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* ---------- Connector between sections ---------- */
.connector { position: relative; height: 0; z-index: 2; }
.connector::before { content: ""; position: absolute; left: 50%; top: -36px; width: 1px; height: 72px; background: linear-gradient(transparent, var(--emerald), transparent); }
.connector::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 5px var(--emerald-soft); }

/* ---------- Figures / lightbox triggers ---------- */
.figure { margin: 0; }
.figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted-2); }
.dark .figure figcaption, .bg-ink .figure figcaption { color: rgba(233, 238, 240, .5); }
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--r); text-align: left; }
.zoom img { width: 100%; transition: transform 1s var(--ease); }
.zoom:hover img { transform: scale(1.035); }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 100px; background: rgba(16, 24, 32, .82); color: #fff; font: 600 12px/1 var(--text); opacity: 0; transform: translateY(4px); transition: all .25s; }
.zoom-hint svg { width: 13px; height: 13px; }
.zoom:hover .zoom-hint, .zoom:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }
.doc-preview { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.doc-preview .zoom { border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.doc-preview .doc-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 13px/1.3 var(--text); }
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; background: rgba(10, 15, 20, .94); color: #fff; padding: 64px 72px 84px; }
.lightbox.is-open { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: lbIn .25s var(--ease); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lightbox-caption { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .78); text-align: center; max-width: 70ch; }
.lightbox-count { position: absolute; top: 24px; left: 28px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.lightbox-btn { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s, color .2s; }
.lightbox-btn:hover { background: var(--emerald); color: var(--ink); border-color: var(--emerald); }
.lightbox-btn svg { width: 18px; height: 18px; }
.lightbox-close { top: 16px; right: 18px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 64px 12px 90px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; } .lightbox-prev { left: calc(50% - 56px); } .lightbox-next { right: calc(50% - 56px); } }
@keyframes lbIn { from { opacity: 0; } }

/* ---------- Timelines ---------- */
.tl { position: relative; list-style: none; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.tl::after { content: ""; position: absolute; left: 7px; top: 6px; width: 2px; height: var(--fill, 0px); background: linear-gradient(var(--emerald), var(--forest)); border-radius: 2px; transition: height .15s linear; }
.tl > li { position: relative; padding-bottom: 26px; }
.tl > li:last-child { padding-bottom: 0; }
.tl > li::before { content: ""; position: absolute; left: -29px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--silver); transition: border-color .3s, background .3s, box-shadow .3s; }
.tl > li.is-on::before, .tl > li.is-active::before { border-color: var(--emerald); background: var(--emerald); box-shadow: 0 0 0 5px var(--emerald-soft); }
.tl a { text-decoration: none; display: block; }
.tl-date { font: 600 12.5px/1.3 var(--text); color: var(--forest); }
.tl-title { display: block; font: 700 18px/1.3 var(--display); letter-spacing: -.015em; margin: 3px 0 2px; }
.tl-org { display: block; font-size: 14px; color: var(--muted); }
.tl a:hover .tl-title { color: var(--forest); }
.dark .tl::before { background: var(--line-dark); }
.dark .tl > li::before { background: var(--ink); border-color: rgba(255, 255, 255, .3); }
.dark .tl-date { color: var(--emerald); }
.dark .tl-org { color: rgba(233, 238, 240, .6); }

/* ---------- Case blocks ---------- */
.case { padding: var(--section) 0; border-top: 1px solid var(--line); }
.case-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.case-logo { height: 46px; width: auto; margin-bottom: 22px; }
@media (max-width: 960px) { .case-head { grid-template-columns: 1fr; } }
.points { list-style: none; display: grid; gap: 10px; counter-reset: p; }
.points li { counter-increment: p; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .25s, transform .25s var(--ease); }
.points li:hover { border-color: var(--line-2); transform: translateX(3px); }
.points li::before { content: counter(p, decimal-leading-zero); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--emerald-soft); color: var(--forest); font: 700 12px/1 var(--text); }
.points li p { margin: 4px 0 0; }
.points li > div p { margin-top: 2px; }
.bg-soft .points li { background: #fff; }
.dark .points li, .bg-ink .points li { background: var(--ink-2); border-color: var(--line-dark); }
.dark .points li::before, .bg-ink .points li::before { background: rgba(64, 201, 162, .16); color: var(--emerald); }
.reflect { position: relative; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 44px); overflow: hidden; }
.reflect::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--emerald), var(--forest)); }
.reflect-title { font: 800 clamp(22px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -.025em; margin: 6px 0 4px; max-width: 32ch; }
.reflect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.reflect-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.reflect-grid h4 { font: 700 16px/1.3 var(--display); margin-bottom: 6px; letter-spacing: -.01em; }
.reflect-grid p { font-size: 14.5px; color: var(--muted); }
.reflect .note { margin-top: 18px; }
@media (max-width: 760px) { .reflect-grid { grid-template-columns: 1fr; } }
.note { font-size: 13.5px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px dashed var(--line-2); }
.note a { color: var(--forest); font-weight: 600; }
.dark .note, .bg-ink .note, .bg-forest .note { background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(233, 238, 240, .66); }
.dark .note a, .bg-ink .note a { color: var(--emerald); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--emerald-soft); border: 1px solid rgba(22, 78, 67, .15); }
.callout svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--forest); margin-top: 2px; }
.callout p { font-size: 14.5px; color: var(--ink); }

/* ---------- Tabs (180DC progression, journey) ---------- */
.progression { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 44px); }
.prog-tabs { display: flex; flex-direction: column; gap: 8px; }
.prog-tab { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: all .25s; }
.prog-tab:hover { border-color: var(--line-2); }
.prog-tab[aria-selected="true"] { border-color: var(--forest); box-shadow: 0 0 0 3px var(--emerald-soft); }
.prog-step { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); font: 700 13px/1 var(--text); color: var(--muted); }
.prog-tab[aria-selected="true"] .prog-step { background: var(--forest); color: #fff; }
.prog-role { display: block; font: 700 17px/1.2 var(--display); }
.prog-when { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.prog-panel { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.is-entering { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 860px) { .progression { grid-template-columns: 1fr; } .prog-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; } .prog-tab { min-width: 220px; } }

/* ---------- Methodology / approach steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 22px 22px 24px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color .3s, transform .3s var(--ease); }
.steps li:hover { border-color: rgba(64, 201, 162, .5); transform: translateY(-2px); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 800 30px/1 var(--display); color: var(--emerald); margin-bottom: 14px; letter-spacing: -.03em; }
.steps h3 { font: 700 16.5px/1.35 var(--display); color: #fff; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: rgba(233, 238, 240, .68); }
.steps .phase { position: absolute; top: 24px; right: 18px; font: 600 11.5px/1 var(--text); padding: 5px 9px; border-radius: 100px; }
.phase--done { background: var(--emerald); color: var(--ink); }
.phase--active { border: 1px solid var(--emerald); color: var(--emerald); }
.phase--planned { border: 1px dashed rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .7); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Project case studies ---------- */
.proj { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.proj-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.proj-index { font: 800 clamp(48px, 6vw, 80px)/.9 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--silver); }
.proj-logo { height: 60px; width: auto; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 14px; }
.proj-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr; } .proj-top { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.fact { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.fact h4 { font: 600 12.5px/1.3 var(--text); color: var(--forest); margin-bottom: 6px; letter-spacing: .01em; }
.fact p, .fact li { font-size: 14.5px; color: var(--ink); }
.fact--wide { grid-column: 1 / -1; }
.bg-soft .fact { background: #fff; }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.criterion { position: relative; padding: 18px; border-radius: 14px; background: var(--forest); color: #fff; overflow: hidden; }
.criterion b { display: block; font: 700 16px/1.3 var(--display); }
.criterion span { font-size: 13px; color: rgba(232, 243, 239, .75); }
.criterion i { position: absolute; right: 14px; top: 14px; font: 700 12px/1 var(--text); font-style: normal; color: var(--emerald); }
.criterion:nth-child(2) { background: #1A5A4D; } .criterion:nth-child(3) { background: #1E6656; } .criterion:nth-child(4) { background: var(--ink); }
.priority-list { list-style: none; display: grid; gap: 8px; counter-reset: pr; }
.priority-list li { counter-increment: pr; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 600 14.5px/1.35 var(--text); }
.priority-list li::before { content: counter(pr); width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: var(--emerald-soft); color: var(--forest); font-size: 12.5px; }
.pce { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; margin: 6px 0; }
.pce-node { text-align: center; padding: 18px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pce-node b { display: block; font: 800 16px/1.2 var(--display); letter-spacing: -.01em; }
.pce-node span { font-size: 12.5px; color: var(--muted); }
.pce-node:nth-child(1) { border-top: 3px solid var(--forest); }
.pce-node:nth-child(3) { border-top: 3px solid var(--emerald); }
.pce-node:nth-child(5) { border-top: 3px solid var(--ink); }
.pce-arrow { width: 34px; height: 2px; background: var(--forest); position: relative; overflow: hidden; }
.pce-arrow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--emerald), transparent); animation: flow 2s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (max-width: 620px) { .pce { grid-template-columns: 1fr; } .pce-arrow { width: 2px; height: 22px; justify-self: center; } }
/* RSI gallery */
.rsi-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.rsi-gallery > * { min-width: 0; }
.rsi-gallery .zoom, .rsi-gallery .zoom img { height: 100%; }
.rsi-gallery img { object-fit: cover; }
.rg-main { grid-column: span 5; grid-row: span 2; aspect-ratio: 3 / 4; }
.rg-paper { grid-column: span 3; grid-row: span 2; }
.rg-cert { grid-column: span 4; }
.rg-group { grid-column: span 4; }
.rg-cohort { grid-column: span 12; aspect-ratio: 966 / 357; }
.rg-paper .zoom { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rg-paper img { object-fit: contain; }
@media (max-width: 860px) { .rg-main, .rg-paper, .rg-cert, .rg-group { grid-column: span 6; grid-row: auto; aspect-ratio: 3 / 4; } .rg-cert, .rg-group { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .rg-main, .rg-paper, .rg-cert, .rg-group { grid-column: span 12; } }
.more-proj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .more-proj { grid-template-columns: 1fr; } }

/* ---------- Credentials ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.cred { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cred:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.cred-logo { height: 128px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px; background: var(--soft); border-bottom: 1px solid var(--line); }
.cred-logo img { max-height: 84px; max-width: 48%; width: auto; object-fit: contain; }
.cred-logo--dark { background: #0A1A16; }
.cred-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.cred-issuer { font: 600 12.5px/1.3 var(--text); color: var(--forest); }
.cred-name { font: 700 18px/1.3 var(--display); letter-spacing: -.015em; margin: 6px 0 8px; }
.cred-date { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.cred-desc { font-size: 14px; color: var(--muted); margin-top: 10px; flex: 1; }
.cred-action { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; border: 1px solid var(--line-2); background: #fff; font: 600 13.5px/1 var(--text); transition: all .2s; }
.cred-action:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.cred-action svg { width: 14px; height: 14px; }

/* ---------- Skills / misc ---------- */
.skill-card h3 { font: 700 16px/1.3 var(--display); margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.pills li { font-size: 13.5px; font-weight: 500; padding: 6px 11px; border-radius: 100px; background: var(--soft); border: 1px solid var(--line); }
.edu-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: start; }
.edu-card .aub-tile { border-radius: var(--r); background: #840132; padding: 18px; display: grid; place-items: center; aspect-ratio: 1; }
@media (max-width: 700px) { .edu-card { grid-template-columns: 1fr; } .edu-card .aub-tile { aspect-ratio: auto; max-width: 260px; } }
.life-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.life-logo { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); padding: 34px; display: grid; place-items: center; box-shadow: var(--shadow); }
.life-logo img { width: 150px; }
@media (max-width: 860px) { .life-wrap { grid-template-columns: 1fr; } .life-logo { max-width: 260px; } }

/* ---------- Engagement ---------- */
.eng-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; }
.eng-logo { width: 120px; height: 120px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px; box-shadow: var(--shadow); }
.eng-logo img { max-height: 92px; max-width: 92px; object-fit: contain; }
@media (max-width: 620px) { .eng-card { grid-template-columns: 1fr; } .eng-logo { width: 96px; height: 96px; } }

/* ---------- Highlights ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.chip { padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line-2); background: #fff; font: 600 13.5px/1 var(--text); color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dark .chip, .bg-ink .chip { background: transparent; border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); }
.dark .chip[aria-pressed="true"], .bg-ink .chip[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--ink); }
.award-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.award-hero { position: relative; border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }
.award-hero .rank { font: 800 clamp(110px, 14vw, 190px)/.8 var(--display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(64, 201, 162, .6); position: absolute; right: 18px; bottom: -6px; pointer-events: none; }
.award-hero .rank sup { font-size: .32em; vertical-align: top; position: relative; top: .5em; -webkit-text-stroke: 0; color: var(--emerald); }
.award-hero h3 { font: 800 clamp(26px, 2.8vw, 36px)/1.1 var(--display); letter-spacing: -.03em; max-width: 14ch; }
.award-hero p { color: rgba(233, 238, 240, .72); max-width: 38ch; margin-top: 12px; }
.award-side { display: grid; gap: 16px; }
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hl { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; position: relative; }
.hl:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.hl--wide { grid-column: span 2; }
.hl--wide.has-media { display: grid; grid-template-columns: 1.1fr 1fr; }
.hl-media { overflow: hidden; }
.hl-media .zoom { border-radius: 0; height: 100%; }
.hl-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.hl-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.hl-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.hl-year { font: 600 13px/1 var(--text); color: var(--muted-2); }
.hl .hl-rank { font: 800 44px/1 var(--display); letter-spacing: -.04em; margin-bottom: 6px; color: var(--forest); }
.hl-rank sup { font-size: .4em; vertical-align: top; position: relative; top: .35em; }
.hl-rank small { font: 600 14px var(--text); color: var(--muted-2); letter-spacing: 0; }
.hl h3 { font: 700 19px/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.hl p { font-size: 14.5px; color: var(--muted); }
.hl .link { margin-top: auto; padding-top: 14px; }
.hl--forest { background: var(--forest); border-color: var(--forest); color: #fff; }
.hl--forest p { color: rgba(232, 243, 239, .76); }
.hl--forest .hl-rank { color: var(--emerald); }
.hl--forest .link, .hl--ink .link { color: var(--emerald); }
.hl--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.hl--ink p { color: rgba(233, 238, 240, .7); }
.hl--ink .hl-rank { color: var(--emerald); }
.hl--forest .hl-year, .hl--ink .hl-year { color: rgba(255, 255, 255, .55); }
@media (max-width: 960px) { .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .award-feature { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hl-grid { grid-template-columns: 1fr; } .hl--wide { grid-column: auto; } .hl--wide.has-media { grid-template-columns: 1fr; } }
.chrono { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.chrono > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.chrono .yr { font: 800 30px/1 var(--display); letter-spacing: -.04em; color: var(--forest); margin-bottom: 12px; }
.chrono ul { list-style: none; display: grid; gap: 8px; }
.chrono li { font-size: 13.5px; line-height: 1.45; padding-left: 12px; position: relative; color: var(--ink); }
.chrono li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--emerald); }
.chrono a { text-decoration: none; } .chrono a:hover { text-decoration: underline; }
@media (max-width: 960px) { .chrono { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .chrono { grid-template-columns: 1fr; } }

/* ---------- Reflection network ---------- */
.network-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.network { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
.network svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network .lines line { stroke: rgba(255, 255, 255, .14); stroke-width: 1; transition: stroke .3s, stroke-width .3s; }
.network .lines line.is-on { stroke: var(--emerald); stroke-width: 1.8; }
.net-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--forest); box-shadow: 0 0 0 10px rgba(64, 201, 162, .08), 0 0 60px rgba(64, 201, 162, .25); }
.net-center span { display: block; font: 800 clamp(16px, 2.2vw, 24px)/1.1 var(--display); letter-spacing: -.02em; color: #fff; }
.net-center span:nth-child(2) { color: var(--emerald); }
.net-node { position: absolute; transform: translate(-50%, -50%); width: 25%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: var(--ink-2); color: #fff; display: grid; place-items: center; text-align: center; padding: 8px; font: 600 clamp(11px, 1.2vw, 13.5px)/1.25 var(--text); transition: all .3s var(--ease); }
.net-node:hover, .net-node[aria-pressed="true"] { background: var(--emerald); color: var(--ink); border-color: var(--emerald); transform: translate(-50%, -50%) scale(1.06); }
.net-panel { background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); min-height: 300px; }
.net-panel h3 { font: 800 26px/1.2 var(--display); color: #fff; margin: 10px 0 12px; }
.net-panel p { color: rgba(233, 238, 240, .76); }
.net-panel .tags { margin-top: 18px; }
@media (max-width: 960px) { .network-wrap { grid-template-columns: 1fr; } }
.transfer { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 0; align-items: stretch; }
.transfer-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.transfer-side span { display: block; font: 600 12px/1.3 var(--text); color: var(--muted-2); }
.transfer-side b { display: block; font: 700 18px/1.25 var(--display); letter-spacing: -.015em; margin-top: 3px; }
.transfer-arrow { display: grid; place-items: center; color: var(--forest); }
.transfer-arrow svg { width: 24px; height: 24px; }
.transfer-text { grid-column: 1 / -1; padding: 16px 4px 34px; color: var(--muted); }
@media (max-width: 620px) { .transfer { grid-template-columns: 1fr; } .transfer-arrow { transform: rotate(90deg); padding: 6px 0; } }
.quote { border-left: 3px solid var(--emerald); padding: 4px 0 4px 22px; font: 700 clamp(20px, 2vw, 26px)/1.35 var(--display); letter-spacing: -.02em; }

/* ---------- SideQuest (brand-led) ---------- */
.sq { --sq-blue: #1F6FC4; --sq-sky: #4BA3E3; --sq-coral: #E4573D; --sq-red: #D93A35; --sq-teal: #5EC2B7; --sq-yellow: #F5BE2E; --sq-ink: #0F2A4A; }
.sq-hero { position: relative; background: linear-gradient(180deg, #EAF4FC 0%, #fff 100%); padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.sq-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(75, 163, 227, .25), transparent); }
.sq-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sq-hero .h1 { color: var(--sq-ink); }
.sq-hero .h1 .accent { color: var(--sq-coral); }
.sq-hero .eyebrow::before { background: var(--sq-coral); box-shadow: 0 0 0 4px rgba(228, 87, 61, .15); }
.sq-btn { background: var(--sq-coral); border-color: var(--sq-coral); color: #fff; }
.sq-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; list-style: none; }
.sq-badges li { font: 800 11.5px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 8px; color: #fff; }
@media (max-width: 960px) { .sq-hero-grid { grid-template-columns: 1fr; } }
.sq-explode { position: relative; aspect-ratio: 1 / .9; perspective: 1600px; }
.sq-explode-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.sq-piece { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -26px rgba(15, 42, 74, .5); transition: transform 1.1s var(--ease); }
.sq-piece img { width: 100%; height: 100%; object-fit: cover; }
.p-box { width: 62%; left: 19%; top: 20%; z-index: 4; }
.p-decks { width: 44%; left: 28%; top: 26%; z-index: 3; }
.p-guide { width: 42%; left: 29%; top: 27%; z-index: 2; }
.p-map { width: 42%; left: 29%; top: 29%; z-index: 1; }
.sq-explode.is-exploded .p-box { transform: translate(-3%, 20%) rotate(-3deg); }
.sq-explode.is-exploded .p-decks { transform: translate(-58%, -54%) rotate(-6deg); }
.sq-explode.is-exploded .p-guide { transform: translate(60%, -52%) rotate(5deg); }
.sq-explode.is-exploded .p-map { transform: translate(64%, 46%) rotate(4deg); }
.sq-explode .chip { position: absolute; left: 0; bottom: -6px; z-index: 10; }
.sq-stats .stat { background: #fff; border-color: rgba(31, 111, 196, .15); }
.sq-stats .stat-v .em { color: var(--sq-coral); }
/* journey */
.journey { position: relative; }
.journey-rail { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.journey-rail::before { content: ""; position: absolute; left: 4%; right: 4%; top: 25px; height: 2px; background: rgba(15, 42, 74, .12); }
.journey-progress { position: absolute; left: 4%; top: 25px; height: 2px; width: 0; background: linear-gradient(90deg, var(--sq-teal), var(--sq-blue), var(--sq-coral)); transition: width .6s var(--ease); }
.j-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: none; border: 0; padding: 0 4px; }
.j-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid rgba(15, 42, 74, .15); font: 800 15px/1 var(--display); color: var(--sq-ink); transition: all .35s var(--ease); position: relative; z-index: 1; }
.j-tab[aria-selected="true"] .j-dot { background: var(--sq-blue); border-color: var(--sq-blue); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(31, 111, 196, .14); }
.j-tab.is-past .j-dot { border-color: var(--sq-blue); color: var(--sq-blue); }
.j-name { font: 600 13px/1.3 var(--text); color: var(--muted); }
.j-tab[aria-selected="true"] .j-name { color: var(--sq-ink); }
.j-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid rgba(15, 42, 74, .1); box-shadow: var(--shadow); }
.j-panel .j-text { padding: clamp(24px, 3.4vw, 44px); }
.j-panel .j-img { min-height: 280px; background: #EAF4FC; }
.j-panel .j-img img { width: 100%; height: 100%; object-fit: cover; }
.j-panel h3 { font: 800 clamp(22px, 2.4vw, 30px)/1.15 var(--display); letter-spacing: -.03em; color: var(--sq-ink); margin: 10px 0 12px; }
.j-panel .ticks { margin-top: 16px; }
.j-step { font: 700 12.5px/1 var(--text); color: var(--sq-coral); }
@media (max-width: 860px) { .journey-rail { grid-template-columns: repeat(6, 64px); overflow-x: auto; padding-bottom: 6px; } .journey-rail::before, .journey-progress { display: none; } .j-name { font-size: 11.5px; } .j-panel { grid-template-columns: 1fr; } .j-panel .j-img { min-height: 220px; } }
/* community masonry */
.masonry { columns: 4 220px; column-gap: 12px; }
.masonry .zoom { margin: 0 0 12px; break-inside: avoid; border-radius: 14px; }
.masonry img { width: 100%; }
.wall { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.wall:hover .wall-track, .wall:focus-within .wall-track { animation-play-state: paused; }
.wall-track .zoom { width: 190px; flex-shrink: 0; border-radius: 14px; }
.wall-track img { aspect-ratio: 4 / 5; object-fit: cover; }
/* media */
.press { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.press-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.press-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.press-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.press-card:hover .press-img img { transform: scale(1.04); }
.press-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.press-src { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.press-src img { height: 22px; width: auto; }
.press-title { font: 800 clamp(19px, 1.8vw, 23px)/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.press-title[dir="rtl"] { font-family: "Noto Kufi Arabic", "Geeza Pro", Tahoma, sans-serif; font-weight: 700; line-height: 1.6; letter-spacing: 0; text-align: right; }
.press-card p { font-size: 14.5px; color: var(--muted); }
.press-card .link { margin-top: auto; padding-top: 16px; }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }
/* quest deck */
.sq-stage { position: relative; aspect-ratio: 1 / .9; perspective: 1400px; }
.sq-deck { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.sq-card { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 63 / 88; padding: 0; border: 0; background: none; transform-style: preserve-3d; transition: transform .8s var(--ease); cursor: pointer; }
.sq-card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.sq-card.is-flipped .sq-card-inner { transform: rotateY(180deg); }
.sq-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; padding: 16px 14px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; box-shadow: 0 22px 44px -18px rgba(15, 42, 74, .5); overflow: hidden; color: #fff; }
.sq-back { background: var(--sq-ink); transform: rotateY(180deg); }
.sq-cat { font: 700 10px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.sq-title { font: 800 clamp(20px, 2.3vw, 30px)/1 var(--display); letter-spacing: -.03em; }
.sq-icon { width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-self: center; background: rgba(255, 255, 255, .2); }
.sq-icon svg { width: 50%; height: 50%; }
.sq-back p { font-size: clamp(11.5px, 1.05vw, 13.5px); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.sq-controls { display: flex; gap: 6px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.sq-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
.sq-gallery .zoom { height: 100%; }
.sq-gallery img { height: 100%; object-fit: cover; }
.sq-gallery > *:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.sq-gallery > *:nth-child(2) { grid-column: span 3; }
.sq-gallery > *:nth-child(3) { grid-column: span 2; }
.sq-gallery > *:nth-child(4) { grid-column: span 1; }
.sq-gallery > *:nth-child(5), .sq-gallery > *:nth-child(6), .sq-gallery > *:nth-child(7) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .sq-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } .sq-gallery > * { grid-column: span 1 !important; grid-row: span 1 !important; } .sq-gallery > *:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; } }
.eng-map { list-style: none; display: grid; gap: 10px; }
.eng-map li { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.3fr); align-items: center; gap: 10px; padding: 16px 20px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color .3s; }
.eng-map li:hover { border-color: rgba(64, 201, 162, .5); }
.eng-map .from { font: 700 17px/1.3 var(--display); color: #fff; }
.eng-map .arrow { color: var(--emerald); display: grid; place-items: center; }
.eng-map .arrow svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.eng-map li:hover .arrow svg { transform: translateX(4px); }
.eng-map .to { color: rgba(233, 238, 240, .72); font-size: 15px; }
@media (max-width: 640px) { .eng-map li { grid-template-columns: 1fr; gap: 4px; } .eng-map .arrow { place-items: start; } .eng-map .arrow svg { transform: rotate(90deg); } }

/* ---------- Next page ---------- */
.next-page { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px); margin: clamp(48px, 6vw, 80px) 0; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: background .3s, border-color .3s; }
.next-page:hover { background: #fff; border-color: var(--line-2); box-shadow: var(--shadow); }
.next-page .label { display: block; margin-bottom: 6px; }
.next-page b { font: 800 clamp(22px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -.03em; }
.next-page .circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex-shrink: 0; transition: transform .3s var(--ease), background .3s; }
.next-page:hover .circle { transform: translateX(4px); background: var(--forest); }
.next-page .circle svg { width: 20px; height: 20px; }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="left"] { transform: translateX(-24px); }
main { animation: pageIn .55s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }
body.is-leaving main { opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .draw-line { stroke-dashoffset: 0; }
}
.err-page { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-soft); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(64, 201, 162, 0); } }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: 72px; } .mb-m { margin-bottom: 28px; } .mb-l { margin-bottom: 48px; }
.stack > * + * { margin-top: 14px; }
.center { text-align: center; }

.hl .hl-rank small { font-size: 14px; }
.award-hero .tag--em, .hl--forest .tag--em, .hl--ink .tag--em { background: rgba(64, 201, 162, .2); color: var(--emerald); }
.award-hero .tag, .hl--forest .tag, .hl--ink .tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.pillar.dark .tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.pillar.dark .tag--em { background: rgba(64, 201, 162, .2); color: var(--emerald); border-color: transparent; }
