/* =========================================================================
   تمام فيتنس | Tamam Fitness — style.css
   Visual idea: everything is cut like a leaf (two opposite corners large,
   two small) and one "movement line" threads through the page.
   ========================================================================= */



/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand palette (نفس أسماء المتغيرات القديمة، بألوان جديدة) */
   --green: #45A9DF;      /* أزرق سماوي هادئ */
    --sage: #A3D2EA;       /* أزرق فاتح */
    --peach: #E99BC1;      /* وردي ناعم */
    --butter: #F5C4DC;     /* وردي فاتح جداً */
    --ivory: #F8FAFC;      /* أبيض رمادي ناعم */
    --charcoal: #34313A;   /* فحمي ناعم */
  /* Derived tones */
  --green-700: color-mix(in srgb, var(--green) 82%, #000);
  --sage-100: color-mix(in srgb, var(--green) 12%, var(--ivory));
  --sage-200: color-mix(in srgb, var(--green) 28%, var(--ivory));
  --peach-100: color-mix(in srgb, var(--peach) 14%, var(--ivory));

  --ink: var(--charcoal);
  --ink-soft: color-mix(in srgb, var(--charcoal) 74%, var(--ivory));
  --focus: var(--green);

  /* Typography */
  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --fs-hero: clamp(2.5rem, 1.3rem + 5.4vw, 5.6rem);
  --fs-h2: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-stat: clamp(5.5rem, 1.5rem + 12vw, 11rem);

  /* Spacing */
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: clamp(4.5rem, 10vw, 8.5rem);

  /* Layout + shape */
  --container: min(1180px, 100% - 2.5rem);
  --leaf-big: clamp(2rem, 6vw, 5.5rem);
  --leaf-small: clamp(0.75rem, 2vw, 1.5rem);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}


/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}


html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Subtle grain over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.1;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0; /* never track Arabic: it breaks letter joining */
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: 1.5rem; }
body.modal-open { overflow: hidden; }

/* ---------- 3. UTILITIES ---------- */
.container { width: var(--container); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 700;
  padding: 0.6rem 1rem;
 

  background: var(--green);
  color: var(--ivory);
  border-radius: 1rem 0.3rem;
  transform: translateY(-250%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; --focus: var(--butter); }

.on-dark {
  --ink: var(--ivory);
  --ink-soft: color-mix(in srgb, var(--ivory) 80%, var(--green));
 
  --focus: var(--butter);
  color: var(--ivory);
}

.section-title { font-size: var(--fs-h2); line-height: 1.3; color: var(--green); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);}
.on-dark .section-title { color: var(--ivory); }
.section-lead { font-size: var(--fs-lead); max-width: 34rem; color: var(--ink-soft); }

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: clamp(0.4rem, 1.5vw, 1.25rem);
  border-radius: var(--leaf-big) var(--leaf-small);
}
.panel--flip { border-radius: var(--leaf-small) var(--leaf-big); }

/* Decorative "movement line" used inside coloured panels */
.trace {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 8%;
  z-index: -1;
  width: 100%;
  height: 40%;
  fill: none;
  stroke: var(--ivory);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.45;
  vector-effect: non-scaling-stroke;
}
.trace path { vector-effect: non-scaling-stroke; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-bg: var(--peach);
  --btn-fg: var(--charcoal);
  --btn-hover-bg: var(--green);
 
  --btn-hover-fg: var(--ivory);
  --disc-bg: var(--green);
  --disc-fg: var(--ivory);
  --disc-hover-bg: var(--peach);
  --disc-hover-fg: var(--charcoal);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: 0.5rem;
  padding-inline: 1.6rem 0.5rem; /* RTL: text on the right, arrow tile on the left */
  border-radius: 1.9rem 0.55rem 1.9rem 0.55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.3 var(--font-display);
  white-space: nowrap;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: color 0.4s var(--ease), transform 0.35s var(--ease), box-shadow 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97); }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1.2rem 0.4rem 1.2rem 0.4rem;
  background: var(--disc-bg);
  color: var(--disc-fg);
  font-size: 0.95rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn__arrow i { display: block; animation: nudge-x 2.2s ease-in-out infinite; }
.btn__arrow--down i { animation-name: nudge-y; }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { background: var(--disc-hover-bg); color: var(--disc-hover-fg); }
.btn:hover .btn__arrow i { animation-duration: 0.9s; }

.btn--butter {
  --btn-bg: var(--butter); --btn-fg: var(--green);
 
  --btn-hover-bg: var(--peach); --btn-hover-fg: var(--charcoal);
  --disc-bg: var(--green); --disc-fg: var(--butter);
  --disc-hover-bg: var(--charcoal); --disc-hover-fg: var(--peach);
}
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--green);
  --btn-hover-bg: var(--green); --btn-hover-fg: var(--ivory);
  --disc-bg: var(--butter); --disc-fg: var(--green);
  --disc-hover-bg: var(--peach); --disc-hover-fg: var(--charcoal);
  box-shadow: inset 0 0 0 2px var(--green);
}
.btn--lg { min-height: 4rem; padding-inline: 2rem 0.6rem; font-size: 1.1rem; }
.btn--lg .btn__arrow { width: 2.8rem; height: 2.8rem; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__wash {
  position: absolute;
  border-radius: 42% 58% 63% 37% / 41% 46% 54% 59%;
  animation: drift 24s ease-in-out infinite alternate;
}
.hero__wash--sage {
  inset-block-start: -16rem;
  inset-inline-end: -14rem;
  width: 44rem; height: 44rem;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--sage) 60%, transparent), transparent 70%);
}
.hero__wash--butter {
  inset-block-end: -14rem;
  inset-inline-start: -12rem;
  width: 36rem; height: 36rem;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--butter) 90%, transparent), transparent 68%);
  animation-delay: -8s;
}

.hero__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: var(--butter);
  color: var(--green);
 
  border-radius: 1.2rem 0.35rem 1.2rem 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}
.hero__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--peach); animation: ping 2.6s infinite; }

.hero__title { margin-block: 1.25rem 1.5rem; font-size: var(--fs-hero); line-height: 1.28; }
.hero__line { display: block; }
.hero__line--bold { font-weight: 800; color: var(--green); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
.hero__line--light { font-weight: 300; color: var(--charcoal); padding-inline-start: 0.9em; }

.hero__lead { max-width: 34rem; font-size: 20px; color: var(--ink-soft); font-weight: bold; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* Orchestrated entrance — the one deliberate load moment */
.hero__label, .hero__line, .hero__lead, .hero__video, .hero__actions, .hero__visual { animation: rise 1s var(--ease) both; }
.hero__label { animation-delay: 0.1s; }
.hero__line--bold { animation-delay: 0.25s; }
.hero__line--light { animation-delay: 0.45s; }
.hero__lead { animation-delay: 0.6s; }
.hero__video { animation-delay: 0.75s; }
.hero__actions { animation-delay: 0.9s; }
.hero__visual { animation-delay: 0.35s; }
span[data-count="2012"] {
    color: var(--green) !important;
   
}
.hero__visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 27rem);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 2px solid var(--peach);
  border-radius: 14rem 14rem 2rem 8rem;
  transform: translate(-1.1rem, 1.1rem) rotate(-2.5deg);
}

.portrait {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border-radius: 14rem 14rem 2rem 8rem;
  background: linear-gradient(165deg, var(--sage), color-mix(in srgb, var(--sage) 45%, var(--butter)));
  box-shadow: 0 40px 60px -40px rgba(33, 76, 67, 0.7);
}
.portrait__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; fill: color-mix(in srgb, var(--green) 20%, transparent); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.shape { position: absolute; }
.shape--sage {
  z-index: 0;
  width: 70%; height: 70%;
  inset-inline-start: -16%;
  inset-block-end: -9%;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  background: var(--sage);
  opacity: 0.55;
  animation: float 11s ease-in-out infinite alternate;
}
.shape--butter {
  z-index: 1;
  width: 30%;
  aspect-ratio: 1;
  inset-inline-end: -7%;
  inset-block-start: 5%;
  border-radius: 50%;
  background: var(--butter);
  animation: float 8s ease-in-out infinite alternate;
}
.shape--ring {
  z-index: 3;
  width: 6.5rem; height: 6.5rem;
  inset-inline-start: 2%;
  inset-block-start: -4%;
  border: 2px dashed var(--green);
  border-radius: 50%;
  opacity: 0.35;
  animation: spin 40s linear infinite;
}

.ribbon {
  position: absolute;
  inset: -5% -10%;
  z-index: 1;
  width: 120%;
  height: 110%;
  overflow: visible;
  pointer-events: none;
}
.ribbon__path {
  fill: none;
  stroke: var(--peach);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease) 0.8s forwards;
}
.ribbon__dot { fill: var(--peach); opacity: 0; animation: fade-in 0.5s ease 3.1s forwards; }

/* ---------- 7. HERO VIDEO (sits between the intro text and the booking button) ---------- */
.hero__video { position: relative; margin-top: 2.25rem; max-width: 40rem; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
  border-radius: clamp(1.75rem, 5vw, 4rem) 1rem;
  box-shadow: 0 30px 50px -32px rgba(33, 76, 67, 0.7);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame-deco { position: absolute; pointer-events: none; }
.frame-deco--outline {
  inset: 0;
  border: 2px solid var(--peach);
  border-radius: clamp(1.75rem, 5vw, 4rem) 1rem;
  transform: translate(-0.8rem, 0.8rem);
}
.frame-deco--blob {
  inset-block-start: -1.5rem;
  inset-inline-end: -1rem;
  width: 4.5rem; height: 4.5rem;
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
  background: var(--butter);
  animation: float 9s ease-in-out infinite alternate;
}

/* ---------- 8. BOOKING CTA ---------- */
.booking {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-2xl);
}
.booking__card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--butter);
  border-radius: var(--leaf-big) var(--leaf-small);
  box-shadow: 0 40px 70px -50px rgba(33, 76, 67, 0.7);
}
.booking__card::after {
  content: "";
  position: absolute;
  inset-block-end: -5rem;
  inset-inline-start: -4rem;
  width: 14rem; height: 14rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sage) 55%, transparent);
  pointer-events: none;
}
.booking__content { position: relative; z-index: 1; }
.booking__title { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.4rem); color: var(--green); }
.booking__desc { max-width: 34rem; margin-block: 1.25rem 2rem; font-size: var(--fs-lead); }

.booking__clock {
  position: relative;
  z-index: 1;
  order: -1;
  display: grid;
  place-items: center;
  width: 5.5rem;
  aspect-ratio: 1;
  padding: 0.6rem;
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  background: var(--peach);
}
@media (min-width: 900px) {
  .booking__card { grid-template-columns: 1.4fr 0.6fr; align-items: center; }
  .booking__clock { order: 0; width: clamp(10rem, 18vw, 14rem); padding: 1.6rem; justify-self: center; }
}
.clock { width: 100%; height: 100%; }
.clock__face { fill: var(--ivory); stroke: var(--green); stroke-width: 3; }
.clock__tick { stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.clock__hand { stroke: var(--green); stroke-width: 4.5; stroke-linecap: round; transform-origin: 60px 60px; }
.clock__hand--hour { animation: spin 160s linear infinite; }
.clock__hand--min { stroke: var(--charcoal); stroke-width: 3.5; animation: spin 14s linear infinite; }
.clock__pin { fill: var(--peach); }

/* ---------- 9. ABOUT / PHILOSOPHY ---------- */
.about { position: relative; padding-block: var(--space-2xl); }
.about__grid { display: grid; gap: 3.5rem; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .about__intro { position: sticky; top: 7rem; }
}
.about__intro { position: relative; display: grid; gap: 1.25rem; }
.about__intro > * { position: relative; z-index: 1; }
.about__blob {
  position: absolute !important;
  z-index: 0 !important;
  inset-block-start: -2.5rem;
  inset-inline-end: -3rem;
  width: 12rem; height: 12rem;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  background: var(--sage-200);
  animation: float 12s ease-in-out infinite alternate;
}
.about__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.25; color: var(--green); }
.about__lead {
  margin-block: 0.5rem;
  padding-inline-start: 1.25rem;
  border-inline-start: 3px solid var(--peach);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.7;
  color: var(--charcoal);
}
.about__intro p:not(.about__lead) { max-width: 36rem; color: var(--ink-soft); }

.about__side { display: grid; gap: 0; align-content: start; }
.about__photo {
  position: relative;
  isolation: isolate;
  margin: 0;
  width: min(100%, 32rem);
  aspect-ratio: 4 / 5;
  justify-self: center;
  overflow: hidden;
  border-radius: 1.5rem 9rem;
  background: linear-gradient(165deg, var(--sage), color-mix(in srgb, var(--sage) 45%, var(--butter)));
  box-shadow: 0 40px 60px -42px rgba(33, 76, 67, 0.7);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__photo .portrait__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; fill: color-mix(in srgb, var(--green) 20%, transparent); }
/* Cards overlap the bottom of the photo */
.about__side .pillars { position: relative; z-index: 2; margin-top: -3.5rem; padding-inline: clamp(0rem, 2vw, 1rem); }

.pillars { display: grid; gap: 1.25rem; }
.pillars li:nth-child(2) { margin-inline-start: clamp(0rem, 4vw, 3.5rem); }
.pillars li:nth-child(3) { margin-inline-start: clamp(0rem, 1.5vw, 1.25rem); }
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 3.5rem 1rem;
  background: var(--sage-200);
  transition: transform 0.6s var(--ease);
}
.pillars li:nth-child(2) .pillar { background: var(--butter); border-radius: 1rem 3.5rem; }
.pillars li:nth-child(3) .pillar { background: var(--peach-100); }
.pillar:hover { transform: translateY(-0.3rem); }
.pillar__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: 1.1;
  color: var(--green);
}
.pillar__title { font-size: 1.4rem; color: var(--green); }
.pillar__text { color: var(--charcoal); }

/* ---------- 10. JOURNEY ---------- */
.journey { padding-block: var(--space-xl) var(--space-2xl); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.timeline { position: relative; }
.timeline__track { display: none; }

/* Mobile: vertical timeline */
.timeline__list {
  position: relative;
  display: grid;
  gap: 2.25rem;
  padding-inline-start: 1.75rem;
}
.timeline__list::before {
  content: "";
  position: absolute;
  inset-block: 0.5rem;
  inset-inline-start: 0;
  width: 2px;
  background: var(--peach);
  transform-origin: top;
  transition: transform 1.6s var(--ease);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: calc(-1.75rem - 5px);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--peach);
}
.timeline__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  line-height: 1.3;
  color: var(--green);
}
.timeline__title { font-size: 1.35rem; margin-block: 0.15rem 0.4rem; }
.timeline__text { max-width: 22rem; color: var(--ink-soft); }

@media (min-width: 760px) {
  .timeline__track { display: block; position: relative; aspect-ratio: 9 / 1; margin-bottom: 1.75rem; }
  .timeline__track svg { width: 100%; height: 100%; overflow: visible; }
  .timeline__list { grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-inline-start: 0; }
  .timeline__list::before, .timeline__item::before { display: none; }
  .timeline__item { text-align: center; }
  .timeline__text { margin-inline: auto; }
}
.timeline__path-bg, .timeline__path { fill: none; stroke-linecap: round; }
.timeline__path-bg { stroke: var(--sage); stroke-width: 2; stroke-dasharray: 2 7; }
.timeline__path { stroke: var(--peach); stroke-width: 3.5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) 0.2s; }

/* Physical left/top on purpose: the SVG wave itself is not mirrored by RTL */
.timeline__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--ivory);
  border: 4px solid var(--peach);
  transform: translate(-50%, -50%);
  transition: transform 0.6s var(--ease) 0.4s;
}
.timeline__node--today { background: var(--green); border-color: var(--butter); box-shadow: 0 0 0 0 rgba(242, 168, 137, 0.6); animation: ping 2.8s infinite; }

.journey__videos { display: grid; gap: 1.5rem; margin-top: clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 800px) {
  .journey__videos { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .journey__videos > :nth-child(2) { margin-top: 3.5rem; }
}

.video-card {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  text-align: start;
  color: var(--ivory);
  background: linear-gradient(160deg, var(--green), var(--green-700));
  border-radius: clamp(2.5rem, 7vw, 5rem) 1.25rem;
  --focus: var(--peach);
}
.video-card--b { border-radius: 1.25rem clamp(2.5rem, 7vw, 5rem); background: linear-gradient(200deg, #2d6256, var(--green-700)); }
.video-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
/* Dark translucent overlay */
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 30, 26, 0.9), rgba(14, 30, 26, 0.45) 55%, rgba(14, 30, 26, 0.3));
  transition: opacity 0.5s;
}
.video-card:hover img { transform: scale(1.06); }
.video-card__play {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: grid;
  place-items: center;
  width: 5rem; height: 5rem;
  margin: -3.25rem -2.5rem 0 0; /* centred for RTL (right-anchored) */
  border-radius: 1.8rem 0.5rem 1.8rem 0.5rem;
  background: var(--peach);
  color: var(--charcoal);
  font-size: 1.4rem;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.video-card__play i { margin-inline-start: -0.15rem; }
.video-card__play::after {
  content: "";
  position: absolute;
  inset: -0.6rem;
  border: 2px solid rgba(242, 168, 137, 0.65);
  border-radius: inherit;
  animation: ping-ring 2.8s ease-out infinite;
}
.video-card:hover .video-card__play { transform: scale(1.1) rotate(-6deg); background: var(--butter); }
.video-card__body { position: absolute; inset-inline: 0; inset-block-end: 0; display: block; padding: clamp(1.5rem, 3vw, 2.25rem); }
.video-card__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; }
.video-card__desc { display: block; margin-top: 0.35rem; max-width: 26rem; color: rgba(250, 248, 241, 0.88); font-size: 1rem; line-height: 1.7; }

/* ---------- 11. NUMBERS ---------- */
.numbers {
  background: var(--peach);
  color: var(--green);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.numbers .trace { stroke: var(--ivory); opacity: 0.6; }
.stats { display: grid; gap: 3rem; }
.stat { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.stat__value {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-stat);
  line-height: 0.95;
  color: white;
}
.stat__plus { font-weight: 300; }
.stat__label { margin-top: 0.6rem; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--charcoal); }
.stat::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -0.35em;
  inset-inline-start: -0.1em;
  width: 0.78em; height: 0.78em;
  font-size: var(--fs-stat);
  border-radius: 50%;
  background: var(--butter);
}
.stat--2::before { background: var(--sage); border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
.stat--3::before { background: var(--ivory); inset-inline-start: auto; inset-inline-end: -0.08em; }
.stat--2 { align-self: flex-end; align-items: flex-end; text-align: end; }

@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: end; gap: 0; }
  .stat--2 { align-self: start; align-items: flex-start; text-align: start; margin-inline: -2vw; margin-block-end: 4.5rem; }
  .stat--3 { margin-block-start: 2rem; }
}

/* ---------- 12. TESTIMONIALS (screenshots only, slider) ---------- */
.testimonials { padding-block: var(--space-2xl) var(--space-xl); }
.testimonials__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.slider { --slide-h: clamp(19rem, 80vw, 34rem); }
.reviews {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.25rem 2rem; /* room for the hover lift and shadow */
  margin-inline: -0.25rem;
  cursor: grab;
}
.reviews::-webkit-scrollbar { display: none; }
.reviews.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.reviews__track { display: flex; gap: 1rem; width: max-content; }
@media (min-width: 760px) { .reviews__track { gap: 1.25rem; } }
.reviews__item { flex: none; scroll-snap-align: start; }

.review {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sage-100);
  border-radius: 1.75rem 0.5rem;
  box-shadow: 0 0 0 1px rgba(33, 76, 67, 0.12), 0 20px 30px -24px rgba(33, 76, 67, 0.55);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.reviews__item:nth-child(even) .review { border-radius: 0.5rem 1.75rem; }
.review img {
  width: auto;
  height: var(--slide-h);
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.9s var(--ease);
}
.review:hover { transform: translateY(-0.35rem) rotate(-0.6deg); box-shadow: 0 0 0 1px rgba(33, 76, 67, 0.2), 0 30px 40px -26px rgba(33, 76, 67, 0.6); }
.review:hover img { transform: scale(1.03); }
.review__zoom {
  position: absolute;
  inset-block-end: 0.65rem;
  inset-inline-start: 0.65rem;
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 0.9rem 0.3rem;
  background: var(--green);
  color: var(--ivory);
  font-size: 0.85rem;
  transition: background 0.3s, color 0.3s;
}
.review:hover .review__zoom { background: var(--peach); color: var(--charcoal); }

.slider__bar { display: flex; align-items: center; gap: 1.5rem; margin-top: 0.25rem; }
.slider__progress {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: color-mix(in srgb, var(--green) 14%, transparent);
}
.slider__thumb {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 30%;
  border-radius: 4px;
  background: var(--green);
}
.slider__controls { display: flex; gap: 0.6rem; }
.slider__btn { background: var(--green); color: var(--ivory); }
.slider__btn:hover:not(:disabled) { background: var(--peach); color: var(--charcoal); }
.slider__btn:disabled { cursor: default; }

/* ---------- 13. FINAL CTA ---------- */
.final {
  background: var(--green);
  padding-block: clamp(4.5rem, 10vw, 9rem);
  margin-bottom: 0;
}
.trace--final { inset-block-start: auto; inset-block-end: 6%; stroke: var(--sage); opacity: 0.4; }
.final__inner { position: relative; display: grid; justify-items: start; gap: 1.5rem; }
.final__title { max-width: 18em; font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.8rem); line-height: 1.3; color: var(--ivory); }
.final__desc { font-size: var(--fs-lead); color: color-mix(in srgb, var(--ivory) 82%, var(--green)); margin-bottom: 0.75rem; }
.final__ring { position: absolute; z-index: -1; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--sage) 45%, transparent); }
.final__ring--1 { width: clamp(16rem, 38vw, 30rem); aspect-ratio: 1; inset-block-start: -8rem; inset-inline-start: -7rem; animation: float 14s ease-in-out infinite alternate; }
.final__ring--2 { width: clamp(9rem, 20vw, 16rem); aspect-ratio: 1; inset-block-start: -1rem; inset-inline-start: 2rem; background: color-mix(in srgb, var(--peach) 30%, transparent); border: 0; animation: float 10s ease-in-out infinite alternate-reverse; }

/* ---------- 14. FOOTER ---------- */
.footer {
  margin-top: var(--space-l);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: var(--leaf-big) var(--leaf-small) 0 0;
  --focus: var(--butter);
}
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer__logo { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; line-height: 1.3; }
.footer__logo small { font-weight: 400; font-size: 1rem; color: var(--sage); }
.footer__coach { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--butter); }
.footer__desc { max-width: 30rem; margin-top: 0.5rem; color: color-mix(in srgb, var(--ivory) 78%, var(--charcoal)); }
.footer__social-title { margin-bottom: 0.9rem; font-family: var(--font-display); font-weight: 600; }
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.9rem; height: 2.9rem;
  border-radius: 1.1rem 0.35rem 1.1rem 0.35rem;
  background: color-mix(in srgb, var(--ivory) 10%, transparent);
  color: var(--ivory);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.45s var(--ease);
}
.social a:hover { background: var(--butter); color: var(--green); transform: translateY(-0.25rem) rotate(-6deg); }
.footer__copy {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent);
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ivory) 70%, var(--charcoal));
}

/* ---------- 15. VIDEO MODAL + LIGHTBOX ---------- */
.modal, .lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(14, 30, 26, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
  --focus: var(--butter);
}
.modal.is-open, .lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }

.modal__dialog { position: relative; width: min(62rem, 100%); transform: translateY(1.5rem) scale(0.96); transition: transform 0.55s var(--ease); }
.modal.is-open .modal__dialog { transform: none; }
.modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: clamp(1.25rem, 4vw, 3rem) 0.75rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; inset-block-end: calc(100% + 0.75rem); inset-inline-end: 0; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 1.2rem 0.4rem 1.2rem 0.4rem;
  background: var(--butter);
  color: var(--green);
  font-size: 1.05rem;
  transition: background 0.3s, transform 0.45s var(--ease);
}
.icon-btn:hover { background: var(--peach); color: var(--charcoal); }
.icon-btn--close:hover { transform: rotate(90deg); }

.lightbox { padding: 4.5rem 1rem 5.5rem; }
.lightbox__figure {
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  transform: scale(0.94);
  transition: transform 0.55s var(--ease);
}
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__img {
  width: auto; height: auto;
  max-width: min(92vw, 56rem);
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
  background: var(--ivory);
  border-radius: 1.25rem 0.5rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.lightbox__img.is-swapping { opacity: 0; transform: scale(0.97); }
.lightbox__close { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; }
/* Physical left/right on purpose so "previous" sits on the right in RTL */
.lightbox__nav { position: absolute; bottom: 1.25rem; }
.lightbox__nav--prev { left: calc(50% + 0.4rem); }
.lightbox__nav--next { right: calc(50% + 0.4rem); }
@media (min-width: 800px) {
  .lightbox { padding: 4.5rem 6rem; }
  .lightbox__nav { bottom: auto; top: 50%; margin-top: -1.5rem; }
  .lightbox__nav--prev { left: auto; right: 1.5rem; }
  .lightbox__nav--next { right: auto; left: 1.5rem; }
  .lightbox__img { max-height: calc(100dvh - 9rem); }
}

/* ---------- 16. PROGRESS BAR + SCROLL REVEAL ---------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 300; height: 4px; pointer-events: none; }
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(to left, var(--peach), var(--butter));
  transform: scaleX(0);
  transform-origin: 100% 50%; /* RTL: grows from the right */
}

/* Hidden states only apply when JavaScript can run, so content is never lost */
@media (scripting: enabled) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--i, 0) * 110ms);
  }
  [data-reveal="scale"] { transform: scale(0.94); }
  [data-reveal="draw"] { opacity: 1; transform: none; transition: none; }
  [data-reveal].is-visible { opacity: 1; transform: none; }

  .timeline[data-reveal]:not(.is-visible) .timeline__path { stroke-dashoffset: 1; }
  .timeline[data-reveal]:not(.is-visible) .timeline__node { transform: translate(-50%, -50%) scale(0); }
  .timeline[data-reveal]:not(.is-visible) .timeline__list::before { transform: scaleY(0); }
}

/* ---------- 17. KEYFRAMES ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(0, -14px, 0) rotate(4deg); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(2rem, 1.5rem, 0) rotate(8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-0.3rem); } }
@keyframes nudge-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(0.3rem); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 168, 137, 0.55); } 70%, 100% { box-shadow: 0 0 0 0.8rem rgba(242, 168, 137, 0); } }
@keyframes ping-ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.3); opacity: 0; } }

/* ---------- 18. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}





/* ---------- WHO THIS IS FOR ---------- */
.for-you { padding-block: var(--space-2xl); }
.for-you__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .for-you__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
}

.for-you__head { position: relative; }
.for-you__head > * { position: relative; z-index: 1; }
.for-you__blob {
  position: absolute !important;
  z-index: 0 !important;
  inset-block-start: -2rem;
  inset-inline-end: -2.5rem;
  width: 11rem; height: 11rem;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  background: var(--sage-200);
  animation: float 12s ease-in-out infinite alternate;
}
.for-you__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem); line-height: 1.3; color: var(--green); }
.for-you__line { display: block; }
.for-you__line--bold { font-weight: 800; }
.for-you__line--light { font-weight: 300; color: var(--charcoal); padding-inline-start: 0.9em; }

.for-you__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 520px) {
  .for-you__list { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; padding-bottom: clamp(1rem, 3vw, 2.5rem); }
  /* second column sits lower for an asymmetric rhythm (offset doesn't affect layout) */
  .for-you__list li { position: relative; }
  .for-you__list li:nth-child(even) { top: clamp(1rem, 3vw, 2.5rem); }
}

.need {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 6.5rem;
  padding: 1.1rem 1.35rem;
  border-radius: 2.5rem 0.75rem;
  background: var(--sage-200);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.for-you__list li:nth-child(3n+2) .need { background: var(--butter); }
.for-you__list li:nth-child(3n+3) .need { background: var(--peach-100); }
.for-you__list li:nth-child(even) .need { border-radius: 0.75rem 2.5rem; }
.need:hover {
  transform: translateY(-0.3rem) rotate(-0.8deg);
  box-shadow: 0 20px 30px -24px rgba(33, 76, 67, 0.6);
}

.need__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 1rem 0.35rem 1rem 0.35rem;
  background: var(--green);
  color: var(--ivory);
  font-size: 0.9rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.need:hover .need__mark { background: var(--peach); color: var(--charcoal); }
.need__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--green);
}






/* ---------- WOMEN'S MOVEMENT ISSUES ---------- */
.issues { padding-block: var(--space-2xl); }
.issues__head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.issues__title { font-size: var(--fs-h2); line-height: 1.3; color: var(--green); }

.issues__list { border-top: 1px solid color-mix(in srgb, var(--green) 25%, transparent); }

.issue {
  --issue-bg: var(--sage-200);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.25rem;
  align-items: start;
  padding: 1.6rem 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--green) 25%, transparent);
}
.issue:nth-child(even) { --issue-bg: var(--peach-100); }

/* Background that sweeps in on hover */
.issue::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.75rem 0.5rem;
  background: var(--issue-bg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.issue:nth-child(even)::before { border-radius: 0.5rem 1.75rem; }
.issue:hover::before { transform: scaleX(1); }

.issue__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1.1;
  color: var(--green-900, #00263f);
  transition: transform 0.5s var(--ease);
}
.issue:hover .issue__num { transform: translateX(-0.35rem); }

.issue__title {
  align-self: center;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.4;
  color: var(--green-900, #00263f);
}

.issue__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.issue__tags li {
  padding: 0.35rem 1rem;
  border-radius: 1rem 0.3rem;
  border: 1px solid color-mix(in srgb, var(--green) 20%, transparent);
  background: var(--sage-100);
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.6;
  transition: background 0.4s var(--ease);
}
.issue__tags li:nth-child(even) { border-radius: 0.3rem 1rem; }
.issue:hover .issue__tags li { background: var(--ivory); }

@media (min-width: 860px) {
  .issue {
    grid-template-columns: 5rem minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 1.5rem;
  }
  .issue__tags { grid-column: auto; }
}