html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
}

/* Give the full vertical brand lockup enough room to keep its tagline legible. */
:root {
  --header-h: 5.5rem;
}

header.fixed.bg-transparent {
  height: 5.5rem !important;
}

header.fixed:not(.bg-transparent) {
  height: 4.25rem !important;
}

/* Inner pages always use the same readable header treatment. */
body.artspace-inner-route header.fixed.bg-transparent {
  color: #340c5e !important;
  background: rgb(255 255 255 / 0.96) !important;
  box-shadow: 0 12px 34px rgb(52 12 94 / 0.1) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.artspace-inner-route header.fixed.bg-transparent nav > a,
body.artspace-inner-route header.fixed.bg-transparent nav > button,
body.artspace-inner-route header.fixed.bg-transparent > div > button {
  color: #340c5e !important;
}

body.artspace-inner-route header.fixed.bg-transparent nav > button {
  border-color: rgb(52 12 94 / 0.2) !important;
}

body.artspace-inner-route header.fixed.bg-transparent a[aria-label="Art Space"] img[alt="Art Space"] {
  filter: none !important;
}

/* English headings need a wider, calmer scale than the compact Arabic forms. */
html[dir="ltr"] main#main-content > section.h-screen > .container {
  padding-top: 5.5rem;
}

html[dir="ltr"] main#main-content > section:first-child .max-w-4xl {
  max-width: 68rem;
}

html[dir="ltr"] main#main-content > section:first-child h1.display-hero {
  max-width: 65rem;
  font-size: clamp(3rem, 5vw, 6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em;
}

html[dir="ltr"] .display-page {
  font-size: clamp(2.75rem, 5.4vw, 5.75rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em;
}

html[dir="ltr"] .display-section {
  font-size: clamp(2.25rem, 4vw, 4.5rem) !important;
  line-height: 1.08 !important;
}

html[dir="ltr"] main#main-content h3 {
  overflow-wrap: anywhere;
}

/* The supplied logo already includes the full Art Space wordmark. */
a[aria-label="Art Space"] > span:first-child {
  width: 8rem !important;
  height: 4.5rem !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

a[aria-label="Art Space"] img[alt="Art Space"] {
  background: transparent !important;
  transform: scale(1.08);
  transform-origin: center;
}

/* Keep the compact sticky header balanced after the visitor starts scrolling. */
header:not(.bg-transparent) a[aria-label="Art Space"] > span:first-child {
  width: 8rem !important;
  height: 3.65rem !important;
}

header:not(.bg-transparent) a[aria-label="Art Space"] img[alt="Art Space"] {
  transform: scale(1);
}

header.bg-transparent a[aria-label="Art Space"] img[alt="Art Space"] {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgb(0 0 0 / 0.22));
}

/* Keep the full transparent wordmark visible over the dark footer. */
footer a[aria-label="Art Space"] {
  display: inline-flex;
  align-items: center;
  overflow: visible !important;
}

footer a[aria-label="Art Space"] > span:first-child {
  height: 5.35rem !important;
  overflow: visible !important;
}

footer a[aria-label="Art Space"] img[alt="Art Space"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: brightness(0) invert(1);
}

a[aria-label="Art Space"] > span:nth-child(2) {
  display: none !important;
}

@media (min-width: 768px) {
  :root {
    --header-h: 7rem;
  }

  header.fixed.bg-transparent {
    height: 7rem !important;
  }

  a[aria-label="Art Space"] > span:first-child {
    width: 10rem !important;
    height: 5.1rem !important;
  }

  header:not(.bg-transparent) a[aria-label="Art Space"] > span:first-child {
    width: 8.75rem !important;
    height: 3.85rem !important;
  }

  footer a[aria-label="Art Space"] > span:first-child {
    height: 5.75rem !important;
  }
}

main#main-content .grid.grid-cols-1.md\:grid-cols-2.gap-10:has(a[href^="/portfolio/"]) {
  gap: 2rem !important;
}

main#main-content .grid.grid-cols-1.md\:grid-cols-2.gap-10:has(a[href^="/portfolio/"]) > div > a {
  border-radius: 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 22px 55px rgb(52 12 94 / 0.14);
}

main#main-content .grid.grid-cols-1.md\:grid-cols-2.gap-10:has(a[href^="/portfolio/"]) h3 {
  max-width: 48rem;
  font-size: clamp(1.6rem, 3vw, 3rem) !important;
  line-height: 1.25 !important;
}

/* Keep the three featured project names fully visible on the home page. */
main#main-content .grid.grid-cols-1.md\:grid-cols-3.gap-8:has(a[href^="/portfolio/"]) h3 {
  max-width: 100%;
  margin-bottom: 1rem !important;
  font-size: clamp(1.25rem, 1.55vw, 1.9rem) !important;
  line-height: 1.3 !important;
}

main#main-content .grid.grid-cols-1.md\:grid-cols-3.gap-8:has(a[href^="/portfolio/"]) > div > a > div > div.absolute.inset-0.flex.flex-col {
  padding: 1.5rem !important;
}

main#main-content section.bg-stone .grid.grid-cols-1.md\:grid-cols-3.gap-8 .aspect-square {
  aspect-ratio: 4 / 3 !important;
  border-radius: 1rem !important;
}

.portfolio-full-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.portfolio-gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 42px rgb(52 12 94 / 0.12);
}

.portfolio-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.portfolio-gallery-item:hover img {
  transform: scale(1.025);
}

@media (min-width: 768px) {
  .portfolio-full-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  main#main-content .grid.grid-cols-1.md\:grid-cols-2.gap-10:has(a[href^="/portfolio/"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem !important;
  }

  main#main-content .grid.grid-cols-1.md\:grid-cols-2.gap-10:has(a[href^="/portfolio/"]) > div:first-child {
    grid-column: auto;
  }

  main#main-content .grid.grid-cols-1.md\:grid-cols-2.gap-10:has(a[href^="/portfolio/"]) > div:first-child h3 {
    font-size: clamp(1.6rem, 3vw, 3rem) !important;
  }
}

@media (min-width: 1200px) {
  .portfolio-full-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

img[alt="Art Space Team"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-square > .media-mask:has(> img[alt="Art Space Team"]) {
  height: 100%;
}

section.bg-stone .max-w-4xl.mx-auto.text-center p.max-w-2xl {
  margin-inline: auto;
}

.animated-stats-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgb(218 18 153 / 0.1), transparent 32%),
    radial-gradient(circle at 85% 80%, rgb(52 12 94 / 0.1), transparent 34%),
    linear-gradient(135deg, #f8f5fb 0%, #ffffff 52%, #f6f0fa 100%) !important;
}

.animated-stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(52 12 94 / 0.1) !important;
  border-radius: 1.5rem !important;
  background: rgb(255 255 255 / 0.9) !important;
  box-shadow: 0 18px 50px rgb(52 12 94 / 0.08) !important;
  backdrop-filter: blur(8px);
  transform: translateY(0);
}

.animated-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.3rem;
  background: linear-gradient(90deg, #da1299, #6d28a8, #da1299);
}

.animated-stat-card:hover {
  transform: translateY(-0.45rem);
  border-color: rgb(218 18 153 / 0.35) !important;
  box-shadow: 0 24px 60px rgb(52 12 94 / 0.15) !important;
}

.animated-stat-card > div:first-child,
.animated-stat-card > h4:first-child {
  font-size: clamp(3rem, 5vw, 4.75rem) !important;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #340c5e 20%, #da1299 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

.about-stat-card {
  min-height: 10rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.about-success-image,
.about-success-image > img {
  width: 100%;
  height: 100%;
}

.about-success-image > img {
  min-height: 28rem;
  object-fit: cover;
  object-position: center;
}

/* Home partner showcase: individual logos stay complete, legible, and evenly balanced. */
.legacy-partners-section-hidden {
  display: none !important;
}

.artspace-partners-section {
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 1050px;
  padding: 6rem 0;
  border-block: 1px solid rgb(52 12 94 / 0.08);
  background:
    radial-gradient(circle at 12% 10%, rgb(218 18 153 / 0.08), transparent 28rem),
    radial-gradient(circle at 88% 90%, rgb(109 40 168 / 0.08), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #fbf9fd 100%);
}

.artspace-partners-shell {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.artspace-partners-heading {
  max-width: 58rem;
  margin: 0 auto 3.25rem;
  color: #340c5e;
  font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.artspace-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artspace-partner-card {
  position: relative;
  display: flex;
  flex: 0 0 calc(50% - 0.45rem);
  min-height: 8.75rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgb(52 12 94 / 0.09);
  border-radius: 1.15rem;
  background: #ffffff;
  box-shadow: 0 12px 32px rgb(52 12 94 / 0.07);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.artspace-partner-card::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0;
  height: 0.18rem;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, #da1299, transparent);
  opacity: 0;
  transition: opacity 260ms ease;
}

.artspace-partner-card:hover {
  transform: translateY(-0.3rem);
  border-color: rgb(218 18 153 / 0.28);
  box-shadow: 0 18px 42px rgb(52 12 94 / 0.12);
}

.artspace-partner-card:hover::after {
  opacity: 1;
}

.artspace-partner-card img {
  display: block;
  width: 100%;
  height: 7rem;
  object-fit: contain;
  object-position: center;
}

.artspace-partners-statement {
  max-width: 58rem;
  margin: 3.5rem auto 0;
  color: rgb(36 21 47 / 0.72);
  font-family: "IBM Plex Sans Arabic", "Alexandria", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
  text-wrap: balance;
}

html[dir="ltr"] .artspace-partners-heading,
html[dir="ltr"] .artspace-partners-statement {
  font-family: "Manrope", "Alexandria", sans-serif;
}

@media (min-width: 640px) {
  .artspace-partners-shell {
    width: min(1200px, calc(100% - 3rem));
  }

  .artspace-partners-grid {
    gap: 1rem;
  }

  .artspace-partner-card {
    flex-basis: calc(33.333% - 0.7rem);
    min-height: 9.5rem;
    padding: 1.2rem;
  }
}

@media (min-width: 900px) {
  .artspace-partner-card {
    flex-basis: calc(25% - 0.75rem);
  }
}

@media (min-width: 1180px) {
  .artspace-partner-card {
    flex-basis: calc(20% - 0.8rem);
  }
}

.animated-stat-card > p {
  letter-spacing: 0.08em !important;
  color: rgb(52 12 94 / 0.72) !important;
}

.animated-stat-card.is-counted {
  animation: stat-card-arrival 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes stat-card-arrival {
  from {
    opacity: 0.35;
    transform: translateY(1.25rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  html[dir="ltr"] main#main-content > section.h-screen > .container {
    padding-top: 6rem;
  }

  html[dir="ltr"] main#main-content > section:first-child h1.display-hero {
    font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em;
  }

  html[dir="ltr"] .display-page {
    font-size: clamp(2.25rem, 11vw, 3.5rem) !important;
  }

  .animated-stat-card {
    padding: 1.5rem 0.75rem !important;
    border-radius: 1.1rem !important;
  }

  .about-success-image > img {
    min-height: 20rem;
  }

  .artspace-partners-section {
    padding: 4.5rem 0;
  }

  .artspace-partners-heading {
    margin-bottom: 2.25rem;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .artspace-partner-card {
    min-height: 7.75rem;
    padding: 0.75rem;
    border-radius: 0.9rem;
  }

  .artspace-partner-card img {
    height: 6rem;
  }

  .artspace-partners-statement {
    margin-top: 2.5rem;
    line-height: 1.75;
  }
}

/* Lightweight static shell used by the isolated About page on shared hosting. */
.static-about-body {
  margin: 0;
  background: #fff;
}

.static-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-h);
  border-bottom: 1px solid rgb(52 12 94 / 0.08);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 10px 35px rgb(52 12 94 / 0.08);
  backdrop-filter: blur(16px);
}

.static-header-shell,
.static-footer-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.static-header-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.static-logo {
  width: 10.5rem;
  height: 6.3rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.static-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.static-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.2vw, 2rem);
  margin-inline: auto;
}

.static-nav a,
.static-lang,
.static-project-link {
  color: #340c5e;
  font-family: "Alexandria", sans-serif;
  text-decoration: none;
}

.static-nav a {
  font-size: 0.96rem;
  font-weight: 600;
}

.static-lang {
  min-width: 3.4rem;
  min-height: 3rem;
  border: 1px solid rgb(52 12 94 / 0.16);
  background: #fff;
  cursor: pointer;
}

.static-project-link {
  min-height: 3.5rem;
  padding: 0 1.4rem;
  display: inline-flex;
  align-items: center;
  background: #da1299;
  color: #fff;
  font-weight: 700;
}

.static-site-footer {
  padding: 3rem 0;
  color: #fff;
  background: #22033f;
}

.static-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.static-footer-shell img {
  width: 9rem;
  height: 6.8rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.static-footer-shell strong {
  font-family: "Alexandria", sans-serif;
  font-size: 1.2rem;
}

.static-footer-shell a {
  color: #fff;
}

.static-whatsapp {
  position: fixed;
  inset: auto auto 1.5rem 1.5rem;
  z-index: 110;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font: 700 0.85rem "Alexandria", sans-serif;
  text-decoration: none;
  box-shadow: 0 14px 35px rgb(0 0 0 / 0.2);
}

html[dir="ltr"] .static-whatsapp {
  inset: auto 1.5rem 1.5rem auto;
}

@media (max-width: 900px) {
  .static-nav,
  .static-project-link {
    display: none;
  }

  .static-header-shell {
    justify-content: space-between;
  }

  .static-logo {
    width: 8.5rem;
    height: 5.1rem;
  }
}

@media (max-width: 640px) {
  .static-header-shell,
  .static-footer-shell {
    width: min(100% - 28px, 1180px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .animated-stat-card,
  .animated-stat-card.is-counted {
    animation: none;
    transition: none;
  }
}

/* Standalone About page: visually integrated while remaining isolated from the legacy React root. */
body.artspace-custom-about #root main#main-content {
  display: none !important;
}

body.artspace-custom-about #root > .min-h-screen {
  min-height: 0 !important;
}

#artspace-about-root:empty {
  display: none;
}

.custom-about-page {
  position: relative;
  z-index: 1;
  color: #24152f;
  background: #ffffff;
  font-family: "IBM Plex Sans Arabic", "Alexandria", sans-serif;
}

html[dir="ltr"] .custom-about-page {
  font-family: "Manrope", "Alexandria", sans-serif;
}

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

.custom-about-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 15%, rgb(218 18 153 / 0.32), transparent 30%),
    radial-gradient(circle at 85% 75%, rgb(124 58 237 / 0.3), transparent 34%),
    linear-gradient(135deg, #22033f 0%, #340c5e 52%, #4c126f 100%);
}

.custom-about-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 50%;
}

.custom-about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.custom-about-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  color: #ed4ec0;
  font-family: "Alexandria", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.custom-about-eyebrow::after {
  content: "";
  width: 3rem;
  height: 1px;
  background: currentColor;
}

.custom-about-hero h1 {
  max-width: 46rem;
  margin: 0;
  color: #ffffff;
  font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2.65rem, 5.7vw, 6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

html[dir="ltr"] .custom-about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  line-height: 1.05;
}

.custom-about-lead {
  max-width: 44rem;
  margin: 1.8rem 0 0;
  color: rgb(255 255 255 / 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.95;
}

.custom-about-hero-image {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 1.75rem;
  box-shadow: 0 32px 80px rgb(0 0 0 / 0.3);
}

.custom-about-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgb(34 3 63 / 0.58));
}

.custom-about-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-about-story,
.custom-about-why,
.custom-about-services {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.custom-about-story-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.custom-about-section-label {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  color: rgb(52 12 94 / 0.16);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.custom-about-prose p {
  margin: 0;
  color: #4d4056;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 2;
}

.custom-about-prose p + p {
  margin-top: 1.6rem;
}

.custom-about-values {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, #f8f4fa 0%, #ffffff 52%, #f5eef9 100%);
}

.custom-about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.custom-about-values article {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid rgb(52 12 94 / 0.1);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 0.88);
  box-shadow: 0 18px 52px rgb(52 12 94 / 0.08);
}

.custom-about-values article > span,
.custom-about-reasons article > span,
.custom-about-service-grid article > span {
  color: #da1299;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.custom-about-values h2 {
  margin: 4rem 0 1.25rem;
  color: #340c5e;
  font-family: "Alexandria", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
}

.custom-about-values p {
  margin: 0;
  color: #675b6d;
  font-size: 1.08rem;
  line-height: 1.9;
}

.custom-about-heading {
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  color: #340c5e;
  font-family: "Alexandria", sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 1.2;
}

.custom-about-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.custom-about-reasons article {
  min-height: 18rem;
  padding: 2rem;
  border: 1px solid rgb(52 12 94 / 0.1);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgb(52 12 94 / 0.06);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.custom-about-reasons article:hover {
  transform: translateY(-0.35rem);
  border-color: rgb(218 18 153 / 0.4);
  box-shadow: 0 22px 50px rgb(52 12 94 / 0.12);
}

.custom-about-reasons h3 {
  margin: 3.25rem 0 0.8rem;
  color: #340c5e;
  font-family: "Alexandria", sans-serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.custom-about-reasons p {
  margin: 0;
  color: #74697a;
  line-height: 1.85;
}

.custom-about-experience {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 15%, rgb(218 18 153 / 0.3), transparent 30%),
    linear-gradient(135deg, #280448, #42106a 60%, #5b157a);
}

.custom-about-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.custom-about-experience h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Alexandria", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.25;
}

.custom-about-experience-grid > div:last-child p {
  margin: 0;
  color: rgb(255 255 255 / 0.76);
  font-size: 1.12rem;
  line-height: 1.95;
}

.custom-about-experience-grid > div:last-child p + p {
  margin-top: 1.25rem;
}

.custom-about-experience strong {
  display: block;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  color: #ff78d5;
  font-family: "Alexandria", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.55;
}

.custom-about-services {
  background: #f8f5fa;
}

.custom-about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.custom-about-service-grid article {
  min-height: 10rem;
  padding: 1.6rem;
  border: 1px solid rgb(52 12 94 / 0.1);
  border-radius: 1rem;
  background: #ffffff;
}

.custom-about-service-grid h3 {
  margin: 1.5rem 0 0;
  color: #340c5e;
  font-family: "Alexandria", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

.custom-about-cta {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 0.8rem 2rem;
  color: #ffffff;
  background: #da1299;
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 35px rgb(218 18 153 / 0.2);
  transition: transform 250ms ease, background 250ms ease;
}

.custom-about-cta:hover,
.custom-about-cta:focus-visible {
  transform: translateY(-0.2rem);
  background: #340c5e;
}

@media (max-width: 900px) {
  .custom-about-hero-grid,
  .custom-about-story-grid,
  .custom-about-experience-grid {
    grid-template-columns: 1fr;
  }

  .custom-about-hero-image {
    aspect-ratio: 16 / 10;
  }

  .custom-about-section-label {
    position: static;
  }

  .custom-about-reasons,
  .custom-about-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .custom-about-shell {
    width: min(100% - 28px, 1180px);
  }

  .custom-about-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  }

  .custom-about-hero h1,
  html[dir="ltr"] .custom-about-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .custom-about-hero-image {
    aspect-ratio: 4 / 3;
    border-radius: 1.15rem;
  }

  .custom-about-values-grid,
  .custom-about-reasons,
  .custom-about-service-grid {
    grid-template-columns: 1fr;
  }

  .custom-about-values article,
  .custom-about-reasons article {
    min-height: auto;
  }

  .custom-about-values h2,
  .custom-about-reasons h3 {
    margin-top: 2rem;
  }
}
