/* V3.9 — subtle premium finishes, tuned for clarity and light performance */
html{scroll-padding-top:104px}
body{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

#navlinks a{
  position:relative;
  padding-block:8px;
  transition:color .22s ease, opacity .22s ease;
}
#navlinks a::after{
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:-12px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,#0aa498,#69d6c6);
  transform:scaleX(.18);
  transform-origin:center;
  opacity:0;
  transition:transform .24s ease, opacity .24s ease;
}
#navlinks a:hover,
#navlinks a.is-active,
#navlinks a[aria-current="page"]{
  color:#0a7c78;
}
#navlinks a.is-active::after,
#navlinks a[aria-current="page"]::after{
  opacity:1;
  transform:scaleX(1);
}

.section{
  position:relative;
}
.section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:min(1120px,calc(100% - 52px));
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,rgba(10,124,120,0),rgba(10,124,120,.12),rgba(10,124,120,0));
  pointer-events:none;
}
.hero::before,
#home::before,
footer::before{
  display:none;
}

.btn,
.wa-choice,
.filters button,
.rail-arrow,
#menu,
.access-options button,
#access-reset{
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn,
.wa-choice,
.v3courses article,
.audience-grid-v5 article,
.media-card,
.comparison article,
.steps article,
.contact-panel,
form,
.v35-scene,
.manifesto-art,
.dream-card-v4{
  box-shadow:0 12px 30px rgba(16,47,57,.06);
}
.btn:hover,
.wa-choice:hover,
.filters button:hover,
.rail-arrow:hover,
.access-options button:hover,
#access-reset:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(8,63,72,.14);
}
.btn:active,
.wa-choice:active,
.filters button:active,
.rail-arrow:active{
  transform:translateY(0);
}
.hero-primary,
.mobile-cta .btn{
  box-shadow:0 14px 32px rgba(4,91,89,.18);
}

.v3courses article,
.audience-grid-v5 article,
.media-card,
.steps article,
.comparison article,
.wa-choice,
.contact-panel{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.v3courses article:hover,
.audience-grid-v5 article:hover,
.media-card:hover,
.steps article:hover,
.comparison article:hover,
.wa-choice:hover,
.contact-panel:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(16,47,57,.10);
}
.v3courses article.featured{
  border-color:#90d7d0;
  box-shadow:0 22px 42px rgba(8,124,121,.16);
}
.v3courses article.featured::after{
  content:"";
  position:absolute;
  inset:auto 18px 0 18px;
  height:10px;
  border-radius:0 0 18px 18px;
  background:linear-gradient(90deg,rgba(10,164,152,0),rgba(10,164,152,.14),rgba(10,164,152,0));
  pointer-events:none;
}

.loop-rail,
.auto-media-rail,
.poss-marquee{
  -webkit-mask-image:linear-gradient(90deg,transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0, #000 5%, #000 95%, transparent 100%);
}

.hero-showcase,
.manifesto-art,
.v35-scene{
  position:relative;
  isolation:isolate;
}
.hero-showcase::after,
.manifesto-art::after,
.v35-scene::after{
  content:"";
  position:absolute;
  inset:auto auto 14% 8%;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(24,203,183,.18) 0%, rgba(24,203,183,.08) 38%, rgba(24,203,183,0) 72%);
  filter:blur(10px);
  pointer-events:none;
  z-index:-1;
}
.v35-scene{
  border:1px solid #d6e6eb;
  background:linear-gradient(180deg,#f8fbfc,#eef6fa);
  overflow:hidden;
}
.v35-scene::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(48,164,220,.10), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(32,198,176,.11), transparent 24%);
  pointer-events:none;
}
.v35-scene svg{position:relative;z-index:1}
.v35-scene figcaption{
  position:relative;
  z-index:1;
  font-weight:800;
  color:#0d5f67;
  letter-spacing:-.02em;
}

.offer-strip,
.hanging-inner,
.offer-card-inner{
  box-shadow:0 8px 22px rgba(8,35,41,.10);
}
.hero-copy h1,
.dream-heading-v5 h2,
.manifesto-copy h2,
.center h2,
.closing h2{
  text-wrap:balance;
}
.hero-lead,
.lead,
.v33-dream-message,
.manifesto-copy p,
.contact-panel p,
.audience-grid-v5 p{
  text-wrap:pretty;
}

.reveal-fade{
  opacity:0;
  transform:translate3d(0,24px,0);
  transition:opacity .66s ease, transform .66s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform;
}
.reveal-fade.reveal-in{
  opacity:1;
  transform:none;
}
.reveal-soft{
  opacity:0;
  transform:translate3d(0,18px,0) scale(.988);
  transition:opacity .72s ease, transform .72s cubic-bezier(.22,.61,.36,1);
}
.reveal-soft.reveal-in{
  opacity:1;
  transform:none;
}

@media (max-width:760px){
  html{scroll-padding-top:82px}
  #navlinks a::after{bottom:-2px;height:2px}
  .section::before{width:calc(100% - 28px)}
  .hero-showcase::after,
  .manifesto-art::after,
  .v35-scene::after{width:110px;height:110px;opacity:.75}
  .loop-rail,
  .auto-media-rail,
  .poss-marquee{
    -webkit-mask-image:linear-gradient(90deg,transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0, #000 3%, #000 97%, transparent 100%);
  }
  .v3courses article:hover,
  .audience-grid-v5 article:hover,
  .media-card:hover,
  .steps article:hover,
  .comparison article:hover,
  .wa-choice:hover,
  .contact-panel:hover,
  .btn:hover,
  .filters button:hover,
  .rail-arrow:hover{
    transform:none;
  }
}

@media (prefers-reduced-motion: reduce){
  .reveal-fade,
  .reveal-soft{
    opacity:1;
    transform:none;
    transition:none;
  }
}


/* V4.1: a single clear illustration on the existing contact background. */
#contact .creation-flow{width:100%;max-width:620px;margin:24px auto 0;padding:0;min-width:0;background:none;border:0;box-shadow:none;color:#164251;text-align:center;}
#contact .creation-art{display:block;width:100%;height:auto;overflow:visible;margin:0 auto;max-height:none;}
#contact .creation-status{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 auto 18px;max-width:280px;font-size:clamp(13px,1.15vw,16px);font-weight:700;color:#126861;}
#contact .creation-status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#0c9f8c;box-shadow:0 0 0 4px #119b8c12;}
#creation-percent{margin-inline-start:auto;font-variant-numeric:tabular-nums;font-weight:800;color:#087f83;}
#contact .creation-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;direction:rtl;position:relative;}
#contact .creation-steps::before{content:"";position:absolute;top:13px;right:12.5%;left:12.5%;height:2px;background:#aac9ce;z-index:0;}
#contact .creation-steps li{position:relative;display:grid;justify-items:center;align-content:start;gap:7px;color:#264b59;line-height:1.4;font-size:clamp(12px,1.15vw,15px);min-width:0;}
#contact .creation-steps li span{display:grid;place-items:center;width:28px;height:28px;border:2px solid #b1d1d3;border-radius:50%;background:#edf6f8;color:#28676a;font-size:11px;font-weight:800;z-index:1;}
#contact .creation-steps li.is-passed span,#contact .creation-flow:not(.is-enhanced) li span{background:#087f83;border-color:#087f83;color:white;}
#contact .creation-steps li b{font-weight:700;}
#contact .creation-flow figcaption{font-size:clamp(18px,1.7vw,25px);line-height:1.4;margin:20px 0 0;color:#087e82;font-weight:800;text-wrap:balance;}
@media(max-width:480px){#contact .creation-flow{margin-top:20px}#contact .creation-steps{gap:4px}#contact .creation-status{margin-bottom:14px}#contact .creation-flow figcaption{margin-top:16px}}
