/* Stage 8 — studio philosophy, approved Figma 96:2409 / 128:2474,
   143:2557 / 143:2770, 150:2642 / 150:2856.
   Original light vectors + masked continuation of the existing artwork. */
.about {
  --diffuse-width: 526.5px;
  --text-light-width: 624px;
  --diffuse-offset: 0px;
  --text-light-offset: 0px;
  --transition-width: 748.8px;
  --transition-art-height: 468px;
  --horizon-height: 112.32px;
  --horizon-before: 56.16px;
  --horizon-crop: 299px;
  --depth-height: 182px;
  --depth-before: 91px;
  --depth-crop: 249.6px;
  position: relative;
  display: grid;
  align-items: center;
  min-block-size: var(--about-min-height);
  padding-block: var(--space-11);
  background: var(--color-background);
  text-align: center;
}
.about__lighting {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.about__light {
  position: absolute;
  inset-inline-start: 50%;
  display: block;
  max-inline-size: none;
  block-size: auto;
  transform: translate(-50%, -50%);
}
.about__light--diffuse {
  inset-block-start: calc(50% + var(--diffuse-offset));
  inline-size: var(--diffuse-width);
}
.about__light--text {
  inset-block-start: calc(50% + var(--text-light-offset));
  inline-size: var(--text-light-width);
}
.about__lighting::before,
.about__lighting::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-inline: 0;
}
.about__lighting::before {
  inset-block-start: 0;
  block-size: 220px;
  background: linear-gradient(180deg, var(--color-background), rgb(16 13 37 / 73.333%) 28%, rgb(16 13 37 / 0%));
}
.about__lighting::after {
  inset-block-end: 0;
  block-size: 230px;
  background: linear-gradient(180deg, rgb(16 13 37 / 0%), rgb(16 13 37 / 50.196%) 55%, var(--color-background));
}

/* The two page-level Figma overlays are anchored to actual section edges,
   not fixed page coordinates. Their outer boxes clip only the decorative
   artwork horizontally, without clipping the adjacent content or focus. */
.about__transition {
  position: absolute;
  inset-inline: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-mode: alpha;
  -webkit-mask-image: linear-gradient(180deg, transparent, rgb(0 0 0 / 18.824%) 22%, rgb(0 0 0 / var(--mask-peak)) 50%, rgb(0 0 0 / 21.961%) 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, rgb(0 0 0 / 18.824%) 22%, rgb(0 0 0 / var(--mask-peak)) 50%, rgb(0 0 0 / 21.961%) 75%, transparent);
}
.about__transition::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inline-size: max(100%, var(--transition-width));
  block-size: var(--transition-art-height);
  background: url("../images/dream-light.jpg") center / cover no-repeat;
}
.about__transition--horizon {
  --mask-peak: 78%;
  inset-block-start: calc(-1 * var(--horizon-before));
  block-size: var(--horizon-height);
  opacity: .72;
}
.about__transition--horizon::before {
  inset-block-start: calc(-1 * var(--horizon-crop));
  transform: translateX(-50%) scaleX(-1);
}
.about__transition--depth {
  --mask-peak: 75%;
  inset-block-start: calc(100% - var(--depth-before));
  block-size: var(--depth-height);
  opacity: .75;
}
.about__transition--depth::before {
  inset-block-start: calc(-1 * var(--depth-crop));
  transform: translateX(-50%);
}
/* No unmasked strips in older browsers without CSS mask support. */
@supports not ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
  .about__transition { display: none; }
}
.about > .about-content {
  position: relative;
  z-index: 2;
  min-inline-size: 0;
  gap: var(--about-gap);
}
.about .type-section-title {
  inline-size: min(100%, var(--about-title-max));
  font-variation-settings: "CRSV" 0, "SHRP" 0;
}
.about .type-section-title span { display: block; }
.about .type-about-copy {
  inline-size: min(100%, var(--about-copy-max));
  font-weight: var(--weight-regular);
  overflow-wrap: break-word;
}
.about .type-about-copy p { color: inherit; }
.about .type-about-copy p + p { margin-block-start: calc(1em * var(--lh-about-copy)); }

@media (min-width: 768px) {
  .about {
    --diffuse-width: 810px;
    --text-light-width: 960px;
    --transition-width: 1152px;
    --transition-art-height: 720px;
    --horizon-height: 172.8px;
    --horizon-before: 75.2px;
    --horizon-crop: 460px;
    --depth-height: 280px;
    --depth-before: 140px;
    --depth-crop: 384px;
  }
}
@media (min-width: 1200px) {
  .about {
    --about-gap: 44px;
    --diffuse-width: 1080px;
    --text-light-width: 1280px;
    --diffuse-offset: 15px;
    --text-light-offset: -16px;
    --transition-width: 100%;
    --transition-art-height: 900px;
    --horizon-height: 216px;
    --horizon-before: 94px;
    --horizon-crop: 575px;
    --depth-height: 350px;
    --depth-before: 175px;
    --depth-crop: 480px;
    /* Desktop Figma uses the same heading y=258 for both languages,
       despite different body heights. Keep that baseline, allow growth. */
    align-items: start;
    padding-block: 258px var(--space-13);
  }
}

/* Stage 14: JPEG fallback remains in the original declarations. */
@media (max-width: 767px) { .about__transition::before { background-image: image-set(url("../images/dream-light-768.avif") type("image/avif") 1x, url("../images/dream-light-768.webp") type("image/webp") 1x, url("../images/dream-light-1536.avif") type("image/avif") 2x, url("../images/dream-light-1536.webp") type("image/webp") 2x); } }
@media (min-width: 768px) and (max-width: 1199px) { .about__transition::before { background-image: image-set(url("../images/dream-light-1152.avif") type("image/avif") 1x, url("../images/dream-light-1152.webp") type("image/webp") 1x, url("../images/dream-light-1536.avif") type("image/avif") 2x, url("../images/dream-light-1536.webp") type("image/webp") 2x); } }
@media (min-width: 1200px) { .about__transition::before { background-image: image-set(url("../images/dream-light-1536.avif") type("image/avif") 1x, url("../images/dream-light-1536.webp") type("image/webp") 1x); } }
