@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@500;600;700;800&family=Cairo:wght@400;500;600;700&display=swap");

:root {
  --primary: #1d96a6;
  --primary-strong: #0a6e86;
  --navy: #176475;
  --navy-deep: #0d4f60;
  --gold: #c49a3a;
  --gold-deep: #987326;
  --gold-soft: #f8f1df;
  --ink: #173b43;
  --teal: var(--primary);
  --teal-dark: var(--primary-strong);
  --teal-soft: #e2f3f5;
  --mist: #f3f8f8;
  --canvas: #fbfdfc;
  --line: #d7e7e9;
  --muted: #53676b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(10, 110, 134, .1);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { color: var(--white); background: var(--primary-strong); }
body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,253,252,.94);
  border-bottom: 1px solid rgba(219,227,232,.8);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: block; width: 152px; min-width: 152px; height: 44px; overflow: hidden; }
.brand-logo-crop { display: block; width: 100%; height: 100%; overflow: hidden; }
.brand-logo-crop img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.45); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 9px 12px; color: #3e5c60; font-size: .86rem; font-weight: 500; border-radius: 10px; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-deep); background: var(--gold-soft); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 7px; padding: 9px 12px; color: #3e5c60; font-size: .86rem; font-weight: 500; border-radius: 10px; cursor: pointer; list-style: none; transition: .2s ease; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; color: var(--gold-deep); font-size: .78rem; transition: transform .2s ease; }
.nav-dropdown[open] summary::after { transform: rotate(180deg); }
.nav-dropdown summary:hover, .nav-dropdown summary.active, .nav-dropdown[open] summary { color: var(--gold-deep); background: var(--gold-soft); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 9px); right: 0; z-index: 30; display: grid; min-width: 230px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.nav-dropdown-menu a { padding: 11px 13px; white-space: nowrap; }
.nav-cta { background: var(--primary-strong) !important; color: var(--white) !important; padding-inline: 18px !important; }
.menu-toggle { display: none; border: 0; background: var(--mist); color: var(--navy); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 54px;
  border-bottom: 1px solid rgba(29,150,166,.12);
  background-color: #fbfdfc;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .92;
  background: url("assets/hero-background.webp") center / cover no-repeat;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; }
.hero-grid > div { width: min(100%, 920px); margin-inline: auto; padding: 30px 36px; border: 1px solid rgba(196,154,58,.34); border-right: 3px solid var(--gold); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 16px 42px rgba(13,79,96,.08); backdrop-filter: blur(8px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-family: "Alexandria", "Cairo", sans-serif; font-size: .77rem; font-weight: 600; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1, h2, h3 { color: var(--navy-deep); font-family: "Alexandria", "Cairo", sans-serif; letter-spacing: 0; line-height: 1.42; margin-top: 0; }
h1 { font-size: clamp(1.85rem, 2.55vw, 2.65rem); font-weight: 700; line-height: 1.5; margin-bottom: 18px; max-width: 680px; }
.hero h1 { max-width: 840px; font-size: clamp(1.8rem, 2.1vw, 2.25rem); line-height: 1.45; margin-bottom: 15px; }
h2 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 9px; }
.lead { color: #50676a; font-size: clamp(.96rem, 1.05vw, 1.04rem); line-height: 1.9; max-width: 670px; margin: 0; }
.hero .lead { max-width: 840px; line-height: 1.8; }
.hero .lead + .lead { margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(196,154,58,.26); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 22px; border-radius: 12px; font-family: "Alexandria", "Cairo", sans-serif; font-size: .92rem; font-weight: 600; transition: .2s ease; border: 1px solid transparent; }
.btn-primary { background: var(--primary-strong); color: var(--white); box-shadow: 0 14px 30px rgba(29,150,166,.22); }
.btn-primary:hover { background: #075f70; transform: translateY(-2px); }
.btn-secondary { border-color: var(--gold); color: var(--gold-deep); background: var(--white); }
.btn-secondary:hover { background: var(--gold-soft); }
.btn-ghost { color: var(--navy); background: var(--mist); }
.btn-ghost:hover { background: var(--teal-soft); }

.section { padding: 72px 0; }
.section-compact { padding: 44px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--navy-deep); color: #e9ecf7; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark { border-top: 3px solid var(--gold); }
.section-dark .eyebrow { color: #e2c47c; }
.section-dark .eyebrow::before { background: var(--gold); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; max-width: 780px; margin-bottom: 42px; }
.section-head p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1rem; }
.section-dark .section-head p { color: #c5cadb; }
.capability-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.capability { grid-column: span 4; min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .25s ease; }
.capability:nth-child(4), .capability:nth-child(5) { grid-column: span 6; }
.capability-grid-4 .capability { grid-column: span 3; min-height: 225px; }
.capability-grid-3 .capability { grid-column: span 4; min-height: 220px; }
.capability:hover { transform: translateY(-5px); border-color: rgba(196,154,58,.62); box-shadow: var(--shadow); }
.capability-index { color: var(--gold-deep); font-weight: 700; font-size: .8rem; margin-bottom: 38px; }
.capability p { margin: 0; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.process-4 { grid-template-columns: repeat(4, 1fr); }
.process-step { padding: 30px 20px 12px; border-left: 1px solid rgba(255,255,255,.13); }
.process-step:last-child { border-left: 0; }
.process-num { color: #e2c47c; font-weight: 700; font-size: .8rem; }
.process-step h3 { margin-top: 28px; }
.process-step p { color: #bfc5d8; font-size: .92rem; margin: 0; }

.domains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 58px; }
.domain { padding: 27px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px 1fr; gap: 15px; }
.domain b { color: var(--gold-deep); font-size: .78rem; }
.domain p { color: var(--muted); margin: 5px 0 0; }

.logic-panel { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 52px; box-shadow: var(--shadow); }
.logic-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 11px; margin-top: 34px; }
.logic-flow span { padding: 12px 18px; border: 1px solid rgba(196,154,58,.3); border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-weight: 700; }
.logic-flow i { color: var(--gold-deep); font-style: normal; }

.ventures-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.venture { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; min-height: 166px; padding: 30px 28px 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgba(21,59,64,.035); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.venture::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold); transform: scaleX(.28); transform-origin: right; transition: transform .24s ease; }
.venture:hover { transform: translateY(-5px); border-color: rgba(196,154,58,.58); box-shadow: 0 20px 48px rgba(10,110,134,.1); }
.venture:hover::before { transform: scaleX(1); }
.venture strong { color: var(--navy-deep); font-family: "Alexandria", "Cairo", sans-serif; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 600; }
.venture span { color: #587074; font-size: .92rem; font-weight: 500; }
.ip-note { margin-top: 36px; padding: 24px 26px; background: var(--gold-soft); border-right: 4px solid var(--gold); border-radius: 14px; color: #555c74; font-size: .93rem; }

.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 44px 50px; border: 1px solid rgba(196,154,58,.75); border-radius: 30px; background: var(--primary); color: #0b1730; box-shadow: inset 0 4px 0 rgba(196,154,58,.95); }
.cta-band h2 { color: var(--white); margin-bottom: 9px; font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.cta-band p { margin: 0; color: #0b1730; }
.cta-band .btn { background: var(--gold-soft); color: var(--gold-deep); border-color: var(--gold); }

.page-hero { padding: 54px 0 46px; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.75rem, 2.45vw, 2.55rem); }
.page-hero .lead { max-width: 850px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.content-grid-3 { grid-template-columns: repeat(3, 1fr); }
.content-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.content-card p { color: var(--muted); margin-bottom: 0; }
.card-kicker { display: block; margin-bottom: 26px; color: var(--gold-deep); font-size: .8rem; font-weight: 700; }
.identity-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.identity-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; }
.identity-grid > div { display: grid; gap: 3px; padding: 22px 28px; border-left: 1px solid var(--line); }
.identity-grid > div:last-child { border-left: 0; }
.identity-grid span, .institution-card span { color: var(--muted); font-size: .78rem; }
.identity-grid strong, .institution-card strong, .institution-card a { color: var(--navy-deep); font-size: .92rem; }
.about-intro, .values-layout, .criteria-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 68px; align-items: start; }
.about-intro p:not(.lead) { color: var(--muted); }
.institution-card { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 20px; background: var(--white); }
.institution-card > div { display: grid; gap: 5px; padding: 24px; border-left: 1px solid var(--line); }
.institution-card > div:last-child { border-left: 0; }
.scope-panel { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 42px 46px; border: 1px solid rgba(196,154,58,.85); border-radius: 30px; background: var(--primary); color: #0b1730; box-shadow: inset 0 4px 0 rgba(196,154,58,.95); }
.scope-panel h2 { margin-bottom: 10px; color: var(--white); }
.scope-panel .lead { max-width: 820px; }
.scope-panel .btn { background: var(--gold-soft); color: var(--gold-deep); border-color: var(--gold); }
.scope-note { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 24px 28px; border: 1px solid rgba(196,154,58,.5); border-right: 4px solid var(--gold); border-radius: 15px; background: var(--gold-soft); }
.scope-note strong { color: var(--navy-deep); }
.scope-panel .eyebrow { color: var(--white); }
.scope-note p { margin: 0; color: #4f6266; }
.criteria-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.criteria-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.criteria-list strong { color: var(--navy-deep); }
.sector-service-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; padding: 36px 40px; border: 1px solid rgba(196,154,58,.5); border-right: 4px solid var(--gold); border-radius: 20px; background: var(--white); box-shadow: 0 14px 38px rgba(13,79,96,.06); }
.sector-service-panel + .sector-service-panel { margin-top: 22px; }
.sector-service-panel h3 { font-size: 1.35rem; margin-bottom: 10px; }
.sector-service-panel p { margin: 0; color: var(--muted); }
.sector-service-panel ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sector-service-panel li { position: relative; padding: 13px 22px 13px 0; border-bottom: 1px solid var(--line); color: var(--navy-deep); font-weight: 600; }
.sector-service-panel li::before { content: ""; position: absolute; right: 0; top: 23px; width: 8px; height: 2px; background: var(--gold); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-grid-featured { grid-template-columns: repeat(4, 1fr); }
.project-card { position: relative; min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgba(21,59,64,.035); }
.project-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 20px 20px 0 0; background: var(--gold); }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 34px; color: var(--muted); font-size: .75rem; }
.status { padding: 4px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; }
.status-live { background: var(--teal-soft); color: var(--navy-deep); }
.project-card h3 { font-size: 1.35rem; margin-bottom: 11px; }
.project-card p { color: var(--muted); margin: 0; line-height: 1.8; }
.project-link { display: inline-flex; margin-top: 20px; color: var(--gold-deep); font-weight: 700; font-size: .88rem; border-bottom: 1px solid var(--gold); }
.section-actions { margin-top: 28px; }
.concept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.concept-card { padding: 24px; border: 1px dashed #c8dadd; border-radius: 17px; background: rgba(255,255,255,.72); }
.concept-card > span { color: var(--gold-deep); font-size: .75rem; font-weight: 700; }
.concept-card h3 { margin: 18px 0 8px; }
.concept-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.manifesto { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.manifesto-lines { border-top: 1px solid var(--line); }
.manifesto-lines p { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.15rem; font-weight: 700; }
.contact-panel { display: grid; grid-template-columns: .72fr 1.28fr; gap: 26px; align-items: start; }
.contact-card { padding: 42px; border-radius: 26px; background: var(--navy-deep); color: var(--white); }
.contact-card h2 { color: var(--white); }
.contact-card > p { color: #c9d8da; margin: 0; }
.contact-card a { color: #9bdee3; }
.contact-links { display: grid; gap: 12px; margin-top: 28px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-link span { color: #bdc9d8; font-size: .88rem; }
.contact-link strong { color: var(--white); font-weight: 600; }
.contact-link:hover strong { color: #9bdee3; }
.contact-note { margin-top: 30px !important; padding-top: 24px; border-top: 1px solid rgba(196,154,58,.4); font-size: .92rem; line-height: 1.9; }
.contact-form-card { padding: 38px; border-top: 4px solid var(--gold); box-shadow: 0 18px 50px rgba(13,79,96,.07); }
.form-heading { margin-bottom: 30px; }
.form-heading .eyebrow { margin-bottom: 8px; }
.form-heading h2 { margin-bottom: 8px; }
.form-heading p { margin: 0; }
.contact-form { display: grid; gap: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--navy-deep); font-weight: 700; font-size: .92rem; }
.field label > span { color: var(--gold-deep); }
.field label small { color: var(--muted); font-weight: 500; margin-right: 5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; color: var(--ink); background: #fcfefe; border: 1px solid #cbdfe1; border-radius: 11px; outline: 0; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.field select { appearance: auto; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--primary-strong); box-shadow: 0 0 0 3px rgba(29,150,166,.13); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b84646; box-shadow: 0 0 0 3px rgba(184,70,70,.09); }
.verification-row { display: grid; grid-template-columns: 118px auto minmax(160px, 1fr); gap: 10px; align-items: center; }
.verification-code { display: grid; place-items: center; min-height: 50px; border: 1px dashed var(--gold-deep); border-radius: 11px; background: var(--gold-soft); color: var(--navy-deep); font-family: "Alexandria", monospace; font-size: 1.08rem; font-weight: 800; letter-spacing: .24em; direction: ltr; user-select: none; }
.refresh-code { min-height: 48px; padding: 8px 14px; border: 1px solid var(--gold); border-radius: 11px; background: var(--white); color: var(--gold-deep); font-weight: 700; cursor: pointer; }
.refresh-code:hover { background: var(--gold-soft); }
.field > small { color: var(--muted); font-size: .82rem; }
.form-actions { display: flex; align-items: center; gap: 18px; }
.submit-btn { min-width: 150px; cursor: pointer; }
.submit-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.form-privacy { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.form-privacy a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; padding: 13px 15px; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.form-status.visible { display: block; }
.form-status.success { color: #165f45; background: #e5f6ef; border: 1px solid #b8e5d3; }
.form-status.error { color: #8a3030; background: #fff0f0; border: 1px solid #efc3c3; }
.contact-notice { padding: 18px 20px; font-size: .86rem; }
.notice { padding: 28px; border-radius: 18px; background: var(--teal-soft); color: var(--navy); }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.6rem; margin-top: 44px; }
.legal p, .legal li { color: #51586e; }

.site-footer { background: #10383d; color: #c9d8da; padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .55fr .8fr .8fr; gap: 40px; }
.footer-brand h3 { color: var(--white); font-size: 1.5rem; }
.footer-brand p { max-width: 430px; color: #aeb5cc; }
.footer-qr { display: flex; align-items: flex-start; justify-content: center; }
.footer-qr img { display: block; width: min(100%, 148px); height: auto; padding: 7px; border-radius: 8px; background: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--white); font-family: Arial, sans-serif; font-size: .9rem; font-weight: 700; }
.social-icon svg { width: 17px; height: 17px; fill: currentColor; }
.social-icon:not(.pending):hover { color: #f0d797; border-color: var(--gold); background: rgba(196,154,58,.12); transform: translateY(-2px); }
.social-icon.pending { opacity: .48; cursor: not-allowed; }
.footer-col h3 { color: var(--white); font-size: .95rem; }
.footer-col a { display: block; padding: 4px 0; color: #bec4d5; font-size: .9rem; }
.footer-col a:hover { color: #e2c47c; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 34px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #949db7; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { display: none; position: absolute; top: 76px; right: 20px; left: 20px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 12px 14px; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown summary { padding: 12px 14px; justify-content: space-between; }
  .nav-dropdown-menu { position: static; min-width: 0; margin: 4px 10px 6px; padding: 6px; border-radius: 12px; box-shadow: none; background: var(--mist); }
  .nav-dropdown-menu a { padding: 10px 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .section-head, .manifesto, .contact-panel { grid-template-columns: 1fr; gap: 24px; }
  .about-intro, .values-layout, .criteria-layout { grid-template-columns: 1fr; gap: 28px; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-grid > div { border-left: 0; border-bottom: 1px solid var(--line); }
  .identity-grid > div:last-child { border-bottom: 0; }
  .institution-card { grid-template-columns: 1fr 1fr; }
  .institution-card > div:nth-child(2) { border-left: 0; }
  .institution-card > div { border-bottom: 1px solid var(--line); }
  .institution-card > div:nth-child(n+3) { border-bottom: 0; }
  .scope-panel { grid-template-columns: 1fr; gap: 24px; }
  .sector-service-panel { grid-template-columns: 1fr; gap: 26px; }
  .capability { grid-column: span 6; }
  .capability:nth-child(5) { grid-column: span 12; }
  .capability-grid-4 .capability, .capability-grid-3 .capability { grid-column: span 6; }
  .ventures-list { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .project-grid-featured, .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { border-bottom: 1px solid rgba(255,255,255,.13); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-qr { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 72px; }
  .brand { width: 128px; min-width: 128px; height: 40px; }
  h1, .page-hero h1 { font-size: clamp(1.55rem, 6.4vw, 1.82rem); line-height: 1.55; max-width: 19ch; margin-bottom: 16px; }
  h2 { font-size: clamp(1.4rem, 5.8vw, 1.75rem); }
  .hero { padding: 54px 0 62px; }
  .hero-grid > div { width: 100%; padding: 24px 20px; border-right-width: 3px; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 16px 38px rgba(13,79,96,.09); }
  .hero .eyebrow { margin-bottom: 13px; }
  .hero .lead { font-size: .94rem; line-height: 1.85; }
  .hero .lead + .lead { margin-top: 13px; padding-top: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
  .hero-actions .btn { width: 100%; min-height: 46px; }
  .hero::before { opacity: .68; background-position: center; }
  .section { padding: 56px 0; }
  .section-compact { padding: 34px 0; }
  .page-hero { padding: 42px 0 36px; }
  .capability, .capability:nth-child(4), .capability:nth-child(5) { grid-column: span 12; min-height: auto; }
  .capability-grid-4 .capability, .capability-grid-3 .capability { grid-column: span 12; min-height: auto; }
  .capability-index { margin-bottom: 24px; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-left: 0; }
  .domains, .content-grid { grid-template-columns: 1fr; }
  .logic-panel { padding: 28px 20px; }
  .logic-flow i { display: none; }
  .logic-flow span { width: 100%; text-align: center; }
  .ventures-list { grid-template-columns: 1fr; }
  .project-grid, .project-grid-featured, .concept-grid { grid-template-columns: 1fr; }
  .project-card { min-height: auto; }
  .scope-panel { padding: 28px 22px; border-radius: 19px; }
  .scope-note { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .sector-service-panel { padding: 26px 22px; border-radius: 17px; }
  .institution-card { grid-template-columns: 1fr; }
  .institution-card > div { border-left: 0; border-bottom: 1px solid var(--line) !important; }
  .institution-card > div:last-child { border-bottom: 0 !important; }
  .venture { min-height: 140px; }
  .contact-link { align-items: flex-start; flex-direction: column; gap: 3px; }
  .contact-form-card, .contact-card { padding: 26px 20px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; }
  .field-wide { grid-column: auto; }
  .verification-row { grid-template-columns: 1fr auto; }
  .verification-row input { grid-column: 1 / -1; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .submit-btn { width: 100%; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-qr { justify-content: flex-start; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
