:root {
  --bg: #0f1012;
  --bg-secondary: #16181c;
  --panel: rgba(20, 22, 26, 0.9);
  --panel-strong: #1b1f24;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(241, 90, 36, 0.3);
  --text: #f8f4ef;
  --muted: #bcb6ae;
  --soft: #efe6da;
  --orange: #f15a24;
  --orange-strong: #ff7a36;
  --orange-soft: #ffb18d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: 'Cairo', 'Tajawal', 'Segoe UI', 'Arial', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 2%, rgba(241, 90, 36, 0.18), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, #0c0d0f 0%, #101114 32%, #0f1012 100%);
  line-height: 1.8;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  opacity: 0.34;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 16, 18, 0) 0%, rgba(15, 16, 18, 0.14) 100%);
}

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

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

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

::selection {
  background: rgba(241, 90, 36, 0.28);
  color: #ffffff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 18px;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(11, 12, 14, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand-mark-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(241, 90, 36, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(241, 90, 36, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-mark {
  width: 38px;
  color: var(--orange);
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-copy small {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(241, 90, 36, 0.14);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.availability-badge,
.hero-status,
.micro-chip,
.project-category,
.service-number,
.step-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(241, 90, 36, 0.22);
  background: rgba(241, 90, 36, 0.1);
  color: var(--orange-soft);
  font-size: 0.82rem;
  line-height: 1;
}

.availability-dot,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-strong);
  box-shadow: 0 0 0 6px rgba(241, 90, 36, 0.12);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-cta,
.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--orange-strong), var(--orange));
  box-shadow: 0 16px 32px rgba(241, 90, 36, 0.22);
}

.nav-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(241, 90, 36, 0.32);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(241, 90, 36, 0.08);
  border-color: rgba(241, 90, 36, 0.24);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero-home {
  padding: 120px 0 84px;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 97%, rgba(255, 255, 255, 0.04) 97% 100%),
    linear-gradient(90deg, transparent 0 97%, rgba(255, 255, 255, 0.04) 97% 100%);
  background-size: 160px 160px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 82%);
  opacity: 0.16;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}

.hero-orb-one {
  width: 420px;
  height: 420px;
  top: -120px;
  inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(241, 90, 36, 0.22), transparent 68%);
}

.hero-orb-two {
  width: 360px;
  height: 360px;
  bottom: -120px;
  inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 58px;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-english,
.lockup-top,
.footer-shell span:last-child,
.contact-direct small,
.signal-card small,
.identity-metric small,
.promise-card small {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-english {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.74rem;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 900;
  word-spacing: -0.04em;
  text-wrap: balance;
}

.hero-copy h1 span {
  color: var(--orange-soft);
}

.hero-copy p {
  max-width: 670px;
  margin: 0 0 30px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

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

.hero-points div,
.signal-card,
.identity-metric,
.promise-card,
.service-card,
.project-card,
.process-step,
.contact-shell,
.identity-panel,
.promise-card-main {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero-points div::before,
.signal-card::before,
.identity-metric::before,
.promise-card::before,
.service-card::before,
.project-card::before,
.process-step::before,
.contact-shell::before,
.identity-panel::before,
.promise-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%);
}

.hero-points strong,
.signal-card strong,
.identity-metric strong,
.contact-direct span,
.promise-card h2,
.promise-card-main h2,
.brand-lockup strong,
.floating-contact-card strong,
.floating-skill-card strong,
.project-card h3,
.service-card h3,
.process-step h3,
.contact-copy h2,
.section-title h2,
.identity-copy h2 {
  display: block;
}

.hero-points strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-points span,
.signal-card small,
.identity-metric small,
.contact-direct small,
.promise-card li,
.floating-contact-card span,
.floating-skill-card span,
.lockup-top,
.brand-lockup p,
.identity-copy p,
.section-title p,
.project-card p,
.service-card p,
.process-step p,
.contact-copy p,
.promise-card p,
.promise-card-main p {
  color: var(--muted);
}

.hero-showcase {
  position: relative;
  min-height: 620px;
}

.brand-stage {
  position: relative;
  z-index: 2;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(241, 90, 36, 0.22);
  background:
    radial-gradient(circle at 20% 10%, rgba(241, 90, 36, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(19, 21, 25, 0.96), rgba(14, 15, 18, 0.96));
  box-shadow: var(--shadow);
}

.brand-stage-head,
.brand-stage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-stage-head {
  margin-bottom: 22px;
}

.micro-chip {
  min-height: 34px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid rgba(241, 90, 36, 0.18);
  background: rgba(241, 90, 36, 0.08);
  color: var(--orange-soft);
  font-size: 0.72rem;
}

.micro-chip-dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.brand-core {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px;
  margin-bottom: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark-panel {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(241, 90, 36, 0.95), rgba(233, 86, 34, 0.92));
  box-shadow: 0 24px 40px rgba(241, 90, 36, 0.18);
}

.hero-logo-mark {
  width: 92px;
  color: #151517;
}

.brand-lockup {
  display: grid;
  gap: 10px;
}

.lockup-top {
  font-size: 0.8rem;
  color: var(--orange-soft);
}

.brand-lockup strong {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
}

.brand-lockup p {
  margin: 0;
  font-size: 1rem;
}

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

.signal-card strong,
.identity-metric strong {
  margin-top: 6px;
  font-size: 1rem;
}

.signal-card-highlight {
  border-color: rgba(241, 90, 36, 0.22);
  background: linear-gradient(180deg, rgba(241, 90, 36, 0.1), rgba(255, 255, 255, 0.03));
}

.floating-contact-card,
.floating-skill-card {
  position: absolute;
  z-index: 3;
  min-width: 220px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(15, 16, 18, 0.8);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.floating-contact-card {
  top: 22px;
  inset-inline-start: -26px;
}

.floating-skill-card {
  bottom: 22px;
  inset-inline-end: -28px;
  max-width: 310px;
}

.floating-contact-card strong,
.floating-skill-card strong {
  margin: 6px 0;
  font-size: 1rem;
}

.floating-contact-card a {
  color: var(--orange-soft);
  font-size: 0.94rem;
}

.proof-strip {
  position: relative;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.proof-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  color: var(--muted);
}

.proof-strip-inner strong {
  color: var(--soft);
  font-size: 0.98rem;
}

.section {
  padding: 108px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
}

.section-accent {
  background:
    radial-gradient(circle at 10% 10%, rgba(241, 90, 36, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 44%);
}

.section-process {
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 48%);
}

.section-title {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-title-centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--orange-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 90, 36, 0.9), transparent);
}

.section-title h2,
.identity-copy h2,
.promise-card-main h2,
.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.18;
}

.section-title p,
.identity-copy p,
.promise-card-main p,
.contact-copy p {
  margin: 0;
  font-size: 1.02rem;
}

.services-grid,
.projects-grid,
.process-grid {
  display: grid;
  gap: 24px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.projects-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mini-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 90, 36, 0.35), transparent);
}

.service-card h3,
.project-card h3,
.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.service-card p,
.project-card p,
.process-step p {
  margin: 0;
}

.project-card ul,
.identity-list,
.promise-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.project-card li,
.identity-list li,
.promise-list li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--soft);
}

.project-card li::before,
.identity-list li::before,
.promise-list li::before {
  content: '';
  position: absolute;
  top: 12px;
  inset-inline-start: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(241, 90, 36, 0.12);
}

.identity-grid,
.promise-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.identity-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.promise-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
}

.identity-panel {
  display: grid;
  gap: 16px;
  align-content: center;
}

.identity-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.swatch {
  height: 92px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swatch-orange {
  background: linear-gradient(180deg, #ff8449, var(--orange));
}

.swatch-dark {
  background: linear-gradient(180deg, #23262c, #111317);
}

.swatch-soft {
  background: linear-gradient(180deg, #f6ecdf, #d4c7b5);
}

.swatch-border {
  background: linear-gradient(180deg, #2a2f36, #1a1d22);
  box-shadow: inset 0 0 0 1px rgba(241, 90, 36, 0.32);
}

.promise-card-main {
  padding: 30px;
}

.promise-card {
  display: grid;
  align-content: center;
}

.process-grid {
  position: relative;
}

.process-step {
  min-height: 100%;
}

.step-index,
.project-category,
.service-number {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step .step-index {
  margin-bottom: 16px;
}

.contact-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-color: rgba(241, 90, 36, 0.24);
  background:
    radial-gradient(circle at 12% 10%, rgba(241, 90, 36, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(28, 31, 36, 0.96), rgba(17, 18, 21, 0.96));
}

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

.contact-direct {
  min-width: 260px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.contact-direct span {
  font-size: 1.04rem;
}

.contact-direct small {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
}

.site-footer {
  padding: 30px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-shell span:last-child {
  font-size: 0.72rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.7s ease forwards;
}

.reveal-up:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal-up:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal-up:nth-child(4) {
  animation-delay: 0.24s;
}

.reveal-up:nth-child(5) {
  animation-delay: 0.32s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand,
  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-grid,
  .identity-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: auto;
  }

  .floating-contact-card,
  .floating-skill-card {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

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

  .projects-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-shell,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 880px) {
  .site-header {
    padding-top: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-actions {
    flex-direction: column;
  }

  .hero-home {
    padding-top: 88px;
  }

  .hero-points,
  .brand-stage-grid,
  .services-grid,
  .projects-grid,
  .process-grid,
  .identity-swatches,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-cta,
  .contact-direct {
    width: 100%;
  }

  .brand-core {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-mark-panel {
    width: 160px;
    margin-inline: auto;
  }
}

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

  .brand-copy strong {
    white-space: normal;
  }

  .brand-copy small {
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .section,
  .hero-home {
    padding-block: 76px;
  }

  .hero-points div,
  .signal-card,
  .identity-metric,
  .promise-card,
  .service-card,
  .project-card,
  .process-step,
  .contact-shell,
  .identity-panel,
  .promise-card-main,
  .brand-stage {
    padding: 20px;
  }

  .brand-core {
    padding: 20px;
  }

  .contact-shell {
    padding: 24px;
  }

  .proof-strip-inner {
    gap: 10px 14px;
  }
}

/* School project showcase */
.school-showcase-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(241, 90, 36, 0.16), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.055), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.school-showcase-section::before {
  content: '';
  position: absolute;
  inset: 24px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 90, 36, 0.42), transparent);
  opacity: 0.65;
}

.school-case-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}

.school-case-copy {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.school-case-copy {
  max-width: 980px;
  padding: clamp(24px, 3.5vw, 38px);
}

.school-case-copy::before {
  content: '';
  position: absolute;
  inset: auto auto -120px -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(241, 90, 36, 0.15);
  filter: blur(6px);
}

.school-case-copy h2 {
  position: relative;
  margin: 12px 0 14px;
  max-width: 780px;
  color: var(--text);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.22;
}

.school-case-copy p {
  position: relative;
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.school-case-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.school-case-badges span,
.school-tour-phase {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(241, 90, 36, 0.24);
  border-radius: 999px;
  color: var(--orange-soft);
  background: rgba(241, 90, 36, 0.1);
  font-size: 0.84rem;
  line-height: 1;
}

.school-case-panel {
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3.5vw, 34px);
  background:
    linear-gradient(140deg, rgba(241, 90, 36, 0.13), rgba(255, 255, 255, 0.035) 44%, rgba(255, 255, 255, 0.02)),
    rgba(14, 15, 17, 0.72);
}

.school-case-panel-glow {
  position: absolute;
  inset: -90px -80px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(241, 90, 36, 0.2);
  filter: blur(32px);
}

.school-case-panel strong,
.school-case-panel p,
.school-case-stats {
  position: relative;
}

.school-case-panel > strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.45;
}

.school-case-panel p {
  margin: 0;
  color: var(--muted);
}

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

.school-case-stats div {
  display: grid;
  gap: 4px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
}

.school-case-stats b {
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.school-case-stats span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.school-featured-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.school-featured-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 28px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.school-featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(90deg, rgba(241, 90, 36, 0.18), transparent 45%);
  opacity: 0.92;
  transition: opacity 0.28s ease;
}

.school-featured-card:hover,
.school-featured-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(241, 90, 36, 0.44);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.38);
  outline: none;
}

.school-featured-card:hover::after,
.school-featured-card:focus-visible::after {
  opacity: 0.72;
}

.school-featured-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
}

.school-featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.school-featured-card:hover img,
.school-featured-card:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.school-featured-meta {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 22px;
  text-align: start;
}

.school-featured-meta small {
  width: fit-content;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 13, 15, 0.54);
  backdrop-filter: blur(14px);
  font-size: 0.76rem;
  line-height: 1;
}

.school-featured-meta strong {
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.55;
}

.school-featured-number {
  position: absolute;
  z-index: 3;
  top: 16px;
  inset-inline-start: 16px;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  padding-inline: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 13, 15, 0.66);
  backdrop-filter: blur(14px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
}

.school-gallery-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.026);
}

.school-gallery-hint span {
  color: var(--soft);
}

.school-showcase-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.school-tour {
  width: min(1180px, calc(100vw - 28px));
  max-width: 1180px;
  max-height: min(92vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  color: var(--text);
  background: transparent;
}

.school-tour::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.school-tour-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 0%, rgba(241, 90, 36, 0.16), transparent 30%),
    rgba(13, 14, 16, 0.96);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.school-tour-close {
  position: absolute;
  z-index: 8;
  top: 14px;
  inset-inline-end: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.school-tour-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: 520px;
}

.school-tour-progress {
  position: absolute;
  z-index: 7;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.school-tour-progress span {
  display: block;
  inline-size: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transition: inline-size 0.28s ease;
}

.school-tour-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  background: #050506;
  touch-action: pan-y;
}

.school-tour-media img {
  width: 100%;
  max-height: min(74vh, 720px);
  object-fit: contain;
}

.school-tour-nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.school-tour-next {
  inset-inline-end: 16px;
}

.school-tour-prev {
  inset-inline-start: 16px;
}

.school-tour-close:hover,
.school-tour-nav:hover,
.school-tour-close:focus-visible,
.school-tour-nav:focus-visible {
  background: rgba(241, 90, 36, 0.9);
  outline: none;
}

.school-tour-info {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px 26px 28px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.school-tour-counter {
  color: var(--orange-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
}

.school-tour-info strong {
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.45;
}

.school-tour-info p {
  margin: 0;
  color: var(--muted);
}

.school-tour-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.school-tour-thumb {
  flex: 0 0 104px;
  width: 104px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.school-tour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-tour-thumb:hover,
.school-tour-thumb:focus-visible,
.school-tour-thumb.is-active {
  opacity: 1;
  border-color: rgba(241, 90, 36, 0.9);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 980px) {
  .school-featured-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-tour-stage {
    grid-template-columns: 1fr;
  }

  .school-tour-info {
    align-content: start;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 680px) {
  .school-case-copy {
    border-radius: 24px;
  }

  .school-case-stats {
    grid-template-columns: 1fr;
  }

  .school-featured-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .school-featured-card {
    min-height: 250px;
    border-radius: 24px;
  }

  .school-gallery-hint {
    align-items: flex-start;
    flex-direction: column;
  }

  .school-tour {
    width: min(100vw - 16px, 1180px);
  }

  .school-tour-stage,
  .school-tour-media {
    min-height: 330px;
  }

  .school-tour-nav {
    width: 42px;
    height: 42px;
  }

  .school-tour-info {
    padding: 18px 16px 20px;
  }

  .school-tour-thumbs {
    padding: 10px;
  }

  .school-tour-thumb {
    flex-basis: 78px;
    width: 78px;
    height: 50px;
    border-radius: 11px;
  }
}

@media (max-width: 440px) {
  .school-case-badges span {
    width: 100%;
    justify-content: center;
  }

  .school-featured-card {
    min-height: 220px;
  }
}


/* CODEKENZ SEO v2: clickable service cards */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 90, 36, 0.28);
}
