/* ========================================================================== 
   Award motion layer
   A progressive enhancement over the core design system. It is intentionally
   dependency-free and shared by every page.
   ========================================================================== */

:root {
  --ink: #06172b;
  --paper: #f8f6f0;
  --lime: #d8f06a;
  --mx: 50vw;
  --my: 50vh;
}

body {
  background: var(--paper);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.motion-spotlight {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: .12;
  transform: translate3d(calc(var(--mx) - 50%), calc(var(--my) - 50%), 0);
  background: radial-gradient(circle, rgba(245,173,22,.55), rgba(47,95,168,.15) 42%, transparent 72%);
  filter: blur(8px);
  transition: opacity .4s ease;
}

main { position: relative; z-index: 1; }
.site-header { z-index: 120; }
.site-footer { z-index: 1; }
.wa-float { z-index: 90; }
.to-top { z-index: 80; }

/* Bespoke pointer -------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--gold); }
.cursor-ring {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(6,23,43,.42);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(2px);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s ease, border-color .3s ease, opacity .2s;
}
body.has-pointer .cursor-dot,
body.has-pointer .cursor-ring { opacity: 1; }
body.cursor-active .cursor-ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(245,173,22,.13); border-color: var(--gold); }
body.cursor-form .cursor-dot,
body.cursor-form .cursor-ring { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  body.has-pointer,
  body.has-pointer a,
  body.has-pointer button { cursor: none; }
  body.has-pointer input,
  body.has-pointer textarea { cursor: text; }
  body.has-pointer select { cursor: default; }
}

/* Typography becomes the visual anchor --------------------------------- */
h1, h2, h3 { text-wrap: balance; }
.cine__title,
.page-hero h1,
.section-head h2 {
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: .98;
}
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.word > span {
  display: inline-block;
  transform: translateY(112%) rotate(2deg);
  opacity: 0;
  transition: transform 1s var(--ease), opacity .7s ease;
  transition-delay: calc(var(--word-index, 0) * 42ms + 80ms);
}
.kinetic-in .word > span { transform: none; opacity: 1; }

.section-head { max-width: 850px; margin-bottom: 4.5rem; }
.section-head h2 { max-width: 820px; margin-inline: auto; }
.section-head--left h2 { margin-left: 0; }
.eyebrow {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--navy);
}
.eyebrow::before { width: 32px; height: 1px; border-radius: 0; }

.eyebrow--light,
.hgal__head .eyebrow {
  color: var(--gold) !important;
  background: rgba(240, 165, 0, 0.12) !important;
  border: 1px solid rgba(240, 165, 0, 0.4) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 9999px !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  box-shadow: 0 0 20px rgba(240, 165, 0, 0.2) !important;
}
.eyebrow--light::before,
.hgal__head .eyebrow::before {
  content: '' !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--gold) !important;
  box-shadow: 0 0 10px var(--gold) !important;
  flex-shrink: 0 !important;
}

/* Header ---------------------------------------------------------------- */
.site-header { transition: transform .45s var(--ease); }
.headerbar {
  border-bottom-color: rgba(6,23,43,.08);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header:not(.is-stuck) .headerbar { background: rgba(255,255,255,.82); }
.brand img { filter: saturate(.92) contrast(1.06); }
.nav__link { letter-spacing: -.01em; }
.nav__sub { border-color: rgba(6,23,43,.1); box-shadow: 0 30px 90px rgba(6,23,43,.18); }
.scroll-progress { height: 3px; background: linear-gradient(90deg, var(--gold), var(--lime)); }

/* Buttons and interactive surfaces ------------------------------------- */
.btn {
  --mag-x: 0px;
  --mag-y: 0px;
  min-height: 48px;
  border-radius: 999px;
  transform: translate3d(var(--mag-x), var(--mag-y), 0);
  transition: color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), transform .18s ease-out;
}
.btn:hover { transform: translate3d(var(--mag-x), calc(var(--mag-y) - 2px), 0); }

/* Home hero ------------------------------------------------------------- */
.cine__stage { isolation: isolate; }
.cine__stage::before {
  content: '';
  position: absolute;
  z-index: 5;
  inset: 12% 6%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-8deg);
}
.cine__stage::after {
  content: 'DIVERSE PATHWAIS  /  GLOBAL MOBILITY  /  EST. 2025';
  position: absolute;
  z-index: 8;
  right: 4vw;
  bottom: 5.2rem;
  max-width: 170px;
  color: rgba(255,255,255,.6);
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.7;
  text-align: right;
  pointer-events: none;
}
.cine__scrim { background: linear-gradient(90deg, rgba(3,12,24,.9) 0%, rgba(3,12,24,.68) 42%, rgba(3,12,24,.06) 73%), radial-gradient(ellipse at center, transparent 36%, rgba(2,9,18,.52) 100%); }
.cine__title { max-width: 920px; font-size: var(--fs-display); }
.cine__title em { color: var(--gold); }
.cine__text { max-width: 590px; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.cine__chapter { height: 3px; }

/* Section composition --------------------------------------------------- */
.section { padding: clamp(5.5rem, 9vw, 9.5rem) 0; overflow: clip; }
.section[data-section-index]::after {
  content: attr(data-section-index);
  position: absolute;
  z-index: 0;
  right: max(1.5rem, calc((100vw - var(--shell)) / 2));
  top: 2.25rem;
  color: rgba(6,23,43,.035);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}
.section--dark[data-section-index]::after { color: rgba(255,255,255,.035); }
.section > .shell { position: relative; z-index: 1; }
.section--alt { background: var(--surface-alt); }
.section--dark {
  background:
    radial-gradient(circle at 88% 18%, rgba(47,95,168,.24), transparent 27%),
    radial-gradient(circle at 12% 78%, rgba(245,173,22,.1), transparent 26%),
    var(--navy-900);
}

.trust__inner,
.form-card,
.side-card,
.contact-card,
.email-card,
.quote {
  border-color: rgba(6,23,43,.1);
  box-shadow: 0 18px 60px rgba(6,23,43,.07);
}
.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .22s ease-out, box-shadow .45s var(--ease), background .35s ease, border-color .35s ease;
  transform-style: preserve-3d;
}
.tilt-card:hover { transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-5px); }
.trust__inner { border-radius: 28px; }

.hgal__card,
.media-card,
.bento__card,
.collage__main,
.collage__sub {
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(6,23,43,.18);
}
.hgal__card::before,
.media-card::before,
.bento__card::before {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease);
  pointer-events: none;
}
.hgal__card:hover::before,
.media-card:hover::before,
.bento__card:hover::before { transform: translateX(120%); }

.process__row {
  border-radius: 0;
  border-width: 0 0 1px;
  background: transparent;
  padding-inline: .5rem;
}
.process__row:hover { background: #fff; padding-inline: 1.5rem; }
.process__num { -webkit-text-stroke-width: 1px; }

/* Inner-page hero ------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: calc(100vh - 110px);
  min-height: clamp(640px, 92vh, 980px);
  display: flex;
  align-items: flex-end;
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--navy-900, #0b2545);
  background-image: url('../img/banners/banner-about.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(6, 17, 32, 0.45) 0%, rgba(6, 17, 32, 0.12) 30%, rgba(6, 17, 32, 0.76) 75%, rgba(6, 17, 32, 0.96) 100%),
    linear-gradient(90deg, rgba(6, 17, 32, 0.95) 0%, rgba(6, 17, 32, 0.65) 45%, rgba(6, 17, 32, 0.22) 75%, rgba(6, 17, 32, 0.42) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
  border: none;
  transform: none !important;
  opacity: 1 !important;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 165, 0, 0.45), transparent);
  z-index: 2;
  border: none;
  border-radius: 0;
  transform: none !important;
}
.page-hero .shell {
  position: relative;
  z-index: 3;
  width: 100%;
}
.page-hero .shell::after {
  content: attr(data-page-label);
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.page-hero__content {
  max-width: 880px;
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #f0a500);
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.page-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold, #f0a500);
  box-shadow: 0 0 12px var(--gold, #f0a500), 0 0 4px #fff;
}
.page-hero h1,
.page-hero__title {
  max-width: 980px;
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-size: clamp(2.85rem, 6.5vw, 5.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}
.page-hero p,
.page-hero__lead {
  max-width: 740px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  margin: 0;
}
.breadcrumb {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.4rem;
}

/* Long-form pages ------------------------------------------------------- */
.layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(3rem, 7vw, 7rem); }
.prose { max-width: 900px; }
.prose > p:first-of-type {
  padding-left: 1.4rem;
  border-left: 3px solid var(--gold);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.55;
  letter-spacing: -.02em;
}
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -.04em; }
.prose p, .prose li { max-width: 76ch; }
.side-card { backdrop-filter: blur(16px); }
.side-card--cta { box-shadow: 0 28px 70px rgba(6,23,43,.22); }

/* Footer as a designed final scene ------------------------------------- */
.site-footer {
  padding-top: 3rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(47,95,168,.25), transparent 28%),
    var(--navy-900);
}
.site-footer::after {
  content: 'PATHWAIS';
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: .15em 0 -.12em;
  color: rgba(255,255,255,.035);
  font-size: clamp(4rem, 16.4vw, 16rem);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.085em;
  text-align: center;
  pointer-events: none;
}
.footer-grid { padding: clamp(4rem, 8vw, 7rem) 0; }
.footer-brand p { max-width: 46ch; }
.footer-note { border-color: rgba(255,255,255,.13); }
.social a { border-radius: 50%; }

/* Fluid tablet and mobile choreography --------------------------------- */
@media (max-width: 1180px) {
  .page-hero { min-height: 600px; }
  .section-head { margin-bottom: 3.5rem; }
}

@media (max-width: 900px) {
  .motion-spotlight, .cursor-dot, .cursor-ring { display: none; }
  .nav {
    width: 100vw;
    max-width: none;
    border-left: 0;
    background: rgba(248,246,240,.98);
    backdrop-filter: blur(18px);
  }
  .nav__item { opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav.is-open .nav__item { opacity: 1; transform: none; transition-delay: calc(var(--nav-i, 0) * 55ms); }
  .nav__link { font-size: clamp(1.08rem, 4vw, 1.45rem); }
  .cine__stage::before { inset: 17% -26%; }
  .cine__stage::after { display: none; }
  .cine__title { font-size: clamp(3rem, 11vw, 5.5rem); }
  .page-hero { min-height: 540px; }
  .page-hero .shell::after { display: none; }
  .section[data-section-index]::after { font-size: 9rem; }
}

@media (max-width: 700px) {
  :root { --fs-h1: clamp(2.75rem, 13vw, 4.25rem); --fs-h2: clamp(2.15rem, 10vw, 3.25rem); }
  .shell { padding-inline: 1.15rem; }
  .section { padding: 5.25rem 0; }
  .section--tight { padding: 3.75rem 0; }
  .section-head { margin-bottom: 2.75rem; text-align: left; }
  .section-head h2 { margin-left: 0; }
  .page-hero { min-height: clamp(480px, 85vh, 640px); padding-bottom: 3.5rem; }
  .page-hero h1 { font-size: clamp(2.25rem, 9.5vw, 3.25rem); }
  .cine__content { padding-inline: 0; }
  .cine__title { font-size: clamp(2.85rem, 13vw, 4.6rem); }
  .cine__actions { gap: .65rem; }
  .cine__actions .btn { min-height: 52px; }
  .trust { margin-top: -28px; }
  .trust__inner { border-radius: 22px; }
  .hgal__rail { padding-left: 1.15rem; gap: 1rem; }
  .hgal__card { flex-basis: 86vw; }
  .media-track { grid-auto-columns: 86vw; }
  .prose > p:first-of-type { font-size: 1.2rem; }
  .footer-grid { padding-top: 3.75rem; }
  .site-footer::after { font-size: 20vw; }
  .wa-float { right: 14px; bottom: 14px; }
  .to-top { right: 14px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .word > span { opacity: 1 !important; transform: none !important; }
  .motion-spotlight, .cursor-dot, .cursor-ring { display: none !important; }
  .page-hero::before, .page-hero::after { transform: none !important; }
}

@media (hover: none), (pointer: coarse) {
  .motion-spotlight, .cursor-dot, .cursor-ring { display: none; }
  .btn:hover { transform: none; }
}
