/* ==========================================================================
   CUTOUT COMPOSITION — hero-trainer-cutout · about-trainer-cutout
   Real transparency · premium CSS atmosphere · no black-box workaround
   ========================================================================== */

.trainer-photo,
.hero-trainer,
.trainer-photo--about {
  display: block;
  background: transparent !important;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  mix-blend-mode: normal !important;
}

/* =============================================================================
   HERO — 100vh · 45% text · dominant cutout trainer
   ============================================================================= */

.hero {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-top: var(--header-h) !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #050505 !important;
}

.hero > .container.hero__inner {
  position: relative;
  display: grid !important;
  grid-template-columns: 42fr 58fr !important;
  grid-template-rows: 1fr !important;
  align-items: stretch !important;
  height: calc(100vh - var(--header-h)) !important;
  max-height: calc(100vh - var(--header-h)) !important;
  min-height: 0 !important;
  gap: 0 !important;
  padding-block: 0 !important;
  overflow: visible !important;
}

.hero__content {
  grid-column: 1 !important;
  grid-row: 1 !important;
  z-index: 5;
  align-self: center;
  text-align: left !important;
  align-items: flex-start !important;
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
}

.hero .eyebrow {
  font-size: 0.65rem !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 0.65rem !important;
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 5.1rem) !important;
  line-height: 0.9 !important;
  margin-bottom: 0.8rem !important;
  text-shadow: none !important;
}

.hero__subtitle {
  font-size: clamp(0.88rem, 1.4vw, 1rem) !important;
  line-height: 1.58 !important;
  max-width: 26rem !important;
  margin-bottom: 1.1rem !important;
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

.hero__pills { display: none !important; }

.hero__actions {
  margin-bottom: 0.95rem !important;
  max-width: 275px;
}

.hero__actions .btn--primary.btn--lg {
  min-height: 48px !important;
  padding: 0.72rem 1.35rem !important;
  font-size: 0.7rem !important;
}

.hero__features {
  gap: 0.55rem 1.1rem !important;
}

.hero__features li {
  font-size: 0.7rem !important;
}

.hero__badge,
.hero__expertise,
.hero__trainer-glow,
.hero__stage {
  display: none !important;
}

/* Scene — positioning fix only */
.hero__scene.hero-visual,
.hero-visual {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  height: 100%;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

.hero-trainer,
.trainer-photo--hero {
  position: relative;
  right: auto;
  left: auto;
  bottom: auto;
  transform: none;
  height: 88vh !important;
  max-height: 88vh !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  display: block;
  z-index: 3;
  margin: 0 auto !important;
}

.hero__figure {
  position: relative;
  margin: 0;
  padding: 0;
  display: contents;
  background: transparent !important;
}

.hero__figure::after {
  display: none !important;
}

/* Atmosphere bleeds across hero, behind cutout */
.hero__atmo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.hero__atmo-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(58vw, 520px);
  height: min(68vh, 640px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 52% 48% at 50% 50%,
    rgba(182, 255, 0, 0.28) 0%,
    rgba(182, 255, 0, 0.12) 35%,
    transparent 76%
  );
  filter: blur(32px);
}

.hero__atmo-smoke {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 42% at 48% 38%, rgba(120, 120, 120, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 38% 32% at 22% 52%, rgba(80, 80, 80, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 35% 30% at 78% 48%, rgba(90, 90, 90, 0.2) 0%, transparent 60%);
  filter: blur(42px);
  opacity: 0.85;
}

.hero__atmo-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg, transparent 42%, rgba(180, 255, 0, 0.06) 50%, transparent 58%),
    linear-gradient(68deg, transparent 56%, rgba(255, 255, 255, 0.035) 57.5%, transparent 61%),
    repeating-linear-gradient(-13deg, transparent, transparent 66px, rgba(180, 255, 0, 0.025) 66px, rgba(180, 255, 0, 0.025) 67px);
  opacity: 0.75;
  mask-image: radial-gradient(ellipse 92% 86% at 50% 50%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 86% at 50% 50%, #000 10%, transparent 100%);
}

.hero__atmo-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

.hero__cinema-glow--right {
  width: min(58vw, 700px) !important;
  height: min(82vh, 780px) !important;
  right: -6% !important;
  top: 4% !important;
  filter: blur(90px) !important;
}

.hero__cinema-glow--center {
  left: 58% !important;
  top: 14% !important;
}

.hero__cinema-spotlight {
  left: 62% !important;
  top: 42% !important;
}

.hero__cinema-chevrons {
  opacity: 0.78 !important;
  right: -2% !important;
  left: auto !important;
  width: 54% !important;
}

.hero + .section,
.hero + .services {
  margin-top: 0 !important;
}

/* =============================================================================
   ABOUT — 100vh · 30 / 40 / 30 · cutout portrait
   ============================================================================= */

.about.section {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-block: clamp(1.15rem, 2.2vh, 1.85rem) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background:
    radial-gradient(ellipse 55% 45% at 18% 50%, rgba(20, 26, 10, 0.45) 0%, transparent 60%),
    #050505 !important;
  display: flex !important;
  align-items: center !important;
}

.about.section > .container.about__inner {
  height: 100% !important;
  max-height: calc(100vh - clamp(2.3rem, 4.4vh, 3.7rem)) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.about__inner {
  display: grid !important;
  grid-template-columns: 30fr 40fr 30fr !important;
  gap: clamp(1rem, 1.6vw, 1.35rem) !important;
  align-items: stretch !important;
  width: 100%;
  height: 100%;
}

.about__visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.about__portrait-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  background: linear-gradient(
    155deg,
    rgba(28, 32, 16, 0.35) 0%,
    rgba(14, 14, 14, 0.2) 45%,
    rgba(10, 12, 8, 0.15) 100%
  );
  border: 1px solid rgba(182, 255, 0, 0.22);
  box-shadow:
    0 0 80px rgba(182, 255, 0, 0.12),
    inset 0 0 60px rgba(182, 255, 0, 0.05),
    0 22px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.about__portrait-atmo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.about__portrait-glow--core {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 85%;
  height: 58%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(182, 255, 0, 0.32) 0%,
    rgba(182, 255, 0, 0.14) 35%,
    rgba(182, 255, 0, 0.04) 55%,
    transparent 72%
  );
  filter: blur(16px);
  z-index: 0;
}

.about__portrait-glow--edge {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 90%;
  height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 75% 85% at 50% 100%, rgba(182, 255, 0, 0.18) 0%, transparent 68%);
  filter: blur(22px);
  z-index: 0;
}

.about__portrait-smoke {
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(ellipse 75% 58% at 50% 52%, rgba(55, 55, 55, 0.16) 0%, transparent 66%);
  filter: blur(36px);
  opacity: 0.6;
}

.about__portrait-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.about__portrait-frame {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: transparent !important;
}

.trainer-photo--about {
  position: relative;
  z-index: 2;
  width: auto !important;
  height: 92% !important;
  max-width: 135% !important;
  max-height: 92% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter:
    drop-shadow(0 0 45px rgba(182, 255, 0, 0.28))
    drop-shadow(0 0 90px rgba(182, 255, 0, 0.12));
}

.about__frame,
.about__glow,
.about__photo-mask,
.about__signature {
  display: none !important;
}

/* Center column */
.about__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-inline: clamp(0.6rem, 1.1vw, 0.95rem);
  padding-top: 0;
  padding-bottom: 0;
  border-left: 1px solid rgba(180, 255, 0, 0.08);
  border-right: 1px solid rgba(180, 255, 0, 0.08);
  height: 100%;
  min-height: 0;
  max-height: 72vh;
  overflow: visible;
}

.about .section__title--left {
  font-size: clamp(1.9rem, 3.3vw, 2.5rem) !important;
  line-height: 0.95 !important;
  margin-bottom: 0.65rem !important;
}

.about__text {
  font-size: clamp(0.9rem, 1.4vw, 1rem) !important;
  line-height: 1.52 !important;
  margin-bottom: 0.75rem !important;
}

.about__highlights {
  margin-bottom: 0.65rem !important;
  gap: 0.14rem !important;
  min-height: 0;
}

.about__highlights li {
  font-size: 0.85rem !important;
  padding: 0.1rem 0 !important;
  line-height: 1.36 !important;
}

.about__highlights li span {
  color: var(--accent) !important;
}

.about__content .btn {
  align-self: flex-start;
  padding: 0.68rem 1.25rem !important;
  font-size: 0.72rem !important;
  min-height: 46px;
  flex-shrink: 0;
  margin-top: auto;
}

/* Right column */
.about__certs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  gap: 0.75rem;
  height: 100%;
  min-height: 0;
  max-height: 72vh;
  overflow: hidden;
}

.about__certs .edu-block {
  margin-bottom: 0 !important;
}

.about__certs .eyebrow {
  font-size: 0.68rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.55rem !important;
  letter-spacing: 0.14em !important;
}

.about__content > .eyebrow {
  font-size: 0.72rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.55rem !important;
  letter-spacing: 0.14em !important;
}

.about__certs .edu-card {
  padding: 0.7rem 0.8rem !important;
}

.about__certs .edu-card__title {
  font-size: 0.9rem !important;
  line-height: 1.28 !important;
}

.about__certs .edu-card__sub {
  font-size: 0.8rem !important;
}

.cert-list--compact .cert-list__item {
  font-size: 0.84rem !important;
  padding: 0.18rem 0 !important;
  line-height: 1.38 !important;
}

/* Mobile rules moved to mobile-premium.css */

@media (prefers-reduced-motion: reduce) {
  .hero__atmo-grain { opacity: 0.08; }
}
