:root {
  --ink: #07130f;
  --ink-soft: #11251e;
  --paper: #f2f6f3;
  --white: #fff;
  --acid: #b8f238;
  --cyan: #3fd5c6;
  --line: rgba(255,255,255,.15);
  --muted: #8ca098;
  --text: #183029;
  --danger: #e05a52;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  --font: "Noto Sans SC", sans-serif;
  --display: "Rajdhani", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--font); letter-spacing: 0; }
body.locked { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.noise { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--acid); border: 1px solid rgba(184,242,56,.5); background: rgba(184,242,56,.08); }
.brand-mark svg { width: 23px; }
.brand b, .brand small { display: block; }
.brand b { font-size: 17px; font-weight: 700; }
.brand small { color: #8ba097; font: 600 10px/1.4 var(--display); letter-spacing: 1.7px; }
.eyebrow { color: var(--cyan); font: 700 12px/1 var(--display); letter-spacing: 2.5px; text-transform: uppercase; }
.primary-btn, .secondary-btn { min-height: 46px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; font-weight: 700; transition: .25s ease; }
.primary-btn { color: #0a1611; background: var(--acid); }
.primary-btn:hover { background: #cef86e; transform: translateY(-2px); }
.primary-btn svg, .secondary-btn svg { width: 18px; }
.secondary-btn { color: var(--text); background: #fff; border-color: #dbe4df; }
.secondary-btn:hover { border-color: #91a69c; }
.icon-btn { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; color: inherit; border: 1px solid currentColor; background: transparent; }
.icon-btn svg { width: 19px; }

/* Identity portal */
.portal { min-height: 100svh; position: relative; overflow: hidden; display: flex; flex-direction: column; color: #fff; background: var(--ink); }
.portal-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,11,.94) 0%, rgba(4,15,11,.72) 44%, rgba(4,15,11,.12) 78%), linear-gradient(0deg, rgba(4,15,11,.8), transparent 45%), url("https://images.unsplash.com/photo-1466611653911-95081537e5b7?auto=format&fit=crop&w=2200&q=88") center 42% / cover; transform: scale(1.01); animation: portalZoom 12s ease-out both; }
@keyframes portalZoom { from { transform: scale(1.08); } to { transform: scale(1.01); } }
.portal-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,#000,transparent 72%); }
.portal-top { position: relative; z-index: 2; padding: 28px 4.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.status { display: flex; align-items: center; gap: 10px; color: #a9bbb4; font: 600 10px var(--display); letter-spacing: 2px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.portal-content { width: min(760px, 90vw); position: relative; z-index: 2; margin: auto 0; padding: 38px 0 38px 8vw; }
.portal-content .eyebrow { display: flex; gap: 14px; align-items: center; }
.portal-content .eyebrow b { padding: 4px 7px; color: var(--ink); background: var(--acid); font-size: 10px; }
.portal h1 { margin: 20px 0 16px; color: #fff; font: 700 clamp(54px,7vw,104px)/.87 var(--font); letter-spacing: 0; }
.portal h1 em, .home-hero h2 em { color: var(--acid); font-style: normal; }
.portal-lead { max-width: 610px; color: #c5d0cb; font-size: 16px; line-height: 1.8; }
.portal-actions { margin-top: 34px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.entry-card { min-width: 0; height: 116px; position: relative; padding: 20px; display: flex; align-items: center; gap: 16px; text-align: left; color: #fff; border: 1px solid rgba(255,255,255,.23); background: rgba(7,24,18,.72); backdrop-filter: blur(14px); transition: .3s ease; }
.entry-card:hover { transform: translateY(-4px); border-color: var(--acid); background: rgba(13,37,28,.92); }
.entry-card.admin-entry { background: rgba(184,242,56,.92); color: #102017; border-color: var(--acid); }
.entry-card.admin-entry:hover { background: var(--acid); }
.entry-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid currentColor; opacity: .85; }
.entry-icon svg { width: 23px; }
.entry-copy { min-width: 0; display: block; }
.entry-copy > * { display: block; }
.entry-copy small { margin-bottom: 3px; opacity: .6; font: 700 9px var(--display); letter-spacing: 1.5px; }
.entry-copy strong { font-size: 19px; }
.entry-copy em { margin-top: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: .65; font-size: 11px; font-style: normal; }
.entry-arrow { width: 18px; margin-left: auto; align-self: flex-start; opacity: .7; }
.portal-foot { position: relative; z-index: 2; padding: 22px 4.5vw; display: flex; gap: 5vw; color: #70837b; border-top: 1px solid var(--line); font: 600 10px var(--display); letter-spacing: 2px; }
.scroll-indicator { position: absolute; z-index: 2; right: 3.2vw; bottom: 25%; display: flex; align-items: center; gap: 14px; color: #93a59e; font-size: 10px; writing-mode: vertical-rl; letter-spacing: 2px; }
.scroll-indicator span { width: 1px; height: 55px; background: linear-gradient(var(--acid),transparent); }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: .25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,10,8,.76); backdrop-filter: blur(9px); }
.login-panel { width: min(440px, calc(100vw - 32px)); position: relative; z-index: 1; padding: 42px; color: #eaf0ed; background: #0c1d17; border: 1px solid #355047; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 18px; right: 18px; color: #8aa098; border-color: #40534d; }
.login-symbol { width: 60px; height: 60px; margin-bottom: 25px; display: grid; place-items: center; color: var(--acid); border: 1px solid #435a50; background: #142a22; }
.login-symbol svg { width: 31px; }
.login-panel h2 { margin: 8px 0; color: #fff; font-size: 28px; }
.login-panel > p:not(.eyebrow):not(.form-error) { margin: 0 0 26px; color: #82968e; font-size: 13px; }
.login-panel label { margin-top: 17px; display: block; color: #aebdb7; font-size: 12px; }
.input-wrap { height: 50px; margin-top: 8px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #395047; background: #10241d; }
.input-wrap:focus-within { border-color: var(--acid); }
.input-wrap svg { width: 17px; color: #7f968d; }
.input-wrap input { min-width: 0; flex: 1; color: #fff; outline: 0; border: 0; background: transparent; }
.input-wrap button { padding: 4px; color: #82968e; border: 0; background: transparent; }
.form-error { min-height: 20px; margin: 12px 0 0; color: #ff8e86; font-size: 12px; }
.login-btn { width: 100%; margin-top: 8px; }

/* Visitor site */
.app-shell { background: var(--paper); }
.site-header { height: 76px; padding: 0 4.5vw; position: absolute; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.22); }
.site-header nav { margin-left: auto; display: flex; height: 100%; }
.site-header nav a { min-width: 92px; padding: 0 16px; display: grid; place-items: center; color: #bac8c2; font-size: 13px; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a.active { color: #fff; border-color: var(--acid); }
.header-tools { margin-left: 22px; display: flex; gap: 8px; color: #fff; }
.header-tools .icon-btn { border-color: rgba(255,255,255,.3); }
.mobile-menu { display: none; }
.home-hero { height: min(850px,100svh); min-height: 680px; position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero-media { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1548337138-e87d889cc369?auto=format&fit=crop&w=2400&q=90") center / cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,15,11,.88),rgba(3,15,11,.45) 48%,rgba(3,15,11,.12)), linear-gradient(0deg,rgba(3,15,11,.85),transparent 55%); }
.hero-content { width: min(790px, 89vw); position: absolute; left: 8vw; top: 50%; transform: translateY(-50%); }
.home-hero h2 { margin: 18px 0 23px; color: #fff; font: 800 clamp(56px,7vw,104px)/.89 var(--font); letter-spacing: 0; }
.hero-content > p:not(.eyebrow) { max-width: 580px; color: #c4d0cb; font-size: 17px; line-height: 1.8; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.text-link svg { width: 17px; color: var(--acid); }
.hero-metrics { position: absolute; right: 4.5vw; bottom: 0; display: grid; grid-template-columns: repeat(3,150px); background: rgba(7,22,17,.86); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); }
.hero-metrics div { padding: 23px 26px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-metrics div:last-child { border: 0; }
.hero-metrics strong, .hero-metrics span { display: block; }
.hero-metrics strong { color: var(--acid); font: 700 32px var(--display); }
.hero-metrics span { color: #9bada6; font-size: 10px; white-space: nowrap; }
.section-pad { padding: 110px 7vw; }
.manifesto { display: grid; grid-template-columns: 130px 1.25fr .8fr; gap: 5vw; background: #f4f7f5; }
.section-index { color: #8fa098; font: 600 11px var(--display); letter-spacing: 1px; }
.manifesto h2, .section-head h2 { margin: 15px 0 0; color: #0d211a; font-size: clamp(30px,3.4vw,52px); line-height: 1.25; letter-spacing: 0; }
.manifesto-copy { padding-top: 30px; }
.manifesto-copy > p { margin: 0; color: #5c6f67; font-size: 14px; line-height: 2; }
.capability-line { margin-top: 32px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; color: #789086; border-top: 1px solid #d2ddd7; font: 600 10px var(--display); letter-spacing: 1.2px; }
.platform-section { color: #eaf1ee; background: #071710; }
.section-head { margin-bottom: 55px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.platform-section .section-head h2 { color: #fff; }
.section-head > p { width: min(390px,100%); margin: 0; color: #71877d; font-size: 13px; line-height: 1.8; }
.module-list { border-top: 1px solid #304139; }
.module-row { min-height: 145px; display: grid; grid-template-columns: 80px 1fr 1.3fr 52px; align-items: center; gap: 25px; border-bottom: 1px solid #304139; transition: .25s; cursor: pointer; }
.module-row:hover { padding: 0 22px; background: #10271e; }
.module-number { color: var(--acid); font: 600 13px var(--display); }
.module-title small { display: block; margin-bottom: 6px; color: #5f786d; font: 600 10px var(--display); letter-spacing: 1.5px; }
.module-title h3 { margin: 0; color: #f4f8f6; font-size: 22px; }
.module-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.module-tags span { padding: 7px 10px; color: #9db0a8; border: 1px solid #344b40; font-size: 11px; }
.module-open { width: 46px; height: 46px; display: grid; place-items: center; color: #92a69d; border: 1px solid #3b4e46; transition: .25s; }
.module-row:hover .module-open { color: var(--ink); background: var(--acid); border-color: var(--acid); transform: rotate(45deg); }
.module-open svg { width: 18px; }
.feature-band { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; background: #dfe8e3; }
.feature-image { min-height: 600px; background: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=86") center / cover; }
.feature-copy { padding: 10vw 8vw; display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { margin: 18px 0 24px; color: #10241c; font-size: clamp(42px,5vw,76px); line-height: 1.08; }
.feature-copy > p:not(.eyebrow) { color: #5c7168; font-size: 14px; line-height: 1.9; }
.data-bars { margin-top: 38px; }
.data-bars div { height: 44px; display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: 14px; color: #425b51; font-size: 11px; }
.data-bars i { height: 3px; position: relative; background: #b9c9c1; }
.data-bars i::after { content: ""; width: var(--value); position: absolute; inset: 0; background: #0b5140; }
.data-bars b { font: 600 14px var(--display); }
.strength-section { color: #e8f1ed; background: #0c2119; }
.strength-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7vw; }
.strength-copy h2 { margin: 17px 0 25px; color: #fff; font-size: clamp(36px,4.5vw,65px); line-height: 1.15; }
.strength-copy > p:not(.eyebrow) { color: #8fa49b; font-size: 13px; line-height: 2; }
.strength-copy .strength-lead { color: #c3d1cb !important; font-size: 16px !important; }
.strength-gallery { min-height: 520px; display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: repeat(2,1fr); gap: 10px; }
.strength-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.strength-gallery img:first-child { grid-row: 1/-1; }
.team-section { background: #f4f7f5; }
.team-grid { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 16px; }
.person-card { min-height: 430px; position: relative; overflow: hidden; color: #fff; border: 0; background: #13261f; cursor: pointer; }
.person-photo { position: absolute; inset: 0; display: grid; place-items: center; background-color: #122b22; background-position: center; background-size: cover; transition: transform .4s ease; }
.person-photo::before { content: ""; width: 230px; height: 230px; border-radius: 50%; background: rgba(184,242,56,.08); border: 1px solid rgba(184,242,56,.16); }
.person-photo span { position: absolute; color: rgba(184,242,56,.65); font: 700 72px var(--display); }
.person-photo span.hidden-initials { display: none; }
.person-card:hover .person-photo { transform: scale(1.025); }
.person-card.lead .person-photo { background: linear-gradient(145deg,#173c30,#091713); }
.person-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; background: linear-gradient(transparent,rgba(4,14,10,.94)); }
.person-info small { color: var(--acid); font: 600 9px var(--display); letter-spacing: 1.4px; }
.person-info h3 { margin: 8px 0 3px; font-size: 25px; }
.person-info p { margin: 0; color: #a5b6af; font-size: 12px; }
.waiting { color: #234039; background: transparent; border: 1px dashed #a7bab1; }
.waiting-mark { position: absolute; inset: 0; display: grid; place-items: center; color: #89a097; }
.waiting-mark svg { width: 65px; height: 65px; stroke-width: 1; }
.waiting .person-info { background: linear-gradient(transparent,#e9efec 50%); }
.waiting .person-info h3 { color: #183028; }
.waiting .person-info p { color: #72867d; }
footer { padding: 75px 7vw 25px; color: #dfe8e4; background: #06130e; }
.footer-main { display: grid; grid-template-columns: 1.5fr .6fr .8fr; gap: 6vw; }
.footer-main h2 { margin: 50px 0; color: #fff; font-size: clamp(30px,4vw,52px); }
.footer-main > div > small { color: var(--acid); font: 600 10px var(--display); letter-spacing: 1.5px; }
.footer-main p { color: #82968d; font-size: 12px; line-height: 2; }
.footer-bottom { padding-top: 23px; display: flex; justify-content: space-between; align-items: center; color: #54685f; border-top: 1px solid #25382f; font-size: 10px; }
.footer-bottom button { display: inline-flex; align-items: center; gap: 8px; color: #788c83; border: 0; background: transparent; }
.footer-bottom svg { width: 15px; }
.detail-panel { width: min(960px,calc(100vw - 32px)); max-height: 88vh; position: relative; z-index: 1; overflow: auto; color: #153028; background: #f4f7f5; box-shadow: var(--shadow); }
.detail-hero { min-height: 300px; position: relative; display: flex; align-items: end; padding: 40px; color: #fff; background-position: center; background-size: cover; }
.detail-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,17,12,.92),rgba(4,17,12,.1)); }
.detail-hero > div { position: relative; }
.detail-hero h2 { margin: 8px 0 0; font-size: clamp(30px,4vw,50px); }
.detail-body { padding: 38px 40px 48px; }
.detail-summary { color: #536c62; line-height: 1.9; }
.detail-items { margin-top: 30px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.detail-item { padding: 22px; color: inherit; text-align: left; border: 1px solid #d1ddd7; background: #fff; transition: .25s; }
.detail-item:hover { transform: translateY(-3px); border-color: #6e9485; box-shadow: 0 12px 28px rgba(20,48,39,.1); }
.detail-item small { color: #688078; font: 600 10px var(--display); }
.detail-item h3 { margin: 7px 0 8px; font-size: 17px; }
.detail-item p { margin: 0; color: #72847d; font-size: 12px; line-height: 1.7; }
.detail-item > span { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; color: #285d4a; font-size: 11px; font-weight: 700; }
.detail-item > span svg { width: 15px; }
.detail-back { margin-bottom: 25px; padding: 0; display: flex; align-items: center; gap: 7px; color: #d4dfda; border: 0; background: transparent; font-size: 11px; }
.detail-back svg { width: 16px; }
.rich-text { margin: 28px 0; color: #496158; font-size: 14px; line-height: 2; }
.detail-gallery { margin-top: 35px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.detail-gallery figure { margin: 0; background: #e4ebe7; }
.detail-gallery img { width: 100%; aspect-ratio: 16/10; display: block; object-fit: cover; }
.detail-gallery figcaption { padding: 9px 12px; color: #71847c; font-size: 10px; }
.download-section { margin-top: 40px; }
.download-section h3 { margin-bottom: 14px; font-size: 17px; }
.download-item { min-height: 64px; margin-top: 8px; padding: 10px 15px; display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: 12px; border: 1px solid #d4ded9; background: #fff; }
.download-item > span { width: 36px; height: 36px; display: grid; place-items: center; color: #2b664f; background: #e6f0eb; }
.download-item svg { width: 17px; }
.download-item b, .download-item small { display: block; }
.download-item b { font-size: 12px; }
.download-item small { margin-top: 3px; color: #81928b; font-size: 9px; }
.member-detail-head { min-height: 320px; padding: 50px; display: flex; align-items: center; gap: 35px; color: #fff; background: #0d271d; }
.member-avatar { width: 190px; height: 220px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: var(--acid); border: 1px solid #3d5d50; background: #16372b; font: 700 58px var(--display); }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-detail-head h2 { margin: 10px 0 6px; font-size: 46px; }
.member-detail-head h3 { margin: 0; color: #a3b6ae; font-size: 14px; font-weight: 500; }

/* Admin */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; color: #183028; background: #edf2ef; }
.admin-sidebar { height: 100vh; position: sticky; top: 0; padding: 25px 18px; display: flex; flex-direction: column; color: #c9d5d0; background: #081812; }
.admin-sidebar .brand { padding: 0 8px 26px; }
.admin-sidebar nav { margin-top: 35px; display: grid; gap: 7px; }
.admin-sidebar nav button { height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 12px; color: #7f958b; text-align: left; border: 0; border-left: 2px solid transparent; background: transparent; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { color: #fff; border-color: var(--acid); background: #142a21; }
.admin-sidebar nav svg { width: 18px; }
.admin-user { margin-top: auto; padding: 14px 8px 0; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 10px; border-top: 1px solid #294037; }
.admin-user > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: var(--acid); font-weight: 800; }
.admin-user b, .admin-user small { display: block; }
.admin-user b { color: #e8efec; font-size: 13px; }
.admin-user small { color: #647a70; font-size: 9px; }
.admin-user .icon-btn { width: 35px; height: 35px; color: #748a80; border: 0; }
.admin-main { min-width: 0; }
.admin-header { height: 86px; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #d9e2dd; }
.admin-header > div { display: flex; align-items: center; gap: 15px; }
.admin-header small { color: #83968e; font-size: 10px; }
.admin-header h1 { margin: 3px 0 0; font-size: 22px; }
#adminMenu { display: none; color: #345046; }
.admin-content { padding: 30px 35px 50px; }
.admin-welcome { min-height: 190px; padding: 36px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #0d291f; overflow: hidden; position: relative; }
.admin-welcome::after { content: ""; width: 320px; height: 320px; position: absolute; right: -50px; border-radius: 50%; border: 60px solid rgba(184,242,56,.06); }
.admin-welcome h2 { margin: 8px 0; font-size: 29px; }
.admin-welcome p { margin: 0; color: #829d92; font-size: 13px; }
.welcome-icon { margin-right: 7vw; color: var(--acid); }
.welcome-icon svg { width: 80px; height: 80px; stroke-width: 1; }
.stat-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.stat-card { padding: 23px; background: #fff; border: 1px solid #dbe4df; }
.stat-top { display: flex; justify-content: space-between; align-items: center; color: #769087; }
.stat-top span { width: 36px; height: 36px; display: grid; place-items: center; color: #315f4e; background: #e7f0eb; }
.stat-top svg { width: 18px; }
.stat-card strong { display: block; margin-top: 20px; color: #122a21; font: 700 34px var(--display); }
.stat-card small { color: #82958d; }
.admin-section { margin-top: 25px; padding: 25px; background: #fff; border: 1px solid #dbe4df; }
.admin-section-head, .manage-head { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-section-head h3, .manage-head h2 { margin: 0; }
.admin-section-head h3 { font-size: 17px; }
.manage-head h2 { font-size: 24px; }
.manage-head p { margin: 5px 0 0; color: #83958e; font-size: 12px; }
.activity-list { display: grid; }
.activity-item { padding: 14px 0; display: flex; align-items: center; gap: 13px; border-top: 1px solid #ecf0ee; }
.activity-item span { width: 35px; height: 35px; display: grid; place-items: center; color: #37715d; background: #e7f1ec; }
.activity-item svg { width: 16px; }
.activity-item p { margin: 0; font-size: 13px; }
.activity-item small { color: #94a39d; font-size: 10px; }
.search-box { width: min(300px,100%); height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 8px; border: 1px solid #d4dfda; background: #fff; }
.search-box svg { width: 17px; color: #91a099; }
.search-box input { min-width: 0; border: 0; outline: 0; background: transparent; }
.manage-toolbar { margin-bottom: 18px; display: flex; justify-content: space-between; gap: 15px; }
.content-tree { display: grid; gap: 12px; }
.tree-node { background: #fff; border: 1px solid #d7e1dc; }
.tree-node > header { min-height: 76px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tree-toggle { min-width: 0; padding: 0; display: flex; align-items: center; gap: 12px; color: #183128; text-align: left; border: 0; background: transparent; }
.tree-toggle > svg { width: 17px; color: #779087; transition: transform .2s; }
.tree-toggle.collapsed > svg { transform: rotate(-90deg); }
.tree-toggle b, .tree-toggle small { display: block; }
.tree-toggle b { font-size: 14px; }
.tree-toggle small { margin-top: 4px; color: #85978f; font-size: 10px; }
.tree-children { padding: 0 16px 12px 58px; background: #f7f9f8; border-top: 1px solid #e1e8e4; }
.tree-children.collapsed { display: none; }
.tree-child { min-height: 70px; position: relative; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #e2e8e5; }
.tree-child:last-child { border: 0; }
.tree-line { width: 24px; height: 35px; position: absolute; left: -35px; top: 0; border-left: 1px solid #b8c8c0; border-bottom: 1px solid #b8c8c0; }
.tree-child b, .tree-child small, .tree-child em { display: block; }
.tree-child b { font-size: 12px; }
.tree-child small { max-width: 620px; margin-top: 3px; overflow: hidden; color: #81928b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.tree-child em { margin-top: 4px; color: #729185; font-size: 9px; font-style: normal; }
.tree-empty { padding: 25px; color: #82948c; text-align: center; font-size: 11px; }
.tree-empty button { margin-left: 6px; color: #245c47; border: 0; background: transparent; font-weight: 700; }
.team-intro-admin { margin-bottom: 25px; padding: 25px; display: flex; justify-content: space-between; gap: 25px; color: #e9f2ee; background: #102d22; }
.team-intro-admin h3 { margin: 8px 0; font-size: 22px; }
.team-intro-admin p:not(.eyebrow) { max-width: 740px; margin: 0; color: #8fa49b; font-size: 12px; line-height: 1.8; }
.team-intro-admin > span { align-self: flex-start; padding: 7px 10px; color: #badbcd; border: 1px solid #3b5b4e; font-size: 10px; white-space: nowrap; }
.team-toolbar { margin-top: 10px; align-items: center; }
.team-toolbar h3 { margin: 0; font-size: 17px; }
.team-toolbar h3 small { color: #83968e; font-size: 10px; }
.member-admin-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.member-admin-card { min-width: 0; padding: 16px; display: grid; grid-template-columns: 80px 1fr auto; gap: 15px; align-items: center; background: #fff; border: 1px solid #d8e2dd; }
.member-thumb { width: 80px; height: 94px; display: grid; place-items: center; overflow: hidden; color: #37705b; background: #e3eee9; font: 700 25px var(--display); }
.member-thumb img { width: 100%; height: 100%; object-fit: cover; }
.member-admin-card small, .member-admin-card em { display: block; color: #789087; font-size: 9px; font-style: normal; }
.member-admin-card h3 { margin: 5px 0; font-size: 17px; }
.member-admin-card p { margin: 0 0 6px; color: #60766d; font-size: 11px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid #dbe3df; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.admin-table th { padding: 13px 16px; color: #758980; text-align: left; background: #f4f7f5; font-size: 10px; font-weight: 600; }
.admin-table td { padding: 14px 16px; border-top: 1px solid #e7ece9; font-size: 12px; }
.admin-table td.main-cell { min-width: 260px; white-space: normal; }
.admin-table td.main-cell b { display: block; color: #173128; font-size: 13px; }
.admin-table td.main-cell small { color: #8b9c95; }
.table-icon { width: 35px; height: 35px; display: grid; place-items: center; color: #346b58; background: #e5f0eb; }
.table-icon svg { width: 17px; }
.row-title { display: flex; align-items: center; gap: 12px; }
.tag { padding: 5px 8px; display: inline-block; color: #3d6658; background: #eaf2ee; font-size: 10px; }
.action-buttons { display: flex; gap: 6px; }
.action-buttons button { width: 34px; height: 34px; display: grid; place-items: center; color: #5b7168; border: 1px solid #d7e0dc; background: #fff; }
.action-buttons button:hover { color: #174c3a; border-color: #83a497; }
.action-buttons button.danger:hover { color: var(--danger); border-color: #eab0ac; }
.action-buttons svg { width: 15px; }
.empty-state { padding: 70px 20px; text-align: center; color: #81958c; border: 1px dashed #bdcbc5; background: #fff; }
.empty-state svg { width: 45px; height: 45px; stroke-width: 1; }
.editor-panel { width: min(780px,calc(100vw - 24px)); max-height: 92vh; position: relative; z-index: 1; display: flex; flex-direction: column; background: #f5f7f6; box-shadow: var(--shadow); }
.editor-panel > header { padding: 23px 26px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #0c251c; }
.editor-panel > header small { color: var(--acid); font: 600 9px var(--display); letter-spacing: 1.5px; }
.editor-panel > header h2 { margin: 5px 0 0; font-size: 21px; }
.editor-panel > header .icon-btn { color: #94aaa1; border-color: #40574d; }
.editor-fields { padding: 25px 26px; overflow-y: auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; }
.field { display: block; color: #5f746b; font-size: 11px; }
.field.full { grid-column: 1/-1; }
.field > span { display: block; margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 12px; color: #173128; outline: 0; border: 1px solid #ccd8d2; background: #fff; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #4d8c75; }
.image-upload { min-height: 120px; position: relative; display: grid; place-items: center; overflow: hidden; color: #758a81; text-align: center; border: 1px dashed #9cafA6; background: #edf2ef; }
.image-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-upload svg { width: 27px; margin-bottom: 4px; }
.image-upload small { display: block; font-size: 9px; }
.image-preview { width: 100%; height: 170px; object-fit: cover; display: none; }
.image-preview.visible { display: block; }
.remove-single-image { margin-top: 7px; padding: 6px 0; display: none; align-items: center; gap: 6px; color: #a14d47; border: 0; background: transparent; font-size: 10px; }
.remove-single-image.visible { display: inline-flex; }
.remove-single-image svg { width: 14px; }
.asset-field { padding-top: 4px; }
.asset-grid { margin-bottom: 9px; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.asset-preview { aspect-ratio: 4/3; position: relative; margin: 0; overflow: hidden; background: #dfe8e3; }
.asset-preview img { width: 100%; height: 100%; object-fit: cover; }
.asset-preview button { width: 28px; height: 28px; position: absolute; top: 5px; right: 5px; display: grid; place-items: center; color: #fff; border: 0; background: rgba(5,20,14,.78); }
.asset-preview button svg { width: 14px; }
.asset-upload { min-height: 82px; position: relative; display: grid; place-items: center; align-content: center; color: #597268; text-align: center; border: 1px dashed #9aafa6; background: #eaf0ed; }
.asset-upload > svg { width: 22px; margin-bottom: 3px; }
.asset-upload span, .asset-upload small { display: block; }
.asset-upload span { font-weight: 700; }
.asset-upload small { margin-top: 3px; color: #899a93; font-size: 9px; }
.asset-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.attachment-editor-list { margin-bottom: 8px; display: grid; gap: 6px; }
.attachment-edit { min-height: 58px; padding: 8px 10px; display: grid; grid-template-columns: 34px 1fr 32px; align-items: center; gap: 10px; border: 1px solid #d5dfda; background: #fff; }
.attachment-edit > span { width: 32px; height: 32px; display: grid; place-items: center; color: #36705b; background: #e4eee9; }
.attachment-edit svg { width: 15px; }
.attachment-edit b { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-edit input { margin-top: 4px; padding: 5px 7px; font-size: 10px; }
.attachment-edit > button { width: 30px; height: 30px; display: grid; place-items: center; color: #b4544d; border: 1px solid #e6cbc8; background: #fff; }
.editor-panel > footer { padding: 16px 26px; display: flex; justify-content: flex-end; gap: 10px; background: #fff; border-top: 1px solid #d9e2dd; }
.toast { min-width: 240px; position: fixed; z-index: 500; left: 50%; bottom: 28px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; color: #eaf4f0; background: #0e2b21; border: 1px solid #3f6657; box-shadow: var(--shadow); transform: translate(-50%,80px); opacity: 0; transition: .3s; }
.toast.show { transform: translate(-50%,0); opacity: 1; }
.toast svg { width: 18px; color: var(--acid); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .scroll-indicator { display: none; }
  .portal-content { padding-left: 5vw; }
  .manifesto { grid-template-columns: 80px 1fr; }
  .manifesto-copy { grid-column: 2; }
  .module-row { grid-template-columns: 55px 1fr 1fr 46px; }
  .hero-metrics { grid-template-columns: repeat(3,125px); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .person-card.waiting { grid-column: 1/-1; min-height: 260px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .strength-layout { grid-template-columns: 1fr; }
  .member-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .portal-top { padding: 20px; }
  .portal-top .status, .portal-foot { display: none; }
  .portal-content { width: auto; margin-top: 70px; padding: 30px 20px; }
  .portal h1 { font-size: clamp(50px,16vw,72px); }
  .portal-lead { font-size: 13px; }
  .portal-actions { grid-template-columns: 1fr; }
  .entry-card { height: 96px; }
  .login-panel { padding: 35px 24px 28px; }
  .site-header { height: 66px; padding: 0 18px; }
  .site-header nav { height: auto; position: absolute; top: 66px; left: 0; right: 0; padding: 10px; display: none; background: #0a1c15; }
  .site-header nav.open { display: grid; }
  .site-header nav a { min-height: 45px; }
  .mobile-menu { display: grid; }
  .site-header .brand b { font-size: 14px; }
  .site-header .brand-mark { width: 36px; height: 36px; }
  .header-tools { margin-left: auto; }
  .home-hero { min-height: 700px; }
  .hero-content { left: 20px; top: 43%; }
  .home-hero h2 { font-size: clamp(49px,15vw,70px); }
  .hero-content > p:not(.eyebrow) { font-size: 14px; }
  .hero-metrics { left: 20px; right: 20px; grid-template-columns: repeat(3,1fr); }
  .hero-metrics div { padding: 16px 10px; }
  .hero-metrics strong { font-size: 25px; }
  .hero-metrics span { white-space: normal; }
  .section-pad { padding: 75px 20px; }
  .manifesto { grid-template-columns: 1fr; gap: 10px; }
  .manifesto-copy { grid-column: 1; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 35px; }
  .module-row { padding: 24px 0; grid-template-columns: 38px 1fr 42px; gap: 10px; }
  .module-row:hover { padding: 24px 10px; }
  .module-title h3 { font-size: 17px; }
  .module-tags { grid-column: 2/4; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-image { min-height: 400px; }
  .feature-copy { padding: 75px 20px; }
  .strength-gallery { min-height: 420px; }
  .team-grid { grid-template-columns: 1fr; }
  .person-card, .person-card.waiting { min-height: 360px; grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main h2 { margin: 35px 0; }
  .footer-bottom { gap: 15px; align-items: flex-start; flex-direction: column; }
  .detail-hero { min-height: 230px; padding: 25px; }
  .detail-body { padding: 25px; }
  .detail-items { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; }
  .member-detail-head { padding: 35px 24px; align-items: flex-start; flex-direction: column; }
  .member-avatar { width: 145px; height: 170px; }
  .member-detail-head h2 { font-size: 36px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { width: 245px; position: fixed; z-index: 80; left: -255px; transition: .3s; box-shadow: var(--shadow); }
  .admin-sidebar.open { left: 0; }
  .admin-header { height: 76px; padding: 0 16px; }
  #adminMenu { display: grid; }
  .admin-header .secondary-btn { padding: 0 12px; font-size: 0; }
  .admin-header .secondary-btn svg { margin: 0; }
  .admin-content { padding: 20px 14px 40px; }
  .admin-welcome { padding: 25px; }
  .welcome-icon { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 17px; }
  .manage-toolbar { flex-direction: column; }
  .search-box { width: 100%; }
  .tree-node > header { align-items: flex-start; }
  .tree-children { padding-left: 40px; }
  .tree-child { grid-template-columns: 32px 1fr; padding: 12px 0; }
  .tree-child > .action-buttons { grid-column: 2; }
  .tree-line { left: -25px; }
  .team-intro-admin { flex-direction: column; }
  .member-admin-card { grid-template-columns: 65px 1fr; }
  .member-thumb { width: 65px; height: 80px; }
  .member-admin-card > .action-buttons { grid-column: 2; }
  .editor-fields { grid-template-columns: 1fr; padding: 20px; }
  .field.full { grid-column: auto; }
  .asset-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 430px) {
  .stat-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .entry-copy em { max-width: 185px; }
}
