/* ═══════════════════════════════════════
   ABOUT PAGE — HERO (section1)
═══════════════════════════════════════ */

.page-hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* background image */
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -3; }
.page-hero .ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  animation: phZoom 14s ease-out forwards;
}
@keyframes phZoom { to { transform: scale(1); } }

/* scrim for readability + fade into the page */
.page-hero .ph-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 17, 11, 0.88), rgba(8, 17, 11, 0.55) 52%, rgba(8, 17, 11, 0.28) 80%),
    linear-gradient(180deg, rgba(8, 17, 11, 0.45), transparent 28%),
    linear-gradient(0deg, var(--bg-primary), rgba(255, 255, 255, 0) 22%);
}

/* atmosphere */
.page-hero .glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.page-hero .glow.a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.4), transparent 70%);
  top: -120px; left: 8%; opacity: 0.6;
}
.page-hero .glow.b {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(31, 157, 92, 0.4), transparent 70%);
  bottom: -80px; right: 6%; opacity: 0.5;
}
.page-hero .grid-tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, #000, transparent 75%);
}

/* shell */
.page-hero .ph-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* content */
.page-hero .ph-content {
  padding: 40px 0 96px;
  max-width: 760px;
}

.page-hero .crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 26px;
  opacity: 0;
  animation: phFadeUp 0.8s 0.25s ease forwards;
}
.page-hero .crumbs a { color: rgba(255, 255, 255, 0.74); text-decoration: none; transition: color 0.25s ease; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { opacity: 0.5; }
.page-hero .crumbs .here { color: #fff; }

.page-hero .ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px 8px 11px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: phFadeUp 0.8s 0.35s ease forwards;
}
.page-hero .ph-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 10px var(--hero-green);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.94;
  color: #fff;
}
.page-hero h1 .line { display: block; overflow: hidden; }
.page-hero h1 .line > span {
  display: block;
  transform: translateY(108%);
  animation: phRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero h1 .line:nth-child(1) > span { animation-delay: 0.45s; }
.page-hero h1 .line:nth-child(2) > span { animation-delay: 0.55s; }

.page-hero .grad {
  background: linear-gradient(96deg, var(--hero-warm-1), var(--hero-warm-2) 55%, var(--hero-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero .sub {
  margin-top: 26px;
  max-width: 540px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: phFadeUp 0.8s 1s ease forwards;
}

/* scroll cue */
.page-hero .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  opacity: 0;
  animation: phFadeUp 0.8s 1.2s ease forwards;
}
.page-hero .scroll-cue span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
}
.page-hero .scroll-cue .track {
  width: 1px; height: 42px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.page-hero .scroll-cue .track::after {
  content: "";
  position: absolute;
  top: -42px; left: 0;
  width: 100%; height: 42px;
  background: linear-gradient(var(--hero-warm-1), var(--hero-warm-2));
  animation: phScrollDot 2s ease-in-out infinite;
}
@keyframes phScrollDot { 0% { top: -42px; } 60%, 100% { top: 42px; } }

@keyframes phFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes phRise { to { transform: translateY(0); } }

/* ═══════════════════════════════════════
   RTL
═══════════════════════════════════════ */
body.rtl .page-hero .ph-content { text-align: right; }
body.rtl .page-hero .ph-bg::after {
  background:
    linear-gradient(255deg, rgba(8, 17, 11, 0.88), rgba(8, 17, 11, 0.55) 52%, rgba(8, 17, 11, 0.28) 80%),
    linear-gradient(180deg, rgba(8, 17, 11, 0.45), transparent 28%),
    linear-gradient(0deg, var(--bg-primary), rgba(255, 255, 255, 0) 22%);
}
body.rtl .page-hero .crumbs,
body.rtl .page-hero .ph-eyebrow { flex-direction: row-reverse; }
body.rtl .page-hero .ph-eyebrow { margin-left: auto; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 880px) {
  .page-hero h1 { font-size: clamp(46px, 13vw, 80px); }
}
@media (max-width: 600px) {
  .page-hero .ph-content { padding: 20px 0 80px; }
  .page-hero .sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .ph-bg img { animation: none; transform: none; }
  .page-hero h1 .line > span { transform: none; animation: none; }
  .page-hero .crumbs,
  .page-hero .ph-eyebrow,
  .page-hero .sub,
  .page-hero .scroll-cue { opacity: 1; animation: none; }
}
