:root {
  --ink: #070909;
  --ink-2: #111816;
  --surface: #fbfbf7;
  --surface-2: #f0f6f2;
  --text: #101312;
  --muted: #69706c;
  --line: rgba(16, 19, 18, 0.12);
  --white-line: rgba(255, 255, 255, 0.22);
  --coral: #ff5a45;
  --coral-dark: #ce3625;
  --aqua: #21c9bb;
  --lime: #d8ff55;
  --yellow: #ffd64d;
  --violet: #8d68ff;
  --shadow: 0 28px 90px rgba(7, 9, 9, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Cairo", "Inter", Arial, sans-serif;
  line-height: 1.7;
}

body.en {
  direction: ltr;
  font-family: "Inter", "Cairo", Arial, sans-serif;
}

img,
video {
  display: block;
  max-width: 100%;
}

video {
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px 22px;
  color: #fff;
  background: rgba(7, 9, 9, 0.96);
  border-bottom: 1px solid var(--white-line);
  border-radius: 0;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(7, 9, 9, 0.92);
}

.brand span {
  display: inline-flex;
  color: #fff;
  font-family: "Inter", "Cairo", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a,
.header-link,
.lang-toggle,
.menu-toggle {
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
}

.nav a {
  padding: 8px 12px;
}

.nav a:hover,
.nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.menu-toggle,
.header-link {
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  font-weight: 800;
}

.lang-toggle {
  min-width: 46px;
  min-height: 42px;
  cursor: pointer;
}

.header-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 15px;
  background: var(--lime);
  color: var(--ink);
}

.header-link:hover,
.header-link:focus-visible {
  background: #fff;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  grid-template-areas:
    "content image"
    "strip strip";
  gap: 18px;
  min-height: auto;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 90, 69, 0.14), rgba(33, 201, 187, 0.14)),
    var(--ink);
  color: #fff;
  isolation: isolate;
}

.hero-image {
  position: relative;
  grid-area: image;
  min-height: min(74svh, 760px);
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-content {
  grid-area: content;
  display: grid;
  align-content: center;
  min-height: min(74svh, 760px);
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 255, 85, 0.12), rgba(33, 201, 187, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-status span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-status span:first-child {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.eyebrow,
.section-kicker,
.meta {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 8.8rem);
  line-height: 0.88;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.hero-lede {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 18px 45px rgba(255, 90, 69, 0.26);
}

.primary:hover,
.primary:focus-visible {
  background: var(--coral-dark);
}

.secondary {
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.light {
  background: var(--lime);
  color: var(--ink);
}

.hero-strip {
  position: relative;
  grid-area: strip;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background: rgba(7, 9, 9, 0.62);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  min-height: 82px;
  display: grid;
  gap: 2px;
  align-content: center;
  padding: 14px 18px;
  border-inline-end: 1px solid var(--white-line);
}

.hero-strip strong {
  color: var(--aqua);
  font-size: 0.8rem;
}

.hero-strip em {
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-weight: 800;
}

.profile,
.topics,
.showcase,
.media-section,
.services,
.contact {
  position: relative;
  padding: 104px 56px;
}

.section-number {
  position: absolute;
  inset-inline-end: 54px;
  top: 28px;
  color: rgba(16, 19, 18, 0.08);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.showcase .section-number {
  color: rgba(255, 255, 255, 0.11);
}

.profile {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(135deg, #fbfbf7 0%, #fbfbf7 58%, #e5faf5 58%, #e5faf5 100%);
}

.topics {
  background:
    linear-gradient(180deg, #fbfbf7, #eefbf7);
  overflow: hidden;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.articles-button {
  margin-top: 24px;
}

.topic-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(7, 9, 9, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 90px rgba(7, 9, 9, 0.16);
}

.topic-card-large {
  grid-column: span 2;
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-card > div {
  padding: clamp(20px, 3vw, 30px);
}

.topic-label {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-family: "Inter", "Cairo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topic-card p:not(.topic-label) {
  color: var(--muted);
}

.read-more {
  display: inline-flex;
  margin-top: 10px;
  color: var(--coral-dark);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.article-page {
  background: #fbfbf7;
}

.article-hero {
  padding: 44px clamp(18px, 5vw, 72px) 28px;
  background: var(--ink);
  color: #fff;
}

.article-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 28px;
}

.article-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 18px 84px;
}

.article-body p,
.article-body li {
  color: #444b47;
  font-size: 1.08rem;
}

.article-body h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.article-body ul {
  padding-inline-start: 24px;
}

.article-index-hero {
  padding: 70px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 90, 69, 0.2), rgba(33, 201, 187, 0.2)),
    var(--ink);
  color: #fff;
}

.article-index {
  padding: 56px clamp(18px, 5vw, 72px) 84px;
}

.source-list a {
  color: var(--coral-dark);
  font-weight: 800;
}

.section-kicker {
  color: var(--coral);
}

.reveal-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 60px rgba(7, 9, 9, 0.08);
}

.profile-copy p,
.show-copy p,
.feature p,
.service-grid p,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

.profile-copy p {
  max-width: 780px;
  margin-top: 22px;
}

.profile-facts {
  display: grid;
  gap: 12px;
}

.profile-facts div {
  display: grid;
  gap: 4px;
  padding: 20px;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 48px rgba(7, 9, 9, 0.14);
}

.profile-facts div:nth-child(2) {
  background: var(--coral);
}

.profile-facts div:nth-child(3) {
  background: var(--aqua);
  color: var(--ink);
}

.profile-facts strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.profile-facts span {
  color: currentColor;
  opacity: 0.75;
  font-weight: 800;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 90, 69, 0.16), rgba(33, 201, 187, 0.16)),
    var(--ink);
  color: #fff;
}

.showcase::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 44%;
  height: 16px;
  background: linear-gradient(90deg, var(--lime), var(--aqua), var(--coral));
}

.show-copy p {
  color: rgba(255, 255, 255, 0.74);
  margin: 24px 0 30px;
}

.show-media {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 14px;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
}

.show-media > *,
.gallery > * {
  min-width: 0;
}

.show-media img,
.show-media video,
.feature img,
.gallery img,
.gallery video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.show-media img {
  transform: rotate(-1.5deg);
}

.show-media video {
  aspect-ratio: 16 / 9;
  transform: rotate(1deg);
}

.media-section {
  overflow: hidden;
  background: var(--surface);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 42px;
}

.section-title .eyebrow {
  color: var(--aqua);
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(7, 9, 9, 0.08);
}

.feature img {
  min-height: 430px;
}

.feature > div {
  padding: 24px 18px;
}

.inline-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--coral-dark);
  border-bottom: 2px solid currentColor;
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.9fr 1.1fr;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.gallery img,
.gallery video {
  min-height: 260px;
  box-shadow: 0 14px 44px rgba(7, 9, 9, 0.12);
}

.services {
  background:
    linear-gradient(90deg, var(--ink) 0 36%, #f3ffda 36% 100%);
}

.services .section-title h2 {
  color: var(--ink);
}

.services .section-title .eyebrow {
  color: var(--coral);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.service-grid article {
  min-height: 286px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(7, 9, 9, 0.1);
}

.service-grid article:nth-child(1) {
  border-top: 7px solid var(--coral);
}

.service-grid article:nth-child(2) {
  border-top: 7px solid var(--aqua);
}

.service-grid article:nth-child(3) {
  border-top: 7px solid var(--violet);
}

.service-grid span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1fr);
  gap: 54px;
  background:
    linear-gradient(135deg, rgba(33, 201, 187, 0.18), rgba(255, 214, 77, 0.22)),
    var(--surface);
}

.contact h2 {
  margin-bottom: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--lime);
  outline: 3px solid rgba(216, 255, 85, 0.18);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 56px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer strong {
  color: #fff;
  font-family: "Inter", "Cairo", Arial, sans-serif;
  font-size: 1.08rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    position: fixed;
    inset: 84px 12px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(7, 9, 9, 0.96);
    border: 1px solid var(--white-line);
    border-radius: 8px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content {
    padding-inline: 28px;
  }

  .profile,
  .topics,
  .showcase,
  .contact {
    grid-template-columns: 1fr;
  }

  .profile,
  .showcase,
  .media-section,
  .services,
  .contact {
    padding: 84px 28px;
  }

  .section-title,
  .feature {
    grid-template-columns: 1fr;
  }

  .show-media,
  .gallery,
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services {
    background: #f3ffda;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 62px;
    padding: 9px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .header-link {
    display: none;
  }

  .nav {
    inset-top: 82px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content"
      "strip";
    padding: 12px;
  }

  .hero-image {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-content {
    width: 100%;
    min-height: auto;
    padding: 24px 18px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .hero-strip {
    inset: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip span {
    min-height: 62px;
    padding: 10px 12px;
  }

  .profile,
  .topics,
  .showcase,
  .media-section,
  .services,
  .contact {
    padding: 62px 18px;
  }

  .reveal-panel,
  .contact-form,
  .service-grid article {
    padding: 22px;
  }

  .show-media,
  .gallery,
  .topic-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .topic-card-large {
    grid-column: span 1;
  }

  .show-media img,
  .show-media video,
  .feature img,
  .gallery img,
  .gallery video {
    min-height: 260px;
    transform: none;
  }

  .feature {
    padding: 10px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
    padding: 28px 18px;
  }
}
