:root {
  --navy: #183c60;
  --navy-900: #071626;
  --navy-800: #0b243b;
  --navy-700: #123454;
  --orange: #f09c30;
  --orange-deep: #e48424;
  --gold: #d9a441;
  --paper: #f8fafc;
  --white: #ffffff;
  --ink: #142235;
  --muted: #64748b;
  --line: rgba(20, 34, 53, 0.12);
  --shadow: 0 24px 70px rgba(7, 22, 38, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Cairo, Tajawal, "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 46px);
  color: var(--white);
  background: rgba(7, 22, 38, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.brand-lockup strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-lockup span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.4;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-button,
.ghost-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pill-button {
  padding: 0 18px;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 12px 28px rgba(240, 156, 48, 0.22);
  font-weight: 800;
}

.ghost-button {
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.icon-button {
  width: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill-button:hover,
.ghost-button:hover,
.icon-button:hover,
.gallery-card:hover,
.sector-card:hover {
  transform: translateY(-2px);
}

.page {
  background: var(--paper);
}

.gallery-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 52px) 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 156, 48, 0.22), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(217, 164, 65, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy-900), var(--navy));
}

.gallery-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% -8%;
  height: 260px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.1) 12% 13%, transparent 13% 27%, rgba(255, 255, 255, 0.08) 27% 28%, transparent 28%),
    linear-gradient(135deg, rgba(240, 156, 48, 0.22), rgba(24, 60, 96, 0));
  transform: rotate(-3deg);
  opacity: 0.8;
}

.gallery-hero-inner,
.gallery-grid,
.gallery-note {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.gallery-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 380px);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.gallery-hero h1,
.design-hero h1,
.sector-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.1rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.gallery-hero p {
  max-width: 760px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
}

.hero-logo-stage {
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-logo-stage img {
  width: min(250px, 70vw);
  border-radius: 18px;
  background: var(--white);
}

.gallery-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 52px);
}

.gallery-tools h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 52px) 46px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
  border-color: rgba(240, 156, 48, 0.6);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--preview);
  opacity: 0.98;
}

.gallery-card > * {
  position: relative;
  z-index: 1;
}

.gallery-card .number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 22, 38, 0.72);
  font-weight: 900;
}

.gallery-card h3 {
  margin: 100px 0 8px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(7, 22, 38, 0.45);
}

.gallery-card p {
  margin: 0 0 18px;
  min-height: 52px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.gallery-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-card .tag {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
}

.open-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--gold);
}

.gallery-note {
  padding: 0 clamp(18px, 4vw, 52px) 52px;
  color: var(--muted);
  line-height: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: var(--header-text, var(--white));
  background: var(--header-bg, rgba(7, 22, 38, 0.86));
  border-bottom: 1px solid var(--header-line, rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(16px);
}

.site-header .brand-lockup img {
  width: 46px;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.9rem;
  opacity: 0.82;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.design-page {
  --bg: var(--paper);
  --text: var(--ink);
  --soft: rgba(24, 60, 96, 0.08);
  color: var(--text);
  background: var(--bg);
}

.design-main {
  overflow: hidden;
}

.design-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 52px);
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  color: var(--heading, var(--navy));
  font-size: clamp(1.65rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.design-hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 52px);
  color: var(--hero-text, var(--white));
  background: var(--hero-bg);
}

.design-hero::before,
.design-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.design-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.design-hero p {
  max-width: 720px;
  margin: 20px 0 28px;
  color: var(--hero-muted, rgba(255, 255, 255, 0.78));
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.9;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--outline-text, currentColor);
  border: 1px solid var(--outline-border, rgba(255, 255, 255, 0.28));
  border-radius: 999px;
  background: var(--outline-bg, rgba(255, 255, 255, 0.08));
  font-weight: 800;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  background: var(--visual-bg, rgba(255, 255, 255, 0.1));
  border: 1px solid var(--visual-line, rgba(255, 255, 255, 0.14));
  box-shadow: var(--shadow);
}

.visual-panel img {
  position: absolute;
  top: 50%;
  right: auto;
  left: 50%;
  width: min(220px, 60%);
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 22, 38, 0.18);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.about-copy {
  color: var(--text);
}

.about-copy h2 {
  margin: 0 0 18px;
  color: var(--heading, var(--navy));
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.13;
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.95;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.fact-tile {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--fact-bg, var(--white));
  border: 1px solid var(--line);
}

.fact-tile strong {
  display: block;
  color: var(--orange-deep);
  font-size: 1.35rem;
}

.fact-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-visual {
  min-height: 420px;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sector-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--card-text, var(--ink));
  background: var(--card-bg, var(--white));
  border: 1px solid var(--card-line, var(--line));
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.sector-card:hover {
  border-color: var(--gold);
}

.sector-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--icon-text, var(--navy));
  background: var(--icon-bg, rgba(240, 156, 48, 0.16));
  font-weight: 900;
}

.sector-card h3 {
  margin: 0;
  color: var(--card-heading, inherit);
  font-size: 1.12rem;
  line-height: 1.35;
}

.sector-card p {
  margin: 8px 0 0;
  color: var(--card-muted, var(--muted));
  line-height: 1.7;
  font-size: 0.92rem;
}

.sector-card .sector-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-deep);
  font-weight: 900;
}

.stats-band {
  color: var(--stats-text, var(--white));
  background: var(--stats-bg, linear-gradient(135deg, var(--navy-900), var(--navy)));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.matrix {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.matrix-map,
.matrix-list,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.matrix-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 60, 96, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 60, 96, 0.08) 1px, transparent 1px),
    var(--white);
  background-size: 42px 42px;
}

.matrix-node {
  position: absolute;
  width: 132px;
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 22, 38, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
}

.matrix-hub {
  position: absolute;
  top: 50%;
  right: auto;
  left: 50%;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--orange-deep));
  transform: translate(-50%, -50%);
  box-shadow: 0 22px 56px rgba(7, 22, 38, 0.22);
  text-align: center;
  font-weight: 900;
}

.matrix-list {
  padding: 20px;
}

.matrix-list h3 {
  margin: 0 0 14px;
  color: var(--navy);
}

.matrix-list ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.matrix-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(24, 60, 96, 0.06);
}

.matrix-list span {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-panel {
  padding: clamp(26px, 5vw, 44px);
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 156, 48, 0.22), transparent),
    var(--navy);
}

.contact-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.18;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
}

.contact-card {
  padding: clamp(20px, 4vw, 32px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  outline: none;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(240, 156, 48, 0.14);
}

.form-result {
  min-height: 24px;
  margin-top: 12px;
  color: var(--orange-deep);
  font-weight: 900;
}

.footer {
  padding: 44px clamp(18px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.75);
  background: var(--navy-900);
}

.footer-inner {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  margin: 0 auto;
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
  color: var(--white);
}

.footer p {
  margin: 0;
  line-height: 1.8;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.sector-page .design-main {
  background: var(--bg);
}

.sector-hero {
  position: relative;
  padding: clamp(70px, 10vw, 126px) clamp(18px, 4vw, 52px);
  color: var(--hero-text, var(--white));
  background: var(--hero-bg);
}

.sector-hero .section-inner {
  position: relative;
  z-index: 2;
}

.sector-hero p {
  max-width: 760px;
  color: var(--hero-muted, rgba(255, 255, 255, 0.78));
  line-height: 1.9;
  font-size: 1.1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.detail-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.detail-card h2,
.detail-card h3 {
  margin-top: 0;
  color: var(--navy);
}

.service-list,
.audience-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li,
.audience-list li {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(24, 60, 96, 0.06);
}

.related-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.related-row a {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
}

.empty-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.empty-state h1 {
  color: var(--navy);
}

/* 20 distinct visual directions */
.theme-cinematic {
  --hero-bg: linear-gradient(90deg, rgba(7, 22, 38, 0.96), rgba(7, 22, 38, 0.5)),
    radial-gradient(circle at 75% 32%, rgba(240, 156, 48, 0.34), transparent 22%),
    repeating-linear-gradient(90deg, #0b1524 0 80px, #111f33 80px 160px);
}
.theme-cinematic .design-hero::after {
  inset: 12% 6% 12% auto;
  width: 36%;
  border: 1px solid rgba(217, 164, 65, 0.46);
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 0 0) 50% 0 / 58% 100% no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 6px, transparent 6px 18px);
}

.theme-nexus {
  --hero-bg: conic-gradient(from 180deg at 70% 40%, rgba(217, 164, 65, 0.28), transparent, rgba(240, 156, 48, 0.2), transparent),
    linear-gradient(135deg, #061526, #183c60 58%, #0b243b);
}
.theme-nexus .design-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 44px;
  align-items: center;
}
.theme-nexus .design-hero .hero-content::after {
  content: "";
  min-height: 380px;
  border-radius: 50%;
  border: 32px solid rgba(240, 156, 48, 0.28);
  outline: 1px solid rgba(255, 255, 255, 0.16);
  outline-offset: 16px;
}

.theme-orbit {
  --hero-bg: radial-gradient(circle at center, #244d75 0 13%, #0a1b2d 14% 100%);
}
.theme-orbit .sectors-grid {
  border-radius: 50%;
  padding: 28px;
  background: radial-gradient(circle, rgba(240, 156, 48, 0.14), transparent 56%);
}
.theme-orbit .sector-card:nth-child(odd) {
  transform: translateY(18px);
}

.theme-editorial {
  --hero-bg: linear-gradient(90deg, #f8fafc 0 54%, #183c60 54% 100%);
  --hero-text: #183c60;
  --hero-muted: #64748b;
  --outline-border: rgba(24, 60, 96, 0.18);
  --outline-bg: #ffffff;
}
.theme-editorial .design-hero h1 {
  max-width: 780px;
}
.theme-editorial .design-hero::after {
  inset: 16% 6% 14% auto;
  width: 34%;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  clip-path: polygon(0 0, 100% 10%, 88% 100%, 12% 88%);
}

.theme-command {
  --bg: #081725;
  --text: #e5edf5;
  --heading: #ffffff;
  --hero-bg: linear-gradient(135deg, #06111e, #0f2d49);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-line: rgba(255, 255, 255, 0.12);
  --card-text: #e5edf5;
  --card-muted: rgba(229, 237, 245, 0.68);
}
.theme-command .design-section:not(.stats-band) {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.theme-command .sectors-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-industrial {
  --hero-bg: linear-gradient(135deg, rgba(24, 60, 96, 0.94), rgba(7, 22, 38, 0.9)),
    repeating-linear-gradient(45deg, rgba(240, 156, 48, 0.22) 0 12px, transparent 12px 28px);
}
.theme-industrial .sector-card {
  border-style: dashed;
}
.theme-industrial .about-visual {
  clip-path: polygon(0 8%, 100% 0, 92% 100%, 8% 92%);
}

.theme-academy {
  --hero-bg: linear-gradient(135deg, #ffffff 0 42%, #fff3df 42% 100%);
  --hero-text: #183c60;
  --hero-muted: #64748b;
  --outline-border: rgba(24, 60, 96, 0.16);
  --outline-bg: #ffffff;
}
.theme-academy .sector-card {
  border-top: 5px solid var(--orange);
}
.theme-academy .about-layout {
  grid-template-columns: 1fr;
}

.theme-security {
  --hero-bg: radial-gradient(circle at 78% 38%, rgba(240, 156, 48, 0.28), transparent 24%),
    linear-gradient(135deg, #03101d, #102f4d);
}
.theme-security .design-hero::after {
  inset: 18% 8% 16% auto;
  width: 320px;
  border-radius: 50% 50% 46% 46%;
  border: 2px solid rgba(217, 164, 65, 0.5);
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, 0.05), 0 0 0 28px rgba(240, 156, 48, 0.08);
}
.theme-security .sector-card {
  border-radius: 0;
}

.theme-energy {
  --hero-bg: linear-gradient(160deg, #073225, #183c60 55%, #f09c30 56% 100%);
}
.theme-energy .stats-band {
  --stats-bg: linear-gradient(135deg, #073225, #183c60);
}
.theme-energy .sector-icon {
  border-radius: 8px;
}

.theme-logistics {
  --hero-bg: linear-gradient(135deg, #eef6ff, #ffffff);
  --hero-text: #183c60;
  --hero-muted: #64748b;
  --outline-border: rgba(24, 60, 96, 0.18);
  --outline-bg: #ffffff;
}
.theme-logistics .design-hero::after {
  inset: 12% 0 auto auto;
  width: 52%;
  height: 62%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(24, 60, 96, 0.22) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(240, 156, 48, 0.2) 49% 51%, transparent 52%);
  background-size: 76px 76px;
}
.theme-logistics .sectors-grid {
  grid-template-columns: repeat(8, minmax(130px, 1fr));
  overflow-x: auto;
}

.theme-health {
  --hero-bg: linear-gradient(135deg, #f8fafc, #e8fff7);
  --hero-text: #183c60;
  --hero-muted: #64748b;
  --outline-border: rgba(24, 60, 96, 0.18);
  --outline-bg: #ffffff;
}
.theme-health .sector-card:nth-child(6),
.theme-health .sector-icon {
  background: rgba(28, 132, 100, 0.12);
}
.theme-health .about-visual {
  border-radius: 50%;
}

.theme-blueprint {
  --hero-bg: linear-gradient(135deg, #0c3359, #061526);
}
.theme-blueprint .design-hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #0c3359, #061526);
  background-size: 36px 36px;
}
.theme-blueprint .sector-card {
  clip-path: polygon(0 0, 92% 0, 100% 16%, 100% 100%, 0 100%);
}

.theme-trade {
  --hero-bg: conic-gradient(from 220deg at 68% 36%, #f09c30, #183c60, #071626, #d9a441, #183c60);
}
.theme-trade .sector-card {
  min-height: 210px;
}
.theme-trade .sectors-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-opinion {
  --hero-bg: linear-gradient(135deg, #fff7ed, #ffffff 50%, #e7eff8);
  --hero-text: #183c60;
  --hero-muted: #64748b;
  --outline-border: rgba(24, 60, 96, 0.18);
  --outline-bg: #ffffff;
}
.theme-opinion .design-hero::after {
  inset: 18% 8% 18% auto;
  width: 36%;
  background:
    linear-gradient(0deg, rgba(24, 60, 96, 0.16) 0 18%, transparent 18% 100%),
    linear-gradient(90deg, var(--orange) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, rgba(217, 164, 65, 0.28), transparent);
  background-size: 100% 72px;
}

.theme-minimal {
  --hero-bg: #ffffff;
  --hero-text: #183c60;
  --hero-muted: #64748b;
  --outline-border: rgba(24, 60, 96, 0.18);
  --outline-bg: #ffffff;
}
.theme-minimal .design-hero {
  min-height: 620px;
  border-bottom: 1px solid var(--line);
}
.theme-minimal .sector-card,
.theme-minimal .detail-card,
.theme-minimal .contact-card {
  box-shadow: none;
}

.theme-asymmetric {
  --hero-bg: linear-gradient(100deg, #071626 0 36%, #f09c30 36% 58%, #183c60 58% 100%);
}
.theme-asymmetric .about-layout {
  grid-template-columns: 0.65fr 1.35fr;
}
.theme-asymmetric .sector-card:nth-child(3n + 1) {
  grid-row: span 2;
  min-height: 390px;
}

.theme-glass {
  --hero-bg: radial-gradient(circle at 22% 24%, rgba(240, 156, 48, 0.28), transparent 28%),
    linear-gradient(135deg, #0b243b, #183c60);
}
.theme-glass .sector-card,
.theme-glass .matrix-list,
.theme-glass .contact-card,
.theme-glass .detail-card {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.theme-timeline {
  --hero-bg: linear-gradient(135deg, #071626, #183c60);
}
.theme-timeline .about-layout {
  grid-template-columns: 1fr;
}
.theme-timeline .about-facts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.theme-timeline .fact-tile {
  border-top: 4px solid var(--gold);
}

.theme-official {
  --hero-bg: linear-gradient(135deg, #10263f, #183c60);
}
.theme-official .design-hero {
  text-align: center;
}
.theme-official .design-hero p,
.theme-official .hero-actions {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.theme-official .sector-card {
  border-bottom: 4px solid var(--gold);
}

.theme-future {
  --hero-bg: radial-gradient(circle at 76% 22%, rgba(217, 164, 65, 0.28), transparent 24%),
    radial-gradient(circle at 18% 68%, rgba(240, 156, 48, 0.22), transparent 24%),
    linear-gradient(135deg, #061526, #143a60);
}
.theme-future .sector-card {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, rgba(240, 156, 48, 0.7), rgba(24, 60, 96, 0.4)) border-box;
  border: 1px solid transparent;
}

[dir="ltr"] .eyebrow::before {
  order: -1;
}

[dir="ltr"] .design-hero::after,
[dir="ltr"] .theme-cinematic .design-hero::after,
[dir="ltr"] .theme-editorial .design-hero::after,
[dir="ltr"] .theme-security .design-hero::after,
[dir="ltr"] .theme-logistics .design-hero::after,
[dir="ltr"] .theme-opinion .design-hero::after {
  right: 6%;
  left: auto;
}

@media (max-width: 1120px) {
  .gallery-grid,
  .sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-logistics .sectors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
  }

  .theme-timeline .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar,
  .site-header,
  .gallery-tools,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions,
  .site-nav,
  .filter-row {
    justify-content: flex-start;
  }

  .gallery-hero-inner,
  .about-layout,
  .matrix,
  .contact-layout,
  .detail-grid,
  .footer-inner,
  .theme-nexus .design-hero .hero-content {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .sectors-grid,
  .stats-grid,
  .related-row,
  .theme-command .sectors-grid,
  .theme-trade .sectors-grid,
  .theme-logistics .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-hero,
  .sector-hero {
    min-height: auto;
  }

  .design-hero::after,
  .theme-nexus .design-hero .hero-content::after {
    display: none;
  }

  .about-facts,
  .theme-timeline .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand-lockup strong {
    font-size: 0.9rem;
  }

  .brand-lockup span,
  .site-nav {
    display: none;
  }

  .gallery-grid,
  .sectors-grid,
  .stats-grid,
  .related-row,
  .form-grid,
  .about-facts,
  .theme-command .sectors-grid,
  .theme-trade .sectors-grid,
  .theme-logistics .sectors-grid,
  .theme-timeline .about-facts {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: 280px;
  }

  .matrix-map {
    min-height: 520px;
  }

  .matrix-node {
    width: 118px;
    font-size: 0.74rem;
  }

  .matrix-hub {
    width: 122px;
    height: 122px;
  }
}
