:root {
  --primary: #96394b;
  --primary-dark: #63202e;
  --accent: #bd3652;
  --cream: #f8f5f0;
  --background: #fffcfa;
  --text: #1a1a1a;
  --gray: #6e6e6e;
  --border: #ece6df;
  --white: #ffffff;
  --shadow-soft: 0 18px 56px rgba(95, 8, 24, 0.09);
  --shadow-hover: 0 26px 74px rgba(95, 8, 24, 0.14);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Estedad", "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(142, 16, 37, 0.32); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; right: 8px; z-index: 1000; padding: 9px 14px; color: #fff; background: #700016; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.header-edge,
.footer-nav { display: none; }

.site-shell {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3, .header-cta, .btn-primary-namik, .btn-secondary-namik {
  font-family: "Estedad", "Vazirmatn", sans-serif;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255,252,250,.88), rgba(255,252,250,0));
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,252,250,.82);
  box-shadow: 0 14px 42px rgba(95, 8, 24, .08);
  backdrop-filter: blur(18px);
}
.navbar { min-height: 78px; padding: 0; }
.nav-shell { direction: ltr; }
.brand-lockup { order: 1; width: 116px; display: inline-flex; align-items: center; }
.brand-lockup img { width: 116px; height: auto; }
.navbar-collapse { order: 2; direction: rtl; }
.navbar-nav { gap: 22px; }
.nav-link {
  color: rgba(26,26,26,.86);
  padding: 10px 0 !important;
  font-size: .86rem;
  font-weight: 700;
}
.nav-link:hover { color: var(--primary); }
.header-cta {
  order: 3;
  display: inline-flex;
  min-width: 128px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: .86rem;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(142,16,37,.22);
}
.nav-toggle {
  order: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(142,16,37,.16);
  border-radius: var(--radius);
  background: rgba(255,252,250,.78);
}
.nav-toggle .navbar-toggler-icon {
  width: 22px;
  height: 16px;
  background-image: linear-gradient(var(--primary),var(--primary)),linear-gradient(var(--primary),var(--primary)),linear-gradient(var(--primary),var(--primary));
  background-position: center top, center center, center bottom;
  background-repeat: no-repeat;
  background-size: 22px 2px;
}

.hero-home {
  position: relative;
  padding: 94px 0 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(142,16,37,.07), transparent 27%),
    radial-gradient(circle at 86% 8%, rgba(178,40,62,.06), transparent 24%),
    linear-gradient(180deg, #fff, var(--background));
}
.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 850;
}
.hero-slider-shell {
  position: relative;
  width: calc(100vw - 48px);
  max-width: none;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(142,16,37,.08);
  border-radius: 8px;
  background: #f6eee8;
  box-shadow: 0 28px 88px rgba(95, 8, 24, .11);
  isolation: isolate;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transform: scale(1.015);
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.03);
  transition: transform 6s ease;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-slide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,252,250,.9) 0%, rgba(255,252,250,.78) 31%, rgba(255,252,250,.28) 54%, rgba(255,252,250,.03) 76%),
    linear-gradient(180deg, rgba(255,252,250,.42), rgba(255,252,250,.02) 42%, rgba(248,245,240,.34));
}
.hero-slide-copy {
  position: relative;
  z-index: 2;
  width: min(460px, 42%);
  margin-right: clamp(52px, 8vw, 96px);
  direction: rtl;
}
.hero-slide-copy h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2.45rem, 4.3vw, 4.75rem);
  font-weight: 950;
  line-height: 1.24;
}
.hero-slide-copy h1 em {
  display: block;
  color: var(--primary);
  font-style: normal;
}
.hero-slide-copy p {
  max-width: 390px;
  margin: 0;
  color: rgba(26,26,26,.74);
  font-size: .96rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-primary-namik, .btn-secondary-namik {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 850;
  transform: translate(var(--mx,0), var(--my,0));
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.btn-primary-namik {
  padding: 10px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 32px rgba(142,16,37,.22);
}
.btn-secondary-namik {
  padding: 9px 17px;
  color: var(--primary);
  border: 1px solid rgba(142,16,37,.2);
  background: rgba(255,255,255,.72);
}
.btn-primary-namik:hover, .btn-secondary-namik:hover { transform: translate(var(--mx,0), calc(var(--my,0) - 2px)); }
.btn-primary-namik span, .btn-secondary-namik span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}
.btn-secondary-namik span { background: rgba(142,16,37,.08); }
.btn-primary-namik svg, .btn-secondary-namik svg { width: 15px; height: 15px; stroke-width: 1.5; }

.hero-slider-footer {
  position: absolute;
  inset: auto 42px 34px 42px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}
.hero-progress {
  display: flex;
  gap: 12px;
  align-items: center;
  pointer-events: auto;
}
.hero-progress button {
  min-width: 26px;
  min-height: 36px;
  padding: 0;
  border: 0;
  color: #b9aeaa;
  background: transparent;
  font-size: .82rem;
  font-weight: 850;
  transition: color .25s ease;
}
.hero-progress button.is-active { color: var(--primary); }
.hero-progress b {
  width: 86px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(142,16,37,.14);
}
.hero-progress b::after {
  display: block;
  width: var(--hero-progress, 33.333%);
  height: 100%;
  content: "";
  border-radius: inherit;
  background: var(--primary);
  transition: width .35s var(--ease);
}
.hero-play-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: rgba(26,26,26,.84);
  font-size: .86rem;
  font-weight: 850;
  pointer-events: auto;
  transform: translate(var(--mx,0), var(--my,0));
  transition: transform .2s var(--ease), color .2s ease;
}
.hero-play-link:hover { color: var(--primary); }
.hero-play-link svg {
  width: 42px;
  height: 42px;
  padding: 12px;
  border: 1px solid rgba(142,16,37,.18);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 34px rgba(95,8,24,.12);
}
.hero-arrow {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s ease, background-color .2s ease;
}
.hero-arrow:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background: #fff; }
.hero-arrow-right { right: 24px; top: 50%; }
.hero-arrow-left { left: 24px; top: 50%; }
.hero-arrow svg { width: 19px; height: 19px; stroke-width: 1.5; }

.studio-spaces-section {
  padding: 42px 0 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(142, 16, 37, .05), transparent 28%),
    linear-gradient(180deg, var(--background), #fff 48%, var(--background));
}

.studio-spaces-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 34px;
  align-items: start;
  direction: ltr;
}

.studio-spaces-feature {
  position: sticky;
  top: 96px;
  min-height: 680px;
  display: grid;
  align-content: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(142, 16, 37, .08);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  direction: rtl;
}

.studio-spaces-feature::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 252, 250, .04), rgba(255, 252, 250, .9) 72%),
    linear-gradient(90deg, rgba(255, 252, 250, .84), rgba(255, 252, 250, 0) 48%);
}

.studio-spaces-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-spaces-feature figcaption,
.studio-spaces-stats,
.studio-spaces-cta {
  position: relative;
  z-index: 2;
}

.studio-spaces-feature figcaption {
  width: min(100%, 520px);
  padding: 0 48px 22px;
}

.studio-spaces-feature figcaption span,
.studio-spaces-feature figcaption strong {
  display: block;
  font-family: "Estedad", "Vazirmatn", sans-serif;
  font-size: clamp(2.15rem, 4.1vw, 4.15rem);
  font-weight: 950;
  line-height: 1.3;
}

.studio-spaces-feature figcaption strong {
  color: var(--primary);
}

.studio-spaces-feature figcaption p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: .98rem;
  line-height: 2;
}

.studio-spaces-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 48px 24px;
}

.studio-spaces-stats div {
  min-height: 132px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid rgba(142, 16, 37, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(18px);
  text-align: center;
}

.studio-spaces-stats svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  stroke-width: 1.5;
}

.studio-spaces-stats strong {
  color: var(--text);
  font-size: .82rem;
  font-weight: 950;
}

.studio-spaces-stats span {
  color: var(--gray);
  font-size: .72rem;
  line-height: 1.8;
}

.studio-spaces-cta {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 48px 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(142, 16, 37, .24);
  font-family: "Estedad", "Vazirmatn", sans-serif;
  font-weight: 900;
}

.studio-spaces-cta svg {
  width: 16px;
  height: 16px;
}

.studio-spaces-list {
  display: grid;
  gap: 14px;
  direction: rtl;
}

.studio-spaces-heading {
  padding: 18px 8px 20px;
  text-align: center;
}

.studio-spaces-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  color: var(--text);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 1.35;
}

.studio-spaces-heading h2::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 84px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--primary);
  transform: translateX(50%);
}

.studio-space-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 128px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(142, 16, 37, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 42px rgba(95, 8, 24, .06);
  transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease;
}

.studio-space-card::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: 4px;
  content: "";
  background: transparent;
  transition: background .24s ease;
}

.studio-space-card:hover,
.studio-space-card.is-active {
  border-color: rgba(142, 16, 37, .16);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.studio-space-card:hover::before,
.studio-space-card.is-active::before {
  background: var(--primary);
}

.studio-space-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
}

.studio-space-card > div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: start;
}

.studio-space-card span {
  grid-row: 1 / 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 16, 37, .12);
  border-radius: var(--radius);
  color: var(--primary);
  background: rgba(255, 252, 250, .88);
}

.studio-space-card svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.studio-space-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 950;
}

.studio-space-card p {
  margin: 4px 0 0;
  color: var(--gray);
  font-size: .86rem;
  line-height: 1.9;
}

.studio-space-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 950;
}

.studio-space-card a svg {
  width: 14px;
  height: 14px;
}

.services-section { padding: 34px 0 20px; }
.service-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  min-height: 128px;
  padding: 18px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.icon-box {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  place-items: center;
  border: 1px solid rgba(142,16,37,.12);
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--white);
}
.icon-box svg { width: 38px; height: 38px; stroke-width: 1.5; }
.service-card h3 { margin: 0 0 6px; font-size: .92rem; font-weight: 900; }
.service-card p { margin: 0; color: var(--gray); font-size: .76rem; line-height: 1.65; }

.consulting-section { padding: 24px 0 28px; }
.consulting-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.consulting-image { margin: 0; overflow: hidden; border-radius: var(--radius); }
.consulting-image img { width: 100%; height: 184px; object-fit: cover; }
.consulting-copy { text-align: center; }
.consulting-copy h2 { margin: 0 0 14px; font-size: 1.55rem; font-weight: 920; }
.consulting-copy h2 em { color: var(--primary); font-style: normal; }
.consulting-copy p { margin: 0 auto 14px; max-width: 430px; color: var(--gray); font-size: .92rem; }
.consulting-copy ul {
  display: grid;
  gap: 8px;
  max-width: 290px;
  margin: 0 auto 18px;
  padding: 0;
  list-style: none;
  text-align: right;
  color: #3c3637;
  font-size: .86rem;
}
.consulting-copy li { display: flex; gap: 8px; align-items: center; }
.consulting-copy li svg { width: 16px; height: 16px; color: var(--primary); stroke-width: 1.5; }

.courses-section, .licenses-section, .portfolio-section { padding: 20px 0; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title h2, .licenses-section h2, .portfolio-row h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 920;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
}
.text-link i { width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
.course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.course-card {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.course-card img { width: 100%; height: 88px; object-fit: cover; border-radius: calc(var(--radius) - 2px); }
.course-card span {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--white);
  background: #cf9b4b;
  font-size: .68rem;
}
.course-card h3 { margin: 10px 0 5px; font-size: .86rem; font-weight: 900; }
.course-card small { color: var(--gray); font-size: .72rem; }

.licenses-section .site-shell {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.licenses-section h2 { margin-bottom: 18px; text-align: right; }
.license-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.license-row div { display: grid; place-items: center; gap: 6px; min-height: 86px; text-align: center; color: var(--gray); }
.license-row svg { width: 40px; height: 40px; color: #7f9ebd; stroke-width: 1.5; }
.license-row img { width: 52px; height: 52px; object-fit: contain; }
.license-row strong { color: var(--text); font-size: .82rem; }
.license-row span { font-size: .72rem; }

.portfolio-board {
  display: grid;
  gap: 14px;
}
.portfolio-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.portfolio-row header { display: grid; gap: 10px; justify-items: start; }
.portfolio-thumbs { display: flex; gap: 10px; overflow: hidden; }
.portfolio-thumbs img {
  width: 112px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.lead-section {
  padding: 34px 0 54px;
  background: linear-gradient(180deg, var(--background), #fff);
}

.home-team-section,
.trust-section {
  padding: 42px 0;
  background: var(--background);
}

.home-team-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-team-card,
.testimonial-card,
.client-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}

.home-team-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.home-team-card img,
.team-photo-fallback {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.team-photo-fallback {
  display: grid;
  place-items: center;
  color: #fff;
}

.team-photo-fallback svg { width: 48px; height: 48px; stroke-width: 1.3; }
.home-team-card h3 { margin: 0; font-size: 1rem; font-weight: 950; }
.home-team-card strong { color: var(--primary); font-size: .84rem; }
.home-team-card p { margin: 0; color: var(--gray); font-size: .84rem; }

.client-strip {
  display: grid;
  gap: 18px;
  padding: 22px;
  margin-bottom: 18px;
  text-align: center;
}

.client-strip h2 { margin: 0; font-size: 1.3rem; font-weight: 950; }
.client-strip div { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-strip a {
  display: grid;
  min-width: 116px;
  min-height: 58px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gray);
  background: #fff;
  font-weight: 950;
}

.client-strip img {
  max-width: 94px;
  max-height: 38px;
  object-fit: contain;
}

.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.testimonial-rating { display: flex; gap: 4px; color: var(--primary); }
.testimonial-rating svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-card p { margin: 0; color: var(--gray); }
.testimonial-card footer { display: grid; gap: 3px; }
.testimonial-card strong { font-weight: 950; }
.testimonial-card span { color: var(--gray); font-size: .84rem; }

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.lead-copy,
.lead-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}

.lead-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}

.lead-copy h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.35;
}

.lead-copy p {
  margin: 0;
  color: var(--gray);
}

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

.lead-copy li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-weight: 850;
}

.lead-copy svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.lead-wide,
.lead-form button,
.lead-alert {
  grid-column: 1 / -1;
}

.lead-alert {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-weight: 850;
}

.lead-alert.success {
  color: #166534;
  background: rgba(22,101,52,.09);
}

.lead-alert.error {
  color: #b91c1c;
  background: rgba(185,28,28,.08);
}

.site-footer {
  padding: 34px 0 38px;
  color: rgba(255, 249, 244, .9);
  background:
    linear-gradient(145deg, rgba(42, 2, 10, .92) 0%, rgba(95, 8, 24, .96) 34%, rgba(142, 16, 37, .96) 62%, rgba(55, 3, 14, .98) 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 1px, rgba(255,255,255,0) 1px 7px);
}
.footer-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  overflow: hidden;
  padding: 28px 32px;
  border: 1px solid rgba(255, 238, 226, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 42%, rgba(0,0,0,.14)),
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,0) 38%, rgba(0,0,0,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 24px 70px rgba(55, 3, 14, .2);
}
.footer-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 38%, rgba(0,0,0,.16));
  mix-blend-mode: soft-light;
}
.footer-panel > * {
  position: relative;
  z-index: 1;
}
.footer-social, .footer-contact { display: grid; gap: 12px; }
.footer-social div { display: flex; gap: 10px; }
.footer-social a, .footer-contact a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 238, 226, .24);
  border-radius: 999px;
  color: #fff8f2;
  background: rgba(255,255,255,.08);
  font-size: .78rem;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.footer-social a:hover, .footer-contact a:hover {
  border-color: rgba(255, 238, 226, .44);
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}
.footer-social a { width: 36px; }
.footer-social strong,
.footer-contact strong {
  color: #fffaf6;
}
.footer-brand { display: grid; place-items: center; text-align: center; }
.footer-brand img {
  width: 110px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.22));
}
.footer-brand small { color: rgba(255, 238, 226, .72); }
.footer-contact { justify-items: end; }
.footer-contact span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 238, 226, .74);
  font-size: .82rem;
}
.footer-panel svg {
  width: 16px;
  height: 16px;
  color: #fff3ec;
  stroke-width: 1.5;
}

.reveal-item { opacity: 0; transform: translateY(22px); }

@media (max-width: 1100px) {
  .navbar-nav { gap: 12px; }
  .nav-link { font-size: .8rem; }
  .service-cards, .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .license-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-spaces-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-spaces-feature {
    position: relative;
    top: auto;
    min-height: 620px;
  }
}

@media (max-width: 991.98px) {
  .site-header { background: rgba(255,252,250,.88); backdrop-filter: blur(16px); }
  .navbar { min-height: 76px; }
  .brand-lockup { width: 82px; }
  .brand-lockup img { width: 82px; }
  .navbar-collapse {
    order: 5;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,252,250,.96);
    box-shadow: var(--shadow-soft);
  }
  .header-cta { min-width: 112px; }
  .hero-home { padding-top: 86px; }
  .hero-slider-shell {
    width: min(100% - 28px, 1080px);
    min-height: 600px;
  }
  .hero-slide img { object-position: 62% center; }
  .hero-slide-shade {
    background:
      linear-gradient(180deg, rgba(255,252,250,.84) 0%, rgba(255,252,250,.58) 24%, rgba(255,252,250,.3) 58%, rgba(248,245,240,.72) 100%),
      linear-gradient(90deg, rgba(255,252,250,.58), rgba(255,252,250,.08));
  }
  .hero-slide-copy {
    width: min(560px, calc(100% - 64px));
    margin: 0 auto;
    text-align: center;
  }
  .hero-slide-copy p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-arrow {
    top: auto;
    bottom: 108px;
  }
  .hero-arrow-right { right: 22px; }
  .hero-arrow-left { left: 22px; }
  .studio-spaces-section { padding-top: 30px; }
  .studio-spaces-list { order: -1; }
  .studio-space-card { grid-template-columns: 170px minmax(0, 1fr); }
  .consulting-grid, .portfolio-row, .footer-panel { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .home-team-grid,
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-social, .footer-contact { justify-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .site-shell { width: min(100% - 28px, 1080px); }
  .hero-home { padding: 82px 0 24px; }
  .hero-slider-shell {
    width: min(100% - 24px, 1080px);
    min-height: 560px;
    border-radius: 8px;
  }
  .hero-slide img {
    object-position: center top;
    filter: saturate(.98);
  }
  .hero-slide-shade {
    background:
      linear-gradient(180deg, rgba(255,252,250,.74) 0%, rgba(255,252,250,.46) 26%, rgba(255,252,250,.2) 48%, rgba(248,245,240,.82) 100%),
      linear-gradient(90deg, rgba(255,252,250,.54), rgba(255,252,250,.14));
  }
  .hero-slide-copy {
    width: calc(100% - 32px);
    align-self: start;
    padding-top: 74px;
  }
  .hero-slide-copy h1 {
    margin-bottom: 12px;
    font-size: 2.05rem;
    line-height: 1.32;
  }
  .hero-slide-copy p {
    max-width: 300px;
    font-size: .9rem;
  }
  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }
  .btn-primary-namik, .btn-secondary-namik {
    min-height: 42px;
    padding-inline: 14px;
    font-size: .82rem;
  }
  .hero-slider-footer {
    inset: auto 16px 16px;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  .hero-progress {
    justify-content: center;
  }
  .hero-progress b { width: 74px; }
  .hero-play-link {
    justify-content: center;
    min-height: 44px;
  }
  .hero-play-link svg {
    width: 38px;
    height: 38px;
    padding: 11px;
  }
  .hero-arrow {
    display: none;
  }
  .studio-spaces-grid { gap: 18px; }
  .studio-spaces-feature {
    min-height: auto;
    padding-top: 330px;
  }
  .studio-spaces-feature figcaption {
    padding: 0 18px 14px;
  }
  .studio-spaces-feature figcaption span,
  .studio-spaces-feature figcaption strong {
    font-size: 2.15rem;
  }
  .studio-spaces-feature figcaption p {
    font-size: .9rem;
  }
  .studio-spaces-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 18px 18px;
  }
  .studio-spaces-stats div {
    min-height: 118px;
    padding: 14px 10px;
  }
  .studio-spaces-cta {
    width: calc(100% - 36px);
    justify-content: center;
    margin: 0 18px 22px;
  }
  .studio-spaces-heading {
    padding-inline: 0;
  }
  .studio-spaces-heading h2 {
    font-size: 2rem;
  }
  .studio-space-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .studio-space-card > img {
    aspect-ratio: 16 / 10;
  }
  .studio-space-card > div {
    grid-template-columns: 46px minmax(0, 1fr);
  }
  .service-cards, .course-grid, .license-row { grid-template-columns: 1fr; }
  .home-team-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .consulting-grid { padding: 14px; }
  .consulting-image img { height: 155px; }
  .section-title { align-items: flex-start; flex-direction: column-reverse; gap: 10px; }
  .portfolio-thumbs { overflow-x: auto; padding-bottom: 4px; }
  .lead-form { grid-template-columns: 1fr; padding: 18px; }
  .lead-copy { padding: 20px; }
}

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

.auth-page {
  min-height: 100vh;
  padding: 130px 18px 70px;
  display: grid;
  place-items: center;
  background: var(--warm-bg);
}

.auth-panel {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

.auth-panel h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 950;
}

.auth-panel p {
  margin: 0 0 24px;
  color: var(--gray);
  line-height: 1.9;
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.auth-password-field {
  position: relative;
  display: block;
}

.auth-password-field > input {
  padding-inline-end: 52px;
}

.auth-password-toggle {
  position: absolute;
  inset-block-start: 5px;
  inset-inline-end: 5px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  color: #fff;
  background: var(--primary);
  outline: none;
}

.auth-password-toggle svg {
  width: 19px;
  height: 19px;
}

.auth-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.auth-check input {
  width: 18px;
  min-height: 18px;
}

.auth-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}
.auth-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.auth-otp-input {
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: .35rem;
}
.auth-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.auth-notice.is-success { color: #166534; background: #ecfdf3; }
.auth-notice.is-error { color: #991b1b; background: #fff1f2; }
.auth-result { text-align: center; }
.auth-result .btn-primary-namik { display: inline-flex; text-decoration: none; }

.auth-validation,
.field-validation-error {
  color: #b91c1c;
  font-size: .84rem;
}

@media (max-width: 640px) {
  .auth-panel { padding: 24px; }
  .auth-grid { grid-template-columns: 1fr; }
}

.page-hero,
.course-detail-hero {
  padding: 138px 0 56px;
  background:
    radial-gradient(circle at 18% 22%, rgba(142, 16, 37, .08), transparent 28%),
    linear-gradient(180deg, #fff, var(--background));
}

.page-hero-grid,
.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr);
  gap: 34px;
  align-items: center;
}

.page-hero h1,
.course-detail-copy h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  font-weight: 950;
  line-height: 1.22;
}

.page-hero p,
.course-detail-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
}

.page-hero-card {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 28px;
  border: 1px solid rgba(142,16,37,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
}

.page-hero-card svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
  stroke-width: 1.4;
}

.page-hero-card strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.page-hero-card span { color: var(--gray); }
.course-list-section { padding: 42px 0 72px; }

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

.public-course-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}

.public-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.public-course-card a {
  display: grid;
  min-height: 100%;
}

.public-course-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.public-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}

.public-course-card:hover .public-course-media img { transform: scale(1.045); }

.public-course-media > span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(142,16,37,.88);
  font-size: .74rem;
  font-weight: 900;
}

.course-media-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255,255,255,.86);
}

.course-media-fallback svg {
  width: 58px;
  height: 58px;
  stroke-width: 1.2;
}

.public-course-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.public-course-body small {
  color: var(--primary);
  font-weight: 900;
}

.public-course-body h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.55;
}

.public-course-body p {
  min-height: 58px;
  margin: 0;
  color: var(--gray);
  font-size: .9rem;
}

.public-course-meta,
.public-course-footer,
.course-detail-meta,
.course-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.public-course-meta span,
.course-detail-meta span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--gray);
  font-size: .82rem;
  font-weight: 800;
}

.public-course-meta svg,
.course-detail-meta svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.public-course-footer {
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.public-course-footer strong { color: var(--primary); font-weight: 950; }
.public-course-footer span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: .84rem;
  font-weight: 900;
}

.public-course-footer svg { width: 14px; height: 14px; }

.public-empty {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 48px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}

.public-empty.compact { padding: 24px; }
.public-empty svg {
  width: 46px;
  height: 46px;
  color: var(--primary);
  stroke-width: 1.4;
}

.public-empty h2,
.public-empty h3 { margin: 0; font-weight: 950; }
.public-empty p { max-width: 520px; margin: 0; color: var(--gray); }

.course-detail-grid {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .78fr);
}

.soft-back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 900;
}

.soft-back-link svg { width: 16px; height: 16px; }

.course-detail-media {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow-hover);
}

.course-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.course-detail-actions { margin-top: 26px; }
.course-content-section {
  display: grid;
  gap: 22px;
  padding: 44px 0 78px;
}

.course-description-panel,
.course-sessions-panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-soft);
}

.course-description-panel h2,
.section-heading-row h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  font-weight: 950;
}

.course-description-panel p { margin: 0; color: var(--gray); }

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.access-pill {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(142,16,37,.08);
  font-size: .78rem;
  font-weight: 950;
}

.access-pill.is-open {
  color: #166534;
  background: rgba(22,101,52,.09);
}

.public-session-list {
  display: grid;
  gap: 10px;
}

.public-session-item {
  display: grid;
  grid-template-columns: 48px 1fr auto 34px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.public-session-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(142,16,37,.08);
  font-weight: 950;
}

.public-session-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 950;
}

.public-session-item p {
  margin: 4px 0 0;
  color: var(--gray);
  font-size: .86rem;
}

.public-session-item a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 900;
}

.public-session-item small { color: var(--gray); font-weight: 800; }
.public-session-item > svg { color: var(--primary); width: 22px; height: 22px; }
.public-session-item.is-locked { opacity: .72; }
.public-session-item.is-locked > svg { color: var(--gray); }

.public-grid-section {
  padding: 42px 0 76px;
}

.service-page-grid,
.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-service-card,
.public-portfolio-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}

.public-service-card:hover,
.public-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.public-service-card a {
  display: grid;
  min-height: 255px;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.public-service-card.is-static {
  display: grid;
  min-height: 255px;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.public-service-card h2,
.portfolio-card-body h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.55;
}

.public-service-card p,
.portfolio-card-body p {
  margin: 0;
  color: var(--gray);
  font-size: .9rem;
}

.public-service-card > a > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  color: var(--primary);
  font-size: .86rem;
  font-weight: 950;
}

.public-service-card svg,
.public-service-card > a > span svg {
  width: 16px;
  height: 16px;
}

.service-process-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-process-panel article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}

.service-process-panel span {
  color: var(--primary);
  font-weight: 950;
}

.service-process-panel strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.service-process-panel p {
  margin: 0;
  color: var(--gray);
  font-size: .9rem;
}

.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.portfolio-filter-bar a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(142,16,37,.14);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255,255,255,.72);
  font-weight: 900;
}

.portfolio-filter-bar a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(142,16,37,.18);
}

.public-portfolio-card a {
  display: grid;
  min-height: 100%;
}

.portfolio-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}

.public-portfolio-card:hover .portfolio-card-media img {
  transform: scale(1.045);
}

.portfolio-card-media span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(142,16,37,.88);
  font-size: .74rem;
  font-weight: 900;
}

.portfolio-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.portfolio-card-body small {
  color: var(--primary);
  font-weight: 950;
}

.portfolio-card-body strong {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.portfolio-video-panel {
  display: flex;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}

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

.portfolio-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.career-list {
  display: grid;
  gap: 14px;
}

.career-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}

.career-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.career-card a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.career-card small {
  color: var(--primary);
  font-weight: 950;
}

.career-card h2 {
  margin: 8px 0;
  font-size: 1.25rem;
  font-weight: 950;
}

.career-card p {
  margin: 0;
  color: var(--gray);
}

.career-card > a > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--primary);
  font-weight: 950;
  white-space: nowrap;
}

.career-apply-form {
  width: 100%;
}

@media (max-width: 991.98px) {
  .page-hero-grid,
  .course-detail-grid,
  .course-card-grid,
  .service-page-grid,
  .portfolio-page-grid,
  .service-process-panel,
  .portfolio-gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .course-detail-hero {
    padding-top: 120px;
  }
}

@media (max-width: 640px) {
  .page-hero h1,
  .course-detail-copy h1 {
    font-size: 2.25rem;
  }

  .page-hero-card,
  .course-description-panel,
  .course-sessions-panel {
    padding: 18px;
  }

  .public-course-media { height: 170px; }
  .public-course-footer,
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-detail-media,
  .course-detail-media img {
    min-height: 250px;
  }

  .public-session-item {
    grid-template-columns: 42px 1fr 24px;
  }

  .career-card a {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-session-item small {
    grid-column: 2 / 3;
  }
}

.namik-custom-icon {
  width: 1.35em;
  height: 1.35em;
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Keep Bootstrap/browser defaults from turning unstyled links blue. */
body a:not([class]),
body a:not([class]):hover,
body a:not([class]):focus {
  color: inherit;
}
