:root {
  --cream: #fff1e8;
  --paper: #fffaf6;
  --green: #a42032;
  --green-bright: #d94a2d;
  --deep: #5a1320;
  --deepest: #2f0710;
  --gold: #e46832;
  --gold-light: #ffc784;
  --ink: #281419;
  --muted: #735f5c;
  --line: rgba(90, 19, 32, 0.15);
  --white-line: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 14px 40px rgba(90, 19, 32, 0.1);
  --shadow-lg: 0 40px 90px rgba(90, 19, 32, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1220px;
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  content: "";
  background-image:
    radial-gradient(circle at 15% 20%, #102a24 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 78% 60%, #102a24 0 0.5px, transparent 0.75px);
  background-position: 0 0, 7px 9px;
  background-size: 13px 13px, 11px 11px;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--paper);
  background: var(--green);
}

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

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Manrope", sans-serif;
}

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 500;
}

h2 em {
  color: var(--green);
  font-family: "Amiri", serif;
  font-weight: 400;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-pad {
  position: relative;
  padding: 140px 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 11px 18px;
  color: #fff;
  background: var(--deep);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-kicker > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.section-heading h2 {
  margin-top: 22px;
}

.section-heading > p {
  max-width: 430px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 1.04rem;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.button span {
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover span {
  transform: translate(3px, -3px);
}

.button-primary {
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(30, 89, 72, 0.23);
}

.button-primary:hover {
  background: var(--deep);
  box-shadow: 0 20px 40px rgba(16, 42, 36, 0.28);
}

.button-gold {
  color: var(--deep);
  background: var(--gold-light);
}

.button-gold:hover {
  background: #ead9af;
  box-shadow: 0 16px 35px rgba(180, 154, 104, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link span {
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(245, 241, 232, 0.88);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-seal {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--gold-light);
  background: var(--deep);
  border: 1px solid rgba(180, 154, 104, 0.5);
  border-radius: 50%;
  font-family: "Amiri", serif;
  font-size: 1.65rem;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--green);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.desktop-nav a {
  position: relative;
  color: #303934;
  font-family: "Manrope", sans-serif;
  font-size: 0.77rem;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  color: var(--paper);
  background: var(--deep);
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--deep);
}

.mobile-menu {
  position: fixed;
  z-index: 1001;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: stretch;
  color: var(--paper);
  background: var(--deepest);
  opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 28px clamp(24px, 7vw, 56px) 40px;
  transform: translateY(-25px);
  transition: transform 0.55s var(--ease);
}

.mobile-menu.open .mobile-menu-inner {
  transform: translateY(0);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--white-line);
}

.mobile-menu-label {
  color: var(--gold-light);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
}

.menu-close {
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  font-size: 1.6rem;
}

.mobile-menu nav {
  display: grid;
  margin: auto 0;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 10px 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 7vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.mobile-menu nav a span {
  width: 22px;
  color: var(--gold);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.mobile-menu-inner > p {
  color: rgba(252, 250, 245, 0.56);
  font-size: 0.84rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  padding: 158px 0 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.98) 0%, rgba(245, 241, 232, 0.9) 58%, rgba(245, 241, 232, 0.65) 100%),
    radial-gradient(circle at 78% 34%, rgba(180, 154, 104, 0.18), transparent 34%);
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(16, 42, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 36, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 36%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 36%, #000 92%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
  min-height: 650px;
}

.hero-copy {
  padding-bottom: 62px;
}

.hero h1 {
  max-width: 790px;
  margin-top: 28px;
  font-size: clamp(3.5rem, 6.65vw, 6.5rem);
  font-weight: 500;
}

.hero h1 em {
  display: inline-block;
  position: relative;
  color: var(--green);
  font-family: "Amiri", serif;
  font-weight: 400;
}

.hero h1 em::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  height: 7px;
  content: "";
  background: rgba(180, 154, 104, 0.38);
  border-radius: 50%;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 660px;
  margin-top: 29px;
  color: #48514c;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 38px;
}

.hero-proof {
  display: flex;
  max-width: 650px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: grid;
  min-width: 142px;
  gap: 3px;
  padding-right: 28px;
}

.hero-proof div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 1.18rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 495px);
  justify-self: end;
}

.portrait-card {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 11px;
  background: rgba(252, 250, 245, 0.72);
  border: 1px solid rgba(180, 154, 104, 0.42);
  border-radius: 245px 245px 28px 28px;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.portrait-card img {
  width: 100%;
  height: 590px;
  object-fit: cover;
  object-position: 50% 34%;
  border-radius: 234px 234px 20px 20px;
  filter: saturate(0.88) contrast(1.02);
}

.portrait-card::after {
  position: absolute;
  inset: 11px 11px 93px;
  pointer-events: none;
  content: "";
  background: linear-gradient(to bottom, transparent 55%, rgba(9, 29, 25, 0.68));
  border-radius: 234px 234px 20px 20px;
}

.portrait-card figcaption {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 14px;
  padding: 15px 19px 8px;
}

.portrait-status {
  width: 9px;
  height: 9px;
  background: #4a9b74;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(74, 155, 116, 0.14);
}

.portrait-card figcaption span:last-child {
  display: grid;
  gap: 4px;
}

.portrait-card figcaption small {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.portrait-card figcaption strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
}

.calligraphy-mark {
  position: absolute;
  z-index: 1;
  top: 25px;
  right: -105px;
  color: rgba(30, 89, 72, 0.08);
  font-family: "Amiri", serif;
  font-size: 9rem;
  line-height: 1;
  transform: rotate(-9deg);
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(180, 154, 104, 0.35);
  border-radius: 50%;
}

.orbit-one {
  top: -48px;
  right: -58px;
  width: 520px;
  height: 520px;
  animation: rotate-slow 32s linear infinite;
}

.orbit-one::before {
  position: absolute;
  top: 15%;
  left: 1%;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.orbit-two {
  right: -92px;
  bottom: 66px;
  width: 410px;
  height: 410px;
  border-style: dashed;
  opacity: 0.6;
  animation: rotate-slow 45s linear infinite reverse;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
  color: var(--paper);
  background: rgba(16, 42, 36, 0.93);
  border: 1px solid rgba(214, 196, 154, 0.28);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(9, 29, 25, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.floating-card small,
.floating-card strong {
  display: block;
  white-space: nowrap;
}

.floating-card small {
  color: rgba(252, 250, 245, 0.6);
  font-size: 0.56rem;
}

.floating-card strong {
  margin-top: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
}

.floating-card-top {
  top: 118px;
  left: -66px;
}

.floating-card-bottom {
  right: -42px;
  bottom: 117px;
  animation-delay: -2.2s;
}

.mini-seal {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--deep);
  background: var(--gold-light);
  border-radius: 50%;
  font-family: "Amiri", serif;
  font-size: 1.2rem;
}

.sound-bars {
  display: flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gold-light);
}

.sound-bars i {
  width: 2px;
  height: 9px;
  background: currentColor;
  border-radius: 2px;
  animation: sound 1.4s ease-in-out infinite;
}

.sound-bars i:nth-child(2) { height: 18px; animation-delay: -0.3s; }
.sound-bars i:nth-child(3) { height: 24px; animation-delay: -0.5s; }
.sound-bars i:nth-child(4) { height: 15px; animation-delay: -0.2s; }
.sound-bars i:nth-child(5) { height: 7px; animation-delay: -0.65s; }

.representative-note {
  margin-top: 10px;
  color: #777d78;
  font-size: 0.6rem;
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-glow-one {
  top: 20%;
  right: 14%;
  width: 330px;
  height: 330px;
  background: rgba(180, 154, 104, 0.11);
}

.hero-glow-two {
  bottom: -120px;
  left: 18%;
  width: 470px;
  height: 270px;
  background: rgba(30, 89, 72, 0.07);
}

.arabic-particle {
  position: absolute;
  color: rgba(30, 89, 72, 0.11);
  font-family: "Amiri", serif;
  font-size: 4.5rem;
  pointer-events: none;
}

.particle-one {
  top: 19%;
  left: 2.2%;
  transform: rotate(-12deg);
}

.particle-two {
  right: 2%;
  bottom: 16%;
  transform: rotate(8deg);
}

.hero-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  color: rgba(252, 250, 245, 0.7);
  background: var(--deep);
  border-top: 1px solid rgba(180, 154, 104, 0.24);
}

.hero-marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 18px 0;
  animation: marquee 30s linear infinite;
}

.hero-marquee span {
  margin: 0 30px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.hero-marquee i {
  color: var(--gold);
  font-style: normal;
}

.hero-enter {
  opacity: 0;
  transform: translateY(30px);
}

body.loaded .hero-enter {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

body.loaded .hero-enter:nth-child(2) { transition-delay: 0.09s; }
body.loaded .hero-enter:nth-child(3) { transition-delay: 0.18s; }
body.loaded .hero-enter:nth-child(4) { transition-delay: 0.27s; }
body.loaded .hero-enter:nth-child(5) { transition-delay: 0.36s; }
.hero-visual.hero-enter { transition-delay: 0.22s !important; }

/* About */
.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 42%, rgba(180, 154, 104, 0.08), transparent 24%),
    var(--paper);
}

.about::before {
  position: absolute;
  top: 0;
  left: calc(50% - min(50%, 610px));
  width: 1px;
  height: 100%;
  content: "";
  background: var(--line);
}

.about-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.about-index {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(70px, 10vw, 150px);
  padding: 74px 0 88px;
}

.about-heading h2 {
  max-width: 710px;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
}

.cairo-origin {
  position: relative;
  width: min(100%, 610px);
  min-height: 245px;
  margin-top: 68px;
  padding: 24px 26px 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 241, 232, 0.92), rgba(252, 250, 245, 0.78)),
    var(--cream);
  border: 1px solid rgba(180, 154, 104, 0.32);
  border-radius: 2px 56px 2px 2px;
  box-shadow: 0 24px 60px rgba(16, 42, 36, 0.06);
}

.cairo-origin::before {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(180, 154, 104, 0.15);
  border-radius: 0 47px 0 0;
}

.origin-heading {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 17px;
}

.origin-arabic {
  display: grid;
  width: 63px;
  height: 63px;
  place-items: center;
  color: var(--gold-light);
  background: var(--deep);
  border: 1px solid rgba(180, 154, 104, 0.55);
  border-radius: 50%;
  font-family: "Amiri", serif;
  font-size: 1.35rem;
}

.origin-heading > span:last-child {
  display: grid;
  gap: 4px;
}

.origin-heading small {
  color: var(--gold);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.origin-heading strong {
  color: var(--deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.93rem;
}

.origin-landscape {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 145px;
}

.origin-sun {
  position: absolute;
  top: 2px;
  right: 21%;
  width: 66px;
  height: 66px;
  background: rgba(180, 154, 104, 0.18);
  border: 1px solid rgba(180, 154, 104, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(180, 154, 104, 0.035);
}

.origin-pyramid {
  position: absolute;
  z-index: 2;
  bottom: 6px;
  width: 0;
  height: 0;
  border-right-style: solid;
  border-right-color: transparent;
  border-bottom-style: solid;
  border-bottom-color: rgba(16, 42, 36, 0.16);
  border-left-style: solid;
  border-left-color: transparent;
  filter: drop-shadow(9px 3px 0 rgba(180, 154, 104, 0.06));
}

.origin-pyramid::after {
  position: absolute;
  left: 0;
  width: 1px;
  height: 115%;
  content: "";
  background: rgba(180, 154, 104, 0.36);
  transform: rotate(29deg);
  transform-origin: bottom;
}

.origin-pyramid-one {
  right: 9%;
  border-right-width: 88px;
  border-bottom-width: 112px;
  border-left-width: 88px;
}

.origin-pyramid-two {
  right: 31%;
  border-right-width: 63px;
  border-bottom-width: 80px;
  border-left-width: 63px;
}

.origin-pyramid-three {
  right: -2%;
  border-right-width: 47px;
  border-bottom-width: 61px;
  border-left-width: 47px;
}

.origin-dune {
  position: absolute;
  z-index: 1;
  right: -8%;
  bottom: -45px;
  width: 72%;
  height: 85px;
  border-top: 1px solid rgba(180, 154, 104, 0.38);
  border-radius: 50% 50% 0 0;
  transform: rotate(-3deg);
}

.origin-dune-two {
  right: 21%;
  bottom: -61px;
  width: 90%;
  opacity: 0.5;
  transform: rotate(3deg);
}

.origin-footer {
  position: absolute;
  z-index: 3;
  bottom: 17px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(16, 42, 36, 0.46);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.origin-footer i {
  width: 25px;
  height: 1px;
  background: var(--gold);
}

.about-story {
  position: relative;
  z-index: 2;
  padding-top: 5px;
}

.about-story > p {
  color: var(--muted);
  font-size: 0.97rem;
}

.about-story > p + p {
  margin-top: 21px;
}

.about-story .story-lead {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.7;
}

.about-story blockquote {
  position: relative;
  margin-top: 35px;
  padding: 23px 0 3px 30px;
  color: var(--green);
  border-left: 2px solid var(--gold);
  font-family: "Amiri", serif;
  font-size: 1.38rem;
  line-height: 1.5;
}

.credential-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential-card {
  min-height: 230px;
  padding: 31px 26px 30px;
  transition: background 0.4s ease, transform 0.4s var(--ease);
}

.credential-card + .credential-card {
  border-left: 1px solid var(--line);
}

.credential-card:hover {
  background: var(--cream);
  transform: translateY(-5px);
}

.credential-number,
.credential-mark {
  display: block;
  min-height: 78px;
  color: var(--gold);
  font-family: "Amiri", serif;
  font-size: 3rem;
  line-height: 1;
}

.credential-mark {
  color: var(--green);
}

.credential-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.93rem;
}

.credential-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.65;
}

.cairo-silhouette {
  position: absolute;
  z-index: 0;
  top: 120px;
  right: -4vw;
  width: 610px;
  height: 420px;
  opacity: 0.095;
  filter: blur(0.4px);
}

.pyramid {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-right: 170px solid transparent;
  border-bottom: 220px solid var(--deep);
  border-left: 170px solid transparent;
}

.pyramid-one { right: 30px; }
.pyramid-two { right: 240px; border-right-width: 120px; border-bottom-width: 155px; border-left-width: 120px; }
.pyramid-three { right: -80px; border-right-width: 95px; border-bottom-width: 120px; border-left-width: 95px; }

.cairo-sun {
  position: absolute;
  top: 9px;
  right: 112px;
  width: 154px;
  height: 154px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 31px rgba(180, 154, 104, 0.13);
}

.cairo-calligraphy {
  position: absolute;
  top: 40px;
  right: 277px;
  color: var(--green);
  font-family: "Amiri", serif;
  font-size: 5.3rem;
  transform: rotate(-7deg);
}

.desert-dune {
  position: absolute;
  z-index: -1;
  right: -5%;
  bottom: -55px;
  width: 90%;
  height: 160px;
  border-top: 2px solid var(--gold);
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
}

.dune-two {
  right: 23%;
  bottom: -92px;
  width: 105%;
  opacity: 0.55;
  transform: rotate(5deg);
}

/* Editorial instructor profile */
.about-profile {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.08fr);
  gap: clamp(58px, 8vw, 112px);
  align-items: center;
  padding: 76px 0 72px;
}

.about-portrait-column {
  position: relative;
  width: min(100%, 470px);
  padding: 24px 0 0 24px;
}

.about-portrait-column::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 68%;
  aspect-ratio: 1;
  content: "";
  background: rgba(180, 154, 104, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(180, 154, 104, 0.04);
}

.about-portrait-card {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(180, 154, 104, 0.34);
  border-radius: 220px 220px 22px 22px;
  box-shadow: 0 32px 80px rgba(16, 42, 36, 0.13);
  isolation: isolate;
}

.about-portrait-card::after {
  position: absolute;
  z-index: 3;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 205px 205px 14px 14px;
}

.about-portrait-card img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.85) sepia(0.05) contrast(0.98);
  transition: transform 1.2s var(--ease), filter 0.6s ease;
}

.about-portrait-card:hover img {
  filter: saturate(0.95) sepia(0) contrast(1);
  transform: scale(1.025);
}

.about-portrait-card figcaption {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: grid;
  gap: 4px;
  padding-top: 18px;
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  text-shadow: 0 2px 18px rgba(9, 26, 22, 0.68);
}

.about-portrait-card figcaption::before {
  position: absolute;
  z-index: -1;
  right: -50px;
  bottom: -50px;
  left: -50px;
  height: 190px;
  content: "";
  background: linear-gradient(0deg, rgba(7, 31, 25, 0.86), transparent);
}

.about-portrait-card figcaption small {
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.about-portrait-card figcaption strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.portrait-cairo-scene {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.profile-sun {
  position: absolute;
  top: 12%;
  right: -4%;
  width: 108px;
  height: 108px;
  background: rgba(218, 186, 122, 0.18);
  border: 1px solid rgba(255, 239, 204, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(180, 154, 104, 0.07);
}

.profile-calligraphy {
  position: absolute;
  top: 15%;
  right: 5%;
  color: rgba(255, 247, 226, 0.25);
  font-family: "Amiri", serif;
  font-size: 3.35rem;
  text-shadow: 0 3px 18px rgba(16, 42, 36, 0.18);
  transform: rotate(-8deg);
}

.profile-pyramid {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-right-style: solid;
  border-right-color: transparent;
  border-bottom-style: solid;
  border-bottom-color: rgba(10, 45, 36, 0.19);
  border-left-style: solid;
  border-left-color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(238, 211, 155, 0.2));
}

.profile-pyramid-one {
  right: -7%;
  border-right-width: 150px;
  border-bottom-width: 190px;
  border-left-width: 150px;
}

.profile-pyramid-two {
  right: 36%;
  border-right-width: 90px;
  border-bottom-width: 115px;
  border-left-width: 90px;
}

.profile-pyramid-three {
  left: -8%;
  border-right-width: 66px;
  border-bottom-width: 86px;
  border-left-width: 66px;
}

.cairo-badge {
  position: absolute;
  z-index: 5;
  right: -40px;
  bottom: 46px;
  display: flex;
  width: min(315px, 82%);
  align-items: center;
  gap: 15px;
  padding: 15px 18px 15px 13px;
  color: var(--paper);
  background: rgba(16, 42, 36, 0.95);
  border: 1px solid rgba(180, 154, 104, 0.68);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(16, 42, 36, 0.24);
  backdrop-filter: blur(10px);
}

.cairo-badge > span {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(180, 154, 104, 0.44);
  border-radius: 50%;
  font-family: "Amiri", serif;
  font-size: 1.34rem;
}

.cairo-badge div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cairo-badge small {
  overflow: hidden;
  color: var(--gold-light);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cairo-badge strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.87rem;
}

.about-representative-note {
  margin: 13px 0 0 14px;
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.5;
}

.about-copy {
  position: relative;
}

.about-copy h2 {
  max-width: 700px;
  margin-top: 22px;
  font-size: clamp(3rem, 5vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.about-lead {
  max-width: 660px;
  margin-top: 30px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.75;
}

.story-chapters {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.story-chapters article {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), background 0.4s ease;
}

.story-chapters article:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(180, 154, 104, 0.08), transparent 72%);
}

.story-chapters article > span {
  padding-top: 4px;
  color: var(--gold);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.story-chapters h3 {
  color: var(--deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.story-chapters p {
  max-width: 570px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.68;
}

.about-quote {
  position: relative;
  margin-top: 29px;
  padding: 5px 0 5px 25px;
  color: var(--green);
  border-left: 2px solid var(--gold);
  font-family: "Amiri", serif;
  font-size: 1.42rem;
  line-height: 1.45;
}

.credential-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential-strip article {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 20px 25px;
  transition: background 0.4s ease, transform 0.4s var(--ease);
}

.credential-strip article + article {
  border-left: 1px solid var(--line);
}

.credential-strip article:hover {
  background: var(--cream);
  transform: translateY(-4px);
}

.credential-strip strong {
  flex: 0 0 auto;
  color: var(--green);
  font-family: "Amiri", serif;
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  font-weight: 400;
  line-height: 1;
}

.credential-strip span {
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Method manifesto */
.method-manifesto {
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 10%, rgba(43, 115, 94, 0.35), transparent 32%),
    var(--deepest);
}

.method-manifesto::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.035) 50%, transparent 50.1%);
}

.manifesto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 31px;
  border-bottom: 1px solid var(--white-line);
}

.manifesto-head > p {
  color: rgba(252, 250, 245, 0.54);
  font-size: 0.75rem;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
}

.method-step {
  position: relative;
  min-height: 405px;
  padding: 29px 38px 32px;
  border-left: 1px solid var(--white-line);
  transition: background 0.7s var(--ease);
}

.method-step:last-child {
  border-right: 1px solid var(--white-line);
}

.method-step::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(180, 154, 104, 0.13), transparent 75%);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}

.method-step.is-active::before,
.method-step:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.step-index {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.step-word {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 54px;
}

.step-word span {
  color: rgba(214, 196, 154, 0.75);
  font-family: "Amiri", serif;
  font-size: 1.65rem;
}

.step-word strong {
  margin-top: -2px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.2rem, 5.6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.92;
}

.method-step p {
  position: absolute;
  z-index: 1;
  right: 38px;
  bottom: 31px;
  left: 38px;
  color: rgba(252, 250, 245, 0.58);
  font-size: 0.82rem;
}

.manifesto-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 67px;
  color: rgba(252, 250, 245, 0.44);
  font-family: "Amiri", serif;
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  text-align: center;
}

.manifesto-line span:nth-child(2) {
  color: var(--gold-light);
}

.wave-lines {
  position: absolute;
  top: 25%;
  right: -10%;
  width: 65%;
  height: 270px;
  opacity: 0.08;
  transform: rotate(-8deg);
}

.wave-lines span {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 50px;
  border-top: 1px solid var(--gold-light);
  border-radius: 50%;
}

.wave-lines span:nth-child(2) { transform: translateY(-38px) scaleX(0.92); }
.wave-lines span:nth-child(3) { transform: translateY(38px) scaleX(0.86); }
.wave-lines span:nth-child(4) { transform: translateY(-78px) scaleX(0.72); }
.wave-lines span:nth-child(5) { transform: translateY(78px) scaleX(0.66); }

/* Programs */
.programs {
  background: var(--cream);
}

.program-filter {
  display: flex;
  gap: 7px;
  padding: 7px;
  overflow-x: auto;
  background: rgba(252, 250, 245, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  scrollbar-width: none;
}

.program-filter::-webkit-scrollbar {
  display: none;
}

.program-filter button {
  flex: 0 0 auto;
  padding: 11px 20px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.program-filter button.active {
  color: var(--paper);
  background: var(--deep);
  box-shadow: 0 7px 18px rgba(16, 42, 36, 0.15);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 29px;
}

.program-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 rgba(16, 42, 36, 0);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s ease;
}

.program-card::before {
  position: absolute;
  top: -120px;
  right: -110px;
  width: 240px;
  height: 240px;
  content: "";
  background: radial-gradient(circle, rgba(180, 154, 104, 0.18), transparent 68%);
  transition: transform 0.6s var(--ease);
}

.program-card:hover {
  z-index: 2;
  border-color: rgba(180, 154, 104, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-9px);
}

.program-card:hover::before {
  transform: scale(1.3) translate(-10px, 10px);
}

.program-card.featured {
  grid-column: span 2;
  color: var(--paper);
  background:
    radial-gradient(circle at 90% 10%, rgba(43, 115, 94, 0.48), transparent 35%),
    var(--deep);
  border-color: var(--deep);
}

.program-card.featured::after {
  position: absolute;
  right: 32px;
  bottom: -40px;
  color: rgba(214, 196, 154, 0.07);
  content: "العربية";
  font-family: "Amiri", serif;
  font-size: 9rem;
}

.program-card[hidden] {
  display: none;
}

.program-card.filtering-in {
  animation: card-in 0.55s var(--ease) both;
}

.program-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.featured .program-card-top {
  color: rgba(252, 250, 245, 0.55);
}

.program-tag {
  padding: 6px 9px;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.56rem;
}

.featured .program-tag {
  color: var(--gold-light);
  border-color: var(--white-line);
}

.program-card > div:nth-child(2) {
  position: relative;
  z-index: 1;
}

.arabic-icon {
  display: inline-block;
  min-height: 46px;
  color: var(--gold);
  font-family: "Amiri", serif;
  font-size: 2.15rem;
}

.program-card h3 {
  margin-top: 10px;
  font-size: clamp(1.42rem, 2vw, 1.86rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.program-card p {
  max-width: 520px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.72;
}

.featured p {
  color: rgba(252, 250, 245, 0.6);
}

.program-card > a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
}

.featured > a {
  border-color: var(--white-line);
}

.program-card > a span {
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.35s var(--ease);
}

.program-card > a:hover span {
  transform: translate(4px, -4px);
}

.program-empty {
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

/* Specialty language education catalog */
.language-catalog {
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 8%, rgba(43, 115, 94, 0.38), transparent 27%),
    linear-gradient(145deg, var(--deepest), var(--deep));
}

.language-catalog::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 38%, #000);
  mask-image: linear-gradient(to right, transparent, #000 38%, #000);
}

.language-catalog .section-heading {
  position: relative;
  z-index: 2;
}

.language-catalog .section-heading h2 em {
  color: var(--gold-light);
}

.catalog-calligraphy {
  position: absolute;
  top: 32px;
  right: -30px;
  color: rgba(214, 196, 154, 0.045);
  font-family: "Amiri", serif;
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: 1;
  transform: rotate(-5deg);
}

.specialty-browser {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(470px, 1.3fr);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.2);
}

.specialty-tabs {
  display: grid;
  align-content: stretch;
  background: rgba(9, 29, 25, 0.48);
  border-right: 1px solid var(--white-line);
}

.specialty-tabs button {
  display: grid;
  position: relative;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 92px;
  padding: 14px 24px;
  color: rgba(252, 250, 245, 0.52);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--white-line);
  transition:
    color 0.35s ease,
    background 0.45s var(--ease),
    padding 0.45s var(--ease);
}

.specialty-tabs button:last-child {
  border-bottom: 0;
}

.specialty-tabs button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}

.specialty-tabs button:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  padding-left: 29px;
}

.specialty-tabs button.active {
  color: var(--paper);
  background: rgba(43, 115, 94, 0.24);
}

.specialty-tabs button.active::before {
  transform: scaleY(1);
}

.specialty-tabs button > span {
  color: var(--gold);
  font-size: 0.57rem;
  letter-spacing: 0.11em;
}

.specialty-tabs button strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.specialty-tabs button i {
  color: var(--gold);
  font-size: 0.9rem;
  font-style: normal;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.specialty-tabs button.active i {
  opacity: 1;
  transform: none;
}

.specialty-stage {
  position: relative;
  min-height: 590px;
  background:
    radial-gradient(circle at 83% 22%, rgba(180, 154, 104, 0.12), transparent 23%),
    rgba(16, 42, 36, 0.58);
}

.specialty-stage::before {
  position: absolute;
  right: -55px;
  bottom: -105px;
  width: 390px;
  height: 390px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(214, 196, 154, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(214, 196, 154, 0.025),
    0 0 0 73px rgba(214, 196, 154, 0.018);
}

.specialty-panel {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  padding: 44px 52px 38px;
}

.specialty-panel[hidden] {
  display: none;
}

.specialty-panel.active {
  animation: specialty-panel-in 0.6s var(--ease) both;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 21px;
  color: rgba(252, 250, 245, 0.45);
  border-bottom: 1px solid var(--white-line);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
}

.panel-topline span:last-child {
  color: var(--gold-light);
}

.panel-arabic {
  display: block;
  margin-top: 42px;
  color: var(--gold-light);
  font-family: "Amiri", serif;
  font-size: 2.15rem;
}

.specialty-panel h3 {
  margin-top: 2px;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.specialty-panel > p {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(252, 250, 245, 0.59);
  font-size: 0.9rem;
  line-height: 1.75;
}

.specialty-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.specialty-panel li {
  padding: 8px 12px;
  color: rgba(252, 250, 245, 0.67);
  background: rgba(252, 250, 245, 0.045);
  border: 1px solid var(--white-line);
  border-radius: 999px;
  font-size: 0.63rem;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--white-line);
}

.panel-footer > span {
  color: rgba(252, 250, 245, 0.43);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel-footer a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-light);
  font-family: "Manrope", sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
}

.panel-footer a i {
  font-size: 1rem;
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.panel-footer a:hover i {
  transform: translate(4px, -4px);
}

.catalog-note {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  margin-top: 30px;
  padding: 22px 27px;
  color: rgba(252, 250, 245, 0.64);
  background: rgba(9, 29, 25, 0.35);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-md);
}

.catalog-note > span {
  color: var(--gold);
}

.catalog-note p {
  font-size: 0.73rem;
}

.catalog-note a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
}

@keyframes specialty-panel-in {
  from { opacity: 0; transform: translateX(24px); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Journey */
.journey {
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 90%, rgba(43, 115, 94, 0.36), transparent 30%),
    var(--deep);
}

.journey .section-heading h2 em {
  color: var(--gold-light);
}

.section-heading.light > p {
  color: rgba(252, 250, 245, 0.58);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 90px 0 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 3px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--white-line);
}

.timeline::after {
  position: absolute;
  top: 3px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: width 2.5s var(--ease);
}

.timeline.timeline-active::after {
  width: 100%;
}

.timeline-item {
  position: relative;
  padding: 52px 28px 0 0;
}

.timeline-item + .timeline-item {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-dot {
  position: absolute;
  z-index: 2;
  top: -3px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--deep);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--deep);
  transition: background 0.5s ease, transform 0.5s var(--ease);
}

.timeline-active .timeline-item.visible .timeline-dot {
  background: var(--gold);
  transform: scale(1.12);
}

.timeline-number {
  color: var(--gold);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
}

.timeline-item h3 {
  margin-top: 18px;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.timeline-item p {
  margin-top: 11px;
  color: rgba(252, 250, 245, 0.52);
  font-size: 0.76rem;
  line-height: 1.7;
}

.journey-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 87px;
  padding-top: 35px;
  border-top: 1px solid var(--white-line);
}

.journey-cta p {
  color: rgba(252, 250, 245, 0.72);
  font-family: "Amiri", serif;
  font-size: 1.2rem;
}

.journey-cta p span {
  margin-right: 8px;
  color: var(--gold);
}

/* Testimonials */
.testimonials {
  overflow: hidden;
  background: var(--paper);
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(450px, 1fr);
  align-items: center;
  gap: clamp(70px, 10vw, 140px);
}

.testimonial-heading h2 {
  margin-top: 23px;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
}

.testimonial-heading > p {
  max-width: 430px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
}

.slider-controls button {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  padding: 0;
  color: var(--deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.slider-controls button:hover {
  color: var(--paper);
  background: var(--deep);
  transform: scale(1.06);
}

.slider-controls > span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.slider-controls strong {
  color: var(--green);
}

.testimonial-slider {
  position: relative;
  min-height: 505px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(245, 241, 232, 0.75)),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-slider::before {
  position: absolute;
  inset: 15px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(180, 154, 104, 0.2);
  border-radius: 23px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px 58px;
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease),
    visibility 0.65s;
}

.testimonial-slide.active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.quote-mark {
  height: 70px;
  color: var(--gold);
  font-family: "Amiri", serif;
  font-size: 6rem;
  line-height: 1;
}

.testimonial-slide blockquote {
  color: var(--deep);
  font-family: "Amiri", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  line-height: 1.4;
}

.student {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.student div {
  display: grid;
  gap: 3px;
}

.student strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.83rem;
}

.student small {
  color: var(--muted);
  font-size: 0.66rem;
}

/* FAQ */
.faq {
  background:
    linear-gradient(90deg, transparent 49.95%, var(--line) 50%, transparent 50.05%),
    var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(480px, 1fr);
  gap: clamp(70px, 10vw, 150px);
}

.faq-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.faq-heading h2 {
  margin-top: 23px;
  font-size: clamp(2.75rem, 4.7vw, 4.8rem);
}

.faq-heading > p {
  max-width: 430px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-heading .text-link {
  margin-top: 31px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font: inherit;
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 93px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
}

.faq-item button > span {
  display: flex;
  align-items: baseline;
  gap: 23px;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.faq-item button small {
  color: var(--gold);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.faq-item button i {
  position: relative;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s var(--ease);
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--deep);
  transform: translate(-50%, -50%);
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.35s var(--ease);
}

.faq-item.open button i {
  background: var(--green);
  border-color: var(--green);
  transform: rotate(180deg);
}

.faq-item.open button i::before,
.faq-item.open button i::after {
  background: var(--paper);
}

.faq-item.open button i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}

.faq-answer p {
  max-width: 650px;
  padding: 0 60px 31px 47px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Contact */
.contact {
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 7% 22%, rgba(43, 115, 94, 0.32), transparent 29%),
    linear-gradient(135deg, var(--deepest), var(--deep));
}

.contact::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
}

.contact-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: rgba(180, 154, 104, 0.08);
  border-radius: 50%;
  filter: blur(60px);
  animation: glow-breathe 7s ease-in-out infinite;
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 0.72fr);
  align-items: center;
  gap: clamp(70px, 10vw, 150px);
}

.contact-copy h2 {
  margin-top: 25px;
  font-size: clamp(3.3rem, 6.3vw, 6.4rem);
}

.contact-copy h2 em {
  color: var(--gold-light);
}

.contact-copy > p {
  max-width: 550px;
  margin-top: 30px;
  color: rgba(252, 250, 245, 0.58);
  font-size: 0.96rem;
}

.contact-benefits {
  display: grid;
  gap: 13px;
  margin-top: 37px;
}

.contact-benefits span {
  color: rgba(252, 250, 245, 0.77);
  font-size: 0.79rem;
}

.contact-benefits i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  place-items: center;
  color: var(--deep);
  background: var(--gold-light);
  border-radius: 50%;
  font-size: 0.63rem;
  font-style: normal;
}

.direct-phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 12px 20px 12px 12px;
  background: rgba(252, 250, 245, 0.07);
  border: 1px solid rgba(214, 196, 154, 0.23);
  border-radius: 999px;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s var(--ease);
}

.direct-phone:hover {
  background: rgba(252, 250, 245, 0.11);
  border-color: rgba(214, 196, 154, 0.48);
  transform: translateY(-3px);
}

.direct-phone-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--deep);
  background: var(--gold-light);
  border-radius: 50%;
  font-size: 1.25rem;
}

.direct-phone > span:last-child {
  display: grid;
  gap: 3px;
}

.direct-phone small {
  color: rgba(252, 250, 245, 0.46);
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.direct-phone strong {
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.contact-card {
  position: relative;
  min-height: 580px;
  padding: 39px 42px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(214, 196, 154, 0.36);
  border-radius: var(--radius-lg);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.26);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.form-head span {
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.form-head strong {
  color: var(--gold);
  font-family: "Amiri", serif;
  font-size: 1.25rem;
}

#contact-form {
  margin-top: 25px;
}

.form-group {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 19px;
}

.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.8rem;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder {
  color: #929791;
}

.form-group input:focus,
.form-group select:focus {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 154, 104, 0.12);
}

.form-group.error input,
.form-group.error select {
  border-color: #a94e47;
}

.form-error {
  display: none;
  color: #a94e47;
  font-size: 0.64rem;
}

.form-group.error .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 5px;
  border: 0;
}

.form-privacy {
  margin-top: 14px;
  color: #888f89;
  font-size: 0.59rem;
  text-align: center;
}

.form-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 50px;
  text-align: center;
  background: var(--paper);
  border-radius: inherit;
}

.form-success[hidden] {
  display: none;
}

.form-success > span {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(30, 89, 72, 0.08);
  font-size: 1.7rem;
}

.form-success strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
}

.form-success p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-success button {
  margin-top: 25px;
  padding: 9px;
  color: var(--green);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  color: rgba(252, 250, 245, 0.7);
  background: var(--deepest);
}

.site-footer .container {
  padding-top: 75px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 55px;
  border-bottom: 1px solid var(--white-line);
}

.footer-brand .brand-copy strong {
  color: var(--paper);
}

.footer-brand .brand-copy small {
  color: var(--gold-light);
}

.footer-top > p {
  color: var(--paper);
  font-family: "Amiri", serif;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: center;
}

.footer-top-link {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--white-line);
  font-size: 0.7rem;
}

.footer-top-link span {
  margin-left: 8px;
  color: var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 55px 0;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-label {
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
}

.footer-grid a,
.footer-grid span:not(.footer-label) {
  color: rgba(252, 250, 245, 0.52);
  font-size: 0.75rem;
  transition: color 0.25s ease;
}

.footer-grid a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0 28px;
  color: rgba(252, 250, 245, 0.34);
  border-top: 1px solid var(--white-line);
  font-size: 0.61rem;
}

/* Always-visible contact rail */
.contact-rail {
  position: fixed;
  z-index: 800;
  top: 50%;
  right: 20px;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.rail-button {
  display: grid;
  position: relative;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow:
    0 13px 28px rgba(9, 29, 25, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition:
    box-shadow 0.35s ease,
    transform 0.4s var(--ease);
}

.rail-button::after {
  position: absolute;
  inset: -7px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.rail-button:hover {
  z-index: 3;
  box-shadow: 0 18px 38px rgba(9, 29, 25, 0.3);
  transform: translateX(-5px) scale(1.07);
}

.rail-button:hover::after {
  opacity: 1;
  transform: scale(1);
}

.rail-phone { background: #367fb7; }
.rail-whatsapp { background: #3fc553; }
.rail-telegram { background: #29a7df; }
.rail-instagram {
  background:
    radial-gradient(circle at 72% 72%, #ffcc63 0 11%, transparent 12%),
    linear-gradient(140deg, #7843bb 3%, #df2c7a 48%, #ff4c55 82%);
}

.rail-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.phone-glyph {
  font-size: 1.65rem;
  transform: rotate(-16deg);
}

.whatsapp-glyph {
  position: relative;
  width: 31px;
  height: 31px;
  margin: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 0.72rem;
}

.whatsapp-glyph::after {
  position: absolute;
  bottom: -3px;
  left: 1px;
  width: 8px;
  height: 8px;
  content: "";
  border-bottom: 2px solid #fff;
  transform: rotate(31deg);
}

.telegram-glyph {
  padding-bottom: 2px;
  font-size: 1.75rem;
  transform: rotate(-28deg);
}

.instagram-glyph {
  position: relative;
  width: 31px;
  height: 31px;
  margin: auto;
  border: 3px solid #fff;
  border-radius: 9px;
}

.instagram-glyph::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  content: "";
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.instagram-glyph::after {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 4px;
  height: 4px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.instagram-glyph i {
  display: none;
}

.rail-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 13px);
  width: max-content;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--deepest);
  border: 1px solid var(--white-line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(9, 29, 25, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
  font-size: 0.61rem;
  font-weight: 700;
  white-space: nowrap;
}

.rail-button:hover .rail-tooltip,
.rail-button:focus-visible .rail-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.toast {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 96px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  color: var(--paper);
  background: var(--deepest);
  border: 1px solid var(--white-line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  font-size: 0.75rem;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* Reveal and animation */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.program-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.program-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.program-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.program-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.program-grid .reveal:nth-child(6) { transition-delay: 0.25s; }
.timeline .reveal:nth-child(2) { transition-delay: 0.12s; }
.timeline .reveal:nth-child(3) { transition-delay: 0.24s; }
.timeline .reveal:nth-child(4) { transition-delay: 0.36s; }
.timeline .reveal:nth-child(5) { transition-delay: 0.48s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes sound {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

@keyframes rotate-slow {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0% { opacity: 0.7; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.7); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* Warm crimson & orange theme */
body::before {
  background-image:
    radial-gradient(circle at 15% 20%, #5a1320 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 78% 60%, #5a1320 0 0.5px, transparent 0.75px);
}

.site-header.scrolled {
  background: rgba(255, 241, 232, 0.9);
}

.brand-seal,
.portrait-card,
.about-portrait-card,
.cairo-badge {
  border-color: rgba(228, 104, 50, 0.48);
}

.portrait-status {
  background: #e46832;
  box-shadow: 0 0 0 6px rgba(228, 104, 50, 0.16);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 241, 232, 0.99) 0%, rgba(255, 241, 232, 0.92) 58%, rgba(255, 241, 232, 0.68) 100%),
    radial-gradient(circle at 78% 34%, rgba(228, 104, 50, 0.22), transparent 34%);
}

.hero::before {
  background-image:
    linear-gradient(rgba(90, 19, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 19, 32, 0.045) 1px, transparent 1px);
}

.hero h1 em::after,
.profile-sun,
.contact-glow {
  background: rgba(228, 104, 50, 0.22);
}

.hero-glow-one,
.program-card::before {
  background: radial-gradient(circle, rgba(228, 104, 50, 0.2), transparent 68%);
}

.hero-glow-two {
  background: rgba(164, 32, 50, 0.08);
}

.arabic-particle,
.calligraphy-mark {
  color: rgba(164, 32, 50, 0.11);
}

.floating-card,
.cairo-badge {
  background: rgba(90, 19, 32, 0.94);
  box-shadow: 0 20px 45px rgba(47, 7, 16, 0.26);
}

.method-manifesto {
  background:
    radial-gradient(circle at 80% 10%, rgba(217, 74, 45, 0.44), transparent 32%),
    var(--deepest);
}

.program-card.featured {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 74, 45, 0.52), transparent 35%),
    var(--deep);
  border-color: var(--deep);
}

.language-catalog {
  background:
    radial-gradient(circle at 92% 8%, rgba(217, 74, 45, 0.42), transparent 27%),
    linear-gradient(145deg, var(--deepest), var(--deep));
}

.specialty-tabs {
  background: rgba(47, 7, 16, 0.48);
}

.specialty-tabs button.active {
  background: rgba(217, 74, 45, 0.25);
}

.specialty-stage {
  background:
    radial-gradient(circle at 83% 22%, rgba(228, 104, 50, 0.17), transparent 23%),
    rgba(90, 19, 32, 0.62);
}

.catalog-note {
  background: rgba(47, 7, 16, 0.35);
}

.journey {
  background:
    radial-gradient(circle at 10% 90%, rgba(217, 74, 45, 0.4), transparent 30%),
    var(--deep);
}

.contact {
  background:
    radial-gradient(circle at 7% 22%, rgba(217, 74, 45, 0.4), transparent 29%),
    linear-gradient(135deg, var(--deepest), var(--deep));
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(228, 104, 50, 0.16);
}

.form-group.error input,
.form-group.error select {
  border-color: #c83d32;
}

.form-error {
  color: #c83d32;
}

.contact-rail {
  filter: drop-shadow(0 10px 22px rgba(47, 7, 16, 0.2));
}

.rail-tooltip {
  background: var(--deepest);
}

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav {
    gap: 19px;
  }

  .desktop-nav a {
    font-size: 0.71rem;
  }

  .hero {
    min-height: 830px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 50px;
  }

  .portrait-card img {
    height: 530px;
  }

  .floating-card-top {
    left: -30px;
  }

  .floating-card-bottom {
    right: -15px;
  }

  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .credential-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .method-step {
    padding-inline: 24px;
  }

  .method-step p {
    right: 24px;
    left: 24px;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-card.featured {
    grid-column: span 2;
  }

  .specialty-browser {
    grid-template-columns: minmax(245px, 0.62fr) minmax(430px, 1fr);
  }

  .specialty-tabs button {
    padding-inline: 18px;
  }

  .specialty-panel {
    padding-inline: 40px;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 45px;
  }

  .timeline::before,
  .timeline::after {
    display: none;
  }

  .timeline-item {
    padding-left: 24px;
    border-left: 1px solid var(--white-line);
  }

  .timeline-dot {
    top: 1px;
    left: -7px;
  }

  .testimonial-layout {
    gap: 60px;
  }

  .testimonial-slide {
    padding: 46px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .section-pad {
    padding: 105px 0;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 740px;
  }

  .hero-visual {
    width: min(78vw, 520px);
    margin: 10px auto 75px;
    justify-self: center;
  }

  .portrait-card img {
    height: 600px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-story {
    max-width: 670px;
    margin-left: auto;
  }

  .cairo-silhouette {
    top: 340px;
    right: -270px;
    opacity: 0.06;
  }

  .cairo-origin {
    margin-top: 48px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: 280px;
    border-right: 1px solid var(--white-line);
    border-bottom: 1px solid var(--white-line);
  }

  .step-word {
    margin-top: 28px;
  }

  .method-step p {
    max-width: 350px;
    left: auto;
  }

  .manifesto-line {
    flex-wrap: wrap;
  }

  .specialty-browser {
    grid-template-columns: 1fr;
  }

  .specialty-tabs {
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .specialty-tabs button {
    min-height: 78px;
    border-right: 1px solid var(--white-line);
  }

  .specialty-stage,
  .specialty-panel {
    min-height: 540px;
  }

  .testimonial-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-heading > p {
    max-width: 560px;
  }

  .testimonial-slider {
    min-height: 460px;
  }

  .faq {
    background: var(--cream);
  }

  .faq-heading {
    position: static;
  }

  .contact-layout {
    gap: 60px;
  }

  .contact-card {
    width: min(100%, 610px);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section-pad {
    padding: 82px 0;
  }

  h2 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .brand-seal {
    width: 39px;
    height: 39px;
  }

  .hero {
    min-height: auto;
    padding-top: 111px;
  }

  .hero h1 {
    margin-top: 21px;
    font-size: clamp(3.05rem, 15vw, 4.7rem);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 0.92rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 29px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 36px;
    padding-top: 22px;
  }

  .hero-proof div {
    min-width: 0;
    padding: 0 10px 0 0;
  }

  .hero-proof div + div {
    padding: 0 0 0 13px;
  }

  .hero-proof strong {
    font-size: 0.98rem;
  }

  .hero-proof span {
    font-size: 0.58rem;
  }

  .hero-visual {
    width: 92vw;
    margin-top: 17px;
    margin-bottom: 55px;
  }

  .portrait-card img {
    height: 495px;
  }

  .portrait-card figcaption {
    min-height: 74px;
  }

  .portrait-card::after {
    bottom: 85px;
  }

  .floating-card {
    padding: 11px 13px;
  }

  .floating-card-top {
    top: 88px;
    left: -8px;
  }

  .floating-card-bottom {
    right: -6px;
    bottom: 106px;
  }

  .floating-card small {
    font-size: 0.48rem;
  }

  .floating-card strong {
    font-size: 0.61rem;
  }

  .calligraphy-mark {
    right: -30px;
    font-size: 6rem;
  }

  .particle-one,
  .particle-two {
    display: none;
  }

  .hero-marquee span {
    margin-inline: 22px;
  }

  .about-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .about-grid {
    padding: 53px 0 65px;
  }

  .about-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .cairo-origin {
    min-height: 225px;
    margin-top: 42px;
    padding: 20px 18px 16px;
    border-radius: 2px 42px 2px 2px;
  }

  .cairo-origin::before {
    border-radius: 0 34px 0 0;
  }

  .origin-arabic {
    width: 54px;
    height: 54px;
    font-size: 1.14rem;
  }

  .origin-heading {
    gap: 12px;
  }

  .origin-heading small {
    font-size: 0.43rem;
  }

  .origin-heading strong {
    font-size: 0.79rem;
  }

  .origin-landscape {
    right: -12%;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .origin-footer {
    bottom: 14px;
    left: 18px;
  }

  .cairo-silhouette {
    display: none;
  }

  .about-story .story-lead {
    font-size: 1.04rem;
  }

  .about-story blockquote {
    font-size: 1.2rem;
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .credential-card {
    display: grid;
    min-height: auto;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    padding: 25px 16px;
    border-top: 1px solid var(--line);
    border-left: 0 !important;
  }

  .credential-card:first-child {
    border-top: 0;
  }

  .credential-number,
  .credential-mark {
    min-height: 0;
    font-size: 2.35rem;
  }

  .manifesto-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .method-steps {
    margin-top: 34px;
  }

  .method-step {
    min-height: 300px;
    padding: 25px 22px;
  }

  .method-step p {
    right: 22px;
    bottom: 25px;
    left: 22px;
  }

  .step-word strong {
    font-size: 4.2rem;
  }

  .manifesto-line {
    display: grid;
    margin-top: 45px;
    font-size: 1.5rem;
  }

  .program-filter {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    background: transparent;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card,
  .program-card.featured {
    min-height: 390px;
    grid-column: span 1;
  }

  .specialty-browser {
    margin-right: -2px;
    margin-left: -2px;
    border-radius: 22px;
  }

  .specialty-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .specialty-tabs::-webkit-scrollbar {
    display: none;
  }

  .specialty-tabs button {
    flex: 0 0 205px;
    min-height: 72px;
    padding: 11px 15px;
  }

  .specialty-tabs button:hover {
    padding-left: 15px;
  }

  .specialty-stage,
  .specialty-panel {
    min-height: 560px;
  }

  .specialty-panel {
    padding: 31px 24px 26px;
  }

  .panel-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .panel-arabic {
    margin-top: 27px;
    font-size: 1.8rem;
  }

  .specialty-panel h3 {
    font-size: 2.45rem;
  }

  .specialty-panel > p {
    font-size: 0.8rem;
  }

  .specialty-panel ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-note {
    grid-template-columns: auto 1fr;
    padding: 19px;
  }

  .catalog-note a {
    grid-column: 2;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 55px;
  }

  .timeline-item {
    min-height: 150px;
    padding: 0 0 42px 35px;
  }

  .timeline-item + .timeline-item {
    padding-left: 35px;
  }

  .timeline-item::before {
    position: absolute;
    top: 10px;
    bottom: -3px;
    left: -1px;
    width: 1px;
    content: "";
    background: var(--white-line);
  }

  .timeline-item:last-child::before {
    display: none;
  }

  .timeline-dot {
    top: 0;
    left: -7px;
  }

  .timeline-item h3 {
    margin-top: 7px;
  }

  .timeline-item p {
    max-width: 360px;
  }

  .journey-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
  }

  .journey-cta .button {
    width: 100%;
  }

  .testimonial-layout {
    gap: 45px;
  }

  .testimonial-heading h2,
  .faq-heading h2 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

  .testimonial-slider {
    min-height: 500px;
    border-radius: 24px;
  }

  .testimonial-slide {
    padding: 40px 30px;
  }

  .testimonial-slide blockquote {
    font-size: 1.7rem;
  }

  .faq-layout {
    gap: 50px;
  }

  .faq-item button {
    min-height: 83px;
  }

  .faq-item button > span {
    gap: 13px;
    font-size: 0.88rem;
  }

  .faq-answer p {
    padding: 0 15px 27px 31px;
    font-size: 0.78rem;
  }

  .contact-layout {
    gap: 48px;
  }

  .contact-copy h2 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .contact-card {
    min-height: 555px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
  }

  .footer-top > p {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-grid > div:last-child {
    grid-column: span 2;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .direct-phone {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-rail {
    top: auto;
    right: auto;
    bottom: 13px;
    left: 50%;
    display: flex;
    gap: 9px;
    padding: 7px;
    background: rgba(9, 29, 25, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 14px 35px rgba(9, 29, 25, 0.23);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
  }

  .rail-button {
    width: 46px;
    height: 46px;
    border-width: 1px;
  }

  .rail-button:hover {
    transform: translateY(-3px) scale(1.04);
  }

  .rail-tooltip {
    display: none;
  }

  .phone-glyph {
    font-size: 1.35rem;
  }

  .whatsapp-glyph,
  .instagram-glyph {
    width: 25px;
    height: 25px;
  }

  .telegram-glyph {
    font-size: 1.42rem;
  }
}

@media (max-width: 1080px) {
  .about-profile {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
    gap: 58px;
  }

  .about-portrait-card {
    min-height: 540px;
  }

  .cairo-badge {
    right: -24px;
  }

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

  .credential-strip article:nth-child(3) {
    border-left: 0;
  }

  .credential-strip article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .about-profile {
    grid-template-columns: 1fr;
    gap: 70px;
    padding-top: 60px;
  }

  .about-portrait-column {
    width: min(88%, 470px);
    margin: 0 auto;
  }

  .about-copy {
    width: min(100%, 700px);
    margin: 0 auto;
  }

  .about-copy h2 {
    max-width: 650px;
  }
}

@media (max-width: 620px) {
  .about-profile {
    gap: 62px;
    padding: 45px 0 48px;
  }

  .about-portrait-column {
    width: calc(100% - 8px);
    padding: 15px 0 0 10px;
  }

  .about-portrait-column::before {
    width: 72%;
    box-shadow: 0 0 0 18px rgba(180, 154, 104, 0.04);
  }

  .about-portrait-card {
    min-height: 480px;
    border-radius: 180px 180px 18px 18px;
  }

  .about-portrait-card::after {
    inset: 9px;
    border-radius: 171px 171px 11px 11px;
  }

  .about-portrait-card figcaption {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .cairo-badge {
    right: -7px;
    bottom: 33px;
    width: min(294px, 88%);
    gap: 11px;
    padding: 11px 15px 11px 10px;
  }

  .cairo-badge > span {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    font-size: 1.18rem;
  }

  .cairo-badge small {
    font-size: 0.4rem;
  }

  .about-representative-note {
    max-width: 72%;
    margin-left: 9px;
    font-size: 0.52rem;
  }

  .about-copy h2 {
    margin-top: 18px;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .about-lead {
    margin-top: 23px;
    font-size: 0.95rem;
  }

  .story-chapters {
    margin-top: 28px;
  }

  .story-chapters article {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 11px;
    padding: 18px 0;
  }

  .story-chapters article:hover {
    padding-left: 7px;
  }

  .about-quote {
    padding-left: 20px;
    font-size: 1.27rem;
  }

  .credential-strip article {
    min-height: 96px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 17px 15px;
  }

  .credential-strip strong {
    font-size: 1.8rem;
  }

  .credential-strip span {
    font-size: 0.57rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-marquee > div {
    transform: none !important;
  }
}
