/* Full-screen homepage scene system */
html {
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header-h);
}

body {
  overscroll-behavior-y: none;
}

main > .hero,
main > .section[id] {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: calc(100svh - var(--header-h));
  min-height: 640px;
  margin: 0;
  padding: clamp(22px, 3vh, 42px) var(--page-x);
  display: grid;
  place-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

main > .hero {
  padding: 0;
}

/* No translucent page sheet or decorative boundary per scene: all content
   sits directly on the homepage's shared background. */
.section::before { content: none !important; display: none !important; }

.connector,
.final-section,
footer {
  display: none;
}

.scene {
  --scene-ease: cubic-bezier(.22, .75, .24, 1);
}

.scene .section-frame,
.scene .certificate-layout,
.scene .showcase-grid,
.scene .world-frame,
.scene .contact-frame {
  width: min(1460px, 100%);
  max-height: calc(100svh - var(--header-h) - 58px);
}

/* 01 / About: photo and copy open from complementary directions. */
.about-frame {
  height: min(720px, calc(100svh - var(--header-h) - 58px));
  min-height: 0;
  grid-template-columns: 38% 62%;
}

.about-copy {
  padding: clamp(28px, 4.3vh, 58px) clamp(28px, 3.5vw, 60px);
}

.about-copy h1,
.section-copy h2 {
  font-size: clamp(42px, 4.2vw, 68px);
}

.about-copy > p:nth-of-type(4) {
  display: none;
}

.about-copy > p:not(.index):not(.eyebrow),
.section-copy > p:not(.index):not(.eyebrow) {
  margin: 10px 0;
  line-height: 1.8;
}

.about-copy .feature-row {
  margin: clamp(18px, 2.7vh, 30px) 0 20px;
}

.about-copy .feature-row p,
.micro-features small,
.icon-columns small {
  display: none;
}

.about-copy .feature-row > div {
  padding: 0 16px;
}

.about-copy .feature-row b,
.micro-features b,
.icon-columns b {
  font-size: 10px;
}

.about-copy .metric-strip {
  margin-bottom: 16px;
}

.metric-strip div {
  padding: 13px 8px;
}

.metric-strip strong {
  font-size: clamp(27px, 2.3vw, 35px);
}

/* 02 / Certificates: concise preview tray, never a long card wall. */
.certificate-layout {
  height: min(680px, calc(100svh - var(--header-h) - 58px));
  margin: 0;
  align-items: center;
  padding: clamp(18px, 2vw, 34px);
}

.certificate-layout .section-copy {
  padding: 12px 16px;
}

.certificate-layout .micro-features {
  margin-top: 24px;
}

.certificate-cards {
  align-items: start;
}

.paper {
  height: clamp(170px, 24vh, 250px);
  padding: 10px;
  font-size: 15px;
}

.certificate > b,
.certificate p {
  margin-top: 8px;
  margin-bottom: 0;
}

/* 03–06 / Service summaries: one compact editorial panel per scene. */
.showcase-grid {
  height: min(690px, calc(100svh - var(--header-h) - 58px));
  margin: 0;
  align-items: center;
  padding: clamp(18px, 2vw, 32px);
}

.showcase-grid .section-copy {
  padding: 18px clamp(16px, 2.2vw, 36px);
}

.showcase-grid .icon-columns {
  margin-top: clamp(18px, 2.6vh, 30px);
}

.showcase-grid .icon-columns > div {
  padding: 0 9px;
}

.showcase-grid .icon-columns span {
  font-size: 23px;
  margin-bottom: 8px;
}

.visual-side {
  align-items: center;
}

.visual-side > img {
  height: clamp(245px, 34vh, 330px);
}

.side-list {
  gap: 7px;
}

.side-list > div {
  padding: 11px 12px;
}

.side-list span {
  font-size: 9px;
}

.visual-side .button {
  min-height: 42px;
}

.metrics-list strong {
  font-size: clamp(25px, 2vw, 31px);
}

/* 07 / World: cinematic, layered but restrained. */
.world-frame {
  height: min(620px, calc(100svh - var(--header-h) - 58px));
  min-height: 0;
  align-items: center;
  padding: clamp(18px, 2vw, 30px);
}

.world-collage {
  height: clamp(245px, 37vh, 320px);
}

.world-tags {
  margin-top: 18px;
}

/* 08 / Contact: the quiet final screen. */
.contact-frame {
  height: min(560px, calc(100svh - var(--header-h) - 58px));
  min-height: 0;
  padding: clamp(20px, 2.4vw, 34px);
}

.contact-frame > img {
  height: clamp(160px, 26vh, 220px);
}

.contact-details > div {
  min-height: 72px;
}

/* Scene-specific entrance choreography. */
.scene .section-frame,
.scene .certificate-layout,
.scene .showcase-grid,
.scene .world-frame,
.scene .contact-frame {
  transition: opacity .7s var(--scene-ease), transform .8s var(--scene-ease), filter .7s var(--scene-ease);
}

.scene:not(.is-active) .section-frame,
.scene:not(.is-active) .certificate-layout,
.scene:not(.is-active) .showcase-grid,
.scene:not(.is-active) .world-frame,
.scene:not(.is-active) .contact-frame {
  opacity: .22;
  filter: saturate(.72);
}

.scene--hakkimda:not(.is-active) .about-image { transform: translateX(-7%) scale(.96); }
.scene--hakkimda:not(.is-active) .about-copy { transform: translateX(7%); opacity: .3; }
.scene--hakkimda .about-image,
.scene--hakkimda .about-copy { transition: transform .9s var(--scene-ease), opacity .8s var(--scene-ease); }

.scene--sertifikalar .certificate { opacity: 0; transform: translateY(22px) scale(.94); transition: opacity .5s var(--scene-ease), transform .65s var(--scene-ease); }
.scene--sertifikalar.is-active .certificate { opacity: 1; transform: none; }
.scene--sertifikalar.is-active .certificate:nth-child(1) { transition-delay: .10s; }
.scene--sertifikalar.is-active .certificate:nth-child(2) { transition-delay: .18s; }
.scene--sertifikalar.is-active .certificate:nth-child(3) { transition-delay: .26s; }
.scene--sertifikalar.is-active .certificate:nth-child(4) { transition-delay: .34s; }

.scene--stk .visual-side > img { transform-origin: left center; }
.scene--stk:not(.is-active) .visual-side > img { transform: scaleX(.72); opacity: .18; }
.scene--stk .visual-side > img { transition: transform .85s var(--scene-ease), opacity .7s var(--scene-ease); }
.scene--stk .icon-columns > div { transition: transform .5s var(--scene-ease), opacity .5s var(--scene-ease); }
.scene--stk:not(.is-active) .icon-columns > div { transform: translateY(20px); opacity: .15; }

.scene--kariyer .showcase-grid { transform-origin: left center; }
.scene--kariyer:not(.is-active) .showcase-grid { transform: perspective(1100px) rotateY(6deg) translateX(4%); }
.scene--kariyer .metrics-list > div { transition: transform .55s var(--scene-ease), opacity .55s var(--scene-ease); }
.scene--kariyer:not(.is-active) .metrics-list > div { transform: translateX(22px); opacity: .1; }

.scene--egitmen .metrics-list > div { transition: transform .55s var(--scene-ease), opacity .55s var(--scene-ease); }
.scene--egitmen:not(.is-active) .metrics-list > div { transform: translateY(18px) scale(.95); opacity: .1; }
.scene--egitmen.is-active .metrics-list > div:nth-child(2) { transition-delay: .10s; }
.scene--egitmen.is-active .metrics-list > div:nth-child(3) { transition-delay: .18s; }
.scene--egitmen.is-active .metrics-list > div:nth-child(4) { transition-delay: .26s; }

.scene--yonetim:not(.is-active) .process li { transform: translateX(-18px); opacity: .1; }
.scene--yonetim .process li { transition: transform .45s var(--scene-ease), opacity .45s var(--scene-ease); }
.scene--yonetim.is-active .process li:nth-child(2) { transition-delay: .08s; }
.scene--yonetim.is-active .process li:nth-child(3) { transition-delay: .16s; }
.scene--yonetim.is-active .process li:nth-child(4) { transition-delay: .24s; }

.scene--dunyam .world-collage img { transition: transform .95s var(--scene-ease), filter .75s var(--scene-ease); }
.scene--dunyam:not(.is-active) .world-collage img { transform: skewX(-7deg) scale(1.26) translateY(32px); filter: brightness(.42) saturate(.35); }
.scene--dunyam.is-active .world-collage img:nth-child(2) { transition-delay: .08s; }
.scene--dunyam.is-active .world-collage img:nth-child(3) { transition-delay: .16s; }
.scene--dunyam.is-active .world-collage img:nth-child(4) { transition-delay: .24s; }

.scene--iletisim:not(.is-active) .contact-details,
.scene--iletisim:not(.is-active) .contact-frame > img,
.scene--iletisim:not(.is-active) .contact-button { transform: translateY(24px); opacity: .1; }
.scene--iletisim .contact-details,
.scene--iletisim .contact-frame > img,
.scene--iletisim .contact-button { transition: transform .7s var(--scene-ease), opacity .7s var(--scene-ease); }

.scene--anasayfa .hero-wordmark,
.scene--anasayfa .hero-portrait,
.scene--anasayfa .hero-signature,
.scene--anasayfa .hero-copy { transition: transform .8s var(--scene-ease), opacity .7s var(--scene-ease); }
.scene--anasayfa.scene-leaving .hero-wordmark { transform: scale(.94) translateY(-3%); opacity: .52; }
.scene--anasayfa.scene-leaving .hero-portrait { transform: translateX(-50%) scale(.94); opacity: .62; }
.scene--anasayfa.scene-leaving .hero-signature,
.scene--anasayfa.scene-leaving .hero-copy { opacity: 0; transform: translateY(16px); }

@media (max-width: 820px) {
  html { scroll-snap-type: y proximity; }
  main > .hero,
  main > .section[id] {
    height: auto;
    min-height: max(700px, calc(100svh - var(--header-h)));
    padding: 28px 16px;
    overflow: visible;
  }
  main > .hero { min-height: 690px; padding: 0; }
  .section::before { inset: 3% 3%; }
  .scene .section-frame,
  .scene .certificate-layout,
  .scene .showcase-grid,
  .scene .world-frame,
  .scene .contact-frame { max-height: none; height: auto; }
  .about-copy > p:nth-of-type(4) { display: block; }
  .about-copy .feature-row p,
  .micro-features small,
  .icon-columns small { display: block; }
  .paper { height: 210px; }
  .scene:not(.is-active) .section-frame,
  .scene:not(.is-active) .certificate-layout,
  .scene:not(.is-active) .showcase-grid,
  .scene:not(.is-active) .world-frame,
  .scene:not(.is-active) .contact-frame { opacity: 1; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: y proximity; }
  .scene *, .scene::before, .scene::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Final cascade: replaces the legacy fixed carousel with Lenis document flow. */
@media (min-width: 821px) {
  html:not(.immersive-experience),
  html:not(.immersive-experience) body {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-snap-type: y proximity !important;
    scroll-padding-top: var(--header-h);
  }

  html:not(.immersive-experience) .site-header { position: sticky !important; }

  html:not(.immersive-experience) main {
    height: auto !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  html:not(.immersive-experience) main > .hero,
  html:not(.immersive-experience) main > .section[id] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: calc(100svh - var(--header-h)) !important;
    min-height: 640px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  html:not(.immersive-experience) .scroll-engine .summary-scene .summary-layout { opacity: 1 !important; transform: none !important; }
}

/* Fixed scene stage. This comes after the old scroll fallback on purpose. */
html.immersive-experience,
html.immersive-experience body {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}
html.immersive-experience .site-header { position: fixed !important; inset: 0 0 auto !important; z-index: 100 !important; }
html.immersive-experience main.immersive-stage {
  position: fixed !important;
  inset: var(--header-h) 0 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}
html.immersive-experience main.immersive-stage > .scene {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  will-change: opacity, transform;
}
html.immersive-experience main.immersive-stage > .scene:not(.is-active) { pointer-events: none !important; }
html.immersive-experience .scene-progress { position: fixed; z-index: 110; }
@media (max-width: 820px) {
  html.immersive-experience main.immersive-stage > .scene { height: 100% !important; min-height: 0 !important; padding: 14px 16px !important; overflow: hidden !important; }
html.immersive-experience main.immersive-stage > .hero { padding: 0 !important; }
}

/* Cinematic director layer. The stage remains a fixed viewport; these are
   transient compositing planes, not another scrolling surface. */
html.immersive-experience main.immersive-stage {
  --cinema-x: 0px;
  --cinema-y: 0px;
  --cinema-scale: 1;
  --cinema-turn: 0deg;
}

html.immersive-experience main.immersive-stage::before {
  transform: translate3d(var(--cinema-x), var(--cinema-y), 0) scale(var(--cinema-scale)) rotate(var(--cinema-turn));
  transform-origin: center;
  will-change: transform;
}

.cinematic-cut {
  position: absolute;
  z-index: 40;
  inset: -6%;
  display: block;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity, clip-path;
}

.cinematic-cut::before,
.cinematic-cut::after,
.cinematic-cut > b {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cinematic-cut::before {
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220,166,69,.22), rgba(12,9,5,.72) 40%, rgba(0,0,0,.96) 76%);
}

.cinematic-cut::after {
  inset: 0;
  opacity: .8;
  background: linear-gradient(112deg, transparent 35%, rgba(238,194,103,.16) 48%, transparent 62%);
  mix-blend-mode: screen;
}

.cinematic-cut > i {
  position: absolute;
  display: block;
  background: linear-gradient(100deg, rgba(0,0,0,.95), rgba(183,121,25,.54) 50%, rgba(0,0,0,.96));
  box-shadow: 0 0 28px rgba(206,150,47,.14);
  will-change: transform, opacity;
}

/* Gallery / certificates: four editorial planes pass across the camera. */
main[data-transition-mode="gallery"] .cinematic-cut { background: rgba(3,3,3,.15); }
main[data-transition-mode="gallery"] .cinematic-cut > i { top: 0; bottom: 0; width: 34%; }
main[data-transition-mode="gallery"] .cinematic-cut > i:nth-child(1) { left: 0; }
main[data-transition-mode="gallery"] .cinematic-cut > i:nth-child(2) { left: 33%; }
main[data-transition-mode="gallery"] .cinematic-cut > i:nth-child(3) { left: 66%; }
main[data-transition-mode="gallery"] .cinematic-cut::before { background: linear-gradient(90deg, #080705, #6d4715 48%, #080705); opacity: .92; }

/* STK: a fast diagonal band, closer to a documentary cut than a fade. */
main[data-transition-mode="blade"] .cinematic-cut::before { background: transparent; }
main[data-transition-mode="blade"] .cinematic-cut > i { top: -30%; bottom: -30%; width: 43%; }
main[data-transition-mode="blade"] .cinematic-cut > i:nth-child(1) { left: -24%; }
main[data-transition-mode="blade"] .cinematic-cut > i:nth-child(2) { left: 29%; }
main[data-transition-mode="blade"] .cinematic-cut > i:nth-child(3) { left: 82%; }
main[data-transition-mode="blade"] .cinematic-cut::after { background: linear-gradient(100deg, transparent 42%, rgba(245,193,79,.48) 50%, transparent 58%); }

/* Career: an expanding dark portal with a precise gold horizon line. */
main[data-transition-mode="portal"] .cinematic-cut::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(218,166,73,.27), rgba(14,10,6,.92) 40%, #010101 73%);
}
main[data-transition-mode="portal"] .cinematic-cut::after { background: linear-gradient(90deg, transparent, rgba(222,170,73,.8), transparent); height: 1px; top: 50%; bottom: auto; }

/* Educator: a deliberate projector-light cut. */
main[data-transition-mode="spotlight"] .cinematic-cut::before {
  background: radial-gradient(ellipse at 72% 48%, rgba(235,186,81,.34), rgba(8,7,5,.88) 43%, #050505 78%);
}
main[data-transition-mode="spotlight"] .cinematic-cut::after { background: linear-gradient(90deg, rgba(0,0,0,.96), transparent 34%, transparent 68%, rgba(0,0,0,.96)); }

/* Consulting: analysis lines assemble and disappear in sequence. */
main[data-transition-mode="grid"] .cinematic-cut::before { background: rgba(4,4,4,.65); }
main[data-transition-mode="grid"] .cinematic-cut > i { left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(219,164,66,.92), transparent); box-shadow: none; }
main[data-transition-mode="grid"] .cinematic-cut > i:nth-child(1) { top: 34%; }
main[data-transition-mode="grid"] .cinematic-cut > i:nth-child(2) { top: 50%; }
main[data-transition-mode="grid"] .cinematic-cut > i:nth-child(3) { top: 66%; }
main[data-transition-mode="grid"] .cinematic-cut > b { top: 18%; bottom: 18%; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(219,164,66,.7), transparent); }

/* World: a warm moving lens that opens around the distant horizon. */
main[data-transition-mode="orbit"] .cinematic-cut::before {
  background: radial-gradient(circle at 70% 50%, rgba(244,182,59,.4), rgba(73,44,14,.54) 27%, rgba(0,0,0,.91) 72%);
}
main[data-transition-mode="orbit"] .cinematic-cut::after { background: conic-gradient(from 170deg at 70% 50%, transparent, rgba(242,184,70,.35), transparent 22%); mix-blend-mode: screen; }

/* Contact: closing letterbox bars create a final, calm landing. */
main[data-transition-mode="letterbox"] .cinematic-cut::before { background: transparent; }
main[data-transition-mode="letterbox"] .cinematic-cut > i { left: 0; right: 0; height: 34%; background: #050504; box-shadow: inset 0 -1px 0 rgba(214,160,61,.4); }
main[data-transition-mode="letterbox"] .cinematic-cut > i:nth-child(1) { top: 0; }
main[data-transition-mode="letterbox"] .cinematic-cut > i:nth-child(2) { bottom: 0; transform-origin: 50% bottom; }
main[data-transition-mode="letterbox"] .cinematic-cut > i:nth-child(3) { top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(220,166,69,.9), transparent); }

@media (prefers-reduced-motion: reduce) {
  .cinematic-cut { display: none !important; }
  html.immersive-experience main.immersive-stage::before { transform: none !important; }
}

/* Final immersive-stage override. Keep this last: it replaces the former
   Lenis/native-scroll fallback with a true fixed viewport scene stack. */
html.immersive-experience,
html.immersive-experience body {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

html.immersive-experience .site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 100 !important;
}

html.immersive-experience main.immersive-stage {
  position: fixed !important;
  inset: var(--header-h) 0 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

/* The stage is deliberately transparent. Its shared body background is the
   only page background; no scene-specific translucent films are generated. */
html.immersive-experience main.immersive-stage::before,
html.immersive-experience main.immersive-stage::after {
  content: none !important;
  display: none !important;
}

html.immersive-experience main.immersive-stage > .scene {
  position: absolute !important;
  z-index: 2;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  will-change: opacity, transform;
}

html.immersive-experience main.immersive-stage > .scene:not(.is-active) {
  pointer-events: none !important;
}

/* Keep only the two scenes participating in a cut promoted to their own
   layers. Persisting will-change across every dormant scene costs memory and
   makes long immersive sessions less stable. */
html.immersive-experience main.immersive-stage > .scene {
  will-change: auto !important;
}
html.immersive-experience main.immersive-stage > .scene.scene-entering,
html.immersive-experience main.immersive-stage > .scene.scene-leaving {
  will-change: transform, opacity, filter, clip-path !important;
}

@media (hover: hover) and (pointer: fine) {
  html.immersive-experience main.immersive-stage > .scene.is-active .summary-layout {
    transform: translate3d(var(--depth-x, 0px), var(--depth-y, 0px), 0) !important;
    transition: transform .72s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
  }
}

html.immersive-experience .scene-progress {
  position: fixed;
  z-index: 110;
}

@media (max-width: 820px) {
  html.immersive-experience main.immersive-stage > .scene {
    height: 100% !important;
    min-height: 0 !important;
    padding: 14px 16px !important;
    overflow: hidden !important;
  }

  html.immersive-experience main.immersive-stage > .hero { padding: 0 !important; }

  /* The source summaries were originally composed for document flow. Scale
     each composition as one editorial canvas so it remains whole in a fixed
     mobile viewport, instead of creating an internal scroll area. */
  html.immersive-experience .summary-layout { transform-origin: center center !important; }
  html.immersive-experience .scene--hakkimda .summary-layout,
  html.immersive-experience .scene--sertifikalar .summary-layout { transform: scale(.64) !important; }
  html.immersive-experience .scene--stk .summary-layout { transform: scale(.75) !important; }
  html.immersive-experience .scene--kariyer .summary-layout { transform: scale(.75) !important; }
  html.immersive-experience .scene--egitmen .summary-layout { transform: scale(.8) !important; }
  html.immersive-experience .scene--yonetim .summary-layout { transform: scale(.84) !important; }
  html.immersive-experience .scene--dunyam .summary-layout { transform: scale(.96) !important; }
  html.immersive-experience .scene--iletisim .summary-layout { transform: scale(.69) !important; }
}

/* Immersive mode: wheel, touch and keys control the GSAP scene director.
   The document itself never gains a vertical scroll range. */
html.immersive-experience,
html.immersive-experience body {
  height: 100%;
  min-height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

html.immersive-experience .site-header {
  position: fixed !important;
  inset: 0 0 auto;
  z-index: 100;
}

html.immersive-experience main.immersive-stage {
  position: fixed !important;
  inset: var(--header-h) 0 0;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

html.immersive-experience main.immersive-stage > .scene {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  will-change: opacity, transform;
}

html.immersive-experience main.immersive-stage > .scene:not(.is-active) {
  pointer-events: none !important;
}

/* Hash navigation focuses the target scene. Suppress the browser's automatic
   focus outline so it cannot render as a false page-frame after a return. */
html.immersive-experience main.immersive-stage > .scene:focus,
html.immersive-experience main.immersive-stage > .scene:focus-visible {
  outline: none !important;
}

html.immersive-experience .scene-progress {
  position: fixed;
  z-index: 110;
}

@media (max-width: 820px) {
  html.immersive-experience main.immersive-stage > .scene {
    height: 100% !important;
    min-height: 0 !important;
    padding: 14px 16px !important;
    overflow: hidden !important;
  }

  html.immersive-experience main.immersive-stage > .hero { padding: 0 !important; }
}

/* Native document flow for Lenis + ScrollTrigger. Scene markup and visuals stay unchanged. */
@media (min-width: 821px) {
  html {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--header-h);
  }

  body { height: auto; overflow: visible; }

  .site-header { position: sticky; }

  main {
    height: auto;
    margin-top: 0;
    overflow: visible;
  }

  main > .hero,
  main > .section[id] {
    position: relative;
    inset: auto;
    width: 100%;
    height: calc(100svh - var(--header-h));
    min-height: 640px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  main > .scene.scene-leaving,
  main > .scene.scene-entering--forward,
  main > .scene.scene-entering--backward { transform: none; }

  .scroll-engine .summary-scene .summary-layout { opacity: 1; transform: none; }
}

/* Desktop scene carousel: navigation remains fixed; the document itself never scrolls. */
@media (min-width: 821px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
    scroll-snap-type: none;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
  }

  main {
    position: relative;
    height: calc(100svh - var(--header-h));
    margin-top: var(--header-h);
    overflow: hidden;
  }

  main > .hero,
  main > .section[id] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4%) scale(.985);
    transition: opacity .58s var(--scene-ease), transform .76s var(--scene-ease), visibility 0s linear .76s;
    will-change: opacity, transform;
  }

  main > .hero {
    padding: 0;
  }

  main > .scene.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

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

  .scene-progress {
    --scene-progress: 0;
    position: fixed;
    z-index: 52;
    right: clamp(34px, 4.2vw, 78px);
    bottom: clamp(24px, 4vh, 48px);
    display: grid;
    grid-template-columns: auto auto 92px auto;
    align-items: center;
    gap: 12px;
    color: rgba(244, 240, 232, .78);
    font-size: 10px;
    letter-spacing: .12em;
    pointer-events: none;
  }

  .scene-progress__name {
    color: #dba33b;
    min-width: 112px;
    text-align: right;
    font-size: 9px;
  }

  .scene-progress__current {
    color: #e5b24e;
    font: 500 20px/1 'Cormorant Garamond', Georgia, serif;
  }

  .scene-progress__total { color: rgba(244, 240, 232, .56); }

  .scene-progress__track {
    position: relative;
    height: 1px;
    background: rgba(244, 228, 190, .23);
    overflow: visible;
  }

  .scene-progress__track i {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(var(--scene-progress));
    transform-origin: left;
    background: linear-gradient(90deg, #b77820, #e5b550);
    transition: transform .7s cubic-bezier(.22, .75, .24, 1);
  }

  main > .scene.scene-leaving {
    z-index: 3;
    visibility: visible;
    pointer-events: none;
  }

  main > .scene.scene-leaving--forward { opacity: 0; transform: translateY(-7%) scale(.975); }
  main > .scene.scene-leaving--backward { opacity: 0; transform: translateY(7%) scale(.975); }

  main > .scene.is-active.scene-entering--forward { animation: scene-arrive-forward .76s var(--scene-ease) both; }
  main > .scene.is-active.scene-entering--backward { animation: scene-arrive-backward .76s var(--scene-ease) both; }

  @keyframes scene-arrive-forward {
    from { opacity: 0; transform: translateY(7%) scale(.985); clip-path: inset(8% 0 0 0); }
    to { opacity: 1; transform: none; clip-path: inset(0); }
  }

  @keyframes scene-arrive-backward {
    from { opacity: 0; transform: translateY(-7%) scale(.985); clip-path: inset(0 0 8% 0); }
    to { opacity: 1; transform: none; clip-path: inset(0); }
  }
}

@media (max-width: 820px) {
  .scene-progress { display: none; }
}

/* Open editorial compositions: summaries are scenes, never one large card. */
.section::before {
  display: none;
}

.scene .section-frame,
.scene .certificate-layout,
.scene .showcase-grid,
.scene .world-frame,
.scene .contact-frame {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.scene .section-frame::before,
.scene .section-frame::after,
.scene .world-frame::before,
.scene .world-frame::after {
  display: none;
}

.about-frame {
  grid-template-columns: minmax(300px, 35%) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
}

.image-panel {
  border: 0;
  border-right: 1px solid rgba(212, 159, 61, .45);
  border-radius: 0;
  clip-path: polygon(0 0, 91% 0, 78% 30%, 100% 65%, 79% 100%, 0 100%);
}

.about-copy {
  padding-right: clamp(16px, 4vw, 72px);
}

.about-copy .metric-strip {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

.certificate-layout {
  grid-template-columns: minmax(300px, 31%) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 90px);
}

.certificate-layout .section-copy {
  padding-left: 0;
}

.certificate-cards {
  position: relative;
  padding-top: 6px;
}

.certificate-cards::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-top: 1px solid rgba(214, 161, 64, .38);
}

.paper {
  border-color: rgba(218, 163, 62, .7);
  border-radius: 2px;
  box-shadow: inset 0 0 0 5px rgba(93, 58, 17, .18), 0 15px 36px rgba(0, 0, 0, .25);
}

.showcase-grid {
  grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 90px);
}

.showcase-grid .section-copy {
  padding-left: 0;
}

.visual-side {
  grid-template-columns: minmax(0, 1.45fr) minmax(185px, .7fr);
  gap: 18px;
}

.visual-side > img {
  border: 1px solid rgba(213, 160, 61, .56);
  border-radius: 0;
  box-shadow: 18px 22px 45px rgba(0, 0, 0, .28);
}

.side-list {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.side-list > div {
  padding: 14px 0 14px 17px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  border-left: 1px solid rgba(213, 160, 61, .52);
  border-radius: 0;
  background: transparent;
}

.visual-side .button {
  justify-self: start;
  min-width: 270px;
  margin-top: 14px;
}

.scene--kariyer .showcase-grid {
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
}

.scene--egitmen .visual-side,
.scene--yonetim .visual-side {
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, .78fr);
}

.process {
  left: 0;
  top: 10px;
}

.process li {
  border-radius: 0;
  background: rgba(4, 4, 4, .76);
}

.world-frame {
  grid-template-columns: minmax(290px, .75fr) minmax(0, 1.25fr);
  grid-template-rows: auto auto;
  gap: 28px clamp(38px, 5vw, 90px);
  height: auto;
  padding: 0;
}

.world-frame .section-copy {
  padding: 0;
}

.world-frame .section-copy h2 {
  font-size: clamp(54px, 5.4vw, 84px);
}

.world-collage {
  height: clamp(270px, 42vh, 390px);
  border: 1px solid rgba(213, 160, 61, .62);
  border-radius: 0;
  box-shadow: 18px 24px 55px rgba(0, 0, 0, .32);
}

.world-button {
  grid-column: 2;
  justify-self: start;
  width: auto;
  min-width: 300px;
  margin: 0;
}

.contact-frame {
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.22fr) minmax(220px, .74fr);
  gap: clamp(25px, 3vw, 56px);
  padding: 0;
}

.contact-frame .section-copy {
  padding-left: 0;
}

.contact-details {
  border-top: 1px solid rgba(213, 160, 61, .36);
  border-bottom: 1px solid rgba(213, 160, 61, .36);
}

.contact-details > div {
  border-left-color: rgba(255, 255, 255, .14);
}

.contact-frame > img {
  border-radius: 0;
  box-shadow: 16px 20px 44px rgba(0, 0, 0, .28);
}

@media (max-width: 820px) {
  .about-frame,
  .certificate-layout,
  .showcase-grid,
  .world-frame,
  .contact-frame { gap: 0; }
  .image-panel { border-right: 0; clip-path: none; }
  .visual-side .button,
  .world-button { min-width: 0; }
}

/* Editorial finish: hierarchy, rhythm and restrained brand detail. */
.scene .section-copy,
.scene .about-copy {
  position: relative;
}

.scene .section-copy > .index,
.scene .about-copy > .index {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: #dda33b;
  font: 500 16px/1 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .08em;
}

.scene .section-copy > .index i,
.scene .about-copy > .index i {
  width: 46px;
  margin: 0;
  border-color: rgba(221, 163, 59, .8);
}

.scene .section-copy h2,
.scene .about-copy h1 {
  max-width: 720px;
  margin-bottom: 14px;
  color: #f5f1e9;
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.scene .section-copy .eyebrow,
.scene .about-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  color: #dba33b;
  font-size: 10px;
  letter-spacing: .16em;
}

.scene .section-copy .eyebrow i,
.scene .about-copy .eyebrow i {
  width: 50px;
  margin: 0;
  border-color: rgba(220, 166, 69, .75);
}

.scene .section-copy > p:not(.index):not(.eyebrow),
.scene .about-copy > p:not(.index):not(.eyebrow) {
  max-width: 560px;
  color: rgba(239, 235, 226, .72);
  font-size: 13px;
}

.scene .line-icon,
.scene .icon-columns span {
  color: #dca33d;
  text-shadow: 0 0 18px rgba(220, 163, 61, .14);
}

.scene .feature-row,
.scene .icon-columns,
.scene .micro-features {
  position: relative;
}

.scene .feature-row > div,
.scene .icon-columns > div,
.scene .micro-features > div {
  position: relative;
}

.scene .feature-row > div::before,
.scene .icon-columns > div::before,
.scene .micro-features > div::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 16px;
  width: 20px;
  border-top: 1px solid rgba(220, 163, 61, .52);
}

.scene .feature-row > div:first-child::before,
.scene .icon-columns > div:first-child::before,
.scene .micro-features > div:first-child::before { left: 0; }

.scene .metric-strip {
  position: relative;
  border-color: rgba(214, 161, 64, .34);
}

.scene .metric-strip::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 22%;
  border-top: 1px solid #dca33d;
}

.scene .metric-strip span {
  color: rgba(244, 239, 230, .68);
  letter-spacing: .06em;
}

.scene .button {
  min-height: 46px;
  padding-inline: 24px;
  border-color: rgba(222, 166, 61, .9);
  background: linear-gradient(90deg, rgba(198, 137, 35, .08), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 154, .035);
}

.scene .button:hover {
  color: #f2c166;
  background: linear-gradient(90deg, rgba(198, 137, 35, .20), rgba(198, 137, 35, .05));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 224, 154, .10);
}

.scene .visual-side > img,
.scene .world-collage,
.scene .image-panel {
  isolation: isolate;
}

.scene .world-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(223, 170, 78, .08), transparent 38%, rgba(0, 0, 0, .24));
}

.scene .world-collage { position: relative; }

.scene--dunyam .world-frame .section-copy {
  align-self: center;
}

.scene--dunyam .world-tags span {
  position: relative;
  padding-left: 12px;
  color: #dba33b;
}

.scene--dunyam .world-tags span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border: 1px solid #dba33b;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Scale the editorial scenes for wide desktop screens. */
@media (min-width: 821px) {
  .scene .section-frame,
  .scene .certificate-layout,
  .scene .showcase-grid,
  .scene .world-frame,
  .scene .contact-frame {
    width: min(1780px, 100%);
  }

  .contact-frame {
    height: min(700px, calc(100svh - var(--header-h) - 46px));
    grid-template-columns: minmax(330px, .86fr) minmax(0, 1.22fr) minmax(390px, .92fr);
    grid-template-rows: minmax(235px, 1fr) auto;
    gap: 42px clamp(42px, 4.2vw, 82px);
    align-items: stretch;
  }

  .contact-frame .section-copy {
    align-self: center;
  }

  .contact-frame .section-copy h2 {
    font-size: clamp(64px, 5.7vw, 98px);
    line-height: .82;
  }

  .contact-frame .section-copy > p:not(.index):not(.eyebrow) {
    font-size: 15px;
    line-height: 1.9;
  }

  .contact-details {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-height: 180px;
  }

  .contact-details > div {
    min-height: 180px;
    padding: 16px 10px;
  }

  .contact-details > div span { font-size: 30px; }
  .contact-details > div b { font-size: 11px; margin-top: 10px; }
  .contact-details > div small { font-size: 10px; }

  .contact-frame > img {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: center;
  }

  .contact-button {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    width: min(360px, 100%);
    min-height: 58px;
    margin: 0;
  }

  .scene--dunyam .world-frame {
    width: min(1740px, 100%);
    grid-template-columns: minmax(360px, .75fr) minmax(0, 1.25fr);
  }

  .scene--dunyam .world-frame .section-copy > p:not(.index):not(.eyebrow) {
    font-size: 15px;
    line-height: 1.9;
  }

  .scene--dunyam .world-collage { height: min(460px, 53vh); }
}

/* Actual last rule: previous legacy native-scroll fallback is intentionally
   superseded here by the fixed immersive scene stage. */
html.immersive-experience,
html.immersive-experience body {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

html.immersive-experience .site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 100 !important;
}

html.immersive-experience main.immersive-stage {
  position: fixed !important;
  inset: var(--header-h) 0 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

html.immersive-experience main.immersive-stage > .scene {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  will-change: opacity, transform;
}

html.immersive-experience main.immersive-stage > .scene:not(.is-active) {
  pointer-events: none !important;
}

html.immersive-experience .scene-progress {
  position: fixed;
  z-index: 110;
}

@media (max-width: 820px) {
  html.immersive-experience main.immersive-stage > .scene {
    height: 100% !important;
    min-height: 0 !important;
    padding: 14px 16px !important;
    overflow: hidden !important;
  }

  html.immersive-experience main.immersive-stage > .hero { padding: 0 !important; }
}
